Commit graph

146 commits

Author SHA1 Message Date
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
shish
2948a4435e extensible search v1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@713 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 17:24:08 +00:00
shish
19d80a244f several SQLite compatability improvements, as suggested by naikoto on the forums
git-svn-id: file:///home/shish/svn/shimmie2/trunk@680 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-02 21:49:12 +00:00
shish
06aa7a266c as of php 5.2.5, no custom themelets = false, not array of length zero -_-
git-svn-id: file:///home/shish/svn/shimmie2/trunk@668 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-19 10:56:08 +00:00
shish
1879898ab4 no need for core/*/*.php
git-svn-id: file:///home/shish/svn/shimmie2/trunk@630 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 11:16:59 +00:00
shish
1f3cb09c8d set version to 'trunk'
git-svn-id: file:///home/shish/svn/shimmie2/trunk@601 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 18:02:22 +00:00
shish
47dd9abeff only strip slashes on get, post, and cookie...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@584 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 00:07:33 +00:00
shish
56d05dbd8d tidy up index.php, and fix magic quotes
git-svn-id: file:///home/shish/svn/shimmie2/trunk@572 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-27 19:38:13 +00:00
shish
e2127e9ca9 brain fail
git-svn-id: file:///home/shish/svn/shimmie2/trunk@554 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-22 00:33:00 +00:00
shish
cd176f9b19 use default theme if selected theme doesn't exist
git-svn-id: file:///home/shish/svn/shimmie2/trunk@551 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-22 00:04:41 +00:00
shish
88336cc323 less global user, more event->user
git-svn-id: file:///home/shish/svn/shimmie2/trunk@478 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-24 22:29:34 +00:00
shish
862e647365 theme engine 2.1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@466 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-23 11:14:03 +00:00
shish
3404d137bc version number
git-svn-id: file:///home/shish/svn/shimmie2/trunk@456 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-14 03:17:50 +00:00
shish
86e21c3840 turn debug off
git-svn-id: file:///home/shish/svn/shimmie2/trunk@428 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-05 22:18:28 +00:00
shish
61d188753f 2.1-rc1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@425 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-05 22:03:56 +00:00
shish
86561be3ec one less global
git-svn-id: file:///home/shish/svn/shimmie2/trunk@389 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 13:53:31 +00:00
shish
3084446c2e goodbye, global config defaults~
git-svn-id: file:///home/shish/svn/shimmie2/trunk@294 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 14:09:12 +00:00
shish
3e0d983102 more marking as internal
git-svn-id: file:///home/shish/svn/shimmie2/trunk@262 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:33:53 +00:00
shish
34d95d594d make this look more like an internal function
git-svn-id: file:///home/shish/svn/shimmie2/trunk@261 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:26:50 +00:00
shish
660ca7f8aa debugging stuff
git-svn-id: file:///home/shish/svn/shimmie2/trunk@237 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 17:02:52 +00:00
shish
a625fcd787 the bulk of theme engine 2.0; it's still rough, but it works
git-svn-id: file:///home/shish/svn/shimmie2/trunk@201 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-30 01:19:11 +00:00
shish
19d3062314 extensions moved to folders
git-svn-id: file:///home/shish/svn/shimmie2/trunk@75 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-07 15:04:46 +00:00
shish
7161656063 Initial import, 2.0rc1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-16 11:58:25 +00:00