Commit graph

440 commits

Author SHA1 Message Date
Laura Hausmann
8a5fc3d096
[backend/api] Add missing EmojiController AuthorizeAttribute 2024-06-29 13:47:13 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Lilian
8207bff35a
[backend/api] Add emoji list to NoteResponse 2024-06-29 00:25:39 +02:00
Lilian
15a1068fff
[backend/api] Move emoji endpoints to EmojiController, Add all emoji endpoint 2024-06-29 00:25:32 +02:00
Laura Hausmann
03f34340cc
[backend/api] Cleanup EmojiService code 2024-06-28 18:46:07 +02:00
pancakes
af376ffbe5 [backend/api] Add endpoint for deleting emojis 2024-06-28 18:42:32 +02:00
Laura Hausmann
e65c678a35
[backend/core] Revert to heuristic-based home timeline query
There can be performance issues with the other query, so we have to revert this for now.
2024-06-26 22:56:36 +02:00
Laura Hausmann
d0eaf13b6b
[backend] Code cleanup 2024-06-26 21:57:22 +02:00
Laura Hausmann
46644b2ab1
[backend/core] Switch to universal home timeline query 2024-06-26 21:54:54 +02:00
Laura Hausmann
7a57862048
[backend/core] Improve heuristics query performance, move timeline-related extensions into its own file 2024-06-26 21:54:16 +02:00
pancakes
6b5a5a1a09
[backend/masto-client] Set category for emojis 2024-06-24 17:02:52 +10:00
pancakes
51c5ab30cc [backend/api] Refactor UploadEmoji 2024-06-23 13:42:33 +02:00
pancakes
74f094217f [backend/api] Refactor UpdateEmoji 2024-06-23 13:42:33 +02:00
pancakes
8d432a5e26 [backend/api] Add PATCH admin/emoji/{id} and UpdateEmojiRequest 2024-06-23 13:42:33 +02:00
pancakes
87e1444993 [backend/api] Add GET admin/emoji/{id} 2024-06-23 13:42:33 +02:00
pancakes
8a80c69b91 [backend/api] Create all required fields and return EmojiResponse 2024-06-23 13:42:33 +02:00
Laura Hausmann
ea0f07d459 [backend/api] Create /admin/emoji endpoint 2024-06-23 13:42:33 +02:00
Laura Hausmann
8606df89c0
[backend/api] Add url & uri properties to NoteBase 2024-06-23 01:13:43 +02:00
Laura Hausmann
74b2f69b0c
[backend/razor] Add retry job functionality to queue dashboard 2024-06-22 02:17:35 +02:00
Laura Hausmann
6adfa87966
[backend/api] Add ContentType property to NoteAttachment (ISH-379) 2024-06-21 14:53:01 +02:00
Laura Hausmann
a475045806
[backend/api] Add IsModerator and IsAdmin flags to AuthResponse 2024-06-21 00:01:15 +02:00
Laura Hausmann
36296cd28c
[backend/masto-client] Fix poll endpoint authentication (ISH-377) 2024-06-20 19:38:16 +02:00
Laura Hausmann
b4b180f877
[backend/api] Add NoteResponse.IsSensitive property 2024-06-20 19:33:59 +02:00
Laura Hausmann
8d4dd6ab52
[backend/masto-client] Fix rendering of quote-renotes causing InvalidOperationException during database access 2024-06-20 13:34:01 +02:00
Laura Hausmann
af5e5752d5
[backend/api] Add admin endpoint to force instance dead/alive status (ISH-366) 2024-06-17 18:25:16 +02:00
Laura Hausmann
663903c992
[backend/api] Change RelationData object into a [Flags] enum (ISH-368)
This maintains the efficiency of JsonIgnoreCondition.WhenWritingDefault while generating a valid OpenAPI schema.
2024-06-17 17:54:28 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370) 2024-06-17 17:25:29 +02:00
Laura Hausmann
bf9564c684
[backend/api] Include note properties on like/unlike/renote/unrenote 2024-06-16 23:21:33 +02:00
Laura Hausmann
364d0c54a0
[backend/masto-client] Paginate note likes & renotes correctly (ISH-362) 2024-06-15 17:30:12 +02:00
Laura Hausmann
8b36f1aecf
[backend/masto-client] Paginate likes & bookmarks based on their identifier (instead of the note identifier) 2024-06-15 16:57:06 +02:00
Laura Hausmann
c7bacc2856
[backend/masto-client] Ignore App.website property when it only contains whitespace 2024-06-14 21:45:29 +02:00
Laura Hausmann
5771e43dda
[backend/federation] Add configuration option for limiting the number of concurrent federation requests (ISH-338) 2024-06-10 18:18:23 +02:00
Laura Hausmann
33a3601a79
[backend/masto-client] Improve user lookup regex 2024-06-08 00:58:06 +02:00
Laura Hausmann
68528b6785
[backend/masto-client] Return empty result set for resolve searches with offset > 0 2024-06-08 00:51:41 +02:00
Laura Hausmann
699e0237b0
[backend/masto-client] Return 404 for /media/v2/{id} endpoints (ISH-356)
This fixes media uploads with alt text in some clients (like Enafore).
2024-06-07 19:07:36 +02:00
Laura Hausmann
c46a5bd93d
[backend/masto-client] Correctly handle offset pagination (ISH-358) 2024-06-07 18:44:48 +02:00
Laura Hausmann
fc2dcb5e97
[backend/masto-client] Revert NoteRenderer url/uri changes 2024-06-07 17:35:45 +02:00
Laura Hausmann
8e20916c9a
[backend/api-shared] Make FTS support filtering by local instance web/account domain 2024-06-06 20:53:33 +02:00
Laura Hausmann
9fe28d14d8
[backend/masto-client] Fix typo 2024-06-05 17:46:11 +02:00
Laura Hausmann
004d89e78a
[backend/masto-client] Improve account/status url/uri field compatibility 2024-06-05 17:44:48 +02:00
Laura Hausmann
24fd34755a
[backend/masto-client] Set StatusEntity.IsMuted to false instead of null 2024-06-05 17:40:47 +02:00
Laura Hausmann
dba4196655
[backend/core] Track poll votersCount for local & remote polls 2024-06-05 15:26:25 +02:00
Laura Hausmann
9e1e23f6b9
[backend/masto-client] Display non-zero voter count for multi-choice polls 2024-06-05 13:59:34 +02:00
Laura Hausmann
c191f20237
[backend/federation] Fix typo 2024-06-04 19:52:58 +02:00
Laura Hausmann
faa90477bc
[backend/federation] Send AP redirects when remote notes are fetched with their local uri 2024-06-04 19:50:14 +02:00
Laura Hausmann
28fa7eb5de
[backend/masto-client] Send empty string content for notes without text 2024-06-04 17:43:10 +02:00
Laura Hausmann
acea67a298
[backend/well-known] Set the version field correctly in nodeinfo responses 2024-06-03 19:19:17 +02:00
Laura Hausmann
fe3f289903
[backend/api] Fix user profile relations 2024-05-28 16:06:18 +02:00
Laura Hausmann
46d5fdc1af
[backend/api] Add user follow, unfollow & lookup api methods (ISH-346) 2024-05-23 23:11:51 +02:00
Laura Hausmann
ffa46eded6
[backend/api] Add relations to user profile response (ISH-347) 2024-05-23 22:56:48 +02:00