Commit graph

541 commits

Author SHA1 Message Date
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
Laura Hausmann
969622bfc7
[backend/api] Return note descendants in tree form (ISH-242)
This also partially addresses thread ordering in the Mastodon client API.
2024-04-07 20:43:28 +02:00
Laura Hausmann
e4c4ec186c
[backend/api] Respect note filters (ISH-243) 2024-04-05 17:25:45 +02:00
Laura Hausmann
01e640e8e5
[backend/masto-client] Only check filters for the root note 2024-04-05 17:11:03 +02:00
Laura Hausmann
22cf408d6c
[backend/api] Fix session createdAt being populated as -infinity 2024-04-03 21:48:35 +02:00
Laura Hausmann
b1f5e3788f
[frontend] Add API abstractions 2024-04-03 18:15:59 +02:00
Laura Hausmann
6bc2b8d57c
[frontend] Bootstrap shared DTOs, API abstractions, SignalR & more 2024-04-01 20:22:45 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97) 2024-03-31 23:56:55 +02:00
Laura Hausmann
e388e0989d
[backend/drive] Set X-Content-Type-Options to nosniff 2024-03-30 13:12:14 +01:00
Laura Hausmann
fa75409923
[backend/api] Note context endpoints (ISH-236) 2024-03-27 16:06:42 +01: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
893a0d2feb
[backend/masto-client] Fix typo in InstanceStats JSON mapping 2024-03-26 20:21:33 +01:00