Laura Hausmann
88dee6b410
[backend/api] Replace IEntity with IIdentifiable, move EntityWrapper<T> to shared project
2025-02-18 21:47:33 +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
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
f6957ba4de
[backend/masto-client] Implement /api/v1/accounts (Get multiple accounts)
2025-01-20 18:21:20 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default
2025-01-09 12:36:34 +01:00
Laura Hausmann
24b412bd75
[sln] Reformat code
2024-11-20 00:48:29 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style
2024-11-20 00:48:29 +01:00
pancakes
43307d655f
[backend] Don't include UserProfile
2024-11-03 12:41:43 +10:00
pancakes
e10fafa805
[backend/masto-client] Add accounts/{id}/remove_from_followers
2024-11-03 12:19:33 +10:00
Laura Hausmann
f19a414b27
[backend/federation] Refactor UserResolver (ISH-548)
2024-10-24 01:48:09 +02:00
Laura Hausmann
365c3f6f1d
[backend/api] Make avatar/banner updates user the files' AccessUrls instead of the Urls
2024-10-13 04:52:37 +02:00
Laura Hausmann
304d9f2750
[backend/masto-client] Enforce RestrictedNoMedia public preview mode
2024-09-24 01:02:05 +02:00
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