Commit graph

560 commits

Author SHA1 Message Date
Laura Hausmann
469f02c5ac
[backend/federation] Set VerifiedFetch in FetchNoteAsync (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
450d859e19
[backend/startup] Move CLI argument parsing to the very beginning of the startup process
This allows --printconfig and --help to work correctly despite improper configuration / missing files.
2024-04-15 23:28:16 +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
25282f6311
[backend/startup] Add help & printconfig cli arguments 2024-04-15 00:19:25 +02:00
Laura Hausmann
9c45107167
[backend/database] Move v2024.1-beta1 migrations into subfolder 2024-04-14 21:41:37 +02:00
Laura Hausmann
3b91baabf8
[backend/database] Prune .Designer.cs files in preparation of the v2024.1-beta1 release (ISH-119) 2024-04-14 21:29:20 +02:00
Laura Hausmann
90591db3c3
[backend/database] Add script to prune .Designer.cs migration files (ISH-119) 2024-04-14 21:26:58 +02:00
Laura Hausmann
88324bab3f
[backend/database] Make allowlist/blocklist imported flag optional (defaulting to false) 2024-04-14 19:01:31 +02:00
Laura Hausmann
806bfca099
[backend/core] Improve user deletes (ISH-222) 2024-04-10 20:53:50 +02:00
Laura Hausmann
ba351a459e
[backend] Fix ErrorHandlerMiddleware exception source logging 2024-04-10 00:52:01 +02:00
Laura Hausmann
c5bd380344
[backend] Improved debug logging (ISH-238) 2024-04-10 00:15:46 +02:00
Laura Hausmann
5c5e724fd3
[backend/middleware] Make validation errors compliant with (Mastodon)ErrorResponse schemas 2024-04-09 16:30:05 +02:00
Laura Hausmann
dfa6b5a5ae
[backend/swagger] More nullability fixup 2024-04-09 00:25:48 +02:00
Laura Hausmann
ae7cdf0f49
[backend/swagger] Mark all non-nullable schema properties as required 2024-04-09 00:12:27 +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
969622bfc7
[backend/api] Return note descendants in tree form (ISH-242)
This also partially addresses thread ordering in the Mastodon client API.
2024-04-07 20:43:28 +02:00
Laura Hausmann
969efe6d73
[backend/federation] Fix redirect handling in ActivityFetcherService 2024-04-06 21:46:07 +02:00
Laura Hausmann
d6153beaeb
[backend/masto-client] Return replies to self (threads) on account statuses requests with excludeReplies param set 2024-04-06 18:24:18 +02:00
Laura Hausmann
66675146d9
[backend/signalr] Add authentication & authorization (ISH-244) 2024-04-03 21:46:05 +02:00
Laura Hausmann
7efb48a376
[backend/database] Fix UserProfile.Field jsonb property attributes 2024-04-03 15:17:52 +02:00
Laura Hausmann
8811e3c2b9
[frontend] Cleanup template assets, add placeholders 2024-04-01 21:24:29 +02:00
Laura Hausmann
6bc2b8d57c
[frontend] Bootstrap shared DTOs, API abstractions, SignalR & more 2024-04-01 20:22:45 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97) 2024-03-31 23:56:55 +02:00
Laura Hausmann
bde33e09bf
[backend/federation] Fix FetchActivityInternal exception
Newtonsoft.Json is sadly not compatible with pattern matching. We can revert this once we're using System.Text.Json for JSON-LD instead.
2024-03-31 18:34:22 +02:00
Laura Hausmann
b4152b7c3d
[backend/core] Stricter validation of activity identifiers (ISH-233) 2024-03-30 13:12:14 +01: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
39de646a88
[backend] Fix null dereference 2024-03-29 16:16:25 +01:00
Laura Hausmann
ddfa108677
[backend/federation] Log type of unsupported undo activities 2024-03-29 16:11:40 +01:00
Laura Hausmann
07eba89fa0
[backend/queue] Fix BackgroundTaskJobData serialization 2024-03-29 16:08:04 +01:00
Laura Hausmann
f39479ca6b
[backend/queue] JobData shouldn't inherit from Job 2024-03-29 15:34:01 +01:00
Laura Hausmann
cdadb63e19
[backend/drive] Handle alt text updates (ISH-195) 2024-03-28 14:57:49 +01:00
Laura Hausmann
2e4700b42b
[backend/razor] Basic public preview (ISH-188) 2024-03-28 14:41:02 +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
fa75409923
[backend/api] Note context endpoints (ISH-236) 2024-03-27 16:06:42 +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
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