Commit graph

705 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
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
Laura Hausmann
013ed7380f
[backend/masto-client] Don't require authentication for /accounts/{id}/statuses (ISH-688) 2025-01-21 21:31:38 +01:00
Laura Hausmann
f32cd81ada
[backend/masto-client] Reformat AccountController 2025-01-21 21:30:59 +01:00
Kopper
02d4b35ab1
[backend/masto-client] Limit batch endpoints 2025-01-20 18:21:21 +01:00
Kopper
7e3320e3b1
[backend/masto-client] Populate Status.tags 2025-01-20 18:21:20 +01:00
Kopper
ad00ddd14e
[backend/masto-client] Implement /api/v1/statuses (View multiple statuses) 2025-01-20 18:21:20 +01:00
Kopper
f6957ba4de
[backend/masto-client] Implement /api/v1/accounts (Get multiple accounts) 2025-01-20 18:21:20 +01:00
pancakes
b6d8f9c00b
[backend/api] Add note length limit to instance response 2025-01-11 15:33:15 +01:00
pancakes
f8ec2fd163
[backend/api] Fix UserProfileResponse.Url 2025-01-11 05:16:00 +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
553c0cf7ab
[backend/api] Allow naming single emojis during upload (ISH-602) 2025-01-08 14:42:26 +01:00
Laura Hausmann
0723f39797
[backend/api] Add mastodon session management endpoints 2025-01-07 08:32:42 +01:00
Laura Hausmann
76a3f94fe8
[backend/masto-client] Fix missing replyInaccessible marker 2025-01-07 08:29:15 +01:00
Laura Hausmann
9de6d15a0c
[backend/masto-client] Move replyInaccessible marker into CW field for notes with CW 2025-01-07 08:14:33 +01:00
Laura Hausmann
1ecd823cbe
[sln] Code cleanup 2025-01-07 06:38:23 +01:00
Kopper
66ee14b2a1 [backend/federation] Hide outbox if public preview is locked down 2025-01-07 02:05:14 +03:00
Kopper
ff320e43c9 [backend/federation] Expose outbox collection 2025-01-07 01:42:18 +03:00
blueb
48717745de [backend] only use MetaService once and include admin contact email as well 2025-01-06 03:18:00 +01:00
blueb
b64a8898aa [backend] use MetaService to provide instance name and description in nodeinfo 2025-01-06 03:18:00 +01:00
Laura Hausmann
0df2d49560
[backend/api] [frontend/pages] Remove specified as an option for default renote visibility 2025-01-05 05:34:20 +01:00
pancakes
2af4d7df7e
[backend/api] Change emoji management auth from role:admin to role:moderator 2025-01-02 22:43:35 +01:00
Laura Hausmann
9a151be99d
[backend/api] Don't apply default request size limit to the batch emoji import endpoint 2025-01-02 21:46:35 +01:00
Laura Hausmann
b70de11da8
[backend/masto-client] Deduplicate filter matches by filter id 2025-01-01 02:12:01 +01:00
Laura Hausmann
4e06d416a9
[backend/api] Resolve notes as authenticated user when doing AP lookups, don't redirect to inaccessible notes 2024-12-20 20:54:40 +01:00
Lilian
f02c5ac2f1
[backend/api] Fix remote user profiles not loading 2024-12-18 02:07:10 +01:00
pancakes
b1d64b5866
[backend/api] Remove "Async" from function names 2024-12-17 19:38:52 +01:00