Commit graph

33 commits

Author SHA1 Message Date
pancakes
4f9c3dc3c7
Revert "[backend/api] Add conflict check to UpdateFileParent"
This reverts commit ccf7a0f757d4968f11e32ba8606bfed4e44df7c9.
2025-02-05 18:03:27 +01:00
pancakes
6322d5fb91
[backend/api] Add conflict check to UpdateFileParent 2025-02-05 18:03:27 +01:00
pancakes
bc7745c9fc
[backend/api] Clone files that exist in different folders owned by the same user instead of creating copies 2025-02-05 18:03:26 +01:00
pancakes
59c26686e4
[backend/api] Use SuppressMessage attribute instead of pragma warning disable 2025-02-05 18:03:26 +01:00
pancakes
805393b3e5
[backend/api] Fix drive folder endpoint 2025-02-05 18:03:26 +01:00
pancakes
85e24e03f1
[backend/api] Add conflict check when creating folders 2025-02-05 18:03:26 +01:00
pancakes
72800a68e8
[backend/api] Improve DriveFolder existing check 2025-02-05 18:03:26 +01:00
pancakes
8b54228d44
[backend/api] Order DriveFiles in folder by CreatedAt descending and DriveFolders by Name ascending 2025-02-05 18:03:25 +01:00
pancakes
038637339e
[backend/api] Add endpoint to move DriveFile and change move DriveFolder to POST 2025-02-05 18:03:25 +01:00
pancakes
da6d080fa2
[backend/api] Use FromHybrid instead of query for UpdateFolder 2025-02-05 18:03:25 +01:00
pancakes
b6047c9dc1
[backend/api] Add IsAvatar and IsBanner to DriveFile 2025-02-05 18:03:25 +01:00
pancakes
42da7e5f43
[backend/api] Add endpoint to delete non-empty folders 2025-02-05 18:03:24 +01:00
pancakes
d0477743e6
[backend/api] Add endpoints for renaming and moving drive folders 2025-02-05 18:03:24 +01:00
pancakes
98686e334e
[backend/api] Allow optionally storing a drive file in a specified folder 2025-02-05 18:03:23 +01:00
pancakes
59e1cdde81
[backend/api] Add endpoint for creating drive folders 2025-02-05 18:03:22 +01:00
pancakes
a2e3c475d0
[backend/api] Correctly return file ID for drive folder files 2025-02-05 18:03:22 +01:00
pancakes
76054927f7
[backend/api] Add endpoints to get root drive folder and drive folder by ID 2025-02-05 18:03:22 +01:00
Laura Hausmann
60f100385d
[backend/drive] Fix explicit identicon references 2025-02-04 16:38:28 +01:00
Laura Hausmann
5d7020faeb
[backend/drive] Don't proxy requests for local emoji 2025-01-10 10:24:54 +01:00
Laura Hausmann
af750a010d
[backend/drive] Improve handling of configurations with disabled media proxy 2025-01-10 06:23:54 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style 2024-11-20 00:48:29 +01:00
Laura Hausmann
df587e417d
[backend/drive] Fix DriveController serving files with possibly invalid extensions (ISH-556) 2024-10-27 22:51:29 +01:00
Laura Hausmann
83f9e44c1b
[backend/drive] Serve files served by the integrated drive controller as inline attachments 2024-10-13 23:50:38 +02:00
Laura Hausmann
7cee8513de
[backend/api] Fix typo 2024-09-23 01:47:38 +02:00
Laura Hausmann
f16a472dbe
[backend/api] Add drive file deletion endpoint 2024-09-23 01:45:43 +02:00
Laura Hausmann
e88878cf3e
[backend/api] Add endpoint to get drive files by their hash (ISH-459) 2024-09-06 17:24:00 +02:00
Laura Hausmann
b50121d0a1
[backend/api-shared] Fix upload of files larger than 28MB. 2024-09-05 22:33:55 +02:00
Laura Hausmann
a58605f4be
[backend/drive] Fix file retrieval exception 2024-08-12 18:33:57 +02:00
Laura Hausmann
c07bb35548
[backend/drive] Refactor ImageProcessor into a modular system
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
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
0776a50cbe
[backend/asp] Refactor controllers
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
Laura Hausmann
0a89a228e3
[backend] Refactor Controllers folder 2024-07-04 18:17:50 +02:00
Renamed from Iceshrimp.Backend/Controllers/DriveController.cs (Browse further)