Laura Hausmann
0776a50cbe
[backend/asp] Refactor controllers
...
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
pancakes
998c585897
[backend/api] Clean up EmojiController, EmojiImportService, and EmojiService
2024-07-06 00:15:15 +10:00
pancakes
41fd8145a3
[backend/api] Set cloned emoji URI and return EmojiResponse instead of DB Emoji
2024-07-05 16:38:41 +10:00
Laura Hausmann
9b772066a7
[backend/api] Load in missing relations in FollowRequestController
2024-07-05 04:22:57 +02:00
Laura Hausmann
ba1a695d53
[backend/api] Refactor FollowRequestResponse
2024-07-05 04:16:19 +02:00
Laura Hausmann
226a95d0ed
[backend/api] Add follow request endpoints (ISH-395)
2024-07-05 04:09:25 +02:00
Laura Hausmann
374d9d5ebf
[backend/api] Add note refetch endpoint (ISH-352)
2024-07-04 18:57:17 +02:00
Laura Hausmann
0a89a228e3
[backend] Refactor Controllers folder
2024-07-04 18:17:50 +02:00
Laura Hausmann
2c2842de50
[shared] Code cleanup
2024-07-04 18:02:00 +02:00
Laura Hausmann
e0461ee3fd
[shared] Refactor namespaces
2024-07-04 17:53:11 +02:00
Laura Hausmann
9c7c5595f3
[backend/masto-client] Fix quote/renote indicators sometimes being rendered incorrectly
2024-07-04 00:38:46 +02:00
Laura Hausmann
566ae8adfd
[backend/masto-client] Render quotes & quote/reply inaccessible indicators for notes with no text
2024-07-04 00:18:18 +02:00
Laura Hausmann
d7f39ecdae
[backend/api] Allow resolving local users by their fqn (ISH-403)
2024-07-03 22:14:53 +02:00
Laura Hausmann
e30dbc5753
[backend/api] Fix emoji delete endpoint having emoji twice in the route
2024-07-03 18:35:00 +02:00
Kopper
27f6e3790f
[backend/api] Add emoji pack importer
2024-07-03 00:57:47 +02:00
Kopper
ab3f3783e8
[backend/api] Create endpoint to clone remote emoji
2024-07-02 23:00:01 +02:00
Laura Hausmann
d2e7753dd1
[backend/masto-client] Add FollowRequestCount to AccountSource
2024-07-02 22:43:36 +02:00
Lilian
ab2d02cfd3
[backend/api] Add Note delete endpoint (ISH-394)
...
Co-authored-by: Lilian <lilian@blahaj.space>
Co-committed-by: Lilian <lilian@blahaj.space>
2024-07-01 22:35:46 +02:00
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