Commit graph

242 commits

Author SHA1 Message Date
Shish
d313cea8a7 create the DB connection on demand; some pages don't require one at all thanks to caching 2012-06-24 00:50:13 +01:00
Shish
1c5bf478d9 initialise global _execs, else we get 'page used queries' when we want 'page used 0 queries' 2012-06-23 23:37:41 +01:00
Shish
6181d59975 that slash needs to be there >_< 2012-06-22 20:02:53 +01:00
Shish
e7df4edbee slashes are removed already 2012-06-21 09:07:52 +01:00
Shish
2a18da523c the define wibbling for hiphop seems to work now 2012-06-18 01:23:31 +01:00
Shish
fd5b4c5910 more re-organisation for create_monolith / hiphop friendliness 2012-06-18 01:06:36 +01:00
Shish
78d701dd53 move stuff about to make create_monolith simpler 2012-06-18 00:45:32 +01:00
Shish
930de7fc8c remove built-in full-page caching; it doesn't do much any more, and everything it does do can be done better by Varnish 2012-06-18 00:07:12 +01:00
Shish
5519c3a320 lots of tidying and removal of duplicate code 2012-06-18 00:00:21 +01:00
Shish
082e6fa31b nice, event-based command line support; try 'php index.php' for info 2012-06-17 20:06:02 +01:00
Shish
239e028662 flash messages everywhere~ 2012-06-10 04:21:03 +01:00
Shish
61754b8dfe add a type arg, even if it's not used yet 2012-06-10 01:05:03 +01:00
Shish
37b3dd60b6 flash_message(str) function and support in themes 2012-06-09 17:00:25 +01:00
Shish
2e76add61b enhance zglob to allow really long patterns 2012-05-22 12:46:56 +01:00
Shish
f7e25daeb5 move getMimeType to utils 2012-05-14 06:43:23 +01:00
green-ponies (jgen)
3902036477 Avoid breaking things. 2012-04-18 02:20:42 -04:00
green-ponies (jgen)
2fcc271f3d Small typo. 2012-04-18 01:17:44 -04:00
green-ponies (jgen)
1615f79be4 Examine integers separately. Also, don't break search. >_< 2012-04-18 00:56:11 -04:00
green-ponies (jgen)
a79875c1eb The idn_to_ascii() function is only supported by PHP version 5.3 and up. 2012-04-16 16:42:32 -04:00
green-ponies (jgen)
a0a0ba5bbc A better version of bool_escape() that uses filter_var if possible.
Also removed undb_bool() as it was basically a copy of the old bool_escape function.
2012-04-15 19:28:27 -04:00
green-ponies (jgen)
372f4fad7c Use filter_var for function url_escape($input). 2012-04-15 18:59:23 -04:00
Shish
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00
Shish
15df989f72 nicer error reporting 2012-03-31 17:07:11 +01:00
Shish
62e13eda96 always create 2012-03-30 20:28:09 +01:00
Shish
7cbb62c8cc move data to data folder 2012-03-30 18:21:35 +01:00
Shish
29cebb44f9 event_listeners is a bit of cached data 2012-03-30 18:07:40 +01:00
Shish
e210fe739b more spaced out priorities 2012-03-30 16:41:25 +01:00
Shish
b156d4f380 no need for 'load files in a good way' to be optional, just do it 2012-03-21 15:04:17 +00:00
Shish
144c1afcbc ffffff, PHP, doing something weird rather than having a userful error message 2012-03-14 20:35:15 +00:00
Shish
9a0228720a truncate as a function, which works 2012-03-13 07:01:27 +00:00
Shish
a5ba9279c4 modification dates on CSS/JS links 2012-03-12 23:17:20 +00:00
Shish
cf907237c6 with 5.2.1, we have an accurate, peak memory use 2012-03-11 04:33:24 +00:00
Shish
1b30aea557 compressed coverage logs 2012-03-11 00:36:57 +00:00
Shish
77b99adca7 remove more unused bits 2012-03-10 02:19:12 +00:00
Shish
b451f90b47 ip2color() was never used 2012-03-10 02:14:33 +00:00
Shish
bab3145fbc plural() was never used 2012-03-10 02:13:50 +00:00
Shish
f9910ba98f whitespace consistency 2012-03-09 22:27:12 +00:00
Shish
1f07a273f6 move copy & pasted transload code into a shared function 2012-03-09 21:07:21 +00:00
Shish
79ce40abd0 less code 2012-03-09 18:14:14 +00:00
Shish
88ee6ea148 get_theme_object is only used once, move it closer to where it's used 2012-03-05 14:21:41 +00:00
Shish
0351ffcd28 commit_hash is unknown by default 2012-02-22 13:33:35 +00:00
Shish
6410199a84 basic CLI support 2012-02-16 16:10:31 +00:00
Daku
bbb9d6bd4c update ext now grabs extra info via JSON 2012-02-16 07:50:28 +00:00
green-ponies (jgen)
f345fde006 Fixing function to get PHP's memory limit. 2012-02-12 19:48:07 -05:00
Shish
a54ab11205 all_events isn't used any more 2012-02-12 17:06:23 +00:00
Shish Moom
6da4da8060 Merge pull request #129 from green-ponies/master
Type hints
2012-02-11 01:22:43 -08:00
Shish
9aa5644504 colours don't scale either D: numbers then... 2012-02-11 08:33:09 +00:00
green-ponies (jgen)
30eb5ddd8b More type hints! 2012-02-09 23:04:37 -05:00
Shish
77fc6f22b2 colour anons by IP address, for easier samefag spotting (commented out atm though) 2012-02-10 02:16:44 +00:00
Shish
01b89c2a1b function for showing IPs with ban button 2012-02-09 22:51:41 +00:00