Commit graph

35 commits

Author SHA1 Message Date
Laura Hausmann
aa8e3f32c5
[backend/drive] Fix thumbnail url for deduplicated files 2024-05-23 15:15:43 +02:00
Laura Hausmann
9d0ee19922
[backend/drive] Don't store attachments if the download isn't successful 2024-05-23 00:23:54 +02:00
Laura Hausmann
2108f91bcf
[backend/drive] Store attachments as links if they can't be fetched for caching / further processing 2024-05-16 18:43:24 +02:00
Laura Hausmann
b76f154f50
[backend/drive] Don't hash files larger than the configured max cache size 2024-05-16 18:25:33 +02:00
Laura Hausmann
d7d7b7d2e3
[backend/drive] Improve error handling during DriveService.StoreFile 2024-05-14 20:09:14 +02:00
Laura Hausmann
16fdc48800
[backend/drive] Set content-type when uploading media to object storage 2024-05-07 02:57:19 +02:00
Laura Hausmann
744a01d138
[backend/drive] Add several media processing configuration options, replacing constants & assumptions 2024-05-02 19:13:58 +02:00
Laura Hausmann
9a662f2bea
[backend/drive] Fix DriveService.StoreFile edge cases and make the code flow more clear/readable 2024-05-02 19:13:20 +02:00
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
eab5e02b70
[backend/drive] Better error handling & logging 2024-05-01 01:44:52 +02:00
Laura Hausmann
7976854190
[backend/drive] Correctly set thumbnail & webpublicUrl when using the local storage provider 2024-05-01 01:21:08 +02:00
Laura Hausmann
facc7eb337
[backend/drive] Use libvips instead of imagesharp for most of the image processing pipeline 2024-05-01 01:21:08 +02:00
Laura Hausmann
d56eda8464
[backend/drive] Fix ImageSharp memory leak, improve image processing memory footprint, don't generate thumbnails for animated images 2024-04-30 20:40:46 +02:00
Laura Hausmann
dd062c6752
[backend/drive] Fix logExisting oversight causing uris not to be logged in all cases 2024-04-30 17:03:04 +02:00
Laura Hausmann
363b0c930c
[backend/core] Add Guid.ToStringLower() extension method 2024-04-25 18:26:42 +02:00
Laura Hausmann
adbee189af
[backend/configuration] Rename StorageSection.Mode to StorageSection.Provider
The old property remains for configuration backwards compatibility only. Trying to access it throws a compile-time error.
2024-04-22 23:26:29 +02:00
Laura Hausmann
cabe5d52e7
[backend/drive] Inhibit logging of unchanged files on user/note update (ISH-240) 2024-03-29 18:25:55 +01:00
Laura Hausmann
cdadb63e19
[backend/drive] Handle alt text updates (ISH-195) 2024-03-28 14:57:49 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212) 2024-03-24 00:17:28 +01:00
Laura Hausmann
605c636e1e
[backend/drive] Also strip exif/xmp from thumbnail 2024-03-07 01:19:15 +01:00
Laura Hausmann
f8a5d7c06c
[backend/drive] Set correct orientation for image processing (ISH-132) 2024-03-07 01:19:03 +01:00
Laura Hausmann
4c3a140e9f
[backend/masto-client] Fix public media url handling 2024-03-01 18:44:03 +01:00
Laura Hausmann
b4e3fdc898
[backend/core] Improve image processing performance 2024-02-28 22:39:51 +01:00
Laura Hausmann
f073018e95
[backend/federation] Fix race condition when updating a user during a request 2024-02-17 21:06:23 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
11caf32ebb
[backend/services] Media cleanup cron task (ISH-66, ISH-27) 2024-02-16 01:21:04 +01:00
Laura Hausmann
424d3d3298
[backend/services] DriveFile.Properties has a database-side default 2024-02-15 00:11:06 +01:00
Laura Hausmann
fc0f40f8ce
[backend/drive] Add basic image processing & thumbnail generation (ISH-63, ISH-64) 2024-02-14 17:25:32 +01:00
Laura Hausmann
b67dd173f4
[backend/federation] Federate alt text (ISH-55) 2024-02-13 03:07:02 +01:00
Laura Hausmann
a1c23a7d29
[backend/masto-client] Add media upload (ISH-58) 2024-02-13 02:46:40 +01:00
Laura Hausmann
589063f36b
[backend/drive] Calculate blurhash for images (ISH-54) 2024-02-13 02:08:18 +01:00
Laura Hausmann
16f46dbe43
[backend/federation] Handle note attachments (ISH-48) 2024-02-13 00:13:18 +01:00
Laura Hausmann
8250ef58d3
[backend/drive] Restrict non-browser-safe MIME types to application/octet-stream (ISH-36) 2024-02-10 17:21:22 +01:00
Laura Hausmann
920997ec41
[backend/federation] Avatar & banner support (ISH-8) 2024-02-09 23:22:46 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9) 2024-02-09 19:41:46 +01:00