Commit graph

488 commits

Author SHA1 Message Date
Laura Hausmann
c30dac0210
[backend/federation] Reject activities with mismatching activity & actor id hosts 2024-02-26 22:34:55 +01:00
Laura Hausmann
489941adcc
[backend/federation] Skip dead instances in deliver queue 2024-02-26 22:32:28 +01:00
Laura Hausmann
01b7135208
[backend/core] Fix inspection 2024-02-26 22:21:20 +01:00
Laura Hausmann
46b60c8779
[backend/federation] Update instance metadata in background when activities are delivered / received (ISH-8) 2024-02-26 22:18:27 +01:00
Laura Hausmann
7c801bfa89
[backend/core] Fix UpdateProfileMentions early return codepath 2024-02-26 21:31:33 +01:00
Laura Hausmann
341a4a8ee5
[backend/libmfm] Further improve mfm mentions parser 2024-02-26 20:24:56 +01:00
Laura Hausmann
5edcea3ab5
[backend/federation] Only set LastFetchedAt in CreateUserAsync if we're not on a background thread
This makes sure that the next call to GetUpdatedUser resolves mentions for this user
2024-02-26 20:20:00 +01:00
Laura Hausmann
b8d92b56bb
[backend/federation] Force mentions resolution on UpdateUserAsync 2024-02-26 20:19:18 +01:00
Laura Hausmann
9a01fbecdd
[backend/federation] Rework UserProfileMentionsResolver to no longer recursively resolve user profile mentions 2024-02-26 20:14:07 +01:00
Laura Hausmann
435632857b
[backend/federation] Trigger user updates on web & mastodon api calls (ISH-35) 2024-02-26 20:13:49 +01:00
Laura Hausmann
0f670c1953
[backend/federation] Improve UserResolver 2024-02-26 19:28:08 +01:00
Laura Hausmann
9307023f96
[backend/libmfm] Improve mentions parsing 2024-02-26 19:23:13 +01:00
Laura Hausmann
c450903051
[backend/federation] Handle mentions in non-misskey user bios & user fields correctly (ISH-92) 2024-02-26 19:02:57 +01:00
Laura Hausmann
f7ce62c1d5
[backend] Code cleanup 2024-02-26 18:07:54 +01:00
Laura Hausmann
3a2e1bd3b2
[backend/federation] Fix user profile mention resolution recursion limiter (ISH-33) 2024-02-25 02:49:05 +01:00
Laura Hausmann
c4a0cf528d
[backend/federation] Convert user profile field values from html 2024-02-25 02:07:31 +01:00
Laura Hausmann
665154b1eb
[backend/federation] Resolve user profile mentions (ISH-33) 2024-02-25 02:07:20 +01:00
Laura Hausmann
2f3ca1e477
[backend/federation] Handle user profile fields (ISH-34) 2024-02-25 01:02:21 +01:00
Laura Hausmann
90eb93cfb2
[backend/core] Handle emoji in user profiles as well (ISH-89) 2024-02-25 00:43:11 +01:00
Laura Hausmann
404d8ae5b3
[backend/masto-api] Move NoteRenderer prefetch objects into a DTO 2024-02-25 00:10:51 +01:00
Laura Hausmann
69360a8ad7
[backend/federation] Handle emoji for incoming notes (ISH-89) 2024-02-25 00:02:17 +01:00
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
72bc5e1090
[backend/masto-client] Respect autoDetectQuotes option 2024-02-24 21:28:52 +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
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