Commit Graph

1417 Commits

Author SHA1 Message Date
6bc8b791d2 Added option to go to next image when an image is deleted 2020-10-08 17:24:21 -05:00
79a2fe23b3 Added support for specifying conflicting extensions 2020-10-08 17:24:14 -05:00
0fc0b8e723 Added get_pairs_iterable to database object 2020-10-08 17:24:09 -05:00
1ea9ceff85 notify after config updates 2020-10-03 12:54:38 +00:00
e696357c06 database notification API 2020-10-03 12:54:38 +00:00
1159ba2fa1 format 2020-09-19 00:18:51 +01:00
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
5d86314fc2 Merge pull request #746 from sanmadjack/resize_types
Added "Fit Blur Tall, Fill Wide" resize type
2020-09-16 11:20:28 +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
2dedeb06e0 Added "Fit Blur Tall, Fill Wide" resize type 2020-08-28 09:49:24 -05:00
ab008e351d Added SPEED_HAX criteria to image count shortcuts. 2020-08-28 09:48:10 -05:00
cbe1f792f9 format 2020-07-07 16:07:23 +00:00
de26b7f373 don't die if database is missing a MIME type 2020-07-07 16:07:19 +00:00
926cdc31a8 nicer error for unsupported version 2020-07-06 17:46:20 +01:00
688fb8b04b Added ability to upload multiple files through a single upload input 2020-06-25 00:42:43 +01:00
7f68ef1cfd Added option to transcode extension and thumbnailing to choose the color to use to fill in the background when converting an image with an alpha channel to a format without 2020-06-25 00:42:43 +01:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
b893da927f format 2020-06-24 17:02:24 +01:00
7a009541ce Added more explicit failure handling to list_files 2020-06-24 16:59:21 +01:00
c1068f1b2b bump 2020-06-24 16:14:49 +01:00
2197b15012 Add core/sanitize_php.php
A small number of PHP-sanity things (eg don't silently ignore errors) to
be included right at the very start of index.php and tests/bootstrap.php
2020-06-24 14:54:46 +01:00
eecd35d175 turn 'Use of undefined constant' into an error 2020-06-24 13:00:46 +01:00
72de50aa71 Added bulk download extension 2020-06-23 15:15:43 +01:00
919a3039c4 Added user API key system 2020-06-23 15:14:04 +01:00
9b9f1d0341 Cleaned up some warnings in bulk import/export extension
Added transactions to bulk import
Renamed beginTransaction to begin_transaction for naming consistency
Updated cron uploader to handle bulk import transactions
2020-06-23 15:07:00 +01:00
b937ad6255 Added thumbnail scaling options
Changed ffmpeg thumbnailer to instead output a full-size png which is forwarded to the image thumbnailer, to allow it to take advantage of all available scaling options
2020-06-23 15:05:55 +01:00
1fdd5bf575 New private image extension 2020-06-23 15:03:17 +01:00
6d16c52367 New bulk import/export extension 2020-06-23 15:01:22 +01:00
587735a866 Added terabyte support to the shorthand functions 2020-06-23 14:58:41 +01:00
ad1e52bf05 DATABASE_TIMEOUT isn't set in the installer 2020-06-22 16:08:04 +01:00
ed8a9fca52 Removed function stub 2020-06-03 20:02:55 +01:00
5446f29141 improved filetype error handling 2020-06-03 20:01:08 +01:00
86f7a06ed0 New options for cron uploader:
Logging level
Including all logs in output
Stop on error instead of continuing
2020-06-03 20:00:54 +01:00
bccb206369 formatting pass 2020-06-03 19:58:13 +01:00
2bb5f349f9 Added file type names
Formatted file
2020-06-03 19:57:47 +01:00
007e07e507 Various changes to cron uploader:
Removed count limit, the cron job now checks the max PH execution time and auto-stops itself at 80% of that value.

Now skips os-specific image cache files like thumbs.db and the __macosx folder.

Changed failed folder re-deployment to allow re-deploying to populated queue, making it easier to re-process lots of failed batches all at once.

Changed page to output as a stream, allowing a long-running process to provide output as it runs rather than just at the very end.

Changed import loop to use the yield convention, allowing faster consumption of found files and lower memory use overall.
2020-06-03 19:57:27 +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
16c58e266b Added manual page mode to allow extensions to have direct control of the output 2020-06-03 19:40:43 +01:00
06bd4589da option for admins to create new users 2020-05-19 19:33:51 +01:00
72645af9a4 refactor a bunch of weirdness in image replacement 2020-04-25 21:38:11 +01:00
2cae6cd273 format 2020-04-25 21:36:28 +01:00
0b2e36303d allow bypassing auth tokens in unit tests 2020-04-25 21:35:14 +01:00
b0cb46abca test a couple extra branches 2020-04-24 14:10:45 +01:00
0039aafe94 avoid excess ampersands 2020-04-02 22:38:50 +01:00
f47e35e4e5 make make_link more sane 2020-03-28 14:11:14 +00:00
866b77ab19 set max-width / max-height for random and featured image blocks 2020-03-28 00:23:29 +00:00
b60e8ac5b4 make modify_url work better 2020-03-27 23:35:07 +00:00