Commit Graph

95 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
6febdec7b5 more explicit variable types 2016-06-19 23:05:57 +01:00
6d1c7c414b mysql < 5.6 has terrible subquery optimization, using EXISTS / JOIN fixes this 2015-12-04 11:38:44 +00:00
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
18490ed488 more global removal 2015-08-02 20:39:41 +01:00
5d099c06f9 remove references to unused cache values 2014-12-06 23:51:58 +00:00
c0dfd9adc0 a little extra consistency in cache variable names 2014-11-26 13:09:49 +00:00
8a2eb4b121 Fixing more PHP Doc related issues. 2014-04-27 19:29:36 -04:00
daee99c1bc Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 22:28:53 -04:00
7b68d8ebfd use new-style constructors everywhere 2014-03-22 09:00:59 +00:00
d675827173 order[=|:]random_#### metatag
possible replacement for random_list ext?
2014-02-24 19:54:15 +00:00
f4f94e6273 Merge pull request #379 from DakuTree/patch-2
Misc tweaks/fixes (fixes/closes issue 17 & 323)
2014-02-21 13:40:15 -05:00
eb16ab09ed order images sorted by score
this is solution for issue #17 (Method to sort by top scored images in numeric_score module)
2014-02-16 02:28:39 +00:00
16bb38f343 onSearchTermParse regex should be case insensitive 2014-02-15 21:26:31 +00:00
b7a4de90e4 updated docs with new metatags 2014-02-05 14:11:13 +00:00
b5f70de496 change source metatag regex to allow searching for URLs 2014-01-14 07:52:45 +00:00
55ff224ac0 added any/none options to the source/pool metatags 2014-01-14 06:27:12 +00:00
ce256f5bf4 added pool & pool_by_name search metatags 2014-01-14 06:12:34 +00:00
325da11119 artist/comment/numeric_score metatags now work using :
also updated docs
2014-01-13 09:13:56 +00:00
7d49e21792 readability + moved stuff 2014-01-13 08:19:12 +00:00
152f5fbf26 add config option for default order 2014-01-13 08:19:11 +00:00
2c2f27ca64 add order metatag
not too happy with how this works...but it does work
2014-01-13 08:19:11 +00:00
14899e79ad added height & width metatags 2014-01-02 14:10:08 +00:00
25c286b71f add support for using : as a metatag seperator + updated docs 2014-01-02 14:00:24 +00:00
0512858bd4 Some more small tweaks for speed. 2013-10-04 17:17:42 -04:00
07304861f3 log IDs of things 2013-08-30 00:19:46 +01:00
2b628a395f resolve_list -> resolve_aliases, to better describe what it actually does 2013-08-04 18:13:50 +01:00
7e89481105 have Tag::resolve_list always take an array 2013-08-04 18:11:02 +01:00
5c13fcac62 resolve aliases on input as well, so the target shows in the url 2013-06-20 22:59:42 +01:00
b6235695da unique IDs for 'posted' search params 2013-06-16 12:20:53 +01:00
f3aad43fa3 merge the two List Controls blocks 2012-08-18 19:23:11 +01:00
0bc4ebafa5 somewhat excessive caching for index pages 2012-06-24 02:07:59 +01:00
f81fa08077 source search 2012-04-05 17:33:50 +01:00
fdb6727f41 don't fail at multiple searches on the same param (eg 'id>=X id<=Y') 2012-04-05 16:18:41 +01:00
678215e4bd width / height were never used individually, now just have images 2012-04-01 17:47:39 +01:00
7b6112dc2c and document it 2012-02-17 01:45:55 +00:00
a6f8ce2a14 better search by date 2012-02-17 01:43:49 +00:00
0698b780f9 remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods 2012-02-08 12:07:01 +00:00
dc6c173efd type hints for hiphop 2012-02-02 08:07:57 +00:00
8252534cff Small changes with quotes. 2012-01-15 23:03:27 -05:00
66e6cdd0a1 hopefully fix search by ID range, and related bits 2011-02-22 15:03:16 +00:00
46ce762949 A bunch of testing / fixes 2010-05-05 14:16:24 +01:00
65962a591a Revert "search field autocomplete"
This reverts commit 29d9c7ae16.

zshall has already done this, better >_<
2010-04-26 05:03:58 +01:00
29d9c7ae16 search field autocomplete 2010-04-26 04:56:45 +01:00
a92a91dedb index extension 2010-04-26 02:36:05 +01:00
ffb625fde5 doc fix 2010-02-27 02:09:10 +00:00
18c0fa7df8 more documentation, and set some extensions to be hidden from the user docs list 2010-01-05 13:13:11 +00:00
31201aeab9 documentation 2010-01-05 09:40:26 +00:00
6c5e917864 search by number of tags 2010-01-05 09:05:16 +00:00
bd42beded8 update extensions links 2010-01-04 12:44:20 +00:00