Commit Graph

142 Commits

Author SHA1 Message Date
8d34fc360c Added length search to handle #777 2020-10-26 08:58:17 -05:00
19a6b39c70 make use of str_starts_with / str_ends_with / str_contains 2020-10-25 19:31:58 +00:00
0dca09c230 make order querylets a first class citizen instead of a hack 2020-10-25 12:55:36 +00:00
19d5cfe8b9 make search term parse ID a standard thing 2020-10-25 12:55:36 +00:00
d19f9cb287 Rephrase ratio search so that it works across databases, fixes #759 2020-10-25 00:57:21 +01:00
59bb8a31a2 Relaxed filename search to allow for non alpha-numeric filenames 2020-10-08 17:24:25 -05:00
b8b33eecfe Added lower to filename search 2020-08-28 09:45:51 -05:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
1e76fb239e s/fullrandom/dailyshuffle/, and run formatter 2020-05-13 13:03:49 +01:00
10d46395d7 Update main.php
Added order[=|:]fullrandom so user doesn't need to choose a new seed every time.
Thus the list will change on a daily basis without user interaction, giving a more dynamic feel to the website
2020-05-07 08:10:15 +03:00
9514075594 order=length 2020-02-09 00:32:38 +00:00
2f975eb6d4 don't crash if UA is empty 2020-02-08 11:55:06 +00:00
85cf801fb3 also msnbot 2020-02-08 11:43:04 +00:00
0b304bdf2e use Permissions for Favourites / Artist / Relationships, and also check image lock when sending ImageInfoSet instead of getting each receiver to check it 2020-02-08 00:24:42 +00:00
45347279ce also bingbot and yandex don't need to see deep archives of weird searches 2020-02-06 12:49:11 +00:00
81ebc51257 actually, we don't really need weird combinations at all... 2020-02-06 03:11:21 +00:00
cdaecb3380 format 2020-02-06 03:10:30 +00:00
c7a152df77 limit google a bit... 2020-02-06 02:59:44 +00:00
9216be3c96 if we're past the searchable number of pages, don't bother counting the number of pages, just 404 2020-02-04 22:44:27 +00:00
7cf5c2a28c bump size of index cli search 2020-02-02 15:53:20 +00:00
da42b19d6b make it more explicit that caret/decaret are for encoding tags into URL paths 2020-01-30 21:50:30 +00:00
3631084afd format 2020-01-26 16:38:26 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
ee3754ae79 Merge branch 'master' of https://github.com/shish/shimmie2 2019-11-03 16:28:00 +00:00
6b030c00eb Constants for index config 2019-10-18 16:26:11 +01:00
5b2e9e44a2 note a TODO 2019-10-04 21:08:33 +01:00
134d2c029c limit results by default (ideally we'd have a --limit flag...) 2019-10-04 21:02:16 +01:00
577d5c572a search from CLI for integration with other unix tools 2019-10-04 20:48:59 +01:00
e08cdb1638 make Cache its own thing, separate from Database 2019-10-02 10:49:32 +01:00
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
a18589ee0a Help extension
Provides foundation for help pages that are generated from loaded extensions, starting with comprehensive search documentation. Addresses #522
2019-08-05 09:03:49 -05:00
00464d2579 Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes. 2019-08-05 09:01:20 -05:00
eb3cc73bce make pages >500 visible to logged-in users 2019-07-19 10:24:17 +01:00
3dce134fe9 better error for >500 pages 2019-07-08 11:10:35 +01:00
38df37a9aa limit 500 pages of search results in speed hax mode 2019-07-07 19:23:48 +01:00
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
2396ae2ef9 fix a bunch of lints 2019-05-28 20:27:23 +01:00
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
60a28af000 s/implode/Tag::implode/ 2019-02-02 12:07:33 +00:00
9b0edcf449 also don't even follow links from deep search pages 2018-07-19 08:51:19 +01:00
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
d875ab66a1 60 second post-list cache 2017-08-22 01:05:18 +01:00
204ea1d239 And more linting. 2017-03-12 17:13:32 -07:00
1caef6d633 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-03-12 23:45:38 +00:00
8de816d7dd Some more linting via PHPDoc comments. 2017-03-12 00:18:26 -08:00
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