Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
81ec577b32
[core] only move file to warehouse if all the rest of the upload is ok, fixes #1004
2024-01-09 04:49:19 +00:00
Shish
3c90597ca8
[core] inline some single-use functions
2024-01-09 04:22:59 +00:00
Shish
03d4045117
[core] also simplify uploading by having merge handled as a special case
2024-01-09 04:07:32 +00:00
Shish
4c2d6d9ca4
[replace] split upload and replace completely, fixes #1001
2024-01-09 03:38:51 +00:00
Shish
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
Shish
267e176658
[core] have extensions react to ImageAdditionEvent, instead of sending ImageAddition and other events in parallel
2024-01-09 01:32:34 +00:00
Shish
baf5f38a25
[core] only check image contents if the mime type is one we can handle
2024-01-09 01:05:33 +00:00
Shish
0762da54eb
[core] have ThumbnailGenerationEvent work on an Image
2024-01-09 01:03:46 +00:00
Shish
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
Shish
af309601f5
[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc
2024-01-05 15:00:07 +00:00
Shish
502d50c57d
[upload] keep original post date when replacing image, fixes #903
2024-01-04 14:29:09 +00:00
Shish
aea533b345
[file handlers] separate out display_image and display_metadata
2024-01-01 20:21:51 +00:00
Shish
a5c6f1321b
refactor search a little and add much better testing
2023-12-14 17:04:16 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Shish
00d4f9f75c
always have a Themelet, never null
2023-06-27 16:11:14 +01:00
Shish
36951db563
use DataUploadEvent fields rather than required metadata
2023-02-24 22:42:03 +00:00
Shish
fcfeed8413
fix l2 errors
2023-02-03 20:03:04 +00:00
Shish
ff71a89948
fixes
2023-02-03 16:58:16 +00:00
Shish
54e2ca21ec
phpstan
2023-02-03 16:44:16 +00:00
Shish
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +00:00
Shish
d2f5796c22
format
2022-10-28 01:46:48 +01:00
Shish
a04bc2e7e4
php8.1 gogogo
2022-10-28 01:45:35 +01:00
Shish
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
Shish
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +00:00
Shish
ecafd4e131
Merge branch 'image2post'
2020-10-27 22:42:47 +00:00
Shish
b6151ce714
???
2020-10-27 01:55:48 +00:00
Shish
754f0b2f39
strpos
2020-10-27 01:41:07 +00:00
Matthew Barbour
e7b109a7f2
Image to Post - Some core files
2020-10-26 10:53:02 -05:00
Shish
8ad783ff4c
be more snake_case
2020-10-26 00:27:06 +00:00
Shish
19a6b39c70
make use of str_starts_with / str_ends_with / str_contains
2020-10-25 19:31:58 +00:00
Shish
8ff70134ae
nits
2020-10-24 13:46:57 +01:00
Matthew Barbour
79a2fe23b3
Added support for specifying conflicting extensions
2020-10-08 17:24:14 -05:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Matthew Barbour
5446f29141
improved filetype error handling
2020-06-03 20:01:08 +01:00
Matthew Barbour
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
Shish
72645af9a4
refactor a bunch of weirdness in image replacement
2020-04-25 21:38:11 +01:00
Shish
03806d0420
https a bunch of things
2020-03-25 11:47:00 +00:00
Shish
9147b64625
more dev docs
2020-03-23 18:21:27 +00:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Shish
174b87d0c4
info show types
2020-02-23 18:38:23 +00:00
Shish
b5e9daeab5
dedupe more data handling
2020-02-23 18:37:22 +00:00
Shish
674d3fc6fa
dedupe create_image_from_data
2020-02-23 18:19:27 +00:00
Shish
c5d8585824
info command
2020-02-23 18:14:35 +00:00
Shish
4ade3452ee
dedupe getSubclassesOf
2020-02-23 18:14:35 +00:00
Shish
fd7c774f5b
handle_svg doesn't need to override ALL of onDataUpload
2020-02-08 20:44:23 +00:00
Shish
4e57e04ddf
fix a lot of tests
2020-01-29 20:22:50 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
494ba15a70
log every ext version change
2019-11-03 19:04:57 +00:00