[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