Commit graph

149 commits

Author SHA1 Message Date
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
Laura Hausmann
9b99f9245f
[backend/masto-client] Add basic WebSocket support 2024-02-21 03:36:34 +01:00
Laura Hausmann
907f7ed55c
[backend] Code cleanup 2024-02-20 19:59:38 +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
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
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
e74e7654fe
[backend/federation] Refetch user pubkey if auth fetch validation fails 2024-02-18 00:51:18 +01:00
Laura Hausmann
f073018e95
[backend/federation] Fix race condition when updating a user during a request 2024-02-17 21:06:23 +01:00
Laura Hausmann
b3d0c0f476
[backend/core] Update user in background to avoid accessing a disposed DbContext 2024-02-17 18:57:46 +01:00
Laura Hausmann
a56e9b2922
[backend/federation] Improve logging on activity fetch failures 2024-02-17 18:25:32 +01:00
Laura Hausmann
bc0f585029
[backend/core] Set user agent in derived HttpClient singleton service implementation 2024-02-17 18:25:11 +01:00
Laura Hausmann
6044cdb52c
[backend/core] Emit notification on note edit for users that have interacted with the note 2024-02-17 05:50:10 +01:00
Laura Hausmann
d4d75f49ef
[backend/masto-client] Allow editing of local notes 2024-02-17 04:09:45 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
b7859210eb
[backend/federation] Process note updates (ISH-32) 2024-02-17 02:06:36 +01:00
Laura Hausmann
e806811e21
[backend/federation] Process user updates (ISH-32) 2024-02-17 02:06:24 +01:00
Laura Hausmann
0d5f987a8d
[backend/services] Set denormalized note properties replyUserId and replyuserHost correctly 2024-02-17 00:55:58 +01:00
Laura Hausmann
5bd92d14ac
[backend/database] Rename registration_ticket table to registration_invite 2024-02-16 23:51:13 +01:00
Laura Hausmann
a498e702c7
[backend/masto-client] Allow displaying, accepting & rejecting of follow requests (ISH-79) 2024-02-16 23:04:53 +01:00