Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable
2024-11-18 19:02:44 +01:00
pancakes
c11beba8a7
[backend] Add IsLocked to UserProfileResponse
2024-11-19 00:47:36 +10:00
pancakes
68684dbfcb
[backend] Add bot and cat fields to users
2024-11-17 13:44:29 +01:00
pancakes
14201c8489
[backend] Add UserProfile.Role
2024-11-17 13:44:29 +01:00
Laura Hausmann
8b3e25e7db
[backend/api] Report errors during acct user lookups to the client
...
This causes user lookups for blocked users to return a more specific error message than "No result found".
2024-11-15 18:59:28 +01:00
pancakes
28b3b56646
[backend/api] Add instance staff endpoint
2024-11-13 06:55:07 +01:00
Laura Hausmann
02765568db
[backend/api] Fix DbContext race condition in UserRenderer, refactor to make data flow clearer
2024-11-08 03:07:38 +01:00
pancakes
28548a5770
[backend] Add Emojis to UserResponse
2024-11-08 03:07:37 +01:00
pancakes
43307d655f
[backend] Don't include UserProfile
2024-11-03 12:41:43 +10:00
pancakes
02e32c70c7
[backend/api] Check if user is following instead of if user exists
2024-11-03 03:00:58 +01:00
pancakes
ea5408c182
[backend/api] Add remove from followers endpoint
2024-11-03 03:00:58 +01:00
Laura Hausmann
f2853d2d40
[backend] Fix typo
2024-11-02 22:56:52 +01:00
Laura Hausmann
b4709e1e2a
[backend/api] Switch to common user update function in ProfileController.UpdateProfile (ISH-567)
2024-10-31 20:59:02 +01:00
pancakes
71a12261a4
[backend/api] Limit follow list imports to twice every 30 mins
2024-10-31 20:48:52 +01:00
pancakes
95ae04e4af
[backend] Download exported follow list directly instead of storing it as a file
2024-10-31 20:48:51 +01:00
pancakes
137dc0d0e6
[backend/core] Move import/export to ImportExportService and resolve imported users
2024-10-31 20:48:07 +01:00
pancakes
bfc36cbc48
[backend/api] Add follow list export endpoint
2024-10-31 20:48:07 +01:00
pancakes
62aa5f3075
[backend/api] Add follow list import endpoint
2024-10-31 20:48:07 +01:00
Laura Hausmann
e391aebce5
[backend] Consistently enforce https URIs
2024-10-29 18:43:58 +01:00
Laura Hausmann
1bc3fc9b39
[backend/api] Fix incorrect rate limits being applied to note thread mute endpoints
2024-10-27 22:54:22 +01:00
Laura Hausmann
df587e417d
[backend/drive] Fix DriveController serving files with possibly invalid extensions (ISH-556)
2024-10-27 22:51:29 +01:00
Laura Hausmann
5377cb543a
[sln] Code cleanup
2024-10-27 21:21:55 +01:00
Laura Hausmann
90a6b06410
[backend/api] Fix race condition causing simultaneous DbContext access in NotificationRenderer
2024-10-27 18:12:17 +01:00
kopper
27ac36d747
[backend] Add config option to sign reply backfills with requesting user
...
Signed-off-by: Laura Hausmann <laura@hausmann.dev>
2024-10-24 21:18:58 +02:00
kopper
7173373330
[backend/federation] Improved reply backfill
...
Instead of backfilling every note we come across that has a reply
collection, only schedule a backfill job if someone wants to see the
replies (on GET MastoAPI /context, or Iceshrimp API /descendants)
Reply backfilling is also done on a ThreadIdOrId basis as opposed to the
previous way of backfilling individual notes. This allows us finer
grained control over the recursion and frees up the job queue, alongside
allowing for easier implementation of context collection backfill in the
future (by mapping each context collection to a thread)
---
Currently, note threads are implicit based on the "threadId" column of a
note, which can be null (where it's the same as the note's "id")
This commit turns note threads into an actual entity, and as a part of
that, makes "threadId" non-nullable (by specifically setting it to "id"
for those cases)
This is done to attach extra metadata to the entire thread, currently
just the time of when it was last backfilled, but more may be added in
the future (the context collection associated with this thread, for example)
---
The data format for backfill jobs have backwards-incompatibly changed
since the introduction of the feature. We can drop all old jobs without
causing too much trouble as they will be re-scheduled on demand
---
Signed-off-by: Laura Hausmann <laura@hausmann.dev>
2024-10-24 21:18:57 +02:00
Lilian
6e30b667b2
[sln] Code cleanup
2024-10-24 18:49:17 +02:00
Laura Hausmann
c134e9f87c
[backend/api] Return stripped reply data in note ascendants endpoint
2024-10-24 18:20:48 +02:00
Laura Hausmann
a37d4c141d
[backend/api] Return stripped reply data in note descendants endpoint
2024-10-24 18:20:48 +02:00
Lilian
4caace8214
[backend/api] Use RestPagination for Renotes and Quotes endpoints
2024-10-24 18:20:48 +02:00
Laura Hausmann
4b5d76961f
[backend/api] Add PaginationWrapper<TData> & associated helper methods
2024-10-24 18:20:48 +02:00
Laura Hausmann
55530f482d
[backend/api] Add pagination data to note likes and note renotes responses
2024-10-24 18:20:48 +02:00
Lilian
5dc54826e4
[backend/api] Add quotes enpoint
2024-10-24 18:20:48 +02:00
Lilian
a30693e596
[backend/api] Add renotes endpoint
2024-10-24 18:20:48 +02:00
Lilian
3a4738d1fd
[backend/web] Add "likes" endpoint
2024-10-24 18:20:48 +02:00
Laura Hausmann
f19a414b27
[backend/federation] Refactor UserResolver (ISH-548)
2024-10-24 01:48:09 +02:00
pancakes
95666a865f
[shared] Add bite back notification
2024-10-23 05:04:55 +02:00
pancakes
e68ec89cdb
Fix formatting
2024-10-23 05:04:55 +02:00
pancakes
c0ac326622
[backend] Reformat and SuppressMessage in BiteBack
2024-10-23 05:04:55 +02:00
pancakes
82ed8b583b
[backend/api] Prevent users from biting notes they can't see
2024-10-23 05:04:55 +02:00
pancakes
30ff0d77b2
[backend/api] Add bite back endpoint
2024-10-23 05:04:55 +02:00
pancakes
3218de9f56
[backend] Implement RenderBite, BiteService and endpoints for note and user
2024-10-23 05:04:55 +02:00
Laura Hausmann
53cdcebe87
[backend/api] Add endpoints to get all blocked/allowed instances (ISH-531)
2024-10-14 03:00:39 +02:00
Laura Hausmann
83f9e44c1b
[backend/drive] Serve files served by the integrated drive controller as inline attachments
2024-10-13 23:50:38 +02:00
Laura Hausmann
0496df2c9e
[backend/api] Prevent moderation actions on the authenticated user
2024-10-11 19:38:30 +02:00
Laura Hausmann
5005d81ee7
[backend/api] Prevent moderation actions on system users
2024-10-11 19:37:05 +02:00
Laura Hausmann
3a346d5a22
[backend/razor] Add admin dashboard (Admin-FE)
...
Currently available sections: instance metadata, user management, federation control, relays, plugins & queue dashboard.
Planned: sections: configuration, logs, policies & reports.
2024-10-11 05:41:52 +02:00
Laura Hausmann
846888b2c7
[backend/core] Prevent system users from authenticating or creating notes
2024-10-09 21:39:36 +02:00
Laura Hausmann
5f5a0c5c0f
[backend/api] Add moderation endpoints (ISH-116)
2024-10-09 19:11:54 +02:00
Laura Hausmann
23d2664376
[backend/core] Fix policy configuration endpoint not updating the configuration correctly depending on JSON format
2024-10-09 06:20:09 +02:00
Laura Hausmann
dc77c48005
[backend/core] Allow configuring arbitrary reject/rewrite policies, add default configuration values to all policies (ISH-16)
2024-10-09 05:46:18 +02:00