Commit graph

118 commits

Author SHA1 Message Date
Shish
18e36f9b31 Rather than three levels of configuration, let's have two (define()'d values in config.php for system-level stuff, the web-editable config table for user-level stuff). Basically switches database_dsn from a global variable to a defined constant. 2012-01-20 03:15:58 +00:00
Shish
56a780bfd3 in per-letter mode, don't separate a and A 2012-01-01 16:54:44 +00:00
Shish
9d9a960d1b type->engine for mysql 5.5 2011-07-14 10:12:39 +01:00
Shish
1abb96159b PDO returns 'false' for no rows, but various parts of the code expect it to return 'null'; for now, emulate the old behaviour 2011-03-24 14:27:11 +00:00
Diftraku
3d66c7ce41 "Fix'd" the execute query to pass args array without binding, assuming the first value is at index 0 and the query uses questionmarks. 2011-03-05 03:11:29 +02:00
Shish
4b5795cc5b fucking php, this took an hour to debug because it just dies with no error message -_- 2011-01-26 12:19:18 +00:00
Shish
ee3c24117b more pdo compat, database bits 2011-01-03 15:18:24 +00:00
Shish
2532091ae8 PDO DSN handling (PS. PHP is retarded) 2011-01-01 16:59:41 +00:00
Shish
7684def0f8 add get_pairs 2011-01-01 16:27:56 +00:00
Shish
8b2e3262fe clean up database API for completeness and sensibleness 2011-01-01 15:27:24 +00:00
Shish
6b557983c4 more PDO compat 2010-12-31 20:25:03 +00:00
Shish
8e63827c0f PDO exceptions for error handling 2010-12-31 19:56:28 +00:00
Shish
1d7b929871 convert parts of core/database to pdo 2010-12-31 19:29:15 +00:00
Shish
23216d7549 for compiling under hiphop 2010-05-15 14:53:37 +01:00
Shish
9cb7946d69 make memcachecache pay attention to the URI 2010-03-25 10:53:02 +00:00
Shish
74693f9d9f make apc not warn 2010-02-02 18:14:31 +00:00
Shish
387e13f9f0 activate caches if cache_dsn is set 2010-02-02 17:34:45 +00:00
Shish
892214a0c7 APC cache mechanism, faster than memcache? 2010-02-02 17:12:40 +00:00
Shish
efac91598c SCORE_STRNORM = lowercase-if-necessary-for-comparison 2010-02-02 02:13:45 +00:00
Shish
9ca5fcd51a MemCache is already used... 2010-02-01 16:17:12 +00:00
Shish
ad83c7634c 'PRAGMA foreign_keys' is SQLite-specific 2010-02-01 16:13:24 +00:00
Shish
13fb551fb3 SQLite now supports foreign keys (3.6.19 onwards) 2010-01-17 09:42:35 +00:00
Shish
830635c5a9 preliminary image locking 2009-12-30 08:54:04 +00:00
Shish
1e8e5adbbf load config.php sooner 2009-08-09 13:10:59 +01:00
Shish
572f84511a lots of docs, and some internal changes 2009-07-21 07:38:53 +01:00
Shish
627ecdbf4c lots of docs 2009-07-19 08:38:27 +01:00
Shish
be5ed6272c merge both log functions into one; simply saying that they take different numbers of arguments isn't enough... 2009-07-17 01:56:40 +01:00
Shish
96e69c4f20 aaaaaaaargh dates and times in sql 2009-07-16 00:05:25 +01:00
Shish
4e551cf9c5 move shimmie-specific sqlite things out of adodb and into shimmie's database engine 2009-01-25 09:18:58 -08:00
Shish
2d46a5c269 more functions that sqlite needs 2009-01-25 09:18:48 -08:00
Shish
abf448cdc8 old bits 2009-01-22 10:23:15 -08:00
Shish
33fa2f9b28 xmlschema was fail 2009-01-22 10:21:31 -08:00
Shish
4e4f0be4e5 more sqlite niceness 2009-01-22 07:51:50 -08:00
Shish
f3a3d50f95 sqlite love 2009-01-22 07:08:37 -08:00
Shish
8619be809e sqlite engine 2009-01-22 05:53:30 -08:00
Shish
fb7e14ad21 fixes 2009-01-22 04:14:38 -08:00
Shish
e37531f26a mysql too 2009-01-22 04:12:15 -08:00
Shish
f347384a50 php developers can go choke on a bucket of cocks 2009-01-22 04:11:43 -08:00
Shish
44ac62e1ae get rid of xmlschema 2009-01-22 04:05:55 -08:00
Shish
64fb261b87 simpler table creation function 2009-01-22 03:22:55 -08:00
Shish
fcca11f20c make cache engines work <_< 2009-01-20 03:54:43 -08:00
Shish
776a42d519 cache objects 2009-01-20 02:47:20 -08:00
Shish
5e75ad3cd4 start of cache engines 2009-01-20 02:34:17 -08:00
Shish
d8ce9d71c8 blank fold .-. 2009-01-04 12:26:12 -08:00
Shish
11873e9601 remove EOL whitespace 2009-01-04 11:18:37 -08:00
Shish
93b7467fdd a bunch of image functions moved to the image class 2009-01-04 08:15:00 -08:00
Shish
2ef6491ecf we can use exceptions \o/ 2009-01-04 06:34:27 -08:00
Shish
2f8cf7c08e die, globals 2009-01-03 12:32:57 -08:00
shish
40431f4c26 wildcard search, and remove the lower() stuff (it scares mysql)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1066 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 05:56:48 +00:00
shish
028896650a some image functions which weren't in the 'image' section...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1060 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:28:58 +00:00