Commit graph

24 commits

Author SHA1 Message Date
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +01:00
Laura Hausmann
a762a9201e
[backend/core] Revert IAsyncEnumerable naming 2024-11-20 01:12:32 +01:00
Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable 2024-11-18 19:02:44 +01:00
Laura Hausmann
6c76b2b2c5
[backend] Switch params methods to IEnumerable<T> 2024-11-18 19:02:41 +01:00
Laura Hausmann
940e6f847e
[backend/drive] Fix errors when uploading files with long names containing unicode characters to object storage 2024-11-17 17:12:19 +01:00
Laura Hausmann
055957f509
[backend/drive] Improve media fixup algorithm performance (ISH-520) 2024-10-18 23:37:19 +02:00
Laura Hausmann
6124eadb53
[backend/drive] Add storage cleanup startup command 2024-10-18 23:18:45 +02:00
Laura Hausmann
9275e3b21a
[backend/drive] Add fixup-media startup command (ISH-520) 2024-10-18 22:43:25 +02:00
Laura Hausmann
807a6fc95d
[backend] Refactor dictionary initializers to use the new syntax 2024-08-12 03:21:03 +02:00
Laura Hausmann
0668c6b360
[backend/drive] Improve media filename handling
This commit adds support for remote Content-Disposition headers giving information on attachment filenames, as well as providing this information when serving locally stored files. It also passes on any filename metadata to the object storage provider, if configured as the storage backend.
2024-07-09 23:44:34 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
db9c4809dd
[backend/drive] Improve object storage migrator (ISH-326)
This commit fixes various bugs related to the object storage migrator.

- Files with a content length of zero bytes can now be migrated
- Deduplicated files now migrate correctly
- The database query no longer skips over files
2024-05-14 21:32:22 +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
94ac11db88
[backend/drive] Add option to disable validation of the object storage configuration 2024-04-28 00:34:20 +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
1ce28ee005
[backend/drive] Add configuration option to set ACLs on files uploaded to object storage 2024-04-22 21:29:49 +02:00
Laura Hausmann
953b317738
[backend/drive] Switch to Iceshrimp.ObjectStorage 2024-04-22 21:10:51 +02:00
Laura Hausmann
60545e25ae
[backend/core] Fix sporadic "key not found" background task failures 2024-04-07 21:37:46 +02: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
81e8becef1
[backend/services] Improve handling of ObjectStorageService in local storage mode 2024-02-10 23:42:20 +01:00
Laura Hausmann
1130c7b4c1
[backend/services] ObjectStorageService instantiation shouldn't fail if storage mode is set to local 2024-02-10 23:27:32 +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
Laura Hausmann
66c6f5be6f
[backend/services] Add object storage service (ISH-10) 2024-02-09 17:28:02 +01:00