Re: [aur-dev] [PATCH 1/1] rename *.inc files to *.inc.php and adjust imports and references

2011-06-21 Thread elij
On Tue, Jun 21, 2011 at 6:38 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Sun, May 29, 2011 at 02:33:37PM -0700, elij wrote: ---  .gitignore                                         |    1 +  TRANSLATING                                        |    2 +-  web/README

Re: [aur-dev] Output buffering and header() usage

2011-06-21 Thread elij
On Tue, Jun 21, 2011 at 9:19 AM, Dan McGee dpmc...@gmail.com wrote: On Tue, Jun 21, 2011 at 11:11 AM, Lukas Fleischer archli...@cryptocrack.de wrote: Some possible solutions/workarounds that came into my mind: * Use javascript redirects instead. * Just buffer output everywhere (ob_start(),

Re: [aur-dev] [PATCH 1/1] Make cache type selectable based on config value

2011-06-21 Thread elij
On Tue, Jun 21, 2011 at 6:33 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Sun, May 29, 2011 at 04:27:55PM -0700, elij wrote: Provie a mechanism to specify cache type from NONE, APC, or MEMCACHE based on a config variable. If MEMCACHE type is selected, a list of servers can

Re: [aur-dev] [PATCH 1/2] refactor apc code and move to aur.inc

2011-05-29 Thread elij
On Sun, May 29, 2011 at 1:59 PM, elij elij...@gmail.com wrote: On Sun, May 29, 2011 at 7:27 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Sat, May 28, 2011 at 04:17:09PM -0700, elij wrote: +    if(EXTENSION_LOADED_APC) { +        $ret = apc_fetch(APC_PREFIX.$key, $status

[aur-dev] [PATCH 1/1] rename *.inc files to *.inc.php and adjust imports and references

2011-05-29 Thread elij
--- .gitignore |1 + TRANSLATING|2 +- web/README |4 ++-- web/html/account.php |4 ++-- web/html/addvote.php

[aur-dev] [PATCH 1/1] Make cache type selectable based on config value

2011-05-29 Thread elij
Provie a mechanism to specify cache type from NONE, APC, or MEMCACHE based on a config variable. If MEMCACHE type is selected, a list of servers can be specified to provide multiserver support. Note that php-memcaced is required for MEMCACHE support. --- web/lib/aur.inc.php | 49

[aur-dev] [PATCH 1/1] restructure the html/rpc.php endpoint

2011-05-28 Thread elij
- move request_method test to the top, and catch other request types (HEAD, PUT, etc) - change how html output is handled. instead of building a string, just output the html - set appropriate response header for incorrect request_method. --- web/html/rpc.php | 60

[aur-dev] [PATCH 1/1] fix two issues (php notice level) with html/rss.php

2011-05-28 Thread elij
- Undefined index: HTTPS in rss.php on line 8 - Undefined property: RSSCreator20::$cssStyleSheet in feedcreator.class.php on line 591 --- web/html/rss.php |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/web/html/rss.php b/web/html/rss.php index 0547815..d0a202b

[aur-dev] refactor apc cache code (centralize and genericize)

2011-05-28 Thread elij
The first patch is a slight refactor and move of the apc cache code, out of stats.inc into aur.inc. This is to make it available for other code to utilize if desired. I made it a bit more generic, so other referncing code does not have to supply a cache prefix. It will apply a prefix on behalf of

[aur-dev] [PATCH 1/2] refactor apc code and move to aur.inc

2011-05-28 Thread elij
- move apc cache code to aur.inc (centralize) - refactor the apc usage in stats.inc to utilize new code in aur.inc --- web/lib/aur.inc | 49 ++ web/lib/stats.inc | 61 +++- 2 files changed, 62

Re: [aur-dev] [PATCH 1/1] add support for etag and conditional get (if-none-match)

2011-05-15 Thread elij
On Sun, May 15, 2011 at 12:19 PM, Lukas Fleischer archli...@cryptocrack.de wrote: On Fri, May 13, 2011 at 12:55:40PM -0700, elij wrote: Add etag and if-none-match conditional get support. This will allow 'smart client' to save network bandwidth, as they can save the etag hash value for queries

Re: [aur-dev] [PATCH 1/4] remove submitter from package data

2011-05-11 Thread elij
On Wed, May 11, 2011 at 7:11 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Tue, May 10, 2011 at 09:01:27PM -0700, elij wrote: ---  web/html/pkgsubmit.php       |    3 +--  web/lib/pkgfuncs.inc         |   10 +-  web/template/pkg_details.php |   11 ---  3 files

Re: [aur-dev] [PATCH 3/4] fix case where user does not exist

2011-05-11 Thread elij
On Wed, May 11, 2011 at 7:22 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Tue, May 10, 2011 at 09:01:29PM -0700, elij wrote: the query was being performed when $id was not set, resulting in an invalid sql query being performed. ---  web/lib/acctfuncs.inc |    3 +++  1 files changed

Re: [aur-dev] [PATCH 1/4] remove submitter from package data

2011-05-11 Thread elij
On Wed, May 11, 2011 at 11:51 AM, Dan McGee dpmc...@gmail.com wrote: On Wed, May 11, 2011 at 1:48 PM, elij elij...@gmail.com wrote: On Wed, May 11, 2011 at 7:11 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Tue, May 10, 2011 at 09:01:27PM -0700, elij wrote: ---  web/html

[aur-dev] [PATCH 2/4] test return value from db_query before assuming it is valid

2011-05-11 Thread elij
make the sql query form consistent in usage by cleaning up instances where db_query's result was not inspected before attempting to fetch row data from the handle --- web/html/addvote.php | 16 +- web/html/tu.php | 17 +-- web/lib/acctfuncs.inc |

Re: [aur-dev] [PATCH 2/4] test return value from db_query before assuming it is valid

2011-05-11 Thread elij
hmm. looks like there were still a couple lines of formatting junk in this patch.. hilariously the ones I missed are converting spaces to tabs to be more consistent. _ the count is low though. Skimming the patch file it looks like only 3 or 4 lines. I got the big ones pruned out of the patch

Re: [aur-dev] [PATCH 2/4] test return value from db_query before assuming it is valid

2011-05-11 Thread elij
On Wed, May 11, 2011 at 5:09 PM, Lukas Fleischer archli...@cryptocrack.de wrote: On Wed, May 11, 2011 at 04:17:12PM -0700, elij wrote: make the sql query form consistent in usage by cleaning up instances where db_query's result was not inspected before attempting to fetch row data from

Re: [aur-dev] [PATCH] add subitter, first submitted and last modified to json output

2011-05-10 Thread elij
On Tue, May 10, 2011 at 1:20 PM, kachelaqa kachel...@gmail.com wrote: this patch is a follow up to my earlier feature request (FS#24183). Does anyone really care who the original submitter was? I think maintainer makes sense, but submitter? So, while I disagree with adding submitter, I think

Re: [aur-dev] [PATCH] add subitter, first submitted and last modified to json output

2011-05-10 Thread elij
On Tue, May 10, 2011 at 2:04 PM, kachelaqa kachel...@gmail.com wrote: On 10/05/11 21:54, elij wrote: On Tue, May 10, 2011 at 1:20 PM, kachelaqakachel...@gmail.com  wrote: this patch is a follow up to my earlier feature request (FS#24183). Does anyone really care who the original submitter

[aur-dev] Couple of patches

2011-05-10 Thread elij
Here are a few patches. The first patch removes the 'submitter' field from the web-ui package results. The second patch fixes several instances where db_query's result was not tested before performing mysql queries upon it. This patch might be a tad messy due to some unfortunate 'vim retab!'

[aur-dev] [PATCH 2/4] test return value from db_query before assuming it is valid

2011-05-10 Thread elij
make the sql query form consistent in usage by cleaning up instances where db_query's result was not inspected before attempting to fetch row data from the handle --- web/html/addvote.php | 16 +- web/html/tu.php | 17 +- web/lib/acctfuncs.inc|

[aur-dev] [PATCH 4/4] make return value consistent for this function

2011-05-10 Thread elij
--- web/lib/aur.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/web/lib/aur.inc b/web/lib/aur.inc index fb267af..f8fa715 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -196,7 +196,7 @@ function uid_from_sid($sid=) { $q.= AND Sessions.SessionID = ' .

Re: [aur-dev] [PATCH 1/1] add SQL_DEBUG variable and database logging

2011-04-27 Thread elij
On Wed, Apr 27, 2011 at 9:34 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Tue, Apr 26, 2011 at 11:52:11AM -0700, elij wrote: add a hook to db_query to log all sql queries when SQL_DEBUG is set Additionally, provide better logging for sql error situations (provide backtrace as well

Re: [aur-dev] [PATCH 1/1] add SQL_DEBUG variable and database logging

2011-04-27 Thread elij
On Wed, Apr 27, 2011 at 1:57 PM, elij elij...@gmail.com wrote: On Wed, Apr 27, 2011 at 9:34 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Tue, Apr 26, 2011 at 11:52:11AM -0700, elij wrote: add a hook to db_query to log all sql queries when SQL_DEBUG is set Additionally, provide

[aur-dev] [PATCH 1/1] create variable before referencing it with .=

2011-04-26 Thread elij
fixes php notice level error: Undefined variable: whovoted in ../tu.php --- web/html/tu.php |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/web/html/tu.php b/web/html/tu.php index dc1c5e3..c5cc36b 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -46,6 +46,7 @@ if

[aur-dev] [PATCH 1/1] add SQL_DEBUG variable and database logging

2011-04-26 Thread elij
add a hook to db_query to log all sql queries when SQL_DEBUG is set Additionally, provide better logging for sql error situations (provide backtrace as well as error message). --- web/lib/aur.inc | 12 web/lib/config.inc.proto |4 2 files changed, 16

[aur-dev] [PATCH 2/2] remove stray quote mark from log output

2011-04-26 Thread elij
--- web/lib/aur.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/web/lib/aur.inc b/web/lib/aur.inc index 2c6cd0d..f6d6a6c 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -245,7 +245,7 @@ function db_query($query=, $db_handle=) { if (SQL_DEBUG == 1) {

[aur-dev] [PATCH 3/3] remove _another_ stray quote mark from sql debug output

2011-04-26 Thread elij
--- web/lib/aur.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/web/lib/aur.inc b/web/lib/aur.inc index f6d6a6c..8daba0e 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -251,7 +251,7 @@ function db_query($query=, $db_handle=) { $result =

[aur-dev] some notes from converting the aur from mysql to postgresql

2011-04-25 Thread elij
While converting the aur codebase from mysql to postgresql (just for fun/to see if I could), I ran into a few mysql specific gotchas, and a few oddities. Here are some of my notes from the experience. * I ran into a few sql integer comparisons that are using string comparisons. postgres didn't

Re: [aur-dev] some notes from converting the aur from mysql to postgresql

2011-04-25 Thread elij
On Mon, Apr 25, 2011 at 7:49 PM, Dan McGee dpmc...@gmail.com wrote: On Mon, Apr 25, 2011 at 9:35 PM, elij elij...@gmail.com wrote: While converting the aur codebase from mysql to postgresql (just for fun/to see if I could), I ran into a few mysql specific gotchas, and a few oddities. Here

Re: [aur-dev] some notes from converting the aur from mysql to postgresql

2011-04-25 Thread elij
On Mon, Apr 25, 2011 at 8:38 PM, elij elij...@gmail.com wrote: On Mon, Apr 25, 2011 at 7:49 PM, Dan McGee dpmc...@gmail.com wrote: And case sensitivity would come into play, no? I built the fulltext index as follows: alter table packages add column tsv tsvector; update packages set tsv

Re: [aur-dev] some notes from converting the aur from mysql to postgresql

2011-04-25 Thread elij
On Mon, Apr 25, 2011 at 8:50 PM, Dan McGee dpmc...@gmail.com wrote: On Mon, Apr 25, 2011 at 10:38 PM, elij elij...@gmail.com wrote: On Mon, Apr 25, 2011 at 7:49 PM, Dan McGee dpmc...@gmail.com wrote: On Mon, Apr 25, 2011 at 9:35 PM, elij elij...@gmail.com wrote: * using the limit offset format

[aur-dev] [PATCH 1/1] convert mysql specific offset/limit syntax to more standardized format

2011-04-25 Thread elij
--- web/html/rss.php |2 +- web/html/tu.php |2 +- web/lib/acctfuncs.inc |2 +- web/lib/pkgfuncs.inc |2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/html/rss.php b/web/html/rss.php index cb0bf40..0547815 100644 --- a/web/html/rss.php +++

Re: [aur-dev] [PATCH 1/1] convert mysql specific offset/limit syntax to more standardized format

2011-04-25 Thread elij
On Mon, Apr 25, 2011 at 9:31 PM, Dan McGee dpmc...@gmail.com wrote: On Mon, Apr 25, 2011 at 11:17 PM, elij elij...@gmail.com wrote: ---  web/html/rss.php      |    2 +-  web/html/tu.php       |    2 +-  web/lib/acctfuncs.inc |    2 +-  web/lib/pkgfuncs.inc  |    2 +-  4 files changed, 4

Re: [aur-dev] [PATCH 2/3] SQL: treat all UID/ID values as numbers, not strings

2011-04-25 Thread elij
On Mon, Apr 25, 2011 at 9:23 PM, Dan McGee d...@archlinux.org wrote: Ensure we are not quoting these values in any of our SQL queries. wewt! Thanks-to: elij elij...@gmail.com Signed-off-by: Dan McGee d...@archlinux.org --- Smoke tested: * Submitted a package update and it worked

[aur-dev] [PATCH 1/1] use convenience wrapper for mysql_real_escape_string to aid database portability

2011-04-25 Thread elij
when converting to postgres, each mysql_real_escape_string instance had to be changed, which was tedious. Centralizing the escape mechanism code would allow for much easier porting, in the same way that db_query provides a lightweight query abstraction. --- web/html/account.php |

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-13 Thread elij
On Mon, Apr 11, 2011 at 10:15 PM, Dan McGee d...@archlinux.org wrote: [1] Rough data from April 11, 2011, with a total hit count of 1,109,163:     12 /login.php     13 /rpc.php?type=sarch     15 /rpc.php?type=msearch     16 /pingserver.php     16 /rpc.php     22 /logout.php    163

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread elij
On Mon, Apr 11, 2011 at 10:15 PM, Dan McGee d...@archlinux.org wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by allowing AUR clients to send multiple arguments. This enables things like

Re: [aur-dev] [PATCH 1/4] make gendummydata script more friendly

2011-04-06 Thread elij
On Tue, Apr 5, 2011 at 11:20 PM, Rémy Oudompheng remyoudomph...@gmail.com wrote: On Tue 05 April 2011 at 17:54 -0700, elij wrote: - no need to use mysql - just considering categories as an integer range, specified to the size   of that in the aur-schema. So does this produce valid SQL

Re: [aur-dev] [PATCH 3/4] reformat

2011-04-06 Thread elij
On Tue, Apr 5, 2011 at 11:25 PM, Rémy Oudompheng remyoudomph...@gmail.com wrote: On Tue 05 April 2011 at 17:54 -0700, elij wrote: - make the sql nicer and more readable - convert to spaces. who uses tabs in python!? As far as I know, we use tabs in all of our Python projects. Sorry to hear it. :)

Re: [aur-dev] [PATCH 1/3] make gendummydata script more friendly

2011-04-06 Thread elij
On Wed, Apr 6, 2011 at 12:04 PM, Lukas Fleischer archli...@cryptocrack.de wrote: I agree with both changes, but please split that one into two separate patches. ugh. yeah I can probably do that. -DBUG = 1 +log_level = logging.DEBUG # logging level. set to logging.INFO to reduce

[aur-dev] [PATCH 3/4] wrap long SQL commands to improve formatting and readability

2011-04-06 Thread elij
--- support/schema/gendummydata.py | 34 +++--- 1 files changed, 23 insertions(+), 11 deletions(-) diff --git a/support/schema/gendummydata.py b/support/schema/gendummydata.py index 290002a..cb27f9c 100755 --- a/support/schema/gendummydata.py +++

Re: [aur-dev] some patches to gendummydata (take 3)

2011-04-06 Thread elij
On Wed, Apr 6, 2011 at 7:23 PM, elij elij...@gmail.com wrote: Updated with changes Lukas requested. - split logging and mysql removal into separate patches - update logging patch with uppercase variable convention - drop tabs - spaces patch - clarified commit messages hmm. looks like I

[aur-dev] some patches to gendummydata

2011-04-05 Thread elij
Some patches for gendummydata script. - remove need for sql connection. this allows someone to run the script on a dev box with no sql connection (for example) and then ship the output sql wherever needed. - remove need to have category names. only the actual numbers are needed, and if you

[aur-dev] [PATCH 2/4] make the formatting nicer and more readable

2011-04-05 Thread elij
--- support/schema/gendummydata.py | 34 +++--- 1 files changed, 23 insertions(+), 11 deletions(-) diff --git a/support/schema/gendummydata.py b/support/schema/gendummydata.py index 47d9bd5..d424564 100755 --- a/support/schema/gendummydata.py +++

[aur-dev] [PATCH 3/4] reformat

2011-04-05 Thread elij
- make the sql nicer and more readable - convert to spaces. who uses tabs in python!? --- support/schema/gendummydata.py | 248 1 files changed, 124 insertions(+), 124 deletions(-) diff --git a/support/schema/gendummydata.py

Re: [aur-dev] [PATCH 1/4] make gendummydata script more friendly

2011-04-05 Thread elij
On Tue, Apr 5, 2011 at 6:58 PM, Dan McGee dpmc...@gmail.com wrote: On Tue, Apr 5, 2011 at 7:54 PM, elij elij...@gmail.com wrote: - no need to use mysql - just considering categories as an integer range, specified to the size  of that in the aur-schema. - use logging module instead of writing

Re: [aur-dev] [PATCH 3/4] reformat

2011-04-05 Thread elij
On Tue, Apr 5, 2011 at 6:54 PM, Dan McGee dpmc...@gmail.com wrote: On Tue, Apr 5, 2011 at 7:54 PM, elij elij...@gmail.com wrote: - make the sql nicer and more readable - convert to spaces. who uses tabs in python!? -1. These should not be done in the same patch. -Dan They were both solely

[aur-dev] Some optimization patches

2011-04-04 Thread elij
My apologies for splitting these changes into so many patches, but apparently the Arch mailman instance will not let anything larger than 40k though (and I got feedback that there is something amiss regarding the mailman setup -- this is here nor there though). These patches are mostly

[aur-dev] [PATCH 2/7] add minified aur css

2011-04-04 Thread elij
--- web/html/css/aur.min.css | 148 ++ 1 files changed, 148 insertions(+), 0 deletions(-) create mode 100644 web/html/css/aur.min.css diff --git a/web/html/css/aur.min.css b/web/html/css/aur.min.css new file mode 100644 index 000..51380bb ---

[aur-dev] [PATCH 4/7] split out the ie6 css into ie6 specific css file

2011-04-04 Thread elij
--- web/html/css/archnavbar/archnavbar.css |6 +- web/html/css/archnavbar/ie6.css|2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 web/html/css/archnavbar/ie6.css diff --git a/web/html/css/archnavbar/archnavbar.css

[aur-dev] [PATCH 3/7] add minified archnavbar css

2011-04-04 Thread elij
--- web/html/css/archnavbar/archnavbar.min.css | 16 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 web/html/css/archnavbar/archnavbar.min.css diff --git a/web/html/css/archnavbar/archnavbar.min.css b/web/html/css/archnavbar/archnavbar.min.css new file

[aur-dev] [PATCH 5/7] use new css files in header template

2011-04-04 Thread elij
--- web/template/header.php |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/template/header.php b/web/template/header.php index 0f0e362..5862852 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -5,10 +5,11 @@ xml:lang=?php print $LANG\

[aur-dev] [PATCH 7/7] specify dimensions for images

2011-04-04 Thread elij
- some html renderers work faster/better if you specify image dimensions to avoid reflow/repaits --- web/template/stats/updates_table.php |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php

Re: [aur-dev] Some optimization patches

2011-04-04 Thread elij
On Mon, Apr 4, 2011 at 2:20 PM, elij elij...@gmail.com wrote: My apologies for splitting these changes into so many patches, but apparently the Arch mailman instance will not let anything larger than 40k though (and I got feedback that there is something amiss regarding the mailman setup

Re: [aur-dev] Some optimzation patches

2011-04-04 Thread elij
On Mon, Apr 4, 2011 at 2:30 PM, Lukas Fleischer archli...@cryptocrack.de wrote: On Sun, Apr 03, 2011 at 08:41:27PM -0700, elij wrote: Here are some patches that optimze a few things: - combine css for faster delivery (fewer tcp connections) - minimize css (faster delivery, bandwidth reduction

[aur-dev] Some optimization patches

2011-04-04 Thread elij
Trying to send these patches one final time, using 'inline' at Aaron's suggestion. Here goes. --- My apologies for splitting these changes into so many patches, but apparently the Arch mailman instance will not let anything larger than 40k though (and I got feedback that there is something

[aur-dev] [PATCH 2/7] add minified aur css

2011-04-04 Thread elij
--- web/html/css/aur.min.css | 148 ++ 1 files changed, 148 insertions(+), 0 deletions(-) create mode 100644 web/html/css/aur.min.css diff --git a/web/html/css/aur.min.css b/web/html/css/aur.min.css new file mode 100644 index 000..51380bb ---

[aur-dev] [PATCH 6/7] optimize png file

2011-04-04 Thread elij
- savings of about 1K (22%) --- web/html/css/archnavbar/archlogo.png | Bin 4192 - 3258 bytes 1 files changed, 0 insertions(+), 0 deletions(-) diff --git a/web/html/css/archnavbar/archlogo.png b/web/html/css/archnavbar/archlogo.png index

[aur-dev] [PATCH 7/7] specify dimensions for images

2011-04-04 Thread elij
- some html renderers work faster/better if you specify image dimensions to avoid reflow/repaits --- web/template/stats/updates_table.php |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php

[aur-dev] Some optimization patches

2011-04-04 Thread elij
*sigh* Forgot to change the setting for format-patch and resent the same patches. Trying to send these patches one final time, using 'inline' at Aaron's suggestion. Here goes. --- My apologies for splitting these changes into so many patches, but apparently the Arch mailman instance will not

[aur-dev] [PATCH 1/7] merge css files into one file

2011-04-04 Thread elij
--- web/html/css/arch.css | 424 -- web/html/css/aur.css| 701 +++ web/html/css/containers.css | 188 web/html/css/fonts.css | 115 --- 4 files changed, 701 insertions(+), 727 deletions(-)

[aur-dev] [PATCH 3/7] add minified archnavbar css

2011-04-04 Thread elij
--- web/html/css/archnavbar/archnavbar.min.css | 16 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 web/html/css/archnavbar/archnavbar.min.css diff --git a/web/html/css/archnavbar/archnavbar.min.css b/web/html/css/archnavbar/archnavbar.min.css new file

[aur-dev] [PATCH 4/7] split out the ie6 css into ie6 specific css file

2011-04-04 Thread elij
--- web/html/css/archnavbar/archnavbar.css |6 +- web/html/css/archnavbar/ie6.css|2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 web/html/css/archnavbar/ie6.css diff --git a/web/html/css/archnavbar/archnavbar.css

[aur-dev] [PATCH 6/7] optimize png file

2011-04-04 Thread elij
- savings of about 1K (22%) --- web/html/css/archnavbar/archlogo.png | Bin 4192 - 3258 bytes 1 files changed, 0 insertions(+), 0 deletions(-) diff --git a/web/html/css/archnavbar/archlogo.png b/web/html/css/archnavbar/archlogo.png index

[aur-dev] [PATCH 7/7] specify dimensions for images

2011-04-04 Thread elij
- some html renderers work faster/better if you specify image dimensions to avoid reflow/repaits --- web/template/stats/updates_table.php |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php

[aur-dev] [PATCH 5/7] use new css files in header template

2011-04-04 Thread elij
--- web/template/header.php |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/template/header.php b/web/template/header.php index 0f0e362..5862852 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -5,10 +5,11 @@ xml:lang=?php print

Re: [aur-dev] Some optimization patches

2011-04-04 Thread elij
On Mon, Apr 4, 2011 at 2:44 PM, elij elij...@gmail.com wrote: *sigh* Forgot to change the setting for format-patch and resent the same patches. Trying to send these patches one final time, using 'inline' at Aaron's suggestion. Here goes. --- My apologies for splitting these changes into so

Re: [aur-dev] various implementations of a json api query endpoint for the aur

2011-03-27 Thread elij
On Sun, Mar 27, 2011 at 9:02 AM, Justin Davis jrc...@gmail.com wrote: Very cool! Are any of these implementations hosted anywhere? I have development versions running, but only the ruby version is 'live' right now. http://test.awesometrousers.net/ There is also a live-search implementation that

[aur-dev] various implementations of a json api query endpoint for the aur

2011-03-26 Thread elij
Greetings. I have implemented stand-alone versions of the aur rpc interface, in 3 languages. https://github.com/cactus/spew-ruby (ruby + sinatra) https://github.com/cactus/spew-js (nodejs + coffee-script) https://github.com/cactus/spew-python (python + tornado) The ruby version is probably the

Re: [aur-dev] Russian comments are '???'

2011-02-25 Thread elij
On Fri, Feb 25, 2011 at 4:27 PM, Loui Chang louipc@gmail.com wrote: On Fri 25 Feb 2011 09:52 +0100, Lukas Fleischer wrote: On Fri, Feb 25, 2011 at 01:34:12PM +1000, Joker-jar wrote: Hi. Russian comments are like '???' now in the aur. Look: http://aur.archlinux.org/packages.php?ID=40365 I

Re: [aur-dev] aur live-search

2011-02-09 Thread elij
Fyi. The url changed (but the old url still redirects -- for now). New url: http://live.aursearch.net/ On Wed, Feb 9, 2011 at 4:16 PM, Loui Chang louipc@gmail.com wrote: On Thu 03 Feb 2011 22:37 -0800, elij wrote: I was messing around and created a live-search-like query interface (which

Re: [aur-dev] Question about sanitized data dumps

2011-02-04 Thread elij
On Fri, Feb 4, 2011 at 3:29 PM, Loui Chang louipc@gmail.com wrote: Nothing has been set up yet, it's just something I had been thinking about. I think it could encourage more development. Yeah we would definitely have to sanitize the data. Providing the source packages via rsync or

[aur-dev] aur live-search

2011-02-03 Thread elij
I was messing around and created a live-search-like query interface (which utilizes the aur-rpc). forum post: https://bbs.archlinux.org/viewtopic.php?id=112878 example site: http://aurlivesearch.awesometrousers.net/ code: https://github.com/cactus/aurlivesearch

[aur-dev] Question about sanitized data dumps

2011-01-30 Thread elij
I have been [fooling around][1] with an aur-rpc reimplementation in ruby+redis with sphinx as the search engine. Loui [mentioned][2] he had been thinking about providing a dump of the existing database or something, to users who are interested in developing features and/or replacements. If so,

[aur-dev] moved my aurjson/rpc client examples

2009-12-06 Thread elij
I refactored (slightly) and moved my aurjson/rpc example clients to a github repo. http://github.com/cactus/aurjson_examples When I first added/submitted the aurjson interface, I linked to some very basic reference clients. I simply moved those to github (after updating them slightly).

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-10 Thread elij
(and setup memcached and the requisite php module). ;) On Sat, Oct 10, 2009 at 7:55 AM, Dan McGee dpmc...@gmail.com wrote: On Thu, Oct 8, 2009 at 6:30 PM, elij elij...@gmail.com wrote: Well, if people can get memcached installed on the aur box, and it can be made a requirement for running the aur

[aur-dev] Remove LocationID and return Category instead of CategoryID

2009-10-08 Thread elij
Patch to update the aur data to return data a bit more 'friendly' to client side utilities. Additional query load should be minimal. Note: Removed LocationID from results because everything is unsupported now.

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread elij
. I think adding alternate export types (json) to the rss mechanism makes more sense than adding rss logic to the rpc interface. Thoughts? (ooh. I am top-posting now.) On Thu, Oct 8, 2009 at 4:03 PM, Aaron Griffin aaronmgrif...@gmail.com wrote: On Thu, Oct 8, 2009 at 6:02 PM, elij elij

Re: [aur-dev] aur-general: I no longer receive messages.

2009-09-30 Thread elij
Yeah, I seem to recall phrakture banning html formatted emails in mailman. It DRASTICALLY cut down on the spam sent to lists. On Wed, Sep 30, 2009 at 1:59 PM, joz...@gmx.com wrote: On 30 Sep 2009 at 13:58, Loui Chang wrote: On Wed 30 Sep 2009 19:22 +0200, Xyne wrote: Can someone please

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

2009-09-28 Thread elij
On Mon, Sep 28, 2009 at 12:59 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 ---  web/lib/aurjson.class.php |   41

[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 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 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