36951db563
use DataUploadEvent fields rather than required metadata
2023-02-24 22:42:03 +00:00
689b2b13af
send_event(T) -> T
2023-02-04 20:50:26 +00:00
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +00:00
a828c3e0e5
more thorough testing for path_to_tags, and handle more edge cases
2022-10-27 17:09:39 +01:00
22ec34ea52
format
2022-09-27 17:38:15 +01:00
10e63a0666
Fixing bulk add bug, tag is set to "\" if no other tags are present
2022-09-27 02:12:24 -05:00
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
8ff70134ae
nits
2020-10-24 13:46:57 +01:00
6bc8b791d2
Added option to go to next image when an image is deleted
2020-10-08 17:24:21 -05:00
2dedeb06e0
Added "Fit Blur Tall, Fill Wide" resize type
2020-08-28 09:49:24 -05: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
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
6d16c52367
New bulk import/export extension
2020-06-23 15:01:22 +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
89dd1a7658
create_scaled_image, for other uses
2020-02-25 12:04:37 +00:00
674d3fc6fa
dedupe create_image_from_data
2020-02-23 18:19:27 +00:00
fd7c774f5b
handle_svg doesn't need to override ALL of onDataUpload
2020-02-08 20:44:23 +00:00
6d2c92575d
tests for format_milliseconds
2020-02-01 23:03:23 +00:00
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
a6bb15d859
formatting
2019-09-29 14:30:55 +01: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
d64603674e
Added ability to use generators with database queries.
...
Adapted bulk actions to use generators.
2019-07-07 11:10:40 +01:00
c24a6e9b97
formatting pass
2019-06-21 09:12:44 +01:00
37fe743f65
Changed "images" and "thumbs" usages to constants
2019-06-15 11:20:11 -05:00
58acb71282
Change imagemagick commands to return the error output
...
Added ico to transcode extension
2019-06-14 13:01:24 -05:00
ed4b6bc4a0
Updated handle_ico to use new common image thumbnailing and to inherit DataHandlerExtension
2019-06-14 13:00:59 -05:00
1b76366dd9
Cleaned up some of the new image processing code, added documentation
2019-06-14 09:41:55 -05:00
064b24ffc1
formatting pass
2019-06-14 13:47:50 +01:00
1aa0225652
Adjustments to transcoding to allow psd transcoding to actually work
...
Changed resize extension to run later in the extension stack
Little fixes
2019-06-13 11:45:34 -05:00
97f60b3ea5
Better error handling for GD code
2019-06-12 17:40:43 -05:00
97abeb5254
Added option to detect file type based on header bytes
2019-06-12 17:35:11 -05:00
eb4292316d
Added webp upload and thumbnailing support
...
Bug fixes and consolidation of various thumbnail and resize functionality
Changed resize/rotate extensions to use replace image event
Added content-disposition header to image responses to provide a human-friendly filename when saving
Added more bulk thumbnail regeneration tools
Tweaks to bulk actions to correct totals when batching items
2019-06-09 14:14:04 -05:00
bf473f6d51
more lint fixes
2019-05-29 18:23:29 +01:00
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
b2f10ea5ab
split up files in core/ for saner management
2018-11-05 22:30:18 +00:00