Commit graph

569 commits

Author SHA1 Message Date
Laura Hausmann
90768d1211
[backend/core] Reject mentioning of blocked users with 403 (ISH-226) 2024-03-26 21:29:48 +01:00
Laura Hausmann
715f47cafc
[backend/masto-client] Fix notification pagination (ISH-204) 2024-03-26 20:13:47 +01:00
Laura Hausmann
174064416a
[backend/core] Fix QueryableExtensions.FilterMuted 2024-03-26 19:11:50 +01:00
Laura Hausmann
aad05c0d22
[backend/cron] Fire UserUnmuted event in ProcessMuteExpiry 2024-03-26 19:11:50 +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
65e0ad58f7
[backend/database] Make helper methods private 2024-03-26 17:37:00 +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
61071ab51b
[backend/federation] Fix typo in like id generation 2024-03-25 12:42:49 +01:00
Laura Hausmann
d9a4b406e4
[backend/masto-client] Enforce mutes & blocks in more places 2024-03-25 12:42:48 +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
736328078d
[backend/core] Fix non-UTC timestamp in DeliverQueue delayed job handler 2024-03-24 14:18:03 +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
Laura Hausmann
7e89c0e4c4
[backend/core] Use upsert for cache store instead of detecting conflicts (ISH-212) 2024-03-23 19:10:27 +01:00
Laura Hausmann
c6300d1c96
[backend/core] Replace IDistributedCache with postgres k/v cache (ISH-212) 2024-03-23 19:10:27 +01:00
Laura Hausmann
0519cf6e79
[backend/core] Enforce character limit for text + cw (instead of text/cw individually) 2024-03-23 16:40:26 +01:00
Laura Hausmann
82dfd5db1b
[backend/database] Revert "Remove configuration parsing for DesignTimeDbContext, as we don't need a valid database connection string"
This change made migration reverts impossible.

This reverts commit 64ef76be10.
2024-03-22 21:42:36 +01:00
Laura Hausmann
5be537e7dd
[backend/core] Improve meta store performance, make it hit postgres directly 2024-03-22 18:40:11 +01:00
Laura Hausmann
d4da5ed9de
Change license to EUPL v1.2
Consent was given by all project contributors.
2024-03-22 17:10:52 +01:00
Laura Hausmann
d5e0587048
[backend/database] Fix IDesignTimeDbContextFactory method 2024-03-21 16:34:08 +01:00
Laura Hausmann
64ef76be10
[backend/database] Remove configuration parsing for DesignTimeDbContext, as we don't need a valid database connection string 2024-03-21 16:33:07 +01:00
Laura Hausmann
d5b7fa5ae7
[backend/api] Correctly render replies/renotes/quotes (ISH-205) 2024-03-18 16:36:04 +01:00
Laura Hausmann
f5aa7f6ff6
[backend/libmfm] Improve custom emoji regex 2024-03-17 17:11:47 +01:00
Laura Hausmann
21580a3678
[backend/core] Fix threadId logic in ProcessNoteAsync 2024-03-17 16:46:55 +01:00
Laura Hausmann
d0c2d1bedc
[backend/core] Add admin_contact_email meta entity 2024-03-17 13:50:58 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +01:00
Laura Hausmann
b7584674c7
[backend/api] Add notifications endpoints (ISH-202) 2024-03-17 13:30:56 +01:00
Laura Hausmann
f499ed338d
[backend/swagger] Fix reference type nullability hints 2024-03-17 12:40:33 +01:00
Laura Hausmann
c5d723c99e
[backend/core] Correctly populate the note field in renote notifications 2024-03-16 19:24:45 +01:00
Laura Hausmann
bcf9210764
[backend/asp] Correctly handle API requests using chunked transfer encoding 2024-03-16 19:13:34 +01:00
Laura Hausmann
d7ac26db61
[backend/core] Fix UpdateUserPublicKeyAsync(User) method 2024-03-16 19:00:43 +01:00
Laura Hausmann
0c644f7b25
[backend/federation] Fix sporadic key fetch failures in InboxValidationMiddleware (ISH-194) 2024-03-16 18:53:49 +01:00
Laura Hausmann
6dc4b29eba
[backend/federation] Correctly handle multiple pinned notes in the same thread 2024-03-16 18:22:46 +01:00