aurweb/templates
Kevin Morris ae3d302c47 implement /packages/{name} as its own route
A few things added with this commit:

- aurweb.packages.util
    - A module providing package and pkgbase helpers.
- aurweb.template.register_filter
    - A decorator that can be used to register a filter:
      @register_filter("some_filter") def f(): pass

Additionally, template partials have been split off a bit
differently. Changes:

- /packages/{name} is defined in packages/show.html.
- partials/packages/package_actions.html is now
  partials/packages/actions.html.
- partials/packages/details.html has been added.
- partials/packages/comments.html has been added.
- partials/packages/comment.html has been added.
- models.dependency_type additions: name and id constants.
- models.relation_type additions: name and id constants.
- models.official_provider additions: base official url constant.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-07-27 20:48:40 -07:00
..
account add /accounts/ (get, post) routes 2021-07-01 11:08:56 -07:00
errors Adding route tests 2021-06-05 19:52:56 -07:00
packages implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
partials implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
tos [FastAPI] add /tos routes (get, post) 2021-06-24 19:12:49 -07:00
tu /tu/{proposal_id}: Do not show voters if there are none 2021-06-26 04:43:00 -07:00
addvote.html add /addvote/ (get, post) routes 2021-07-01 11:08:44 -07:00
index.html FastAPI: use internal typeahead and remove jquery 2021-06-29 22:56:48 -07:00
login.html implement login + logout routes and templates 2021-06-05 20:11:17 -07:00
passreset.html add passreset routes 2021-06-05 20:11:17 -07:00
register.html add user registration routes 2021-06-05 20:11:17 -07:00