82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
8b797a9a31
[tests] more strictness
2024-01-20 19:47:27 +00:00
b60c3fe362
[core] a load more type hints, and fix bugs revealed by type hints
2024-01-20 14:11:00 +00:00
373be4e05c
avoid stringy class names
2024-01-20 01:03:02 +00:00
589ff69eea
[types] typetypetypetypetype
2024-01-15 15:08:22 +00:00
802ff336a2
[core,tests] even more types
2024-01-15 14:08:11 +00:00
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
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
3c90597ca8
[core] inline some single-use functions
2024-01-09 04:22:59 +00:00
03d4045117
[core] also simplify uploading by having merge handled as a special case
2024-01-09 04:07:32 +00:00
4c2d6d9ca4
[replace] split upload and replace completely, fixes #1001
2024-01-09 03:38:51 +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
267e176658
[core] have extensions react to ImageAdditionEvent, instead of sending ImageAddition and other events in parallel
2024-01-09 01:32:34 +00:00
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