Commit graph

823 commits

Author SHA1 Message Date
Laura Hausmann
d6c3fb028f
[backend/queue] Fix sporadic background task queue errors 2024-06-28 18:54:29 +02:00
Laura Hausmann
03f34340cc
[backend/api] Cleanup EmojiService code 2024-06-28 18:46:07 +02:00
pancakes
31c17b333a [backend/api] Delete DriveFile associated with Emoji if possible 2024-06-28 18:42:32 +02:00
pancakes
15ad2e438d [backend/api] Limit DeleteEmoji to local emojis 2024-06-28 18:42:32 +02:00
pancakes
af376ffbe5 [backend/api] Add endpoint for deleting emojis 2024-06-28 18:42:32 +02:00
Laura Hausmann
6743442ce8
[backend/queue] Code cleanup 2024-06-28 18:28:23 +02:00
Laura Hausmann
ca8ce9137d
[backend/queue] Refactor queue job count functions into DatabaseContext 2024-06-28 18:20:59 +02:00
Laura Hausmann
6ba374a681
[backend/queue] Only raise a job queued event for the first matching queue when retrying a job 2024-06-28 18:01:26 +02:00
Laura Hausmann
0e6edb9046
[backend/federation] Don't fetch inboxUser from database if inboxUserId is null 2024-06-27 18:01:37 +02:00
Laura Hausmann
e65c678a35
[backend/core] Revert to heuristic-based home timeline query
There can be performance issues with the other query, so we have to revert this for now.
2024-06-26 22:56:36 +02:00
Laura Hausmann
d0eaf13b6b
[backend] Code cleanup 2024-06-26 21:57:22 +02:00
Laura Hausmann
c290c546f4
[backend/core] Move FilterByFollowingAndOwn back into QueryableExtensions 2024-06-26 21:57:22 +02:00
Laura Hausmann
a0aa632bf4
[backend/core] Make universal home timeline query fast 2024-06-26 21:55:23 +02:00
Laura Hausmann
46644b2ab1
[backend/core] Switch to universal home timeline query 2024-06-26 21:54:54 +02:00
Laura Hausmann
7a57862048
[backend/core] Improve heuristics query performance, move timeline-related extensions into its own file 2024-06-26 21:54:16 +02:00
Laura Hausmann
2858f66ad4
[backend/federation] Make sure DateTime objects are being converted to Utc when (de)serializing activities 2024-06-26 16:53:21 +02:00
Laura Hausmann
583e954106
[backend/federation] Don't mark client error deliver jobs as successful 2024-06-23 14:45:04 +02:00
Laura Hausmann
d5a5a3d464
[backend/federation] Don't retry deliver jobs that returned a client error (except for HTTP 429) 2024-06-23 14:38:45 +02:00
Laura Hausmann
bfc3140381
[backend/core] Fix renote/reply FTS filters being swapped 2024-06-23 14:17:36 +02:00
pancakes
84190fe489 [backend/api] FIx UpdateLocalEmoji and prevent duplicate emoji names 2024-06-23 13:42:33 +02:00
pancakes
51c5ab30cc [backend/api] Refactor UploadEmoji 2024-06-23 13:42:33 +02:00
pancakes
74f094217f [backend/api] Refactor UpdateEmoji 2024-06-23 13:42:33 +02:00
Laura Hausmann
e971a781e6
[backend/queue] Don't reset RetryCount for manually retried jobs 2024-06-23 13:30:31 +02:00
Laura Hausmann
259a21b273
[backend/database] Fix possible stall / race condition on first startup in EntityFrameworkCoreXmlRepositoryAsync 2024-06-23 00:54:34 +02:00
Laura Hausmann
3bf933782a
[backend/federation] Ignore duplicate renote activities 2024-06-22 02:26:18 +02:00
Laura Hausmann
74b2f69b0c
[backend/razor] Add retry job functionality to queue dashboard 2024-06-22 02:17:35 +02:00
Laura Hausmann
728a33c819
[backend/federation] Improve WebFinger algorithm 2024-06-22 01:41:33 +02:00
Laura Hausmann
f724a55901
[backend/core] Improve logging 2024-06-22 01:17:40 +02:00
Laura Hausmann
07f0223c99
[backend] Code cleanup 2024-06-21 22:06:28 +02:00
Laura Hausmann
9ac2284dd5
[backend/razor] Refactor queue dashboard job view to better accommodate different job data formats 2024-06-21 21:08:40 +02:00
Laura Hausmann
2e536bcd47
[backend/core] Refactor GetOrCreateSystemUserAsync 2024-06-21 20:15:36 +02:00
Laura Hausmann
dd3ea49367
[backend/core] Fix edge case in GetOrCreateSystemUserAsync 2024-06-21 20:13:24 +02:00
Laura Hausmann
3599150603
[backend/database] Add Exception column to Job table 2024-06-21 19:18:31 +02:00
Laura Hausmann
8d14b04821
[backend/core] Attach user entity to database change tracker in GetOrCreateSystemUserAsync
This prevents erroneous insert attempts when the data comes from the cache instead of the database.
2024-06-21 17:20:12 +02:00
Laura Hausmann
b23348cde9
[backend/core] Add AsyncKeyedLocker to SystemUserService 2024-06-21 17:01:53 +02:00
Laura Hausmann
3e0a5b5759
[backend/configuration] Allow configuring of parameter logging for database exceptions 2024-06-21 16:24:03 +02:00
Laura Hausmann
f2e4d11ce4
[backend/configuration] Fix typo(s) that was causing JobRetention settings not to be applied correctly 2024-06-21 16:11:07 +02:00
Laura Hausmann
596980eb84
[backend/core] Make sure GetOrCreateSystemUserAsync calls username.ToLowerInvariant 2024-06-21 16:04:36 +02:00
Laura Hausmann
9319dc22c9
[backend/core] Refactor NumberExtensions 2024-06-21 16:02:40 +02:00
Laura Hausmann
32d6cb555d
[backend/configuration] Allow configuring of queue job retention 2024-06-21 14:42:00 +02:00
Laura Hausmann
a253e83176
[backend/federation] Refactor ActivityRenderer 2024-06-21 14:28:29 +02:00
Laura Hausmann
efa2cdc9c7
[backend/federation] Populate to/cc fields correctly for outgoing Notes 2024-06-21 14:27:12 +02:00
Laura Hausmann
0c59081aee
[backend/federation] Add JsonIgnore attributes to internal properties to prevent them from being written to the job table unnecessarily 2024-06-21 14:14:22 +02:00
Laura Hausmann
19c9b7bf90
[backend/database] Add StackTrace column to Job table 2024-06-21 14:05:34 +02:00
Laura Hausmann
503b8c5985
[backend/razor] Render display durations >1000ms properly on queue dashboard 2024-06-21 13:57:15 +02:00
Laura Hausmann
2e562b04d8
[backend/razor] Make queue dashboard use ToDisplayStringTz instead of ToStringIso8601Like for rendering date/time strings 2024-06-21 04:26:21 +02:00
Laura Hausmann
f5c0cc9a38
[backend/database] Add migration that fixes up poll voter counts using the new algorithm (ISH-377) 2024-06-20 20:05:51 +02:00
Laura Hausmann
7f14c3df81
[backend/core] Improve handling of voter counts in PollService (ISH-377) 2024-06-20 20:01:08 +02:00
Laura Hausmann
5857e9ec7d
[backend] Fix typo 2024-06-20 18:29:34 +02:00
Laura Hausmann
978a19d6b1
[backend/logging] Improve logging in ErrorHandlerMiddleware further 2024-06-20 18:25:15 +02:00