Commit graph

79 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
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
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
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
89079f09c7
[backend/federation] Canonicalize MkSummary in UpdateProfileMentions 2024-02-26 23:05:58 +01:00
Laura Hausmann
01b7135208
[backend/core] Fix inspection 2024-02-26 22:21:20 +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
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