Re: [aur-dev] [PATCH 1/1] fix for FS#15947

2009-09-27 Thread elij
Feel free to change it. -- elij (cactus) On Sun, Sep 27, 2009 at 9:14 PM, Loui Chang 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

Re: [aur-dev] [PATCH 1/1] fix for FS#15947

2009-09-27 Thread Loui Chang
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.

Re: [aur-dev] fix for FS#15947

2009-09-27 Thread Laszlo Papp
On Mon, Sep 28, 2009 at 5:59 AM, elij wrote: > 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

[aur-dev] [PATCH 1/1] fix for FS#15947

2009-09-27 Thread elij
Fix for maintainer search ticket: FS#15947 Also http://mailman.archlinux.org/pipermail/aur-dev/2009-September/000892.html --- web/lib/aurjson.class.php | 41 ++--- 1 files changed, 34 insertions(+), 7 deletions(-) diff --git a/web/lib/aurjson.class.php b/web

[aur-dev] fix for FS#15947

2009-09-27 Thread elij
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

Re: [aur-dev] [PATCH] Add support for 'User' to see the voters of a package

2009-09-27 Thread Angel Velásquez
On Sun, Sep 27, 2009 at 10:25 PM, Laszlo Papp 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 > --- >  web/htm

[aur-dev] [PATCH] Add support for 'User' to see the voters of a package

2009-09-27 Thread Laszlo Papp
./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 --- web/html/voters.php |2 +- 1 files changed, 1 insertions(+), 1 deleti

Re: [aur-dev] some patches for cleanup and other stuff

2009-09-27 Thread elij
oh noes! one of my patches was too large, and is waiting moderator approval. ha! [2/9] will arrive once/if someone approves it apparently. ;) On Sun, Sep 27, 2009 at 4:40 PM, elij wrote: > In response to a forum thread about stagnating aur development, > I worked on the aur a bit when I was bore

[aur-dev] [PATCH 9/9] user_doc is more or less reflected in the README/wiki

2009-09-27 Thread elij
Kind of pointless to keep it around. Especially in here. --- web/html/user_docs.html | 160 --- 1 files changed, 0 insertions(+), 160 deletions(-) delete mode 100644 web/html/user_docs.html diff --git a/web/html/user_docs.html b/web/html/user_docs.ht

[aur-dev] [PATCH 8/9] renamed rss2 -> rss

2009-09-27 Thread elij
changed file name, as the 2 is relatively meaningless. I think at one time it qualified it as a rss2.0 feed, but the distinction is valueless at this point, since the generated xml itself declares the rss version. make sure to set an apache rewrite rule for any production systems that require it.

[aur-dev] [PATCH 7/9] fix content-type when sending jsonp

2009-09-27 Thread elij
jsonp callback should have a content type of text/javascipt, since it specifies a callback function wrapping json data, and is not soley json data. --- web/lib/aurjson.class.php | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/web/lib/aurjson.class.php b/web/lib

[aur-dev] [PATCH 6/9] renamed file to fit convention

2009-09-27 Thread elij
--- README | 107 README.txt | 107 2 files changed, 107 insertions(+), 107 deletions(-) create mode 100644 README delete mode 100644 README.txt diff --git a/README b/

[aur-dev] [PATCH 5/9] normalized template convention

2009-09-27 Thread elij
--- web/lib/stats.inc |6 ++-- web/template/stats/general_stats_table.php | 32 --- web/template/stats/updates_table.php | 39 web/template/stats/user_table.php | 31 -- web/templ

[aur-dev] [PATCH 4/9] some readme cleanup

2009-09-27 Thread elij
--- web/README | 15 --- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/web/README b/web/README index d708e99..781e59c 100644 --- a/web/README +++ b/web/README @@ -141,9 +141,8 @@ Scripts: If a TU is logged into the system, they can edit accounts and set the ac

[aur-dev] [PATCH 3/9] cleanup rss2.php

2009-09-27 Thread elij
- removed excessive string catenation, replaced with variable substitution - consolidated http/https protocol checks - simplified host header parse (centralized) - moved cache file to /tmp, to remove need to custom permission directory in webdir --- web/html/rss2.php | 31 ---

[aur-dev] [PATCH 1/9] removed 'location' and 'unsupported' functionality.

2009-09-27 Thread elij
--- web/html/index.php |2 - web/html/pkgsubmit.php |5 +- web/lib/aurjson.class.php |2 +- web/lib/pkgfuncs.inc | 76 +--- web/lib/stats.inc | 10 ++-

[aur-dev] some patches for cleanup and other stuff

2009-09-27 Thread elij
In response to a forum thread about stagnating aur development, I worked on the aur a bit when I was bored today. The first patch is probably the most invasive, and I must admit that I haven't tested it (offline -- not dev sandbox). I think the spirit of this patch, if not the implementation of i

Re: [aur-dev] Show voters of a package

2009-09-27 Thread Loui Chang
On Sat 26 Sep 2009 11:14 +0200, Laszlo Papp wrote: > On Sat, Sep 26, 2009 at 11:10 AM, Biru Ionut wrote: > > the voters list is implemented only for trusted users and devs. > > I know it, because of this I wrote it would be nice :) Is it any reason to > restrict it that doesn't count in case of b