eidolon/config/routes

76 lines
2.9 KiB
Text
Raw Normal View History

2015-01-18 19:44:41 +00:00
-- eidolon -- A simple gallery in Haskell and Yesod
-- Copyright (C) 2015 Amedeo Molnár
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published
-- by the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Affero General Public License for more details.
--
-- You should have received a copy of the GNU Affero General Public License
2015-01-21 09:00:18 +00:00
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
2015-01-18 19:44:41 +00:00
/static StaticR Static appStatic
2014-08-09 18:33:22 +00:00
/favicon.ico FaviconR GET
/robots.txt RobotsR GET
2014-09-05 18:40:12 +00:00
/ HomeR GET
2015-02-11 23:15:07 +00:00
/page/#Int PageR GET
2014-09-05 18:40:12 +00:00
/signup SignupR GET POST
/login LoginR GET POST
/logout LogoutR GET
/activate/#Text ActivateR GET POST
/profile/#UserId ProfileR GET
/user/#Text UserR GET
/upload UploadR GET POST
/newalbum NewAlbumR GET POST
/album/#AlbumId AlbumR GET
/medium/#MediumId MediumR GET POST
2014-09-05 18:40:12 +00:00
/album/#AlbumId/upload DirectUploadR GET POST
/album/#AlbumId/settings AlbumSettingsR GET POST
/album/#AlbumId/delete AlbumDeleteR GET POST
/medium/#MediumId/settings MediumSettingsR GET POST
/medium/#MediumId/delete MediumDeleteR GET POST
/comment/#CommentId/reply CommentReplyR GET POST
/comment/#CommentId/delcom CommentDeleteR GET POST
2014-09-05 18:40:12 +00:00
/reactivate ReactivateR GET POST
/profile/#UserId/settings ProfileSettingsR GET POST
/profile/#UserId/delete ProfileDeleteR GET POST
2014-09-09 02:25:47 +00:00
/admin AdminR GET
2014-09-07 04:56:34 +00:00
/admin/profile AdminProfilesR GET
/admin/profile/#UserId AdminProfileSettingsR GET POST
2014-09-08 01:57:17 +00:00
/admin/profile/#UserId/albums AdminUserAlbumsR GET
2014-09-09 02:25:47 +00:00
/admin/profile/#UserId/media AdminUserMediaR GET
/admin/profile/#UserId/delete AdminProfileDeleteR GET
2014-09-07 04:56:34 +00:00
/admin/album AdminAlbumsR GET
/admin/album/#AlbumId AdminAlbumSettingsR GET POST
2014-09-09 02:34:45 +00:00
/admin/album/#AlbumId/media AdminAlbumMediaR GET
2014-09-07 04:56:34 +00:00
/admin/album/#AlbumId/delete AdminAlbumDeleteR GET
2014-09-09 02:25:47 +00:00
/admin/medium AdminMediaR GET
/admin/medium/#MediumId AdminMediumSettingsR GET POST
2014-12-21 19:01:03 +00:00
/admin/medium/#MediumId/delete AdminMediumDeleteR GET
/admin/comment AdminCommentR GET
/admin/comment/#CommentId AdminCommentDeleteR GET
2016-07-12 16:46:45 +00:00
/admin/repop-search AdminSearchReloadR GET
2014-12-21 19:01:03 +00:00
2015-10-16 02:15:16 +00:00
/tag/#Text TagR GET
2014-12-14 19:21:23 +00:00
/feed/root/atom.xml RootFeedAtomR GET
/feed/root/rss.xml RootFeedRssR GET
/feed/album/#AlbumId/atom.xml AlbumFeedAtomR GET
/feed/album/#AlbumId/rss.xml AlbumFeedRssR GET
/feed/medium/#MediumId/atom.xml CommentFeedAtomR GET
/feed/medium/#MediumId/rss.xml CommentFeedRssR GET
2014-12-19 21:36:15 +00:00
/feed/user/#UserId/atom.xml UserFeedAtomR GET
/feed/user/#UserId/rss.xml UserFeedRssR GET
2015-08-18 21:57:50 +00:00
!/feed/user/#Text/atom.xml NameFeedAtomR GET
!/feed/user/#Text/rss.xml NameFeedRssR GET
/search SearchR GET