Commit Graph

98 Commits

Author SHA1 Message Date
a93c66515b Merge pull request #749 from sanmadjack/video_transcode
Video transcoding
2020-09-16 13:46:18 +01:00
4131bcbd64 Merge pull request #748 from sanmadjack/image_info
Added image info option to admin, changed the info template parser to…
2020-09-16 11:21:31 +01:00
ecd860ec6d Video transcoding extension, currently just supports changing the video container 2020-08-28 09:52:01 -05:00
65aca09203 Added understanding of video codecs, primarily to allow us to determine whether a file is a webm or not, but also to support my forthcoming video transcoding extension 2020-08-28 09:51:55 -05:00
4c5ef85906 Added image info option to admin, changed the info template parser to not use the url-escaped option 2020-08-28 09:50:36 -05:00
ab008e351d Added SPEED_HAX criteria to image count shortcuts. 2020-08-28 09:48:10 -05:00
de26b7f373 don't die if database is missing a MIME type 2020-07-07 16:07:19 +00:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
63b2601e67 Mime type handling overhaul
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
33731e8cb0 separate link formatting for URLs and for plain text 2020-02-25 12:26:56 +00:00
b44a4de42c one return 2020-02-25 12:18:18 +00:00
152e55b5db Changed Image::by_hash so that it isn't case-sensitive 2020-02-23 23:07:02 -06:00
43ab3088cf cache key 2020-02-13 20:54:59 +00:00
3a57817fc2 Spread ParseLinkTemplate work across relevant extensions 2020-02-09 19:22:25 +00:00
d749784e95 remove redundant escaping and split load_balance_url into a separate function with testing 2020-02-09 16:02:37 +00:00
cc7a33b31f show lengths to 1/10th second 2020-02-09 00:32:20 +00:00
4b5becfb7f video length in thumb 2020-02-08 20:44:23 +00:00
03af4dd92f ??? 2020-02-05 09:01:22 +00:00
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
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
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
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