Commit graph

352 commits

Author SHA1 Message Date
Laura Hausmann
0d23fdf9e1
[backend/api] Add reset password endpoint (ISH-282) 2024-05-02 00:32:40 +02:00
Laura Hausmann
0e6864fe38
[backend/api-shared] Order note ancestors by tree path
Background: the database function might not return these in the correct order, as the ids will almost, but not always be in the right order.
2024-05-01 23:39:49 +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
baf3138286
[backend/masto-client] Improve inaccessible reply/quote detection 2024-05-01 16:29:27 +02:00
Laura Hausmann
58ad080a99
[backend/federation] Fix accept header parsing in WellKnownController when multiple content-types are acceptable 2024-05-01 15:24:50 +02:00
Laura Hausmann
9f356b8139
[backend/api] Rename fetch-raw controller method 2024-04-30 16:41:45 +02:00
Laura Hausmann
d31860dbb3
[backend/core] Track renote/reply uri for notes where the target is inaccessible at time of ingestion (ISH-287) 2024-04-30 00:15:58 +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
a75fcfa43b
[backend/masto-client] Fix NullReferenceException on status edit history (ISH-293) 2024-04-29 00:21:41 +02:00
Laura Hausmann
61adc27b18
[backend/masto-client] Use new defaultRenoteVisibility user setting instead of defaulting to followers if not explicitly specified (ISH-290) 2024-04-28 23:09:20 +02:00
Laura Hausmann
78e47c3236
[backend/streaming] Don't send notes older than a 5 minutes to home timeline streams
This fixes the issue where when older notes get ingested through ways other than direct federation, they don't erroneously appear at the top of the home timeline.
2024-04-28 19:46:04 +02:00
Laura Hausmann
8b6812eaf9
[backend] Fix code style 2024-04-28 03:34:14 +02:00
Laura Hausmann
5c9a42a3f6
[backend/masto-client] Return reactions for unauthenticated users 2024-04-28 03:33:33 +02:00
Laura Hausmann
ec6a3f5e73
[backend/masto-client] Return profile fields in /accounts/verify_credentials 2024-04-28 02:03:13 +02:00
Laura Hausmann
0cef680c9c
[backend/masto-client] Fix boosting posts using masto-fe
I have no idea why the Mastodon API schema is like this but oh well.
2024-04-28 01:10:54 +02:00
Laura Hausmann
128b0182fd
[backend/masto-client] Fix reblog with visibility 2024-04-28 00:57:01 +02:00
Laura Hausmann
4774eb31ed
[backend/masto-client] Render quote-renotes correctly (ISH-281)
This time without the typo.
2024-04-28 00:28:17 +02:00
Laura Hausmann
ca56b93524
[backend/masto-client] Render quote-renotes correctly (ISH-281) 2024-04-28 00:03:52 +02:00
Laura Hausmann
a70b493188
[backend/asp] Add Vary: Accept to routes with MediaTypeRouteFilterAttribute 2024-04-27 20:29:53 +02:00
Laura Hausmann
b9fa870054
[backend/streaming] Fix renote visibility checks 2024-04-26 18:58:50 +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
5f86ffeffe
[backend/masto-client] Add edit history endpoint (ISH-274) 2024-04-25 02:08:30 +02:00
Laura Hausmann
10a1a13918
[backend/masto-client] Add blocks & mutes endpoints (ISH-272) 2024-04-25 01:18:08 +02:00
Laura Hausmann
fa8bf430dc
[backend/federation] Improve ActivityPubController 2024-04-24 04:32:20 +02:00
Laura Hausmann
51dee5fd9f
[backend/api] Add renote activity admin endpoint 2024-04-24 04:26:39 +02:00
Laura Hausmann
bd8d5b20f8
[backend/federation] Use separate renoteUri schema
This allows renoteUris to be fetchable at their canonical uri.
2024-04-24 04:05:58 +02:00
Laura Hausmann
98fc1f50a9
[backend/masto-client] Improve performance of conversations endpoints 2024-04-24 02:01:24 +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
e4814804c0
[backend/api] Make auth endpoints RESTful 2024-04-22 20:01:48 +02:00
Laura Hausmann
86c0ab02b5
[backend/api] Switch to a shared JsonSerializerOptions object instead of explicitly specifying json property names via attributes 2024-04-22 19:55:00 +02:00
Laura Hausmann
675ec23a3c
[backend/api] Add [Consumes] Attribute to the UpdateFile endpoint 2024-04-22 19:32:58 +02:00
Laura Hausmann
c0aaa23e92
[backend/api] Add drive file upload/get-by-id/update endpoints & models 2024-04-22 18:53:56 +02:00
Laura Hausmann
246a70caf9
[backend/api] Add visibility to NoteCreateRequest, use enum conversions instead of strings to represent note visibility 2024-04-22 17:56:32 +02:00
Laura Hausmann
2a68a34ba8
[backend/api] Add liked property to NoteBase 2024-04-20 19:18:18 +02:00
Laura Hausmann
0784425f6d
[backend/api] Add replies count to NoteBase schema 2024-04-20 01:16:40 +02:00
Laura Hausmann
3bb3ac785e
[backend/api] Add like and renote count to NoteBase schema 2024-04-20 01:15:54 +02:00
Laura Hausmann
7ae4dc4c4f
[backend/federation] Make emoji entities fetchable via ActivityPub 2024-04-18 21:17:57 +02:00
Laura Hausmann
672bf57f19
[backend/masto-client] Stub featured_tags endpoint (ISH-263) 2024-04-16 18:30:04 +02:00
Laura Hausmann
3fad9632c7
[backend/federation] Rendered featured collections should only contain lite note objects (ISH-262) 2024-04-16 18:06:46 +02:00
Laura Hausmann
0fc834693a
[backend/streaming] Fix pure renote without renote data filters (ISH-260) 2024-04-16 17:07:57 +02:00
Laura Hausmann
f611e01bda
[backend/masto-client] Fix user channel (ISH-260) 2024-04-16 17:01:48 +02:00
Laura Hausmann
a56d7f521c
[backend/masto-client] Fix renotes appearing more than once in note responses (ISH-261) 2024-04-16 02:09:02 +02:00
Laura Hausmann
a6dce56e0c
[backend/masto-client] Add quote_id to StatusEntity 2024-04-10 18:22:18 +02:00
Laura Hausmann
fae324c3f3
[backend] Add [MustDisposeResource] attribute to WebSocketConnection & StreamingConnectionAggregate 2024-04-09 18:23:11 +02:00
Laura Hausmann
08cd1f2c66
[backend/api] Switch to GracefulException in AuthController 2024-04-09 16:30:04 +02:00
Laura Hausmann
998a4412cb
[backend/api-shared] Clone NoteResponse / StatusEntity in streaming handlers' EnforceRenoteReplyVisibility functions (ISH-250) 2024-04-08 21:36:12 +02:00
Laura Hausmann
bc50aa0259
[backend/masto-client] Enforce renote/reply visibility in ws/streaming (ISH-248) 2024-04-08 21:10:05 +02:00
Laura Hausmann
4ff1b5f4c4
[backend] Implement streaming hub for timelines & notifications (ISH-244) 2024-04-08 20:45:30 +02:00
Laura Hausmann
22a4de63f3
[backend/masto-client] Add & populate MastoReplyUserId column (ISH-247) 2024-04-07 21:07:04 +02:00