Commit Graph

61 Commits

Author SHA1 Message Date
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
dbb8bb8280 have image admin controls block use microhtml consistently 2024-01-19 18:57:02 +00:00
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
7b9201cb42 [core] Database::with_savepoint() 2024-01-09 21:59:24 +00:00
a28fb66b91 [core] have ImageReplace replace image->file with a new file, not replace a whole Image object 2024-01-09 02:33:14 +00:00
af309601f5 [upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc 2024-01-05 15:00:07 +00:00
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
aa8de9d420 the php string type is lowercase 2023-08-17 18:20:46 +01:00
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
2882bffe35 implement MIME checks on upload 2023-03-22 21:46:15 +01:00
36951db563 use DataUploadEvent fields rather than required metadata 2023-02-24 22:42:03 +00:00
5a64e8729b nits 2023-01-11 11:15:26 +00:00
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
c4ae68fb47 no transcode for reporting 2021-04-25 10:50:27 +00:00
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
6489b388a0 Added TGA support to transcoder 2021-01-16 14:26:18 -06:00
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
8a58ede5b3 remove some dead code 2020-10-29 01:28:46 +00:00
eecb737501 Image to Post - transcode 2020-10-26 10:53:03 -05:00
df93e2e5d5 Added support for transcoding from the PPM image format 2020-10-26 08:58:47 -05:00
ecd860ec6d Video transcoding extension, currently just supports changing the video container 2020-08-28 09:52:01 -05:00
35626d3989 Added options and onImageDownloading event handlers to allow resizing and converting images via get arguments 2020-06-25 00:43:13 +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
fc3c6625bd Changed references to /tmp to sys_get_temp_dir 2020-06-24 16:47:22 +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
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
8ff52b9220 Removed rdundant bytes 2020-03-02 15:41:58 +00:00
cff72263dc Added text to transcode message to indicate file size change 2020-03-02 15:41:43 +00:00
e46b319295 set theme classes 2020-02-04 00:46:36 +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
c7d90c2df7 nits 2019-11-04 01:04:12 +00:00
f79eafc91e format 2019-11-04 00:42:06 +00:00
d17e207984 Have get_arg never return null
90% of places assume it will never return null, and they will break in
weird ways if it does return null
2019-11-04 00:40:10 +00:00
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
51563017c8 Transcode config constants migrated to own file, added enabled option for future feature 2019-10-18 16:29:58 +01:00
30698fefdc remove a bunch of dead variables and things 2019-10-02 11:23:57 +01:00
8f688fd2c6 lints 2019-10-02 10:10:47 +01:00
a7bddb1dac get rid of is_admin, fixes #676 2019-09-29 19:01:09 +01:00
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
8638a16694 Added table-building support to SetupBlock to allow easily building cleaner setup controls 2019-07-08 08:07:13 -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
7cc725fbc1 Moved graphics engine constants to their own class 2019-07-08 08:07:07 -05:00