Commit graph

200 commits

Author SHA1 Message Date
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
Shish
3584f40551 Merge branch 'master' of github.com:shish/shimmie2 2012-02-09 01:07:21 +00:00
Shish
0698b780f9 remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods 2012-02-08 12:07:01 +00:00
green-ponies (jgen)
5af54bb9e0 Added some more comments and type hints. 2012-02-07 20:05:38 -05:00
Shish
bff5a8453f start of fine-grained permissions 2012-02-07 13:44:54 +00:00
Shish
dab85e5f26 merge type hints 2012-02-02 14:16:14 +00:00
Shish
52ff412b38 hiphop type hint placeholders 2012-02-02 13:58:48 +00:00
Shish
e049ea874d require php 5.2.6 (debian-old's oldest version), get rid of ancient compat 2012-02-01 16:51:38 +00:00
Shish
e6d7e0c1d6 changes for easier monolithing 2012-02-01 16:41:18 +00:00
Shish
a70484be31 moving big functions out of index.php 2012-02-01 15:07:03 +00:00
Shish
04ed07a0df some image links are absolute for good reason (eg they point to a CDN with a different hostname) 2012-01-31 15:11:06 +00:00
Daku
bab893bbda really ugly update ext
(although it works, the code is a mess :x)
2012-01-31 14:58:52 +00:00
Shish
853ea10fea merge mass tagger 2012-01-31 14:28:34 +00:00
Shish
aed5e1a30e hand merge of speed tweaks 2012-01-31 13:20:43 +00:00
Shish
db609745d3 Merge remote branch 'snowstrypes/error_wdir' 2012-01-31 12:59:19 +00:00
Shish
6e6138793b DEBUG_SQL can be null for user-defined 2012-01-31 12:16:47 +00:00
Shish
55447d1aa8 toggle for sql debugging 2012-01-30 05:00:21 +00:00
Shish
6e64857936 wibble towards being totally SimpleExtension based, as that's easier to programatically optimise 2012-01-27 18:16:46 +00:00
Shish
70fc4b5a54 Currently SCore is pretty behind-the-scenes 2012-01-26 17:32:30 +00:00
Shish
54031fcb90 still bail on assert failures even when debug is off 2012-01-26 15:26:00 +00:00
Shish
96b3b5c72a subfolders in data/ 2012-01-23 05:39:47 +00:00
Shish
565b15c91e access the start time too... 2012-01-22 14:48:06 +00:00
Shish
da45389c42 have autodate include hours and minutes 2012-01-22 14:40:25 +00:00
Shish
208320f072 Reeeeeeally old bug that nobody cared about: getrusage returns CPU time used by the current process, not by the current page. PHP-FPM has many pages per process 2012-01-20 05:45:09 +00:00
Shish
49e7bfa1b2 tidy up some ancient base_href / data_href messes; base_href as a config variable is no longer used 2012-01-20 03:29:29 +00:00
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
cc3bda38f0 attempt to hand-merge jgen's revert by IP vits 2012-01-16 20:58:55 +00:00
green-ponies (jgen)
cd7de93a0a Changing for-loops to use pre-calculated values.
Rather than calculating the value each time.
2012-01-16 00:07:04 -05:00
green-ponies (jgen)
fc12bbbfe5 More small changes to help save a few microseconds. 2012-01-12 15:46:34 -05:00
green-ponies (jgen)
ea15574226 Changes and tweaks for speed.
Because every microsecond counts! :P
These changes are based on information from:
http://phpbench.com/
http://stackoverflow.com/questions/482202/is-there-a-performance-benefit-single-quote-vs-double-quote-in-php
2012-01-11 15:08:27 -05:00
Shish
5b717870d1 case sensitivity blargh 2012-01-01 17:13:50 +00:00
Daku
dff1eef51a make_form now has a onsubmit option 2011-12-31 14:18:55 +00:00
Shish
ad2bb8b8b6 switch timeago to a javascript implementation 2011-12-31 14:12:34 +00:00
Shish
b7bd74055d PHP is officially the worst web API ever 2011-12-25 17:57:15 +00:00
Shish
67e0c87b20 create a generic bool_escape function, use that 2011-12-25 15:11:26 +00:00
Shish
cd609141f4 optional warehouse split levels 2011-12-25 11:24:20 +00:00
Shish
6d3cdb208c those functions aren't /called/ unless coverage is set ._.;; 2011-12-24 21:55:33 +00:00
Shish
883c73c9ff even if xdebug is installed, only run coverage when told to 2011-12-24 21:51:48 +00:00
Shish
5121e99dbe speed hax and niceurl forcing from r34 2011-12-24 14:49:55 +00:00
Daku
c37569f3d4 Fixed reCaptcha. 2011-12-21 02:28:39 +00:00
green-ponies (jgen)
ef61a4cb4a Small patch for Blotter extension, and also added Version to debug output. 2011-10-23 21:54:04 -04:00
Shish
5a6501f2be log event handlers as well as events 2011-10-09 17:08:13 +01:00
Shish
eb7927b3b1 Merge branch 'master' of github.com:shish/shimmie2 2011-10-09 12:10:22 +01:00