Commit graph

308 commits

Author SHA1 Message Date
Shish
9af5995dcc PHPUnit proof of concept 2015-09-20 20:03:29 +01:00
Shish
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
Shish
18490ed488 more global removal 2015-08-02 20:39:41 +01:00
Daku
be18140944 added option to hide random link on paginator (only post/list should show now) 2015-04-18 10:41:32 +01:00
Daku
8c2d8df81d use html5 input types
we would use type='url' for source but non-urls can be used as source too
2015-04-18 10:39:34 +01:00
Daku
7166259cc5 autocomplete='off' for tag input
this disables autocomplete/captilize on "most" mobile keyboards
autocompletejs still works with this off
2015-04-18 10:39:22 +01:00
Shish
5d099c06f9 remove references to unused cache values 2014-12-06 23:51:58 +00:00
Shish
c0dfd9adc0 a little extra consistency in cache variable names 2014-11-26 13:09:49 +00:00
Shish
50d40c1c81 give IndexTheme:display_page some sub-functions to make them easier to customise 2014-08-24 16:29:32 +01:00
jgen
8a2eb4b121 Fixing more PHP Doc related issues. 2014-04-27 19:29:36 -04:00
jgen
50686ac61e More linting, fix PHPDoc style. 2014-04-24 22:29:29 -04:00
jgen
daee99c1bc Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 22:28:53 -04:00
Shish
f72bfbb050 fix indentation 2014-04-06 20:47:01 +01:00
Shish
c8aa3327a1 A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes 2014-03-30 13:26:48 +01:00
Shish
7b68d8ebfd use new-style constructors everywhere 2014-03-22 09:00:59 +00:00
Daku
258fda188e use different selector rather than hardcoding url 2014-03-08 15:20:50 +00:00
Daku
d675827173 order[=|:]random_#### metatag
possible replacement for random_list ext?
2014-02-24 19:54:15 +00:00
jgen
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
Daku
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
Daku
16bb38f343 onSearchTermParse regex should be case insensitive 2014-02-15 21:26:31 +00:00
Daku
b7a4de90e4 updated docs with new metatags 2014-02-05 14:11:13 +00:00
Daku
b5f70de496 change source metatag regex to allow searching for URLs 2014-01-14 07:52:45 +00:00
Daku
55ff224ac0 added any/none options to the source/pool metatags 2014-01-14 06:27:12 +00:00
Daku
ce256f5bf4 added pool & pool_by_name search metatags 2014-01-14 06:12:34 +00:00
Daku
325da11119 artist/comment/numeric_score metatags now work using :
also updated docs
2014-01-13 09:13:56 +00:00
Daku
7d49e21792 readability + moved stuff 2014-01-13 08:19:12 +00:00
Daku
152f5fbf26 add config option for default order 2014-01-13 08:19:11 +00:00
Daku
2c2f27ca64 add order metatag
not too happy with how this works...but it does work
2014-01-13 08:19:11 +00:00
Daku
14899e79ad added height & width metatags 2014-01-02 14:10:08 +00:00
Daku
25c286b71f add support for using : as a metatag seperator + updated docs 2014-01-02 14:00:24 +00:00
jgen
0512858bd4 Some more small tweaks for speed. 2013-10-04 17:17:42 -04:00
Shish
07304861f3 log IDs of things 2013-08-30 00:19:46 +01:00
Shish
2b628a395f resolve_list -> resolve_aliases, to better describe what it actually does 2013-08-04 18:13:50 +01:00
Shish
7e89481105 have Tag::resolve_list always take an array 2013-08-04 18:11:02 +01:00
Shish
47c1b5d094 move query-string-passing to JS rather than embedding in the HTML, so that the HTML can be commonised and cached better 2013-07-05 22:32:16 +01:00
Shish
5c13fcac62 resolve aliases on input as well, so the target shows in the url 2013-06-20 22:59:42 +01:00
Shish
b6235695da unique IDs for 'posted' search params 2013-06-16 12:20:53 +01:00
Shish
f3aad43fa3 merge the two List Controls blocks 2012-08-18 19:23:11 +01:00
Shish
5022d2b965 more tags, more opera glitch workarounds 2012-08-15 21:19:51 +01:00
Shish
6394cd8100 make shm-thumb use consistent across themes, with data-tags and data-post-id 2012-08-15 20:42:56 +01:00
Shish
8c39c29528 make tag hiding a little more consistent 2012-08-15 20:22:25 +01:00
Shish
0bc4ebafa5 somewhat excessive caching for index pages 2012-06-24 02:07:59 +01:00
Shish
4cbd00c039 Merge branch 'master' of github.com:shish/shimmie2 2012-05-16 05:32:56 +01:00
Daku
3618c2dbb9 forgot to removing testing :x 2012-05-02 21:13:37 +01:00
Daku
d6de529ca5 should work properly with lite theme now.. 2012-05-02 20:48:39 +01:00
Shish
f81fa08077 source search 2012-04-05 17:33:50 +01:00
Shish
fdb6727f41 don't fail at multiple searches on the same param (eg 'id>=X id<=Y') 2012-04-05 16:18:41 +01:00
Shish
6991bb9462 tag_editcloud breaks 'for i in array' 2012-04-03 03:52:17 +01:00
Shish
e24b144acb test updates 2012-04-01 18:47:14 +01:00
Shish
678215e4bd width / height were never used individually, now just have images 2012-04-01 17:47:39 +01:00
Daku
546b7ea21e blocked tags will also set thumbblock div to 0 if theme is lite 2012-03-30 05:05:16 +01:00
Shish
0b45042161 ui- prefix for UI cookies 2012-03-24 11:23:06 +00:00
Shish
ecad3b9891 only refresh if needed 2012-03-22 16:35:44 +00:00
Shish
f993b3c19d js cookie expires 2012-03-22 16:28:57 +00:00
Shish
cfe0547755 force reflow after hiding some thumbs 2012-03-22 15:44:04 +00:00
Shish
898df24dd9 function for selecting blocks 2012-03-22 14:19:46 +00:00
Shish
2226bc9f15 hide thumbnails with given tags 2012-03-22 13:40:13 +00:00
Shish
4db92471e1 404 for no images 2012-03-19 14:25:43 +00:00
Shish
05f8d0d23e justify~ 2012-03-12 15:43:18 +00:00
Shish
aaf9280ee4 more styling 2012-03-12 04:56:30 +00:00
Shish
f2dfbb9080 no background for image-list 2012-03-12 04:41:57 +00:00
Shish
eb8c15b9a0 whitespace 2012-03-09 22:08:55 +00:00
Shish
5d3d4e8d76 test fixes 2012-03-09 18:56:06 +00:00
Shish
7b6112dc2c and document it 2012-02-17 01:45:55 +00:00
Shish
a6f8ce2a14 better search by date 2012-02-17 01:43:49 +00:00
Shish
339f2b0497 more jquery magic, less inline scripting 2012-02-09 14:45:18 +00:00
Shish
efa7f4f17c autocomplete on a class name 2012-02-09 14:34:29 +00:00
Shish
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
Shish
ab7c62515e move JS bits into static files 2012-02-07 11:33:42 +00:00
Shish
dc6c173efd type hints for hiphop 2012-02-02 08:07:57 +00:00
Shish
465011a68c hiphop chokes on this 2012-02-02 05:27:40 +00:00
green-ponies (jgen)
8252534cff Small changes with quotes. 2012-01-15 23:03:27 -05:00
green-ponies (jgen)
2c6b5128c6 More tweaks for minor speed gains. 2012-01-12 21:17:37 -05:00
green-ponies (jgen)
6c3e91e01c changed script tags to include language 2011-08-12 21:40:51 -04:00
Shish
66e6cdd0a1 hopefully fix search by ID range, and related bits 2011-02-22 15:03:16 +00:00
Shish
46ce762949 A bunch of testing / fixes 2010-05-05 14:16:24 +01:00
Shish
c94e16f814 selectfirst is annoying 2010-04-28 11:21:02 +01:00
Shish
c8b7d639df a bunch of autocompletion 2010-04-26 06:00:41 +01:00
Shish
65962a591a Revert "search field autocomplete"
This reverts commit 29d9c7ae16.

zshall has already done this, better >_<
2010-04-26 05:03:58 +01:00
Shish
29d9c7ae16 search field autocomplete 2010-04-26 04:56:45 +01:00
Shish
a92a91dedb index extension 2010-04-26 02:36:05 +01:00
Shish
f0b9f8909d test another path 2010-04-06 14:44:19 +01:00
Shish
1ede4443fc test wildcards 2010-04-06 14:44:13 +01:00
Shish
4c24f44af8 more tests for search methods 2010-03-12 18:55:03 +00:00
Shish
ffb625fde5 doc fix 2010-02-27 02:09:10 +00:00
Shish
5f88ba906f post/view?search -> post/view#search for better caching 2010-02-09 10:05:57 +00:00
Shish
18c0fa7df8 more documentation, and set some extensions to be hidden from the user docs list 2010-01-05 13:13:11 +00:00
Shish
31201aeab9 documentation 2010-01-05 09:40:26 +00:00
Shish
6c5e917864 search by number of tags 2010-01-05 09:05:16 +00:00
Shish
bd42beded8 update extensions links 2010-01-04 12:44:20 +00:00
Shish
c7b4cf8ead documentation updates 2010-01-04 12:41:04 +00:00
Shish
440fdb88c2 don't redirect-to-image if this is a single image on the last page of several pages 2009-12-30 09:29:25 +00:00
Shish
1946e3c943 consistent naming for test functions 2009-08-19 01:28:48 +01:00
Shish
28fd3e311f replace numeric_score 'favorite' with 'upvoted_by=name' (and add the same for downvote) 2009-08-13 19:28:14 +01:00
Shish
92217f0435 test that too 2009-08-02 08:59:19 +01:00
Shish
e340927b07 also allow search by 'md5=' 2009-08-02 08:58:32 +01:00
Shish
aa7969cdde MOAR TESTING. 2009-07-20 06:51:51 +01:00
Shish
d959c174a1 more tests, more fixes 2009-07-19 18:00:16 +01:00
Shish
f574d0d81d more tests and fixes 2009-07-19 17:39:24 +01:00
Shish
4abf2ac7dd more tests 2009-07-16 20:21:28 +01:00
Shish
028ee4b462 more tests 2009-07-15 17:10:19 +01:00
Shish
c88ecebb7b A ton of tests, figured out how to test uploads \o/ 2009-07-15 02:43:14 +01:00
Shish Moom
c66d72685c tweaks for fresh install 2009-07-07 08:52:24 -07:00
Shish Moom
e0d72d5795 get rid of shimmie's JS lib, use jquery 2009-07-07 07:40:59 -07:00
Shish Moom
b0448eba6f theme changes 2009-07-06 04:29:55 -07:00
Shish
389eed5867 make things use SimpleExtension 2009-05-11 14:09:24 -07:00
Shish
bb84a735a2 requestcontext stuff is messy, go back to globals :( 2009-05-11 07:04:33 -07:00
Shish
4b4d80f523 how did that get there? 2009-05-08 07:03:04 -07:00
Shish
dd9ced7b28 for searches with a single result, view the result 2009-04-21 22:43:54 -07:00
Shish
24ea454f2e easier to read logic 2009-01-24 12:02:58 -08:00
Shish
bda38bff6c did I mention that mysql devs can go choke on a bucket of cocks? Well they can. (Two ways to specify foreign keys, one works, one is silently ignored; wtf?) 2009-01-22 05:03:51 -08:00
Shish
0db255d76d welcome to the future 2009-01-22 02:36:12 -08:00
Shish
3af5caf523 make things work 2009-01-22 02:14:16 -08:00
Shish
b336b5296f delayed user creation 2009-01-22 01:39:44 -08:00
Shish
2c37ce9a8d match better, so user_id=123 doesn't hit id=123 2009-01-21 23:04:29 -08:00
Shish
eeda4d6ab3 very classy 2009-01-04 11:54:16 -08:00
Shish
11873e9601 remove EOL whitespace 2009-01-04 11:18:37 -08:00
Shish
1c8094cabf replace the veto system with exceptions 2009-01-04 06:01:59 -08:00
Shish
bca8221609 move extension-specific events into their extensions 2009-01-03 13:00:09 -08:00
Shish
f1f0fca60a new api 2009-01-01 06:02:26 -08:00
Shish
1e5b2ac6aa search by post date 2008-12-31 12:41:57 -08:00
shish
98f6800f9d configurable testing URL
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1096 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 10:34:15 +00:00
shish
bf1354bde1 querylets are addable
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1088 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 06:08:41 +00:00
shish
5fb279c545 test meta-search
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1083 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 06:03:26 +00:00
shish
c68df68195 test files for various extensions
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1070 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-11 07:09:42 +00:00
shish
028896650a some image functions which weren't in the 'image' section...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1060 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:28:58 +00:00
shish
072b22ee8f Image code moved to image class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1058 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:21:18 +00:00
shish
b9e5f424d2 there is no veto, an exception should be here, if anything
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1051 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-18 05:29:54 +00:00
shish
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
shish
f8f7470e61 much friendlier get_theme_object
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1019 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 16:59:02 +00:00
shish
434fab2dc5 and make the extensions match
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:08:19 +00:00
shish
09b2be6830 PHP4 is dead \o/ \o/ \o/ (Part 1, make use of instanceof)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@994 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 09:41:30 +00:00
shish
a658019697 Slightly major rework of the search code internals, makes things more sane and fixes a couple of bugs
git-svn-id: file:///home/shish/svn/shimmie2/trunk@867 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 15:59:58 +00:00
shish
2f2a00b58a better for prepared statements
git-svn-id: file:///home/shish/svn/shimmie2/trunk@834 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-30 11:44:49 +00:00
shish
7a6ccf11de filename search
git-svn-id: file:///home/shish/svn/shimmie2/trunk@799 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:06:37 +00:00
shish
5b15ae1f47 force /post/list to appear in the list of GET arguments
git-svn-id: file:///home/shish/svn/shimmie2/trunk@771 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 21:49:58 +00:00
shish
c828ce5cfe move user search to user extension, and search by ID
git-svn-id: file:///home/shish/svn/shimmie2/trunk@719 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-16 03:14:38 +00:00
shish
fb62229634 move md5: to danbooru api
git-svn-id: file:///home/shish/svn/shimmie2/trunk@714 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 17:27:45 +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
1cacc2d247 make build_thumb_html be part of the themelet class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@570 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-26 01:35:53 +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
96953c55b2 fix search for whitespace
git-svn-id: file:///home/shish/svn/shimmie2/trunk@404 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 15:52:46 +00:00
shish
57f7f82074 image_tip is a general image option
git-svn-id: file:///home/shish/svn/shimmie2/trunk@402 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 15:46:31 +00:00
shish
77701054ba forward search= to post/view
git-svn-id: file:///home/shish/svn/shimmie2/trunk@382 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-27 01:57:57 +00:00
shish
2e8e839f5c make_link with no args links to default page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@373 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-26 13:19:39 +00:00
shish
269154c54c post list links to itself without search GET
git-svn-id: file:///home/shish/svn/shimmie2/trunk@355 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-23 04:05:31 +00:00
shish
0f8654db93 themable paginator
git-svn-id: file:///home/shish/svn/shimmie2/trunk@350 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-21 15:02:14 +00:00
shish
a09a7aa1b0 search should link to niceurl'd page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@322 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-19 11:46:43 +00:00
shish
73c437758a news, upload, comment, and tag_list now respond to PostListBuildingEvents rather than PageRequestEvent(index)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@318 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-17 18:07:18 +00:00
shish
0c5f7244db consistency
git-svn-id: file:///home/shish/svn/shimmie2/trunk@312 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-17 07:45:35 +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
6505109597 more /post/list
git-svn-id: file:///home/shish/svn/shimmie2/trunk@280 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-15 18:09:42 +00:00
shish
2bd965cebb /post/list, and /post/list/search tags here/pagenum
git-svn-id: file:///home/shish/svn/shimmie2/trunk@277 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-15 17:48:24 +00:00
shish
5a4d6f7277 remove ConfigSaveEvent handlers
git-svn-id: file:///home/shish/svn/shimmie2/trunk@265 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:14:37 +00:00
shish
8837e50a8e fix subheadings
git-svn-id: file:///home/shish/svn/shimmie2/trunk@259 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:00:14 +00:00
shish
5873029fed how did I not notice these errors? <_<
git-svn-id: file:///home/shish/svn/shimmie2/trunk@258 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-11 06:12:29 +00:00
shish
4bc53455ed index themed
git-svn-id: file:///home/shish/svn/shimmie2/trunk@257 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-10 22:33:49 +00:00
shish
16448bf36c no longer any need for core extensions per se
git-svn-id: file:///home/shish/svn/shimmie2/trunk@253 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-10 19:43:36 +00:00