Commit graph

550 commits

Author SHA1 Message Date
Laura Hausmann
da63c26887
[backend/federation] Fetch threads with user keypair as well 2024-02-24 23:45:24 +01:00
Laura Hausmann
2c33f7aafc
[backend/core] Add lastActiveDate column to oauth_token and session tables 2024-02-24 22:43:14 +01:00
Laura Hausmann
ba0e041bad
[backend/core] Add 401/403 response examples programmatically 2024-02-24 22:09:47 +01:00
Laura Hausmann
da83fd9ec7
[backend/database] Add supportsHtmlFormatting & supportsHtmlFormatting columns to the oauth_token table 2024-02-24 21:26:06 +01:00
Laura Hausmann
e9267c4c3e
[backend/core] Remove TODO item
This isn't possible, as we don't know the remote actor before fetching the note
2024-02-24 21:11:06 +01:00
Laura Hausmann
c083305123
[backend] Code cleanup 2024-02-24 21:03:29 +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
0928c19b06
[backend/core] Add keyed async locks in UserResolver to prevent insertion conflicts 2024-02-24 19:25:22 +01:00
Laura Hausmann
99a1ff43f6
[backend/core] Add support for fast fallback (happy eyeballs) to ensure connectivity to remote servers with improperly configured IPv6 2024-02-24 18:41:35 +01:00
Laura Hausmann
7d1c85f5e8
[backend/core] Fix instance bootstrap - DistributedCacheExtensions wasn't handling recursive properties correctly 2024-02-24 01:25:24 +01:00
Laura Hausmann
7c1de50768
[backend/core] Whitespace-only content warning should be reset to null 2024-02-23 04:22:16 +01:00
Laura Hausmann
930f4d2aaa
[backend/core] Improve LDValueObject handling for DateTime properties 2024-02-23 04:15:54 +01:00
Laura Hausmann
78705b8a5d
[backend/masto-client] Resolve notes with user keypair 2024-02-23 03:40:21 +01:00
Laura Hausmann
653fa4af38
[backend/core] Fix HybridModelBinderProvider not calling CustomCollectionModelBinder & the latter not working in some cases 2024-02-23 03:16:37 +01:00
Laura Hausmann
3554503058
[backend/masto-client] Add user list support 2024-02-23 00:40:51 +01:00
Laura Hausmann
703e58b3fe
[backend/api] Return identicon for users without avatars 2024-02-22 22:43:58 +01:00
Laura Hausmann
e4505d9d00
[backend/federation] Forbid renoting a pure renote 2024-02-22 20:53:05 +01:00
Laura Hausmann
f58538fdae
[backend/core] Renote/reply visibility should fall back invisible 2024-02-22 20:50:23 +01:00
Laura Hausmann
b4fea308f7
[backend/masto-api] Enforce renote/reply visibility for notifications 2024-02-22 20:47:44 +01:00
Laura Hausmann
4d7d8ee34e
[backend/federation] Remove nonstandard PublicKey type 2024-02-22 19:32:57 +01:00
Laura Hausmann
53044c6521
[backend/api] Add admin endpoints that dump user/note activities 2024-02-22 19:32:57 +01:00
Laura Hausmann
f895a9e541
[backend/federation] Correctly serialize value types 2024-02-22 19:06:53 +01:00
Laura Hausmann
0148710e00
[backend/masto-client] Add /accounts/lookup endpoint 2024-02-22 18:38:39 +01:00
Laura Hausmann
21527547a2
[backend/federation] Revert to JSON-LD 1.1 processing as 1.0 mode breaks federation with Misskey 2024-02-22 03:07:57 +01:00
Laura Hausmann
5d7035e63c
[backend/masto-client] Implement /reblog and /unreblog endpoints 2024-02-22 02:59:41 +01:00
Laura Hausmann
7a7b3f81b3
[backend/masto-api] Detect quotes on note create 2024-02-22 01:58:54 +01:00
Laura Hausmann
9cd99eb244
[backend/startup] Add --recompute-counters argument 2024-02-22 01:44:32 +01:00
Laura Hausmann
27b3be774e
[backend/federation] Handle quotes 2024-02-22 01:09:08 +01:00
Laura Hausmann
a02af802f1
[backend/federation] Handle ASUndo(ASAnnounce) activities 2024-02-22 00:17:52 +01:00
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
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
cca1ee70bf
[backend/federation] Use the JSON-LD 1.0 processing mode 2024-02-21 16:56:32 +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
9b99f9245f
[backend/masto-client] Add basic WebSocket support 2024-02-21 03:36:34 +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
8543f3e780
[backend/masto-client] Add /notifications/{id} endpoint 2024-02-20 20:21:10 +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
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
72d13c19d8
[backend/federation] Process incoming user deletes 2024-02-19 00:24:15 +01:00