eidolon/config/routes

79 lines
3 KiB
Text
Raw Permalink 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
2017-04-24 05:46:34 +00:00
/auth AuthR Auth getAuth
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
2017-04-26 19:43:22 +00:00
/loginraw LoginRawR GET POST
2014-09-05 18:40:12 +00:00
/profile/#UserId ProfileR GET
2016-12-19 02:18:06 +00:00
/user/#T.Text UserR GET
/user/#T.Text/album/#T.Text BeautyAlbumR GET
2014-09-05 18:40:12 +00:00
/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
2016-10-22 22:18:13 +00:00
/medium/#MediumId/move MediumMoveR GET POST
/comment/#CommentId/reply CommentReplyR GET POST
/comment/#CommentId/delcom CommentDeleteR GET POST
2014-09-05 18:40:12 +00:00
/profile/#UserId/settings ProfileSettingsR GET POST
/profile/#UserId/delete ProfileDeleteR GET POST
2014-09-09 02:25:47 +00:00
/admin AdminR GET
2017-08-13 21:03:48 +00:00
/admin/repop AdminRepopThumbsR 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-09-04 17:56:36 +00:00
-- /admin/repop-search AdminSearchReloadR GET
2014-12-21 19:01:03 +00:00
2016-08-30 12:22:00 +00:00
/tag/#T.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
2016-08-30 12:22:00 +00:00
!/feed/user/#T.Text/atom.xml NameFeedAtomR GET
!/feed/user/#T.Text/rss.xml NameFeedRssR GET
2017-10-20 16:49:37 +00:00
/search SearchR GET
2016-09-09 15:04:26 +00:00
/about AboutR GET
/about/threat ThreatR GET