Commit graph

46 commits

Author SHA1 Message Date
Shish
b2f10ea5ab split up files in core/ for saner management 2018-11-05 22:30:18 +00:00
Shish
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
Shish
6febdec7b5 more explicit variable types 2016-06-19 23:05:57 +01:00
Shish
45d090054b set_default_bool should take a bool, always 2015-08-08 22:18:25 +01:00
Shish
fa2f17817e scrutinizing 2015-08-04 13:53:58 +01:00
jgen
c682ccef69 Adding more PHP Doc comments to the config classes. 2014-04-28 20:12:31 -04:00
jgen
ab3f9850e4 Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:01:47 -04:00
Shish
7b68d8ebfd use new-style constructors everywhere 2014-03-22 09:00:59 +00:00
jgen
b01ca89220 Some more small speed related tweaks. 2013-10-04 17:53:26 -04:00
Shish
4fc1f2f217 save cached config when saving database config, fixes #311 2013-08-05 20:21:57 +01:00
Shish
b141632785 some mock objects, for testing (coming soon, maybe) 2012-10-16 22:58:47 +01:00
Shish
61e9909327 hardcoded config too (unrelated) 2012-08-15 18:31:28 +01: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)
d69fa6ae9d Merge branch 'master' into speed_tweaks 2012-02-07 23:21:56 -05:00
Shish
5c1f028249 more type hints 2012-02-07 19:55:31 +00:00
green-ponies (jgen)
3b028696a0 Rewind arrays before foreach loops over all the elements.
(fixed a small typo as well)
2012-02-04 15:35:21 -05:00
Shish
175ceac490 PDO compat 2011-01-01 15:28:30 +00:00
Shish
6b557983c4 more PDO compat 2010-12-31 20:25:03 +00:00
Shish
af36f37902 documentation updates 2010-01-12 15:01:34 +00:00
Shish
6baf616692 truthomatic 2009-10-08 17:44:25 +01:00
Shish
572f84511a lots of docs, and some internal changes 2009-07-21 07:38:53 +01:00
Shish
627ecdbf4c lots of docs 2009-07-19 08:38:27 +01:00
Shish Moom
d9b97996ca store arrays in config, edit in setup with add_multichoice_option 2009-07-11 04:43:18 -07:00
Shish
0ff11d71ed make use of this 2009-01-21 23:21:03 -08:00
Shish
776a42d519 cache objects 2009-01-20 02:47:20 -08:00
Shish
f9dffb96cb brain fart 2009-01-20 02:33:34 -08:00
Shish
be696e46de cache the config table (this is the most common sql query) 2009-01-19 10:47:33 -08:00
Shish
0770b19b04 more scoreyness 2009-01-04 07:57:54 -08:00
Shish
8acb6ae01e classy 2009-01-04 06:40:35 -08:00
Shish
842be2696c multiple types of config 2009-01-04 06:38:48 -08:00
shish
db582a2d46 more documentation for code in core
git-svn-id: file:///home/shish/svn/shimmie2/trunk@629 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 11:01:18 +00:00
shish
60e89ef893 remove redundant code
git-svn-id: file:///home/shish/svn/shimmie2/trunk@628 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 10:47:09 +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
da30c88776 more set_default
git-svn-id: file:///home/shish/svn/shimmie2/trunk@293 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 13:15:56 +00:00
shish
b4e93df363 set_default
git-svn-id: file:///home/shish/svn/shimmie2/trunk@292 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 12:40:44 +00:00
shish
dc23b3bdb4 remove tags_min and tags_default from config class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@291 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 12:17:43 +00:00
shish
d39a45b62d remove old functions (which will break things if used :S)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@266 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:15:34 +00:00
shish
40eb4699b8 privatise this
git-svn-id: file:///home/shish/svn/shimmie2/trunk@264 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:50:08 +00:00
shish
b6809c3b0a tags(image_id,tag) split into image_tags(image_id,tag_id) and tags(id,tag,count)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@227 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 21:30:37 +00:00
shish
431b6a653e memory limit for IM too
git-svn-id: file:///home/shish/svn/shimmie2/trunk@220 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 17:14:27 +00:00
shish
6c26fa0fc1 use wrapped database execute function
git-svn-id: file:///home/shish/svn/shimmie2/trunk@129 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-23 22:19:12 +00:00
shish
4f849016ba login memory changed to default to a year, and removed from visible options
git-svn-id: file:///home/shish/svn/shimmie2/trunk@123 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-18 18:10:32 +00:00
shish
4feb6c7742 removed redundant defaults
git-svn-id: file:///home/shish/svn/shimmie2/trunk@108 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-17 03:48:58 +00:00
shish
3d2ea2a842 make front page a variable, and add support for default values in config->get
git-svn-id: file:///home/shish/svn/shimmie2/trunk@51 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 13:40:48 +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