Commit graph

114 commits

Author SHA1 Message Date
matthew
120cdb49a6 Added $user_config global based on existing config object for storing user-specific settings.
Added event to the user page so that extensions can hook into it, providing user-specific setting controls
2019-09-29 14:19:52 +01:00
Shish
4cadce1de0 merge slow-page-log into tracer, fixes #673 2019-07-07 13:51:19 +01:00
Shish
ccb9c493d5 s/Context/EventTracer/g 2019-07-05 20:49:47 +01:00
Matthew Barbour
cb436cc182 Added transaction check before main rollback 2019-07-05 16:25:03 +01:00
Matthew Barbour
ae24b5c2e8 Moved transaction commit to above fastcgi_finish_request to prevent the page refreshing before the transaction actually commits. 2019-07-05 16:25:03 +01:00
Shish
bf473f6d51 more lint fixes 2019-05-29 18:23:29 +01:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
f4c18930ce option to log slow pages 2019-05-26 10:42:58 +01:00
Shish
c9ccb22951 make handle_static its own extension 2018-11-11 17:38:32 +00:00
Shish
65d2172ede move images and thumbs to data/ 2018-11-07 16:06:10 +00:00
Shish
cefe1c0325 a bunch of installer tweaks 2018-11-07 00:25:43 +00:00
Shish
b2f10ea5ab split up files in core/ for saner management 2018-11-05 22:30:18 +00:00
Shish
8b2c580930 treat phpdbg the same as php-cli 2018-07-15 19:40:53 +01:00
Shish
c7ca2f4154 un-bundle context.php 2017-09-21 05:00:59 +01:00
Daku
7f4e96240b throw error if vendor/ doesn't exist 2016-06-18 06:42:52 +01:00
Shish
7762b2c703 do InitExtEvent in bootstrap, before user exists 2015-08-03 15:49:38 +01:00
Shish
0b385d05af wibble init into a separate bootstrap file, for more unit-testability 2015-08-02 19:40:57 +01:00
Shish
21a1b176c6 separate router from index.php 2015-08-01 16:36:07 +01:00
Shish
3d5172e235 stand-alone router mode 2015-08-01 16:23:33 +01:00
Shish
ab4c558126 php cli server uses its own request thing 2015-08-01 15:24:58 +01:00
Shish
9a63322b2f manually merge Daku's get/post q thing, somehow automatic merge failed 2015-04-18 10:45:47 +01:00
jgen
b3077d5bcd Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:13:20 -04:00
jgen
3d1217a1be Trim trailing blank space. 2014-02-22 15:36:52 -05:00
jgen
13ea386b0e Fixed some spelling typos. 2013-11-28 00:34:31 -05:00
Shish
d8c670eaa6 move yet more stuff out of index.php 2012-10-16 23:05:11 +01:00
Shish
98e7acc529 let database class handle transactions, index.php need not know about database->db 2012-06-24 00:27:53 +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
5fdb54c9ec missed a couple of big globs 2012-05-23 11:35:30 +01:00
Shish
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00
Shish
fd094050fc move config file to data 2012-03-30 18:03:55 +01:00
Shish
32387dd845 saving cache data and profiling data to disk can happen after the client gets the page 2012-03-11 00:37:08 +00:00
Shish
383dd0088e documentation updates 2012-03-05 13:56:36 +00:00
Shish
d4accf09de REQUEST_URI is undefined from the CLI 2012-02-16 16:15:25 +00:00
Shish
4f892cad22 Confused as to whether InitExtEvent belongs in Initialisation or Page Generation, so I removed the distinction 2012-02-09 11:51:48 +00:00
Shish
4bf42acdd1 database_dsn (lowercase) is no more 2012-02-06 05:22:51 +00:00
Shish
7a40132e83 params were unused 2012-02-02 05:25:17 +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
45d5a30f8a default TIMEZONE to null, to pick up the server default 2012-01-31 20:59:03 +00:00
Shish
aed5e1a30e hand merge of speed tweaks 2012-01-31 13:20:43 +00:00
Shish
55447d1aa8 toggle for sql debugging 2012-01-30 05:00:21 +00:00
Shish
8623ab2917 _count_execs actually works nicely for PDO, if called... 2012-01-30 04:56:08 +00:00
Shish
66a5bc2d9e compile event listener table 2012-01-27 18:53:59 +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
50bc229ad7 only rollback the database if there is a database connection 2012-01-27 12:24:48 +00:00
Shish
2fd204f8c0 note how to change system-level settings 2012-01-26 17:32:12 +00:00
Shish
f3c0c0e637 allow a configurable timezone 2012-01-22 14:40:41 +00:00