urls.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Copyright (C) 2015 Andrey Antukh <niwi@niwi.be>
  2. # Copyright (C) 2015 Jesús Espino <jespinog@gmail.com>
  3. # Copyright (C) 2015 David Barragán <bameda@dbarragan.com>
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU Affero General Public License as
  6. # published by the Free Software Foundation, either version 3 of the
  7. # License, or (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU Affero General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Affero General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. urls = {
  17. "home": "/",
  18. "login": "/login",
  19. "register": "/register",
  20. "forgot-password": "/forgot-password",
  21. "change-password": "/change-password/{0}", # user.token
  22. "change-email": "/change-email/{0}", # user.email_token
  23. "cancel-account": "/cancel-account/{0}", # auth.token.get_token_for_user(user)
  24. "invitation": "/invitation/{0}", # membership.token
  25. "user": "/profile/{0}", # user.username
  26. "project": "/project/{0}", # project.slug
  27. "backlog": "/project/{0}/backlog/", # project.slug
  28. "taskboard": "/project/{0}/taskboard/{1}", # project.slug, milestone.slug
  29. "kanban": "/project/{0}/kanban/", # project.slug
  30. "userstory": "/project/{0}/us/{1}", # project.slug, us.ref
  31. "task": "/project/{0}/task/{1}", # project.slug, task.ref
  32. "issues": "/project/{0}/issues", # project.slug
  33. "issue": "/project/{0}/issue/{1}", # project.slug, issue.ref
  34. "wiki": "/project/{0}/wiki/{1}", # project.slug, wikipage.slug
  35. "team": "/project/{0}/team/", # project.slug
  36. "project-admin": "/project/{0}/admin/project-profile/details", # project.slug
  37. }