Commit graph

32981 commits

Author SHA1 Message Date
Hazelnoot
e7ea4a3ba2 reduce updateUserQueue interval 2025-11-15 14:08:33 -05:00
Hazelnoot
81fd01d5fa increment/decrement note counts through CollapsedQueueService 2025-11-15 14:08:33 -05:00
Hazelnoot
28dff9aff9 merge NoteCreateService.updateNotesCountQueue and NoteEditService.updateNotesCountQueue into CollapsedQueueService.updateInstanceQueue 2025-11-15 14:08:33 -05:00
Hazelnoot
e884e3f6a3 add concurrency limit to CollapsedQueue 2025-11-15 14:08:33 -05:00
Hazelnoot
45df03ab14 replace MarkUserUpdatedBackgroundTask with updateUserQueue 2025-11-15 14:08:33 -05:00
Hazelnoot
3a2c0fd9da add name and error logging to CollapsedQueue 2025-11-15 14:08:33 -05:00
Hazelnoot
a3bcc474b7 return results from CollapsedQueue.performAllNow 2025-11-15 14:08:33 -05:00
Hazelnoot
0491ea55cc move UpdateInstanceQueue into CollapsedQueueService 2025-11-15 14:08:33 -05:00
Hazelnoot
15bb9b38e1 add background queue to admin dashboard 2025-11-15 14:08:33 -05:00
Hazelnoot
428c9258a1 remove unused API and websocket calls from admin dashboard 2025-11-15 14:08:33 -05:00
Hazelnoot
c3ae0c7e8c fix API schema for admin/queue/jobs endpoint 2025-11-15 14:08:33 -05:00
Hazelnoot
cad059f039 fix cascaded note deletion and make it more efficient 2025-11-15 14:08:33 -05:00
Hazelnoot
d06b2353b5 make renote count increment and decrement the same way 2025-11-15 14:08:33 -05:00
Hazelnoot
2bca84048d fix postNoteCreated and postNoteEdited not working properly due to missing Data options 2025-11-15 14:08:33 -05:00
Hazelnoot
cf138a148d make NoteDeleteService.delete safe to call inside a loop 2025-11-15 14:08:33 -05:00
Hazelnoot
693f8d52ee implement MarkUserUpdatedBackgroundTask 2025-11-15 14:08:33 -05:00
Hazelnoot
e587e376e5 fix account deletion not triggering background tasks for cascaded note deletions 2025-11-15 14:08:33 -05:00
Hazelnoot
4501ecb293 implement DeleteApLogsBackgroundTask 2025-11-15 14:08:33 -05:00
Hazelnoot
ec6ae4c939 fix typo and correctly call handleCreatedNote in BackgroundTaskProcessorService.ts 2025-11-15 14:08:33 -05:00
Hazelnoot
a45e264574 rename noteEditRepository to noteEditsRepository, matching other repository names 2025-11-15 14:08:33 -05:00
Hazelnoot
dad9944e7e a few more awaits 2025-11-15 14:08:33 -05:00
Hazelnoot
a4a8329f69 optionally use note.user relation in PollService.deliverQuestionUpdate 2025-11-15 14:08:33 -05:00
Hazelnoot
db4cd29b74 fix non-Error exceptions thrown from FetchInstanceMetadataService.ts 2025-11-15 14:08:32 -05:00
Hazelnoot
6d8d91ba8c fix type error in DriveService.ts 2025-11-15 14:08:32 -05:00
Hazelnoot
05f9d5d446 await more promises to improve stack traces 2025-11-15 14:08:32 -05:00
Hazelnoot
41d62e4534 fix notes/versions endpoint 2025-11-15 14:08:32 -05:00
Hazelnoot
c9f2554b2f track federation-related promises to avoid data loss during restart 2025-11-15 14:08:32 -05:00
Hazelnoot
a4440e43a6 add UpdateLatestNote, PostSuspend, and PostUnsuspend background tasks 2025-11-15 14:08:32 -05:00
Hazelnoot
8e75d6149e fix stall in EnableInstanceHOTUpdates1750217001651 migration 2025-11-15 14:08:32 -05:00
Hazelnoot
7934643090 use delete-file task for async file deletions 2025-11-15 14:08:32 -05:00
Hazelnoot
9c1208b6ca implement delete-file background task 2025-11-15 14:08:32 -05:00
Hazelnoot
fe25e6f367 remove useless async/await from charts 2025-11-15 14:08:32 -05:00
Hazelnoot
41e50eeb0e add update-user-tags, update-note-tags, post-deliver, post-inbox, post-note, and check-hibernation background tasks 2025-11-15 14:08:32 -05:00
Hazelnoot
ce8c8e9851 slightly reduce stalls when updating MiInstance 2025-11-15 14:08:32 -05:00
Hazelnoot
86b8a8a734 use QuantumKVCache in FederatedInstanceService 2025-11-15 14:08:32 -05:00
Hazelnoot
8f436ef8ca implement background queue charts 2025-11-15 14:08:32 -05:00
Hazelnoot
4b08e978ce implement background task queue 2025-11-15 14:08:29 -05:00
Hazelnoot
911f90f95a merge: Fix regressions from recent block/mute fixes (!1239)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1239

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-15 13:38:52 -05:00
Hazelnoot
01dfdc6d77 merge: Improve public key refetch for remote users (!1240)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1240

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-15 13:37:33 -05:00
Hazelnoot
61ea555943 fix refetchPublicKeyForApId always proceeding even if the timeout fails 2025-11-14 19:32:39 -05:00
Hazelnoot
36835b4a2e fix last time limit for public key refetch 2025-11-14 19:32:39 -05:00
Hazelnoot
0b6f029467 fix rebase errors 2025-11-14 19:32:39 -05:00
Hazelnoot
3216984ef6 use TimeService in ApDbResolverService.ts 2025-11-14 19:32:39 -05:00
Hazelnoot
0cc839da8a improve logging for edge cases in
refetchPublicKeyForApId
2025-11-14 19:32:39 -05:00
Hazelnoot
48c296c5ce don't refetch a user's public key if we've already updated them recently 2025-11-14 19:32:39 -05:00
Hazelnoot
4a1693776f when processing an activity, refetch the user's public key if they don't already have one 2025-11-14 19:32:39 -05:00
Hazelnoot
f1cee6bb8c add contributing docs about IPC 2025-11-14 18:59:09 -05:00
Hazelnoot
181ebc0a95 disable user / instance mandatory CW for list timelines 2025-11-14 18:59:09 -05:00
Hazelnoot
fba4a2f8b9 fix replies being filtered out of fanout timelines incorrectly 2025-11-14 18:59:09 -05:00
Hazelnoot
30c8e8a1a8 fix rate limit errors from get-online-users-count 2025-11-14 18:59:09 -05:00