aurweb/web/html
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
..
css add /accounts/ (get, post) routes 2021-07-01 11:08:56 -07:00
images Remove 'new' tag from updates table 2016-01-31 20:12:56 +01:00
js implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
404.php 404.php: Squelch warning on empty PATH_INFO 2017-02-27 18:20:00 +01:00
503.php Implement a maintenance mode 2015-06-11 14:32:21 +02:00
account.php Fix PHP notices in the account form 2020-04-05 15:59:56 -04:00
addvote.php Add missing ) for addvote.php 2021-06-06 21:49:27 +02:00
comaintainers.php Call check_sid() from a central location 2017-04-27 09:22:53 +02:00
commentedit.php Call check_sid() from a central location 2017-04-27 09:22:53 +02:00
home.php Add archweb typeahead implementation 2021-06-25 17:08:54 +02:00
index.php Add archweb typeahead implementation 2021-06-25 17:08:54 +02:00
login.php Redirect to referer after SSO login 2021-02-20 11:25:21 -05:00
logout.php Implement SSO logout 2021-02-20 11:24:30 -05:00
modified-rss.php Add RSS feed for modified packages 2021-06-12 20:09:48 -07:00
packages.php Fix JavaScript error on packages overview page 2021-06-25 17:08:47 +02:00
passreset.php Add support for backup email addresses 2020-02-02 12:12:42 +01:00
pkgbase.php Add "Enable notifications" checkbox in "Add Comment" form 2019-04-28 08:58:29 -04:00
pkgdel.php Call check_sid() from a central location 2017-04-27 09:22:53 +02:00
pkgdisown.php Add capability for co-maintainers to disown packages 2018-02-24 14:57:31 +01:00
pkgflag.php Display warning when flagging VCS packages 2019-05-25 19:01:33 -04:00
pkgflagcomment.php Call check_sid() from a central location 2017-04-27 09:22:53 +02:00
pkgmerge.php Add archweb typeahead implementation 2021-06-25 17:08:54 +02:00
pkgreq.php Call check_sid() from a central location 2017-04-27 09:22:53 +02:00
register.php Add support for backup email addresses 2020-02-02 12:12:42 +01:00
rpc.php rpc.php: Display generated documentation 2015-10-04 11:40:38 +02:00
rss.php RSS: Decrease cache time and increase item count 2021-02-20 11:25:21 -05:00
tos.php Add support for Terms of Service documents 2017-04-30 16:47:13 +02:00
tu.php Call check_sid() from a central location 2017-04-27 09:22:53 +02:00
voters.php Stop using each() 2018-05-12 13:35:11 +02:00