Commit Graph

150 Commits

Author SHA1 Message Date
23943692ce formatting 2020-02-05 01:38:32 +00:00
ef82d5f1a1 account for missing tags 2020-02-05 01:26:18 +00:00
f7feb4075a order, order 2020-02-05 00:27:37 +00:00
1a07f84622 inline build_accurate_search_querylet 2020-02-05 00:16:47 +00:00
e971d10d41 we can also optimise one negative tag in the same way 2020-02-04 23:49:54 +00:00
b81a95129c faster search for getting deep into individual tag archives 2020-02-04 23:43:24 +00:00
c0bdb6b7f8 merge common stuff into build_search_querylet 2020-02-04 23:27:01 +00:00
aa5cf0e81b optimise counting number of results for one negative tag 2020-02-04 23:05:07 +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
f5c402ad85 inline a one-use function 2020-02-01 23:37:20 +00:00
6d2c92575d tests for format_milliseconds 2020-02-01 23:03:23 +00:00
40ab91f8ea remove redundant scoreql_to_sql 2020-02-01 22:44:50 +00:00
6f7e0e5b12 drop logging args that didn't get used in practice 2020-02-01 21:37:07 +00:00
de0a7138d2 formatting 2020-02-01 11:59:39 +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
0ec305a886 stop using ? as a wildcard 2020-01-30 10:55:35 +00:00
fb5bce69f8 SQL T_T 2020-01-29 20:34:02 +00:00
4e57e04ddf fix a lot of tests 2020-01-29 20:22:50 +00:00
615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
3c5e6f0746 delete search-accel stuff - built-in queries are faster now 2020-01-27 19:49:50 +00:00
235b976dbc databases... 2020-01-26 18:10:58 +00:00
3631084afd format 2020-01-26 16:38:26 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
70db0ce5bd flash_message -> page->flash, with no cookies 2019-12-15 19:47:18 +00:00
d7a2ca9ddc remove SCORE_STRNORM - everyone supports LOWER now 2019-12-15 16:07:46 +00:00
6486bb95da name_to_id 2019-11-11 16:43:42 +00:00
bde49c4f5e paged ip bans 2019-11-11 12:52:11 +00:00
55c6854003 formatting 2019-11-02 19:57:34 +00:00
ed8caa86bf Fix for random issue 2019-10-18 16:35:44 +01:00
9139bbfd01 Added another lower() to a tag lookup 2019-10-18 16:31:38 +01:00
3a14857b40 Consolidated tag sanitization functions
Added more tag convenience functions
2019-10-18 16:29:04 +01:00
6b030c00eb Constants for index config 2019-10-18 16:26:11 +01:00
4564fd4092 by_id_or_hash for more elegant CLI use 2019-10-04 20:48:21 +01:00
71c74e034b allow find_images without limit 2019-10-04 20:47:48 +01:00
30698fefdc remove a bunch of dead variables and things 2019-10-02 11:23:57 +01:00
e08cdb1638 make Cache its own thing, separate from Database 2019-10-02 10:49:32 +01:00
19c4fcaf34 even with EMULATE_PREPARES=false, sqlite still returns strings for int columns... 2019-09-30 10:40:15 +01:00
0f4a0275b5 use is_int instead of is_numeric if we want to reject numeric strings, should fix #681 2019-09-29 17:58:56 +01:00
54067f02a4 fix merge 2019-09-29 15:44:59 +01:00
e6a402cd4e Merge branch 'custom_ratings' into develop 2019-09-29 14:41:14 +01:00
f5119b20a3 formatting 2019-09-29 14:32:51 +01:00
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
88e6e68d79 Changed omitted related tags (like tagme) to be powered by a setting, allowing any performance-impacting (or just not useful in this context) tags to be omitted
Further tag list performance improvements
TagListConfig constants
2019-09-26 15:46:28 +01:00
a1c276c840 Fix SQLite underscore searching (#619) 2019-09-14 13:46:39 +10:00
9341c408b9 allow randomness to be limited, because sql's OFFSET N is O(n) 2019-09-08 17:13:20 +01:00
68ee4d0e77 Custom rating support, user rating filter settings 2019-08-07 15:49:26 -05:00
972b68bdd3 Setup constants 2019-08-05 09:00:23 -05:00
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
a0c0b6e3d1 Various fixes 2019-07-08 08:07:11 -05:00
b1db833d51 Added additional media properties to the images table, video, audio, length, and lossless.
Added new event to handle fetching media properties like height, width, and the newly added fields, and admin controls to manually scan files for their properties.
Added a search terms content:video and content:audio to search for images that do (or do not) have those flags.
2019-07-08 08:07:09 -05:00