Commit Graph

58 Commits

Author SHA1 Message Date
baf5f38a25 [core] only check image contents if the mime type is one we can handle 2024-01-09 01:05:33 +00:00
0762da54eb [core] have ThumbnailGenerationEvent work on an Image 2024-01-09 01:03:46 +00:00
c494bf293d [core] if image is created from a temp file, have get_image_filename() return that file 2024-01-09 00:17:54 +00:00
af309601f5 [upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc 2024-01-05 15:00:07 +00:00
502d50c57d [upload] keep original post date when replacing image, fixes #903 2024-01-04 14:29:09 +00:00
aea533b345 [file handlers] separate out display_image and display_metadata 2024-01-01 20:21:51 +00:00
a5c6f1321b refactor search a little and add much better testing 2023-12-14 17:04:16 +00:00
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
36951db563 use DataUploadEvent fields rather than required metadata 2023-02-24 22:42:03 +00:00
fcfeed8413 fix l2 errors 2023-02-03 20:03:04 +00:00
ff71a89948 fixes 2023-02-03 16:58:16 +00:00
54e2ca21ec phpstan 2023-02-03 16:44:16 +00:00
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
d2f5796c22 format 2022-10-28 01:46:48 +01:00
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
ecafd4e131 Merge branch 'image2post' 2020-10-27 22:42:47 +00:00
b6151ce714 ??? 2020-10-27 01:55:48 +00:00
754f0b2f39 strpos 2020-10-27 01:41:07 +00:00
e7b109a7f2 Image to Post - Some core files 2020-10-26 10:53:02 -05:00
8ad783ff4c be more snake_case 2020-10-26 00:27:06 +00:00
19a6b39c70 make use of str_starts_with / str_ends_with / str_contains 2020-10-25 19:31:58 +00:00
8ff70134ae nits 2020-10-24 13:46:57 +01:00
79a2fe23b3 Added support for specifying conflicting extensions 2020-10-08 17:24:14 -05:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
5446f29141 improved filetype error handling 2020-06-03 20:01:08 +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
72645af9a4 refactor a bunch of weirdness in image replacement 2020-04-25 21:38:11 +01:00
03806d0420 https a bunch of things 2020-03-25 11:47:00 +00:00
9147b64625 more dev docs 2020-03-23 18:21:27 +00:00
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
174b87d0c4 info show types 2020-02-23 18:38:23 +00:00
b5e9daeab5 dedupe more data handling 2020-02-23 18:37:22 +00:00
674d3fc6fa dedupe create_image_from_data 2020-02-23 18:19:27 +00:00
c5d8585824 info command 2020-02-23 18:14:35 +00:00
4ade3452ee dedupe getSubclassesOf 2020-02-23 18:14:35 +00:00
fd7c774f5b handle_svg doesn't need to override ALL of onDataUpload 2020-02-08 20:44:23 +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
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
494ba15a70 log every ext version change 2019-11-03 19:04:57 +00:00
704cab4470 type fixes 2019-10-02 09:03:14 +01:00
785e5b67e6 assert for type checking 2019-10-02 08:35:54 +01:00
54067f02a4 fix merge 2019-09-29 15:44:59 +01:00
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
ac6ded877f Added dependency support for extensions
Separated a few extensions that had multiple extension classes in the same file
2019-08-07 16:32:44 -05:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
3d1b964812 Proposed extension info change to allow getting info for unloaded extensions 2019-08-07 15:34:11 -05:00