Commit graph

172 commits

Author SHA1 Message Date
Laura Hausmann
2d92d27dbf
[backend/core] Don't share entities between DbContext instances 2024-03-01 03:45:03 +01:00
Laura Hausmann
a8c903cee7
[backend/core] Fix oversight in NoteResolver 2024-03-01 03:45:03 +01:00
Laura Hausmann
a905c271fb
[backend/core] Fix order of operations on user create 2024-03-01 03:45:03 +01:00
Laura Hausmann
5082f15e75
[backend/core] Use KeyedLocker when resolving pinned notes (ISH-67) 2024-03-01 03:45:03 +01:00
Laura Hausmann
81059291c3
[backend/federation] Resolve user pinned posts (ISH-67) 2024-03-01 02:10:22 +01:00
Laura Hausmann
06a2e0705a
[backend/core] Fix note counter recomputation query 2024-02-29 22:10:54 +01:00
Laura Hausmann
52519f3b69
[backend/core] Fix note & user counters (ISH-109) 2024-02-29 22:10:54 +01:00
Laura Hausmann
c87fa00864
[backend/core] Cleanup instance counters code 2024-02-29 19:40:22 +01:00
Laura Hausmann
a719fc722e
[backend/core] Add instance counters (ISH-107) 2024-02-29 19:25:00 +01:00
Laura Hausmann
ad21897928
[backend/core] Add user settings store (ISH-106) 2024-02-29 18:49:02 +01:00
Laura Hausmann
b4e3fdc898
[backend/core] Improve image processing performance 2024-02-28 22:39:51 +01:00
Laura Hausmann
e441bb3e70
[backend/core] Resolve user profile mentions on local user update (ISH-101) 2024-02-28 19:54:56 +01:00
Laura Hausmann
3e1a34c0b3
[backend/core] Fix method signature clash in UserService 2024-02-28 19:47:56 +01:00
Laura Hausmann
5cdfebb597
[backend/core] Implement user updates (ISH-101) 2024-02-28 19:45:37 +01:00
Laura Hausmann
fa7b98c366
[backend/core] Set threadId on notes with replies 2024-02-27 00:50:20 +01:00
Laura Hausmann
13f0f0e686
[backend] Fix build 2024-02-26 23:06:56 +01:00
Laura Hausmann
89079f09c7
[backend/federation] Canonicalize MkSummary in UpdateProfileMentions 2024-02-26 23:05:58 +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
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
0f670c1953
[backend/federation] Improve UserResolver 2024-02-26 19:28:08 +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
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
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
7c1de50768
[backend/core] Whitespace-only content warning should be reset to null 2024-02-23 04:22:16 +01:00
Laura Hausmann
78705b8a5d
[backend/masto-client] Resolve notes with user keypair 2024-02-23 03:40:21 +01:00
Laura Hausmann
e4505d9d00
[backend/federation] Forbid renoting a pure renote 2024-02-22 20:53:05 +01:00
Laura Hausmann
f895a9e541
[backend/federation] Correctly serialize value types 2024-02-22 19:06:53 +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
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