Commit graph

468 commits

Author SHA1 Message Date
Laura Hausmann
b504bf2548
[backend/masto-client] Support client_credentials grant type (ISH-416) 2024-07-12 18:18:09 +02:00
Laura Hausmann
9c8debb5ed
[backend/masto-client] Improve error message when requesting an oauth token with a grant_type other than authorization_code 2024-07-12 17:48:54 +02:00
Laura Hausmann
91acb8ed9e
[backend/federation] Add edition to nodeinfo response 2024-07-10 18:11:17 +02:00
Laura Hausmann
81974db0f7
[backend/api] Expose new user_settings flags in SettingsController 2024-07-10 02:55:57 +02:00
Laura Hausmann
33dd7172b6
[backend/api] Add user profile endpoints (ISH-348) 2024-07-10 02:55:57 +02:00
Laura Hausmann
09cda1a89e
[backend/database] Move user_profile columns that only concern local users to user_settings
This commit also removes a bunch of obsolete user_profile columns.
2024-07-10 02:55:57 +02:00
Laura Hausmann
0668c6b360
[backend/drive] Improve media filename handling
This commit adds support for remote Content-Disposition headers giving information on attachment filenames, as well as providing this information when serving locally stored files. It also passes on any filename metadata to the object storage provider, if configured as the storage backend.
2024-07-09 23:44:34 +02:00
Laura Hausmann
60a28c314c
[backend/asp] Fix link header pagination 2024-07-09 22:30:57 +02:00
Laura Hausmann
91b5021e4c
[shared] Refactor assembly version info
Because our frontend assembly now also knows its version, we no longer have to rely on meta tags to pass the version on to the frontend.

Since the HTML skeleton no longer includes version information, the nodeinfo response has been amended with the now-absent properties.
2024-07-09 21:50:06 +02:00
Laura Hausmann
091e7ba14d
[backend] Refactor Task.ContinueWith(p => p.Result) calls to Task.ContinueWithResult 2024-07-09 16:21:22 +02:00
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