Commit graph

428 commits

Author SHA1 Message Date
Laura Hausmann
c35d503c12
[backend/federation] Refactor NoteServer to take a User param instead of an ASActor to save DB roundtrips 2024-02-22 00:17:41 +01:00
Laura Hausmann
19ffbe7814
[backend/federation] Handle ASAnnounce activities 2024-02-22 00:17:41 +01:00
Laura Hausmann
18af329ba6
[backend/masto-client] Handle query parameters for streaming API WebSocket connections 2024-02-21 19:32:58 +01:00
Laura Hausmann
65136beef6
[backend] Remove unused import 2024-02-21 19:24:54 +01:00
Laura Hausmann
a19697c795
[backend/federation] async Task CompactAsync -> void Compact 2024-02-21 19:10:05 +01:00
Laura Hausmann
f22c4a7c32
[backend/core] Improve error handling in code paths that try to resolve a deleted remote user 2024-02-21 19:04:46 +01:00
Laura Hausmann
399595ad1c
[backend/federation] Make LD signatures configurable 2024-02-21 18:56:49 +01:00
Laura Hausmann
69e88537bd
[backend/masto-client] Add account search endpoint 2024-02-21 17:53:21 +01:00
Laura Hausmann
cca1ee70bf
[backend/federation] Use the JSON-LD 1.0 processing mode 2024-02-21 16:56:32 +01:00
Laura Hausmann
e6f881449e
[backend/api] Fix web api pagination 2024-02-21 04:17:39 +01:00
Laura Hausmann
4a5dbeea8f
[backend/masto-api] Fix typo 2024-02-21 04:07:27 +01:00
Laura Hausmann
1c8df9879d
[backend/core] Fix long application exit times by passing IHostApplicationLifetime.ApplicationStopping to long-running awaits 2024-02-21 03:50:38 +01:00
Laura Hausmann
5da6b39f33
[backend/core] Set WebSocket keepalive time to 30 seconds (from 120 seconds) 2024-02-21 03:42:38 +01:00
Laura Hausmann
9b99f9245f
[backend/masto-client] Add basic WebSocket support 2024-02-21 03:36:34 +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
b7f89a0d97
[backend/core] Properly handle errors after response has started 2024-02-21 02:31:51 +01:00
Laura Hausmann
5e91bed599
[backend/masto-client] Add Idempotency-Key to allowed CORS headers 2024-02-20 22:59:58 +01:00
Laura Hausmann
f83273c150
[backend/helpers] Fix random string lengths, make sure random strings don't contain the = character 2024-02-20 22:56:43 +01:00
Laura Hausmann
a8c78aed36
[backend/masto-client] Fix missing auto-accessors on account source 2024-02-20 20:40:44 +01:00
Laura Hausmann
8543f3e780
[backend/masto-client] Add /notifications/{id} endpoint 2024-02-20 20:21:10 +01:00
Laura Hausmann
5272fbc13e
[backend/federation] Fix typo in calculation of nodeinfo active users 2024-02-20 20:17:53 +01:00
Laura Hausmann
0f9a51d8f2
[backend/masto-client] Add public timeline filtering 2024-02-20 20:13:19 +01:00
Laura Hausmann
907f7ed55c
[backend] Code cleanup 2024-02-20 19:59:38 +01:00
Laura Hausmann
df726f6f9f
[backend/masto-client] Add notification filtering 2024-02-20 19:52:28 +01:00
Laura Hausmann
cbd4b576e2
[backend/core] Don't log queue service exception on application exit 2024-02-20 01:42:29 +01:00
Laura Hausmann
d976f82636
[backend/core] Delayed queue handling (ISH-86) 2024-02-19 23:27:12 +01:00
Laura Hausmann
14ef53f577
[backend/core] Update user LastActiveDate in background in AuthenticationMiddleware 2024-02-19 20:16:08 +01:00
Laura Hausmann
0db4693f23
[backend/masto-client] Add /v2/instance endpoint (ISH-83) 2024-02-19 20:00:41 +01:00
Laura Hausmann
d4dd1ca104
[backend/federation] Fail fast when instance is blocked in AuthorizedFetchMiddleware 2024-02-19 03:04:34 +01:00
Laura Hausmann
5a2e5af3ac
[backend/masto-client] Set CORS headers correctly 2024-02-19 01:29:16 +01:00
Laura Hausmann
b5a805e617
[backend/masto-client] Return account source on verify_credentials 2024-02-19 01:19:12 +01:00
Laura Hausmann
7c55f2016b
[backend/federation] Fix typo 2024-02-19 01:08:25 +01:00
Laura Hausmann
72d13c19d8
[backend/federation] Process incoming user deletes 2024-02-19 00:24:15 +01:00
Laura Hausmann
7a7f6cb527
[backend/masto-client] Implement note deletes 2024-02-18 23:53:18 +01:00
Laura Hausmann
6c90d0554e
[backend/federation] ASNote.Subject should be text, not html 2024-02-18 21:02:55 +01:00
Laura Hausmann
7824182371
[backend/federation] Federate CWs properly 2024-02-18 20:51:17 +01:00
Laura Hausmann
3a2cff536e
[backend/federation] Handle Bite activities 2024-02-18 05:48:46 +01:00
Laura Hausmann
98bdf9ca3c
[backend/core] Make HttpClient timeout after 30s (instead of 100s) normally, and after 10s for WebFinger 2024-02-18 05:36:47 +01:00
Laura Hausmann
a96ae9d1ea
[backend/controllers] Fixup media types 2024-02-18 03:09:19 +01:00
Laura Hausmann
8f0af87d00
[backend/api] Add basic note creation endpoint 2024-02-18 02:39:45 +01:00
Laura Hausmann
fabdb6cc25
[backend/api] Add NoteController & TimelineController 2024-02-18 02:09:56 +01:00
Laura Hausmann
5b9170d397
[backend/federation] Handle more types of user queries in ActivityPubController 2024-02-18 02:09:56 +01:00
Laura Hausmann
a7b47b59b8
[backend/api] Fixup basic endpoints 2024-02-18 02:09:56 +01:00
Laura Hausmann
0b98c4226a
[backend/database] Remove unused import 2024-02-18 02:09:55 +01:00
Laura Hausmann
dfa47f2a12
[backend/masto-client] Rename PaginationQuery to MastodonPaginationQuery 2024-02-18 02:09:55 +01:00
Laura Hausmann
f36ea57cb4
[backend/federation] Handle ASActor delete activities 2024-02-18 02:09:50 +01:00
Laura Hausmann
a4746b3534
[backend/middleware] Error handling middleware improvements 2024-02-18 01:12:07 +01:00
Laura Hausmann
bc7db3fab9
[backend/federation] Fix confusing log output in AuthorizedFetchMiddleware 2024-02-18 01:07:03 +01:00
Laura Hausmann
b46e587132
[backend/federation] Improve log handling in AuthorizedFetchMiddleware 2024-02-18 01:05:06 +01:00
Laura Hausmann
157fd20315
[backend/federation] Improve logging in ActivityHandlerService 2024-02-18 00:54:02 +01:00