Laura Hausmann
e5c2edf8cb
[backend/api] Fix unpaginated remote emoji lookup
2025-02-06 19:31:08 +01:00
pancakes
91e0f09bc5
[backend/api] Add remote emoji list endpoint for moderators
2025-02-06 16:13:34 +01:00
Laura Hausmann
b9724e29fb
[backend/masto-client] Fix concurrent DbContext use in UserRenderer
2025-02-06 14:37:45 +01:00
pancakes
26eab64e8c
[backend/api] Include avatar and banner alt text in user renderer
2025-02-06 13:09:49 +01:00
pancakes
36c6092fd2
Revert "[backend/api] Add missing inclusions of user avatar and banner"
...
This reverts commit b4084b8e2222d0935fb536feac78d5ed31dc6fa5.
2025-02-06 13:09:49 +01:00
pancakes
82a2331ae0
[backend/masto-client] Add avatar_description and header_description to AccountEntity
2025-02-06 13:09:49 +01:00
pancakes
6f69ae6ffb
[backend/api] Add missing inclusions of user avatar and banner
2025-02-06 13:09:48 +01:00
pancakes
5d938c5f47
[backend/api] Use [] instead of new Dictionary
2025-02-05 18:10:41 +01:00
pancakes
480dbc2835
[backend/api] Switch from pancakes:Pronouns (V1) to pancakes:pronouns (V2)
2025-02-05 18:10:00 +01:00
pancakes
3bfb133661
[backend/api] Render remote language-mapped pronouns
2025-02-05 18:09:59 +01:00
pancakes
f16164ca98
[backend/api] Add pronouns to profile responses and update profile request
2025-02-05 18:09:59 +01:00
pancakes
4f9c3dc3c7
Revert "[backend/api] Add conflict check to UpdateFileParent"
...
This reverts commit ccf7a0f757d4968f11e32ba8606bfed4e44df7c9.
2025-02-05 18:03:27 +01:00
pancakes
16a0a76528
[backend/api] Fix edge case where GetAvatar and GetBanner can be both IsAvatar and IsBanner
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
87b686e5cb
[backend/api] Set appropriate values for IsAvatar and IsBanner in GetAvatar and GetBanner
2025-02-05 18:03:26 +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
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
4ceeebc40d
[backend/api] Add refetch user endpoint
2025-02-04 13:39:03 +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
8ff9aea33a
[sln] Code cleanup
2025-01-31 16:58:57 +01:00
Laura Hausmann
045ce709aa
[backend] Switch to Iceshrimp.EntityFrameworkCore.Extensions
2025-01-31 16:56:11 +01:00
pancakes
24e7624487
[backend/api] Fix profile avatar and banner endpoints
2025-01-30 11:11:23 +01:00
pancakes
fa7c09c94b
[backend] Fix outgoing alt text federation
2025-01-30 11:11:23 +01:00
pancakes
58d10228e9
[backend/api] Move newAvatarAlt and newBannerAlt into UserProfileEntity
2025-01-30 11:11:23 +01:00
pancakes
811c5d7a46
[backend/api] Simplify queries for getting avatar and banner when updating profile
2025-01-30 11:11:23 +01:00
pancakes
f40c0e2499
[backend/api] Simplify GetAvatar and GetBanner database queries
2025-01-30 11:11:22 +01:00
pancakes
b9cb72475d
[backend/api] Remove debug prints
2025-01-30 11:11:22 +01:00
pancakes
d4efbfd2ce
[backend/api] Allow optionally setting avatar and banner alt text
2025-01-30 11:11:22 +01:00
pancakes
cd412e3056
[backend/api] Return DriveFileResponse for avatar and banner
2025-01-30 11:11:22 +01:00
pancakes
4d39f657b0
[backend/api] Include AvatarAlt and BannerAlt in UserResponse
2025-01-30 11:11:22 +01:00
pancakes
b962fafdf8
[backend/api] Move rule create/update functionality to instance service
2025-01-30 11:09:26 +01:00
pancakes
d3b8df77ce
[backend/api] Change rule management auth from role:moderator to role:admin
2025-01-30 11:09:26 +01:00
pancakes
464008b2e1
[backend/masto-client] Add rules endpoint and include rules in InstanceV1 and Instance2
2025-01-30 11:09:26 +01:00
pancakes
76bb3f1c95
[backend/api] Add instance rules endpoints
2025-01-30 11:09:26 +01:00