Laura Hausmann
8267bc06de
[backend] Code cleanup
2024-08-14 03:53:15 +02:00
Laura Hausmann
4f98fa8461
[backend/federation] Fix possibly unbounded UserResolver recursion
2024-08-14 03:44:14 +02:00
Laura Hausmann
81974db0f7
[backend/api] Expose new user_settings flags in SettingsController
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
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
Laura Hausmann
0a89a228e3
[backend] Refactor Controllers folder
2024-07-04 18:17:50 +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
fa3dd06b6c
[backend/masto-client] Paginate mutes, blocks & follow requests by their id instead of the user id (ISH-285)
2024-05-03 01:56:22 +02:00
Laura Hausmann
d193ac26d7
[backend/masto-client] Disallow unauthenticated access to public note/user API endpoints when public preview is restricted (ISH-288)
2024-05-02 23:08:47 +02:00
Laura Hausmann
a585f73b65
[backend/masto-client] Allow setting default note visibility (ISH-297)
2024-05-02 22:27:20 +02:00
Laura Hausmann
4647aac503
[backend/masto-client] Run PrecomputeVisibilities for bookmarks & likes
...
This should fix erroneous "reply/renote inaccessible" indications as well.
2024-05-01 16:43:03 +02:00
Laura Hausmann
8a62f89fd9
[backend] Remove unused import
2024-04-29 01:53:57 +02:00
Laura Hausmann
fb6e0cf9f3
[backend/masto-client] Parse emoji in display name & fields on local user update (ISH-296)
2024-04-29 00:36:35 +02:00
Laura Hausmann
40af9913b6
[backend/core] Handle emoji node for locally originating note create/update & user update events (ISH-271)
2024-04-25 17:35:38 +02:00
Laura Hausmann
10a1a13918
[backend/masto-client] Add blocks & mutes endpoints (ISH-272)
2024-04-25 01:18:08 +02:00
Laura Hausmann
5fca0620cf
[backend/core] Improve note table query performance by aggregating block/mute checks (ISH-206)
...
This also implements checking for blocks & mutes users in the mentions field, implementing ISH-225.
2024-04-23 23:04:56 +02:00
Laura Hausmann
672bf57f19
[backend/masto-client] Stub featured_tags endpoint (ISH-263)
2024-04-16 18:30:04 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97)
2024-03-31 23:56:55 +02:00
Laura Hausmann
ab1c974ff1
[backend/masto-client] Don't show public user notes when blocked
2024-03-26 21:24:29 +01:00
Laura Hausmann
530cdf0832
[backend/masto-client] Fix mute endpoint
2024-03-26 19:11:50 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup
2024-03-17 13:36:08 +01:00
Laura Hausmann
085671b00c
[backend/core] Add block support (ISH-169)
2024-03-14 15:55:11 +01:00
Laura Hausmann
f41be007d7
[backend/core] Add mute support (ISH-169)
2024-03-14 15:33:54 +01:00
Laura Hausmann
c9152badbf
[backend/masto-client] Allow pinning notes to profile (ISH-111)
2024-03-04 03:49:36 +01:00
Laura Hausmann
9e0b74f425
[backend/masto-client] Add endpoints for removing user avatar/banner (ISH-105)
2024-02-29 17:25:34 +01:00
Laura Hausmann
e441bb3e70
[backend/core] Resolve user profile mentions on local user update (ISH-101)
2024-02-28 19:54:56 +01:00
Laura Hausmann
3e1a34c0b3
[backend/core] Fix method signature clash in UserService
2024-02-28 19:47:56 +01:00
Laura Hausmann
5cdfebb597
[backend/core] Implement user updates (ISH-101)
2024-02-28 19:45:37 +01:00
Laura Hausmann
cda90302e1
[backend/masto-client] Add note favourites & bookmarks endpoints (ISH-99, ISH-100)
2024-02-27 03:08:54 +01:00
Laura Hausmann
435632857b
[backend/federation] Trigger user updates on web & mastodon api calls (ISH-35)
2024-02-26 20:13:49 +01:00
Laura Hausmann
90eb93cfb2
[backend/core] Handle emoji in user profiles as well (ISH-89)
2024-02-25 00:43:11 +01:00
Laura Hausmann
ba0e041bad
[backend/core] Add 401/403 response examples programmatically
2024-02-24 22:09:47 +01:00
Laura Hausmann
0f588e176f
[backend/core] Refactor to better allow for code sharing later
2024-02-24 21:03:03 +01:00
Laura Hausmann
3554503058
[backend/masto-client] Add user list support
2024-02-23 00:40:51 +01:00
Laura Hausmann
0148710e00
[backend/masto-client] Add /accounts/lookup endpoint
2024-02-22 18:38:39 +01:00
Laura Hausmann
c6a2a99c1b
[backend/controllers] Inherit from ControllerBase instead of Controller as we do not need MVC View support
2024-02-21 02:37:20 +01:00
Laura Hausmann
b5a805e617
[backend/masto-client] Return account source on verify_credentials
2024-02-19 01:19:12 +01:00
Laura Hausmann
a96ae9d1ea
[backend/controllers] Fixup media types
2024-02-18 03:09:19 +01:00
Laura Hausmann
dfa47f2a12
[backend/masto-client] Rename PaginationQuery to MastodonPaginationQuery
2024-02-18 02:09:55 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style
2024-02-17 02:31:00 +01:00
Laura Hausmann
7fcf9a5179
[backend/masto-client] Refactor mastodon entity names to prevent class name conflicts
2024-02-17 00:20:52 +01:00
Laura Hausmann
a498e702c7
[backend/masto-client] Allow displaying, accepting & rejecting of follow requests (ISH-79)
2024-02-16 23:04:53 +01:00
Laura Hausmann
c7f8fdfa8f
[backend/federation] Add support for liking & unliking local & remote notes (ISH-72)
2024-02-15 00:48:37 +01:00
Laura Hausmann
e6079da2ab
[backend/masto-client] Add user follower/following endpoints (ISH-44)
2024-02-12 03:44:54 +01:00
Laura Hausmann
c1650da632
[backend/masto-client] Don't forbid requesting relationship status with yourself
...
Some Mastodon clients rely on this (for some reason)
2024-02-12 03:18:01 +01:00
Laura Hausmann
924153c809
[backend] Set CORS headers for all Mastodon controllers & DriveController (ISH-40, ISH-41)
2024-02-11 19:35:42 +01:00
Laura Hausmann
78b69c180c
[backend/database] Update follower/following counts on follow/unfollow/accept (ISH-17)
2024-02-09 14:11:55 +01:00
Laura Hausmann
dde377f41d
[backend] Code cleanup: remove unnecessary using directives
2024-02-09 12:09:03 +01:00
Laura Hausmann
48b78de6a3
[backend/mastodon] Add filter support to GetUserStatusees (ISH-13)
2024-02-08 01:06:23 +01:00
Laura Hausmann
eaabe4896e
[backend/masto-client] Remove Mastodon prefix from MastodonApiControllers
...
This is no longer necessary due to namespacing changes
2024-02-07 20:49:52 +01:00