Commit graph

2719 commits

Author SHA1 Message Date
pancakes
72800a68e8
[backend/api] Improve DriveFolder existing check 2025-02-05 18:03:26 +01:00
pancakes
d8192bb37d
[frontend/components] Update menu position calculation and fix DriveEntry styling 2025-02-05 18:03:26 +01:00
pancakes
637e17be14
[frontend/components] Add move folder/file button 2025-02-05 18:03:26 +01:00
pancakes
d6329b7783
[frontend/pages] Add uploaded files to top of file list 2025-02-05 18:03:25 +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
d3ee46634a
[frontend/components] Label files that are the user's avatar or banner 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
877d195fd7
[frontend/components] Show an alert instead of crashing if renaming causes a conflict 2025-02-05 18:03:25 +01:00
pancakes
1ee73e3648
[frontend/components] Don't show null if setting alt text on a file with no alt text 2025-02-05 18:03:25 +01:00
pancakes
d99e354651
[frontend/pages] Add button to create drive folder 2025-02-05 18:03:25 +01:00
pancakes
4d55bd56ac
[frontend/pages] Add button to delete folder if it is empty 2025-02-05 18:03:24 +01:00
pancakes
42da7e5f43
[backend/api] Add endpoint to delete non-empty folders 2025-02-05 18:03:24 +01:00
pancakes
c973db1c65
[frontend/components] Display alt text when hovering file alt text label 2025-02-05 18:03:24 +01:00
pancakes
f59bb86e24
[frontend/components] Move non-destructive drive file actions above destructive ones 2025-02-05 18:03:24 +01:00
pancakes
85ba75e608
[frontend/components] Add drive folder menu 2025-02-05 18:03:24 +01:00
pancakes
f8c36f1097
[frontend/components] Add drive file menu 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
0dfe788f7f
[backend/pages] Allow uploading files to the selected folder instead of just the root folder 2025-02-05 18:03:24 +01:00
pancakes
078f344a26
[backend/services] Only check for duplicate files in the same folder if specified 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
673e5c88bc
[frontend/pages] Add drive file upload 2025-02-05 18:03:23 +01:00
pancakes
afb766f51c
[frontend] Add action buttons styling to top bar 2025-02-05 18:03:23 +01:00
pancakes
ff3817efb7
[frontend/components] Fix drive entry hover appearance 2025-02-05 18:03:23 +01:00
pancakes
1af0231126
[frontend] Add folder navigation 2025-02-05 18:03:23 +01:00
pancakes
793efd9ab6
[frontend] Move drive entries into DriveEntry component 2025-02-05 18:03:23 +01:00
pancakes
0947fd4ac8
[frontend/pages] Add labels to drive files 2025-02-05 18:03:23 +01:00
pancakes
2f18a3e75c
[frontend/pages] Improve state management, use authorization and include alt text 2025-02-05 18:03:23 +01:00
pancakes
f3fe34e051
[frontend/pages] Simple display of drive folder contents 2025-02-05 18:03:23 +01:00
pancakes
e3608a2bf9
[frontend/pages] Add page boilerplate for drive management 2025-02-05 18:03:22 +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
Lilian
cca978a400
[frontend/core] Remove deprecated MessageService 2025-02-04 20:12:49 +01:00
Lilian
e1e78a1052
[frontend/components] Fix new descendants not showing up in single note view. 2025-02-04 20:12:49 +01:00
Laura Hausmann
60f100385d
[backend/drive] Fix explicit identicon references 2025-02-04 16:38:28 +01:00
pancakes
220d65fa3d
[backend/api] Remove unnecessary database query 2025-02-04 13:39:04 +01:00
pancakes
9ac80f3945
[backend/api] Recursively reload user after refetching 2025-02-04 13:39:04 +01:00
pancakes
72a6d83351
[frontend/pages] Add refetch user action to profile page 2025-02-04 13:39:04 +01:00
pancakes
4ceeebc40d
[backend/api] Add refetch user endpoint 2025-02-04 13:39:03 +01:00
pancakes
c6ac156b34
[backend/services] Make verification page size limit more readable 2025-02-04 13:02:44 +01:00
pancakes
01799a84cd
[backend/services] Ignore pages over 1MB when verifying links 2025-02-04 13:02:44 +01:00
pancakes
4fe3fe8d2c
[backend/services] Move profile field verification into background-task queue 2025-02-04 13:02:44 +01:00
pancakes
9d0cb44743
[backend/services] Also check user URI for local users when verifying links 2025-02-04 13:02:44 +01:00
pancakes
aa3262caea
[backend/services] Check for profile URL and user URI when verifying links 2025-02-04 13:02:44 +01:00
pancakes
fc07f55fe3
[frontend/components] Fix spacing of verified fields 2025-02-04 13:02:43 +01:00
pancakes
858a7724a2
[backend/services] Verify user profile field links 2025-02-04 13:02:43 +01:00
Kopper
7595f257f8 [backend/masto-client] Use List<> instead of HashSet<> for batch endpoints
CustomCollectionModelBinder's `as IList` cast does not work for HashSet,
breaking the code around trailing []s in query arguments.

The values are still being treated as a set in the query so adding the
same value multiple times shouldn't do anything except hit the max limit
quicker.

The intention was to aid clients which may not be doing their own
deduplication but I haven't really observed that behavior in the wild
and I doubt it's anything too much to expect from clients.

That said, testing on mastodon.social shows Mastodon itself may be doing
deduplication here before checking the limit, though I'm not entirely sure
if this will ever be noticed in the wild.
2025-02-04 10:19:24 +03:00
Laura Hausmann
ab0b1e543a
[backend/csproj] Exclude wwwroot/assets/LICENSE.md from build 2025-02-02 22:59:57 +01:00