Shish
|
54067f02a4
|
fix merge
|
2019-09-29 15:44:59 +01:00 |
|
Shish
|
e6a402cd4e
|
Merge branch 'custom_ratings' into develop
|
2019-09-29 14:41:14 +01:00 |
|
Shish
|
f5119b20a3
|
formatting
|
2019-09-29 14:32:51 +01:00 |
|
Shish
|
a6bb15d859
|
formatting
|
2019-09-29 14:30:55 +01:00 |
|
matthew
|
cf8ed3b134
|
Added UserLoginEvent
|
2019-09-29 14:21:23 +01:00 |
|
Matthew Barbour
|
73b784266e
|
Moved user config stuff into an extension
|
2019-09-29 14:20:40 +01:00 |
|
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 |
|
Matthew Barbour
|
91b46d6598
|
Moved user config stuff into an extension
|
2019-08-07 15:49:56 -05:00 |
|
Matthew Barbour
|
8f0aa8a4ca
|
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-08-07 15:48:18 -05: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 |
|
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 |
|
green-ponies (jgen)
|
d1495050ab
|
Merge remote-tracking branch 'remotes/shish/master' into speed
|
2012-01-15 21:35:11 -05:00 |
|
Shish
|
0a4e8e05f0
|
quieten notices of overwritten things
|
2012-01-14 01:51:44 +00:00 |
|
green-ponies (jgen)
|
aa9c8c2097
|
Small change to index.
|
2012-01-12 20:28:16 -05:00 |
|
green-ponies (jgen)
|
ea6f853891
|
Changes to the index file as well.
|
2012-01-12 14:47:24 -05:00 |
|
Shish
|
636b5fc119
|
debugging off by default
|
2011-12-27 20:00:56 +00:00 |
|
Shish
|
cfbeddde9f
|
HTTP level caching, so we can stick varnish in front of the web pages
|
2011-12-27 19:23:37 +00:00 |
|
Shish
|
cd609141f4
|
optional warehouse split levels
|
2011-12-25 11:24:20 +00:00 |
|
Shish
|
2f9979c790
|
include config.php before define()ing settings, so that config.php can control them
|
2011-12-24 21:56:26 +00:00 |
|
Shish
|
5121e99dbe
|
speed hax and niceurl forcing from r34
|
2011-12-24 14:49:55 +00:00 |
|
Shish
|
4b86497816
|
support for Context profiling
|
2011-10-09 12:01:48 +01:00 |
|
Shish
|
76286686e3
|
traces are appearing wrong
|
2011-01-01 17:00:06 +00:00 |
|
Shish
|
9e00675900
|
pdo compat
|
2011-01-01 15:28:38 +00:00 |
|
Shish
|
d90016b932
|
run each page view inside a transaction
|
2010-12-31 19:59:22 +00:00 |
|
Shish
|
8e63827c0f
|
PDO exceptions for error handling
|
2010-12-31 19:56:28 +00:00 |
|
Shish
|
d80ccbe497
|
SimpleExtension priority framework
|
2010-05-28 13:06:18 +01:00 |
|
Shish
|
ef0158568f
|
hack to allow hardcoded database_dsn in hiphop
|
2010-05-15 16:24:11 +01:00 |
|
Shish
|
756c91cbf7
|
[postgres] remove warnings about overly-committed transactions
|
2010-04-23 16:18:36 +01:00 |
|
Shish
|
ba85899d60
|
_end_coverage as a shutdown function, so that it still gets called on 'exit;'
|
2010-03-24 12:45:45 +00:00 |
|
Shish
|
ed4b62dc71
|
make the version string ungooglable
|
2010-01-03 09:41:31 +00:00 |
|
Shish
|
1d46dbbe18
|
this setting is used before the database is connected to...
|
2009-10-26 11:39:53 +00:00 |
|
Shish
|
304c479dba
|
make debugging and coverage separate settings
|
2009-09-27 14:04:27 +01:00 |
|
Shish
|
bb4085972b
|
code coverage stuff
|
2009-09-19 20:13:37 +01:00 |
|
Shish
|
a9a9318c41
|
better caching code
|
2009-08-09 13:11:54 +01:00 |
|
Shish
|
1e8e5adbbf
|
load config.php sooner
|
2009-08-09 13:10:59 +01:00 |
|
Shish
|
03d73f6ce2
|
off by default
|
2009-08-01 02:32:40 +01:00 |
|
Shish
|
bdcca24f8d
|
static file caching
|
2009-08-01 02:31:49 +01:00 |
|
Shish
|
977cb305f8
|
custom page is custom
|
2009-07-21 07:39:49 +01:00 |
|
Shish
|
572f84511a
|
lots of docs, and some internal changes
|
2009-07-21 07:38:53 +01:00 |
|
Shish
|
2471a8e2eb
|
docs
|
2009-07-21 07:38:46 +01:00 |
|
Shish Moom
|
f77c6e64cd
|
array_contains -> in_array
|
2009-06-05 12:53:00 -07:00 |
|
Shish
|
8dd3f8cbc0
|
SimpleExtension, like Extension but with more Magic
|
2009-05-11 14:08:32 -07:00 |
|
Shish
|
bb84a735a2
|
requestcontext stuff is messy, go back to globals :(
|
2009-05-11 07:04:33 -07:00 |
|
Shish
|
4e4f0be4e5
|
more sqlite niceness
|
2009-01-22 07:51:50 -08:00 |
|
Shish
|
0c628f2c10
|
score-style index
|
2009-01-04 08:24:06 -08:00 |
|
Shish
|
842be2696c
|
multiple types of config
|
2009-01-04 06:38:48 -08:00 |
|
shish
|
1e4d7d1938
|
merge some useful parts of SCore
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1002 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-08-23 12:05:24 +00:00 |
|
shish
|
89a250b7f7
|
whitespace
git-svn-id: file:///home/shish/svn/shimmie2/trunk@889 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-06-08 15:11:01 +00:00 |
|
shish
|
f0f9ee8b61
|
move some stuff from index.php to core/util, to make alternative bootstrappers easier (eg, cli)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@887 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-06-08 15:04:57 +00:00 |
|
shish
|
a649cfffc0
|
regex rather than two str_replaces, works better for some people
git-svn-id: file:///home/shish/svn/shimmie2/trunk@776 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-04-08 15:35:08 +00:00 |
|
shish
|
df8efa475e
|
start of requestcontext work
git-svn-id: file:///home/shish/svn/shimmie2/trunk@753 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-04-04 12:07:38 +00:00 |
|
shish
|
979ab9a013
|
don't load custom themes without base themes
git-svn-id: file:///home/shish/svn/shimmie2/trunk@722 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-02-17 09:25:49 +00:00 |
|