Commit graph

561 commits

Author SHA1 Message Date
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
8f03cb0768
[backend/masto-client] Allow partial updates of list properties 2024-02-23 03:29:14 +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
88daec119a
[backend/masto-client] Implement limit=0 for getting user list members 2024-02-23 00:51:17 +01:00
Laura Hausmann
95b8a61554
[backend/masto-client] Fix json-body list endpoint processing 2024-02-23 00:48:30 +01:00
Laura Hausmann
450f754cf9
[backend] Remove unused import 2024-02-23 00:43:54 +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
f45d4978cc
[backend/masto-client] Support renote visibility parameter 2024-02-22 17:59:10 +01:00
Laura Hausmann
3671dfd2b5
[backend/masto-client] Set reblogged property in NoteRenderer 2024-02-22 17:50:58 +01:00
Laura Hausmann
780ffa076d
[backend/masto-client] Reblog endpoint should be idempotent 2024-02-22 17:45:40 +01:00
Laura Hausmann
e14686ea8c
[backend/masto-client] Fix invalid quotes on note create 2024-02-22 03:10:07 +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
Lilian
a8b02aa6f8
[backend/api] Make TimelineController response type IEnumerable 2024-02-22 02:59:19 +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
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