Commit graph

33074 commits

Author SHA1 Message Date
Hazelnoot
a24df431ee restore NoteEntityService until we merge NoteVisibilityService 2025-11-15 14:08:35 -05:00
Hazelnoot
91f3691d2b use CacheService in ReactionService 2025-11-15 14:08:35 -05:00
Hazelnoot
b611095632 remove dependencies on NoteEntityService / UserEntityService from ReactionService 2025-11-15 14:08:35 -05:00
Hazelnoot
7fe1f8b39f use CacheService.getUsers instead of promiseMap+CacheService.getOptionalUserById 2025-11-15 14:08:35 -05:00
Hazelnoot
1d38814450 fix softwareName / softwareVersion mix-up 2025-11-15 14:08:35 -05:00
Hazelnoot
5db73f86df fix logic errors in collection fetch and featured posts validation 2025-11-15 14:08:35 -05:00
Hazelnoot
f9a6a8d214 fix MockResolver failing on calls to secureResolve 2025-11-15 14:08:35 -05:00
Hazelnoot
a903d77a3f fix ImmediateApPersonService producing duplicate calls to updateFeatured 2025-11-15 14:08:35 -05:00
Hazelnoot
7b809b2b58 fix error when editing a poll 2025-11-15 14:08:35 -05:00
Hazelnoot
8b3ea577da limit unbounded parallel async maps 2025-11-15 14:08:35 -05:00
Hazelnoot
4ceff00dac add caching to reduce database load of get-online-users-count 2025-11-15 14:08:35 -05:00
Hazelnoot
f6ef65fdbd fix get-online-users-count return global activity 2025-11-15 14:08:34 -05:00
Hazelnoot
528c0476f9 add lastActiveDate to updateUserQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
1baa9b2f9d fix sporadic update failures caused by lack of data 2025-11-15 14:08:34 -05:00
Hazelnoot
63f2073af1 fix shouldSuspendGone and shouldSuspendNotResponding not working 2025-11-15 14:08:34 -05:00
Hazelnoot
c80b4138f5 restore stack traces for collapsed queues 2025-11-15 14:08:34 -05:00
Hazelnoot
f8814483e8 fix "unhandled rejection" error when a queue fails to update 2025-11-15 14:08:34 -05:00
Hazelnoot
7ca90502d1 fix Date objects getting mangled by JSON 2025-11-15 14:08:34 -05:00
Hazelnoot
7716292c78 fix type of Serialized<T> 2025-11-15 14:08:34 -05:00
Hazelnoot
896a364de7 synchronize collapsed queues across the cluster to avoid data races 2025-11-15 14:08:34 -05:00
Hazelnoot
1cb21b0911 implement updateAntennaQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
be2baf739e implement updateAccessTokenQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
f9e5b05408 synchronize caches after performing updateUserQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
e52ff9208e add onPerform callback to collapsedQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
fceb0d0d50 use CollapsedQueueService in processPostDeliver 2025-11-15 14:08:34 -05:00
Hazelnoot
15e88d31ad fix incorrect counts for self-renotes and renotes by bots 2025-11-15 14:08:34 -05:00
Hazelnoot
473b3993c4 remove queued user updated when deleted 2025-11-15 14:08:34 -05:00
Hazelnoot
f06bbad94b implement CollapsedQueue.delete 2025-11-15 14:08:34 -05:00
Hazelnoot
f01d51981b remove onUserUpdated listener from CollapsedQueueService 2025-11-15 14:08:34 -05:00
Hazelnoot
1d44a27505 implement followingCountDelta and followersCountDelta in updateUserQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
c2aa46618d implement followingCountDelta and followersCountDelta in updateNoteQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
dceb6dffc9 implement clippedCountDelta in updateNoteQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
101f8f6df5 implement usersCountDelta in updateInstanceQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
ad063c8637 rename deltaRepliesCount and deltaRenoteCount to match the other deltas 2025-11-15 14:08:34 -05:00
Hazelnoot
c52f852db1 use updateInstanceQueue in NoteDeleteService 2025-11-15 14:08:34 -05:00
Hazelnoot
d89b292eee implement updateNoteQueue 2025-11-15 14:08:34 -05:00
Hazelnoot
2fd44d68c5 rename additionalNotes to notesCountDelta 2025-11-15 14:08:34 -05:00
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