Commit graph

67 commits

Author SHA1 Message Date
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
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
2c33f7aafc
[backend/core] Add lastActiveDate column to oauth_token and session tables 2024-02-24 22:43:14 +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
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
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
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
e806811e21
[backend/federation] Process user updates (ISH-32) 2024-02-17 02:06:24 +01:00
Laura Hausmann
5bd92d14ac
[backend/database] Rename registration_ticket table to registration_invite 2024-02-16 23:51:13 +01:00
Laura Hausmann
aff1f6e788
[backend/api] Reject signups with password length of under 8 chars (ISH-1) 2024-02-16 02:47:49 +01:00
Laura Hausmann
32b0e1f3c7
[backend] Code cleanup 2024-02-13 17:17:02 +01:00
Laura Hausmann
02147f8bb7
[backend/services] Fix duplicate constraint exception when creating users with avatar & banner (ISH-56) 2024-02-13 01:30:58 +01:00
Laura Hausmann
75a6fcce21
[backend/database] Properly handle UniqueConstraintException in UserService (ISH-51) 2024-02-12 19:59:22 +01:00
Laura Hausmann
a8f174f02a
[backend/services] Fix multiple threads creating the same user simultaneously, causing postgres duplicate key exceptions 2024-02-12 05:56:28 +01:00
Laura Hausmann
6c955262ee
[backend/masto-client] Set acct field in note mention correctly 2024-02-12 05:31:39 +01:00
Laura Hausmann
16d0199506
[backend/federation] Handle outgoing mentions correctly (ISH-46) 2024-02-12 05:05:09 +01:00
Laura Hausmann
67d1d776c8
[backend/federation] Basic mentions handling (ISH-38)
This implementation adds handling of incoming mentions, including rewriting non-canonical mentions of split domain users into their canonical form when inserting notes into the database.
2024-02-11 18:50:28 +01:00
Laura Hausmann
9680921711
[backend/database] Fixup User.alsoKnownAs 2024-02-10 16:25:16 +01:00
Laura Hausmann
33f54f94bd
[backend/services] Include user profile in UserService.GetUserFromQueryAsync 2024-02-09 23:30:03 +01:00
Laura Hausmann
920997ec41
[backend/federation] Avatar & banner support (ISH-8) 2024-02-09 23:22:46 +01:00
Laura Hausmann
5fc024febc
[backend/federation] Implement remote user updates (ISH-28) 2024-02-09 21:23:42 +01:00
Laura Hausmann
25552ee5da
[backend/federation] Add UserProfile in CreateUserAsync (ISH-29) 2024-02-09 21:23:42 +01:00
Laura Hausmann
a77fe98173
[backend/services] Properly handle non open registration in UserService 2024-02-09 18:37:51 +01:00
Laura Hausmann
02e003afa3
[backend/federation] Resolve incoming activity objects (ISH-20, ISH-12) 2024-02-09 13:28:07 +01:00
Laura Hausmann
19d6251a2a
[backend] Cleanup unused service references 2024-02-09 13:23:31 +01:00
Laura Hausmann
b22d0b98a3
[backend/masto-client] Implement search endpoint (ISH-7) 2024-02-07 23:35:59 +01:00
Laura Hausmann
cb3caf4f26
Correctly set SharedInbox on UserService.CreateUserAsync 2024-01-28 23:19:15 +01:00
Laura Hausmann
626b267692
All methods that return a Task should end in Async 2024-01-28 22:21:58 +01:00
Laura Hausmann
3c95f4a0e3
Significantly more powerful queue system 2024-01-28 22:04:53 +01:00
Laura Hausmann
3e4410f52c
Basic redis object cache implementation 2024-01-28 02:26:41 +01:00
Laura Hausmann
3a466b2e0c
Add support for registration invites 2024-01-27 23:50:31 +01:00
Laura Hausmann
831a1ceeba
Refactor AP core 2024-01-27 02:39:16 +01:00
Laura Hausmann
e4211fde56
Outgoing federation 2024-01-27 01:18:21 +01:00
Laura Hausmann
2f6a433663
Resolve note threads 2024-01-26 20:32:00 +01:00
Laura Hausmann
431bbaccb2
Handle follow and unfollow activity types 2024-01-26 18:57:59 +01:00
Laura Hausmann
0dc1533b75
Improve NoteService.CreateNote 2024-01-26 03:09:52 +01:00
Laura Hausmann
8d4a20896c
Federation groundwork 2024-01-25 01:36:07 +01:00