aurweb/web/lib
Dan McGee aa206b343a rpc.php overhaul
* Mark things static in the class rather than use a constructor every
  single invocation of the service.
* Don't call mysql_real_escape_string() before we even have a database
  connection, and don't do work in the database if we don't need to.
* Formatting consistency fixups in a few places.
* Add new process_query() helper function; use this instead of
  copy-pasted code in all of the RPC method calls.
* Remove the escaping code meant to fix FS#15526, introduced in commit
  4d1eb4dd7a. It broke more than it solved, only fixed the output in
  one of three RPC calls (and who knows what the web interface then also
  does), and proper encoding should be done at the database level rather
  than up here.

Lukas: Add special case for "info" queries to process_query() (return a
single result instead of an array of results here).

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-04-16 17:47:57 +02:00
..
acctfuncs.inc Pass array_map() callback function properly. 2011-04-13 12:24:01 +02:00
aur.inc Replace translation engine with php-gettext. 2011-04-10 15:40:50 +02:00
aurjson.class.php rpc.php overhaul 2011-04-16 17:47:57 +02:00
config.inc.proto Protect users against ZIP bombs (fixes FS#22991). 2011-02-23 11:17:27 +01:00
feedcreator.class.php RSS support implemented 2005-06-10 23:07:24 +00:00
gettext.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
pkgfuncs.inc Add option to search for exact name matches only (fixes FS#23556). 2011-04-06 19:21:19 +02:00
stats.inc Add more stats to the front page table 2011-04-03 22:59:33 +02:00
streams.php Add php-gettext libraries to "web/lib/". 2011-04-10 15:40:49 +02:00
translator.inc Remove comment on translation helpers from "web/lib/translator.inc". 2011-04-10 16:27:48 +02:00
version.inc Release 1.8.2. 2011-04-10 15:38:28 +02:00