[aur-dev] [PATCH] Further optimize voters.php to only need the package name

2014-01-20 Thread canyonknight
* Extends changes in 81d4cc13dcae2f159ed937d4ce41e1df7d3c82b0 * Modify getvotes() to use the package name rather than package ID * Rename getvotes() to votes_for_pkgname() for clarity with new changes * Modify routing framework and links to now use package names for voters.php Signed-off-by: canyo

Re: [aur-dev] [PATCH] account_details.php: Add link to edit a user's account

2014-01-20 Thread canyonknight
On Mon, Jan 20, 2014 at 9:39 AM, Lukas Fleischer wrote: > On Mon, 20 Jan 2014 at 02:29:33, canyonknight wrote: >> This improves the ability to edit a user's account directly through >> UI features rather than manually appending 'edit' to the URL or >> searching for the account and selecting edit.

Re: [aur-dev] [PATCH] voters.php: Remove extra call to pkgname_from_id()

2014-01-20 Thread Lukas Fleischer
On Mon, 20 Jan 2014 at 02:27:49, canyonknight wrote: > No need to store package ID and call pkgname_from_id() twice when > the end goal is the package name. > > Signed-off-by: canyonknight > --- > web/html/voters.php | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > Good catch. Me

Re: [aur-dev] [PATCH] account_details.php: Add link to edit a user's account

2014-01-20 Thread Lukas Fleischer
On Mon, 20 Jan 2014 at 02:29:33, canyonknight wrote: > This improves the ability to edit a user's account directly through > UI features rather than manually appending 'edit' to the URL or > searching for the account and selecting edit. > > Signed-off-by: canyonknight > --- > web/template/accoun

Re: [aur-dev] [PATCH] acctfuncs.inc.php: Allow translation of missing strings

2014-01-20 Thread Lukas Fleischer
On Mon, 20 Jan 2014 at 02:37:34, canyonknight wrote: > Signed-off-by: canyonknight > --- > web/lib/acctfuncs.inc.php | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Good catch, thanks! > diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php > index fe748a2..52eb551 1