Commit graph

1927 commits

Author SHA1 Message Date
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
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
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
Laura Hausmann
bed17be21f
[backend/assets] Improve LICENSE.md 2025-02-02 22:56:34 +01:00
Laura Hausmann
44ab441c3d
[backend/assets] Clarify license 2025-02-02 22:55:49 +01:00
Laura Hausmann
be1e393140
[sln] Update dependencies 2025-02-01 13:18:02 +01: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
dff87e9db5
[backend/api] Move Avatar and Banner queries onto single lines 2025-01-30 11:11:23 +01:00
pancakes
78550aa878
[backend/api] Simplify Avatar and Banner queries 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
a5fedc930c
[backend/federation] Include media type for avatar and banner in UserRenderer 2025-01-30 11:11:22 +01:00
pancakes
68ceecd8f1
[backend/services] Use ASImage.Description to set DriveFile.Comment for resolved users' avatar and banner 2025-01-30 11:11:21 +01:00
pancakes
fdadc41c61
[backend/federation] Include alt text for avatar and banner in UserRenderer 2025-01-30 11:11:21 +01:00
pancakes
207249280f
[backend/razor] Update table class and include action separators 2025-01-30 11:09:27 +01:00
pancakes
a2ff2484a2
[backend/razor] Display rules on instance about page 2025-01-30 11:09:27 +01:00
pancakes
fc27572e38
[backend/razor] Add button to remove rule 2025-01-30 11:09:26 +01:00
pancakes
d165af041c
[backend/razor] Add edit rule page 2025-01-30 11:09:26 +01:00
pancakes
513635b7dc
[backend/razor] Add rules to admin dashboard 2025-01-30 11:09:26 +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
pancakes
f35dc27f20
[backend/database] Add Rule table 2025-01-30 11:09:25 +01:00
Laura Hausmann
ffbcccb79c
[backend/drive] Ignore deletion failures during fixup-media 2025-01-27 16:09:00 +01:00
Laura Hausmann
1d64af7ed0
[backend/federation] Fix like activities with content not being processed as reactions 2025-01-27 15:57:54 +01:00
Laura Hausmann
848bfc0045
[backend/csproj] Bump dotNetRdf version 2025-01-27 14:24:34 +01:00
Laura Hausmann
9c9427de89
[backend/csproj] Update Iceshrimp.Utils.Common version 2025-01-21 22:24:38 +01:00
Laura Hausmann
bdfd3a8d4e
[backend/database] Fix emoji unique index, update minimum postgres version to v15 2025-01-21 22:03:56 +01:00
Laura Hausmann
013ed7380f
[backend/masto-client] Don't require authentication for /accounts/{id}/statuses (ISH-688) 2025-01-21 21:31:38 +01:00