Re: [aur-dev] [PATCH] Add support for 'User' to see the voters of a package
On Sun, Sep 27, 2009 at 10:25 PM, Laszlo Papp djsza...@gmail.com wrote: ./web/html/voters.php: - 'User' accounts were added to the condition to be able for simple Users to see the voters of a package, like in case of http://bugs.archlinux.org Signed-off-by: Laszlo Papp djsz...@archlinux.us --- web/html/voters.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/web/html/voters.php b/web/html/voters.php index a3b2469..6ebb459 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -17,7 +17,7 @@ $pkgid = $_GET['ID']; $votes = getvotes($pkgid); $account = account_from_sid($SID); -if ($account == 'Trusted User' || $account == 'Developer') { +if ($account == 'User' || $account == 'Trusted User' || $account == 'Developer') { ? html body -- 1.6.4.4 Hi Laszlo, First of all I don't know if this feature will be available for the rest of the users. And plus, is easier to remove that if condition (if $account == 'bla') instead modifying it (adding another or condition) ;) Sincerely -- Angel Velásquez angvp @ irc.freenode.net Linux Counter: #359909
[aur-dev] fix for FS#15947
Rough cut of a fix for FS#15947. Another related request: http://mailman.archlinux.org/pipermail/aur-dev/2009-September/000892.html Laszlo's request also asked for 'submitter', but I think that is less useful, hence I left it out. It might make sense to add 'maintainer' to the info and search results. Unsure.
Re: [aur-dev] [PATCH 1/1] fix for FS#15947
On Sun 27 Sep 2009 20:59 -0700, elij wrote: Fix for maintainer search ticket: FS#15947 Also http://mailman.archlinux.org/pipermail/aur-dev/2009-September/000892.html Thanks. For future patch submissions please put a more descriptive subject, such as Add maintainer search to json interface. Closes FS#15947
Re: [aur-dev] [PATCH 1/1] fix for FS#15947
Feel free to change it. -- elij (cactus) On Sun, Sep 27, 2009 at 9:14 PM, Loui Chang louipc@gmail.com wrote: On Sun 27 Sep 2009 20:59 -0700, elij wrote: Fix for maintainer search ticket: FS#15947 Also http://mailman.archlinux.org/pipermail/aur-dev/2009-September/000892.html Thanks. For future patch submissions please put a more descriptive subject, such as Add maintainer search to json interface. Closes FS#15947