Commit graph

144 commits

Author SHA1 Message Date
Laura Hausmann
4332d23b32
[backend/core] Use upsert when inserting hashtags
This fixes a race condition.
2024-03-25 17:48:18 +01:00
Laura Hausmann
9bd421c3a0
[backend] Replace old MfmParser with the new F# implementation (ISH-112) 2024-03-24 23:10:39 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212) 2024-03-24 00:17:28 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +01:00
Laura Hausmann
d7ac26db61
[backend/core] Fix UpdateUserPublicKeyAsync(User) method 2024-03-16 19:00:43 +01:00
Laura Hausmann
4878d82463
[backend/federation] Fix sporadic key fetch failures (ISH-194) 2024-03-16 17:25:47 +01:00
Laura Hausmann
3ab36f7d70
[backend/core] Enforce blocks & mutes everywhere (ISH-189) 2024-03-14 17:02:29 +01:00
Laura Hausmann
3a866d04dd
[backend/core] Federate blocks (ISH-169) 2024-03-14 15:58:13 +01:00
Laura Hausmann
085671b00c
[backend/core] Add block support (ISH-169) 2024-03-14 15:55:11 +01:00
Laura Hausmann
f41be007d7
[backend/core] Add mute support (ISH-169) 2024-03-14 15:33:54 +01:00
Laura Hausmann
e59526592c
[backend/database] Cleanup tables, set delete constraints correctly on all tables (ISH-78) 2024-03-04 22:57:37 +01:00
Laura Hausmann
f8e80380c1
[backend] Code cleanup 2024-03-04 21:55:07 +01:00
Laura Hausmann
92d229ad63
[backend/federation] Properly handle hashtags in notes & user profiles (ISH-114, ISH-125) 2024-03-04 21:54:46 +01:00
Laura Hausmann
ab5258237d
[backend/database] Fix DatabaseContext.ReloadEntityRecursivelyAsync 2024-03-01 19:46:05 +01:00
Laura Hausmann
18bcba7e30
[backend/core] Fix entity reloading from database 2024-03-01 18:24:01 +01:00
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