Vervis/config/routes

81 lines
3.8 KiB
Text
Raw Normal View History

-- This file is part of Vervis.
--
-- Written in 2016 by fr33domlover <fr33domlover@riseup.net>.
--
-- ♡ Copying is an act of love. Please copy, reuse and share.
--
-- The author(s) have dedicated all copyright and related and neighboring
-- rights to this software to the public domain worldwide. This software is
-- distributed without any warranty.
--
-- You should have received a copy of the CC0 Public Domain Dedication along
-- with this software. If not, see
-- <http://creativecommons.org/publicdomain/zero/1.0/>.
2016-02-17 17:43:23 +01:00
-- ----------------------------------------------------------------------------
-- Yesod misc
-- ----------------------------------------------------------------------------
2016-02-13 04:35:30 +01:00
/static StaticR Static appStatic
/favicon.ico FaviconR GET
/robots.txt RobotsR GET
2016-02-13 04:35:30 +01:00
2016-02-17 17:43:23 +01:00
-- ----------------------------------------------------------------------------
2016-05-24 23:48:21 +02:00
-- Current user
2016-02-17 17:43:23 +01:00
-- ----------------------------------------------------------------------------
2016-05-24 23:48:21 +02:00
/ HomeR GET
/auth AuthR Auth getAuth
2016-02-17 17:43:23 +01:00
-- ----------------------------------------------------------------------------
2016-05-24 23:48:21 +02:00
-- People
2016-02-17 17:43:23 +01:00
-- ----------------------------------------------------------------------------
2016-05-24 23:48:21 +02:00
/s SharersR GET
/s/#ShrIdent SharerR GET
/p PeopleR GET POST
/p/!new PersonNewR GET
/p/#ShrIdent PersonR GET
2016-02-17 17:43:23 +01:00
2016-05-24 23:48:21 +02:00
/g GroupsR GET POST
/g/!new GroupNewR GET
/g/#ShrIdent GroupR GET
/k KeysR GET POST
/k/!new KeyNewR GET
/k/#KyIdent KeyR GET DELETE POST
2016-03-07 01:42:06 +01:00
2016-05-24 23:48:21 +02:00
-- ----------------------------------------------------------------------------
-- Projects
-- ----------------------------------------------------------------------------
/s/#ShrIdent/r ReposR GET POST
/s/#ShrIdent/r/!new RepoNewR GET
/s/#ShrIdent/r/#RpIdent RepoR GET DELETE POST
/s/#ShrIdent/r/#RpIdent/s/+Texts RepoSourceR GET
/s/#ShrIdent/r/#RpIdent/c RepoHeadChangesR GET
/s/#ShrIdent/r/#RpIdent/c/#Text RepoChangesR GET
/s/#ShrIdent/r/#RpIdent/_darcs/+Texts DarcsDownloadR GET
2016-05-13 12:58:42 +02:00
/s/#ShrIdent/r/#RpIdent/git/info/refs GitRefDiscoverR GET
--/s/#ShrIdent/r/#RpIdent/git/git-upload-pack GitUploadRequestR POST
2016-02-27 06:41:36 +01:00
/s/#ShrIdent/p ProjectsR GET POST
/s/#ShrIdent/p/!new ProjectNewR GET
/s/#ShrIdent/p/#PrjIdent ProjectR GET
2016-05-01 00:32:22 +02:00
/s/#ShrIdent/p/#PrjIdent/t TicketsR GET POST
/s/#ShrIdent/p/#PrjIdent/t/!new TicketNewR GET
/s/#ShrIdent/p/#PrjIdent/t/#Int TicketR GET PUT DELETE POST
/s/#ShrIdent/p/#PrjIdent/t/#Int/edit TicketEditR GET
/s/#ShrIdent/p/#PrjIdent/t/#Int/d TicketDiscussionR GET POST
/s/#ShrIdent/p/#PrjIdent/t/#Int/d/#Int TicketMessageR GET POST
/s/#ShrIdent/p/#PrjIdent/t/#Int/d/!reply TicketTopReplyR GET
/s/#ShrIdent/p/#PrjIdent/t/#Int/d/#Int/reply TicketReplyR GET
2016-05-01 00:32:22 +02:00
-- /s/#ShrIdent/p/#PrjIdent/w WikiR GET
-- /s/#ShrIdent/p/#PrjIdent/w/+Texts WikiPageR GET