Commit graph

372 commits

Author SHA1 Message Date
Laura Hausmann
95c7ff3d54
[backend/core] Fix follow requests getting re-added to the database after they are accepted 2024-04-24 20:46:15 +02:00
Laura Hausmann
58d78b568a
[backend/core] Fix remote renotes being registered without a URI 2024-04-24 03:32:05 +02:00
Laura Hausmann
36fe68ad4f
[backend/core] Set userHost to user.Host instead of null
This fixes remote renotes having their userHost set to null
2024-04-24 02:49:50 +02:00
Laura Hausmann
f9cc63a179
[backend] Add object storage migrator (ISH-30) 2024-04-23 01:23:34 +02:00
Laura Hausmann
adbee189af
[backend/configuration] Rename StorageSection.Mode to StorageSection.Provider
The old property remains for configuration backwards compatibility only. Trying to access it throws a compile-time error.
2024-04-22 23:26:29 +02:00
Laura Hausmann
1ce28ee005
[backend/drive] Add configuration option to set ACLs on files uploaded to object storage 2024-04-22 21:29:49 +02:00
Laura Hausmann
953b317738
[backend/drive] Switch to Iceshrimp.ObjectStorage 2024-04-22 21:10:51 +02:00
Laura Hausmann
a1b57c7295
[backend/core] Reject circular redirects in CustomHttpClient 2024-04-19 17:41:19 +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
7529ebea72
[backend/federation] Don't register misskey reactions as likes 2024-04-17 00:09:46 +02:00
Laura Hausmann
933361b0c6
[backend/federation] Fetch featured notes as following user, if one is available (ISH-262)
This is the same logic Mastodon uses to ensure follower-only pinned notes can be resolved.
2024-04-16 18:19:29 +02:00
Laura Hausmann
08ced32e4d
[backend/federation] Enforce VerifiedFetch in ResolveNoteAsync instead of in calling methods (ISH-262) 2024-04-16 18:15:22 +02:00
Laura Hausmann
07f79ae77b
[backend/federation] Ensure pinned notes belong to the actor whose collection they're contained in 2024-04-16 02:50:29 +02:00
Laura Hausmann
c25b613376
[backend/queue] Improve logging 2024-04-15 18:00:11 +02:00
Laura Hausmann
8fb7c8a93e
[backend/queue] Clear change tracker before saving the job state
This prevents a queue worker stall when a job fails to execute due to a database exception (leaving unsaved changes in the DbContext change tracker, preventing the job status from being set as failed)
2024-04-15 17:48:36 +02:00
Laura Hausmann
806bfca099
[backend/core] Improve user deletes (ISH-222) 2024-04-10 20:53:50 +02:00
Laura Hausmann
c5bd380344
[backend] Improved debug logging (ISH-238) 2024-04-10 00:15:46 +02:00
Laura Hausmann
4ff1b5f4c4
[backend] Implement streaming hub for timelines & notifications (ISH-244) 2024-04-08 20:45:30 +02:00
Laura Hausmann
60545e25ae
[backend/core] Fix sporadic "key not found" background task failures 2024-04-07 21:37:46 +02:00
Laura Hausmann
22a4de63f3
[backend/masto-client] Add & populate MastoReplyUserId column (ISH-247) 2024-04-07 21:07:04 +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
cdadb63e19
[backend/drive] Handle alt text updates (ISH-195) 2024-03-28 14:57:49 +01:00
Laura Hausmann
abf92b8ea5
[backend/queue] Increase heartbeat grace period from 15s to 60s 2024-03-28 13:21:51 +01:00
Laura Hausmann
7c6d55739e
[backend/core] Use AsyncKeyedLocker in NoteService (ISH-227) 2024-03-27 18:46:05 +01:00
Laura Hausmann
d4e8d7a6f6
[backend/masto-client] Catch GracefulExceptions correctly in push handler 2024-03-27 17:56:07 +01:00
Laura Hausmann
90768d1211
[backend/core] Reject mentioning of blocked users with 403 (ISH-226) 2024-03-26 21:29:48 +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
d9ba6159f2
[backend/queue] Use C# events when not running multiple workers (ISH-234) 2024-03-26 17:54:31 +01:00
Laura Hausmann
f24c7dff08
[backend/database] Move queue job queries into DatabaseContext 2024-03-26 17:35:20 +01:00
Laura Hausmann
c235f1a586
[backend/queue] Check for correct heartbeat interval 2024-03-26 17:23:37 +01:00
Laura Hausmann
a4ae25d5f3
[backend/queue] Initial clustering support (ISH-141, ISH-220) 2024-03-26 17:08:43 +01:00
Laura Hausmann
9d5d3e935e
[backend/queue] Improved shutdown process (ISH-220) 2024-03-26 15:07:53 +01:00
Laura Hausmann
5556832de0
[backend/core] Fix queue system logging rendering UTC timestamps & reporting of incorrect duration for delayed jobs due to time zone differences 2024-03-26 12:11:29 +01:00
Laura Hausmann
7eba307d0a
[backend/core] Call RaiseJobQueuedEvent in QueueService.DelayedJobsHandler (ISH-229) 2024-03-26 12:10:16 +01:00
Laura Hausmann
e1bdd7d0f4
[backend/core] Fix race condition in NoteResolver.UpdatePinnedNotesAsync 2024-03-25 19:42:55 +01:00
Laura Hausmann
7e93059368
[backend/core] Fix typo 2024-03-25 18:48:22 +01:00
Laura Hausmann
ed79c23be6
[backend/core] Correctly handle redirects for signed requests (ISH-228) 2024-03-25 18:48:15 +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
f2d8bda393
[backend/core] Improve FastFallback handler in CustomHttpClient 2024-03-25 17:32:08 +01:00
Laura Hausmann
8ff938639b
[backend/federation] Improve ASUpdate handling (ISH-223)
This fixes federation of note updates with some AP implementations
2024-03-25 13:51:50 +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
2065a73ad9
[backend/core] Fix the (now scoped) MetaService dependency in PushService 2024-03-24 16:33:03 +01:00
Laura Hausmann
b9582681d4
[backend/core] Improve MetaService (ISH-217) 2024-03-24 14:46:19 +01:00
Laura Hausmann
a67fe3722d
[backend] Code cleanup 2024-03-24 14:17:02 +01:00
Laura Hausmann
c02b2bd34c
[backend/core] Improve handling of explicit service scopes & event logic 2024-03-24 14:13:51 +01:00
Laura Hausmann
5a53fd1698
[backend/core] Remove QueueService TODO item 2024-03-24 13:39:00 +01:00
Laura Hausmann
188a6f4251
[backend/core] Fix NullReferenceException 2024-03-24 00:25:27 +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