Commit Graph

80 Commits

Author SHA1 Message Date
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
a41e99d1af Renamed graphics extension to media extension 2019-07-08 08:07:08 -05:00
3859e27839 New Graphics extension
Added constants to several extensions
2019-07-08 08:07:02 -05:00
1bd7e1a547 better DISABLE_ACCEL 2019-07-07 17:40:24 +01:00
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
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
bd5ccd2800 remove ancient misleading description of the search code 2019-07-07 16:46:56 +01:00
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
99646a4b00 bump tracer api 2019-07-07 13:30:50 +01:00
f5a5352511 Correction to negative tag code 2019-07-07 11:17:21 +01:00
d64603674e Added ability to use generators with database queries.
Adapted bulk actions to use generators.
2019-07-07 11:10:40 +01:00
183f9bb897 Changed the image tag search query to run more efficiently on pgsql 2019-07-07 11:06:45 +01:00
f4a98e7a9b GET flag to skip accelerator 2019-07-07 10:29:00 +01:00
68f3ebb2c6 Consistently say '<Type> Query' 2019-07-07 00:17:39 +01:00
c682670f64 derp 2019-07-06 10:38:18 +01:00
ccb9c493d5 s/Context/EventTracer/g 2019-07-05 20:49:47 +01:00
a82fb56063 Added force flag to image deletion event to override trash extension 2019-07-05 18:31:31 +01:00
c24a6e9b97 formatting pass 2019-06-21 09:12:44 +01:00
1370afec72 Moved database driver constants to DatabaseDriver 2019-06-20 10:47:15 -05:00
5eb4a66ab7 Added merged indicator to DataUploadEvent and ImageAddEvent
Changed merge process so that the ID of the merged image can make it back through the event chanin
2019-06-19 20:19:38 -05:00
123089bfbf Merge remote-tracking branch 'upstream/develop' into bugfixes
# Conflicts:
#	core/imageboard/image.php
2019-06-18 13:31:04 -05:00