Commit Graph

55 Commits

Author SHA1 Message Date
7be951b271 Convert tags from user-supplied string to array once, on input
This results in a fuckton of refactoring and code cancelling out
other code -- we no longer have a whole bunch of places trying
to support string params and array params, and doing their own
esaping and unescaping, never being quite sure if the data they've
been passed is escaped or not.

Also adds a bunch of type hinting, since we can now know what
data we're dealing with better.
2016-07-30 22:11:49 +01:00
7762b2c703 do InitExtEvent in bootstrap, before user exists 2015-08-03 15:49:38 +01:00
3511711008 Should be consistent about using the int_escape method. 2015-03-12 23:12:06 -07:00
317028a63b More PHP Doc comments. 2014-04-29 01:33:03 -04:00
4f51e942be Updating/Fixing/Adding more comments with the PHP Doc style. 2014-04-27 15:33:57 -04:00
4e9e5ca2be Fixing/adding/cleaning up the PHP Doc comments. 2014-04-26 05:01:49 -04:00
2706f72ce4 Update and fix the PHPDoc comments. 2014-04-24 19:08:23 -04:00
ab3f9850e4 Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:01:47 -04:00
f67220f64b From stack-overflow: The 'var' keyword is for declaring class variables in PHP4. It works in PHP5 but can raise an E_STRICT warning in from version 5.0.0 up to version 5.1.2, as it has been deprecated.
Changing to public as that is really what these variables are anyways.
2014-04-24 04:36:05 -04:00
7eb2bd9112 Trimming trailing blank space. 2014-02-22 15:42:09 -05:00
1db371345e Merge branch 'master' of git://github.com/shish/shimmie2 2013-10-03 20:33:47 -04:00
7c140680b7 log args 2013-08-30 00:19:46 +01:00
df2f90016f trim leading slashes more efficiently 2013-06-13 12:20:27 +01:00
cc95eb5deb Some more small speed tweaks. 2013-05-13 20:40:01 -04:00
f9008a70a6 refactoring fail 2012-06-24 07:13:53 +01:00
5519c3a320 lots of tidying and removal of duplicate code 2012-06-18 00:00:21 +01:00
082e6fa31b nice, event-based command line support; try 'php index.php' for info 2012-06-17 20:06:02 +01:00
678215e4bd width / height were never used individually, now just have images 2012-04-01 17:47:39 +01:00
ac1b3d00e2 Some more comments. 2012-02-07 20:13:58 -05:00
dab85e5f26 merge type hints 2012-02-02 14:16:14 +00:00
52ff412b38 hiphop type hint placeholders 2012-02-02 13:58:48 +00:00
26d383198a More small changes for speed. 2012-01-11 15:57:00 -05:00
e1f9d77271 turns out that this was necessary o_O 2010-04-26 06:07:34 +01:00
e211207ac5 event -> this 2010-04-26 03:39:02 +01:00
5a83a18df3 add the functions 2010-04-26 02:35:53 +01:00
694200d9f8 proper logging 2009-12-30 07:59:40 +00:00
572f84511a lots of docs, and some internal changes 2009-07-21 07:38:53 +01:00
2471a8e2eb docs 2009-07-21 07:38:46 +01:00
627ecdbf4c lots of docs 2009-07-19 08:38:27 +01:00
6a5b8bd46d allow this to be turned on via config 2009-05-11 12:53:55 -07:00
bb84a735a2 requestcontext stuff is messy, go back to globals :( 2009-05-11 07:04:33 -07:00
f592167c6a comment out example thingy 2009-05-08 04:45:23 -07:00
5609976164 no need for formatting 2009-05-08 04:41:03 -07:00
7648d3db67 newline 2009-05-08 04:07:46 -07:00
415f6901da logging things 2009-05-08 03:52:29 -07:00
11873e9601 remove EOL whitespace 2009-01-04 11:18:37 -08:00
1c8094cabf replace the veto system with exceptions 2009-01-04 06:01:59 -08:00
cc0bd18c4f tidying, moving to score 2009-01-03 13:06:36 -08:00
bca8221609 move extension-specific events into their extensions 2009-01-03 13:00:09 -08:00
3ff15a1395 veto is still used a lot
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1122 7f39781d-f577-437e-ae19-be835c7a54ca
2008-12-08 20:40:01 +00:00
dba8e76830 working ratings
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1079 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 20:18:38 +00:00
13fb0356c2 this is allowed to be null
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1078 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 19:59:15 +00:00
aca9cad432 default search, and search context
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1075 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 19:57:18 +00:00
4a0830cfdb another bit of compat
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1031 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-07 04:57:10 +00:00
96a37605e4 port page_matches from score to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1028 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:48:03 +00:00
4e143e9f05 gah, inconsistent naming
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1021 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:05:21 +00:00
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
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
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
0e4e5f02c8 filter html before anything else
git-svn-id: file:///home/shish/svn/shimmie2/trunk@694 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-12 07:44:08 +00:00