aurweb/templates
Kevin Morris 26b1674c9e
fix(requests): rework handling of requests
This commit changes several things about how we were handling
package requests.

Modifications (requests):
-------------
- `/requests/{id}/close` no longer provides an Accepted selection.
  All manual request closures will cause a rejection.
- Relevent `pkgbase` actions now trigger request closures:
  `/pkgbase/{name}/delete` (deletion), `/pkgbase/{name}/merge` (merge)
  and `/pkgbase/{name}/disown` (orphan).
- Comment fields have been added to
  `/pkgbase/{name}/{delete,merge,disown}`, which is used to set the
  `PackageRequest.ClosureComment` on pending requests. If the comment
  field is left blank, a closure comment is autogenerated.
- Autogenerated request notifications are only sent out once
  as a closure notification.
- Some markup has been fixed.

Modifications (disown/orphan):
-----------------------------
- Orphan requests are now handled through the same path as
  deletion/merge.
- We now check for due date when disowning as non-maintainer;
  previously, this was only done for display and not functionally.
  This check applies to Trusted Users' disowning of a package.

This style of notification flow does reduce our visibility, but
accounting can still be done via the close request; it includes
the action, pkgbase name and the user who accepted it.

Closes #204

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-12-09 19:09:51 -08:00
..
account fix(python): add logged in date field to account/show.html 2021-12-04 01:16:14 -08:00
errors change(fastapi): centralize HTTPException 2021-12-02 23:23:27 -08:00
packages fix(requests): rework handling of requests 2021-12-09 19:09:51 -08:00
partials fix(requests): show unlinked pkgname when PackageBase has been deleted 2021-12-07 13:51:38 -08:00
pkgbase fix(requests): rework handling of requests 2021-12-09 19:09:51 -08:00
requests fix(requests): rework handling of requests 2021-12-09 19:09:51 -08:00
testing change(rendercomment): converted to use aurweb.db ORM 2021-11-28 19:55:11 -08: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 fix(fastapi): remove trailing slashes from fastapi-driven links 2021-10-18 22:42:40 -07:00
dashboard.html fix(FastAPI): voted/notified query efficiency 2021-09-19 00:34:08 -07:00
home.html [FastAPI] Modularize homepage and add side panel 2021-08-17 19:58:32 -07:00
index.html routers.html: add authenticated dashboard to homepage 2021-08-17 21:59:13 -07:00
login.html fix(fastapi): render Logged-in as page on authenticated /login 2021-11-29 19:40:55 -08:00
packages.html feat(FastAPI): add /packages (post) 2021-10-18 17:43:27 -07:00
passreset.html add passreset routes 2021-06-05 20:11:17 -07:00
pkgbase.html housekeep(fastapi): cleanup unneeded jinja set statement 2021-11-18 16:44:13 -08:00
register.html add user registration routes 2021-06-05 20:11:17 -07:00
requests.html fix(requests): rework handling of requests 2021-12-09 19:09:51 -08:00