mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add support for filing package requests
Add a new entry to the package actions box that allows for filing deletion and orphan requests. When choosing that action, the user is redirected to a new page that allows for selecting a request type and entering a comment. When submitting the request, a new entry in the request database is created and an email is sent to a configurable mailing list (defaults to aur-general). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
e37a49d726
commit
48cc8207bf
9 changed files with 212 additions and 0 deletions
|
@ -94,6 +94,8 @@ if (check_token()) {
|
|||
list($ret, $output) = pkgbase_delete_comment($atype);
|
||||
} elseif (current_action("do_ChangeCategory")) {
|
||||
list($ret, $output) = pkgbase_change_category($base_id, $atype);
|
||||
} elseif (current_action("do_FileRequest")) {
|
||||
list($ret, $output) = pkgbase_file_request($ids, $_POST['type'], $_POST['comments']);
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['comment'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue