Shish
03af4dd92f
???
2020-02-05 09:01:22 +00:00
Shish
23943692ce
formatting
2020-02-05 01:38:32 +00:00
Shish
ef82d5f1a1
account for missing tags
2020-02-05 01:26:18 +00:00
Shish
f7feb4075a
order, order
2020-02-05 00:27:37 +00:00
Shish
1a07f84622
inline build_accurate_search_querylet
2020-02-05 00:16:47 +00:00
Shish
e971d10d41
we can also optimise one negative tag in the same way
2020-02-04 23:49:54 +00:00
Shish
b81a95129c
faster search for getting deep into individual tag archives
2020-02-04 23:43:24 +00:00
Shish
c0bdb6b7f8
merge common stuff into build_search_querylet
2020-02-04 23:27:01 +00:00
Shish
aa5cf0e81b
optimise counting number of results for one negative tag
2020-02-04 23:05:07 +00:00
Shish
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
Shish
f5c402ad85
inline a one-use function
2020-02-01 23:37:20 +00:00
Shish
40ab91f8ea
remove redundant scoreql_to_sql
2020-02-01 22:44:50 +00:00
Shish
6f7e0e5b12
drop logging args that didn't get used in practice
2020-02-01 21:37:07 +00:00
Shish
fb5bce69f8
SQL T_T
2020-01-29 20:34:02 +00:00
Shish
4e57e04ddf
fix a lot of tests
2020-01-29 20:22:50 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
Shish
3c5e6f0746
delete search-accel stuff - built-in queries are faster now
2020-01-27 19:49:50 +00:00
Shish
235b976dbc
databases...
2020-01-26 18:10:58 +00:00
Shish
3631084afd
format
2020-01-26 16:38:26 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
70db0ce5bd
flash_message -> page->flash, with no cookies
2019-12-15 19:47:18 +00:00
Shish
d7a2ca9ddc
remove SCORE_STRNORM - everyone supports LOWER now
2019-12-15 16:07:46 +00:00
Shish
6486bb95da
name_to_id
2019-11-11 16:43:42 +00:00
Shish
bde49c4f5e
paged ip bans
2019-11-11 12:52:11 +00:00
Shish
55c6854003
formatting
2019-11-02 19:57:34 +00:00
Matthew Barbour
ed8caa86bf
Fix for random issue
2019-10-18 16:35:44 +01:00
Matthew Barbour
9139bbfd01
Added another lower() to a tag lookup
2019-10-18 16:31:38 +01:00
Matthew Barbour
6b030c00eb
Constants for index config
2019-10-18 16:26:11 +01:00
Shish
4564fd4092
by_id_or_hash for more elegant CLI use
2019-10-04 20:48:21 +01:00
Shish
71c74e034b
allow find_images without limit
2019-10-04 20:47:48 +01:00
Shish
30698fefdc
remove a bunch of dead variables and things
2019-10-02 11:23:57 +01:00
Shish
e08cdb1638
make Cache its own thing, separate from Database
2019-10-02 10:49:32 +01:00
Shish
19c4fcaf34
even with EMULATE_PREPARES=false, sqlite still returns strings for int columns...
2019-09-30 10:40:15 +01:00
Shish
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
Shish
54067f02a4
fix merge
2019-09-29 15:44:59 +01:00
Shish
e6a402cd4e
Merge branch 'custom_ratings' into develop
2019-09-29 14:41:14 +01:00
Shish
f5119b20a3
formatting
2019-09-29 14:32:51 +01:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Daniel Oaks
a1c276c840
Fix SQLite underscore searching ( #619 )
2019-09-14 13:46:39 +10:00
Shish
9341c408b9
allow randomness to be limited, because sql's OFFSET N is O(n)
2019-09-08 17:13:20 +01:00
Matthew Barbour
68ee4d0e77
Custom rating support, user rating filter settings
2019-08-07 15:49:26 -05:00
Matthew Barbour
972b68bdd3
Setup constants
2019-08-05 09:00:23 -05:00
Matthew Barbour
cb1e9c0075
Permissions to constants
2019-08-01 08:07:05 -05:00
Matthew Barbour
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
Matthew Barbour
3859e27839
New Graphics extension
...
Added constants to several extensions
2019-07-08 08:07:02 -05:00
Shish
1bd7e1a547
better DISABLE_ACCEL
2019-07-07 17:40:24 +01:00
Shish
cf98e4bf43
remove one-positive-tag special case which is slower than the generic build_accurate_search_querylet
2019-07-07 17:13:56 +01:00
Shish
ea802f4a24
Remove build_ugly_search_querylet
...
now that the accurate search doesn't use subqueries, perhaps mysql can
accept it
2019-07-07 16:50:55 +01:00
Shish
bd5ccd2800
remove ancient misleading description of the search code
2019-07-07 16:46:56 +01:00
Shish
3c6b09110a
Cache multiple flexihashes
...
otherwise get_thumb / get_image / get_thumb / get_image / ... will
have 100% cache miss rate
2019-07-07 14:26:45 +01:00