Commit graph

113 commits

Author SHA1 Message Date
Laura Hausmann
030aef6c8d
[backend/core] Improve handling of UniqueConstraintExceptions in UserService.CreateUserAsync 2024-07-13 16:42:22 +02:00
Laura Hausmann
8f508d0c72
[backend/federation] Respect UserSettings.AutoAcceptFollowed 2024-07-11 23:19:04 +02:00
Laura Hausmann
09cda1a89e
[backend/database] Move user_profile columns that only concern local users to user_settings
This commit also removes a bunch of obsolete user_profile columns.
2024-07-10 02:55:57 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
f724a55901
[backend/core] Improve logging 2024-06-22 01:17:40 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370) 2024-06-17 17:25:29 +02:00
Laura Hausmann
fc7a1fe95c
[backend/federation] Make sure new follow & unfollow activities have a consistent identifier (ISH-367) 2024-06-17 17:16:27 +02:00
Laura Hausmann
3a2a6e47cf
[backend/core] Update pinned notes when the first local user follows a remote user
This allows us to fetch follower-only pinned notes immediately when they are available.
2024-05-02 21:15:43 +02:00
Laura Hausmann
fee5296cd9
[backend/core] Check for blocked instance early on user & note creation 2024-05-02 20:31:37 +02:00
Laura Hausmann
fb6e0cf9f3
[backend/masto-client] Parse emoji in display name & fields on local user update (ISH-296) 2024-04-29 00:36:35 +02:00
Laura Hausmann
e2a528c8a6
[backend/federation] Refactor AcceptAsync and FollowAsync for improved code reuse 2024-04-24 23:11:31 +02:00
Laura Hausmann
d060d076c1
[backend/core] Refactor DeleteNoteAsync and DeleteUserAsync for improved code reuse (ISH-239) 2024-04-24 21:43:45 +02:00
Laura Hausmann
ebbec76cfe
[backend/federation] Resolve split domain user hosts exactly once (ISH-201)
This is necessary, since while the current version is handling split domain instances correctly, previous versions (for users who migrated from iceshrimp-js) may have not done so.
Since account domains never change, we only have to do this once.
2024-04-19 00:55:30 +02:00
Laura Hausmann
806bfca099
[backend/core] Improve user deletes (ISH-222) 2024-04-10 20:53:50 +02:00
Laura Hausmann
66675146d9
[backend/signalr] Add authentication & authorization (ISH-244) 2024-04-03 21:46:05 +02:00
Laura Hausmann
25a50ef9eb
[backend/core] Validate actor public key host 2024-03-30 13:12:14 +01:00
Laura Hausmann
cabe5d52e7
[backend/drive] Inhibit logging of unchanged files on user/note update (ISH-240) 2024-03-29 18:25:55 +01:00
Laura Hausmann
a3b543c37a
[backend/events] Add events for user follow/mute/block (& their respective opposites) (ISH-218, ISH-219) 2024-03-26 18:12:23 +01:00
Laura Hausmann
7e93059368
[backend/core] Fix typo 2024-03-25 18:48:22 +01:00
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