Commit graph

4391 commits

Author SHA1 Message Date
Hazelnoot
d71a4fa41d fix indentation 2025-11-07 02:53:03 -05:00
Hazelnoot
10a9e423d9 adjust job scheduler timings 2025-11-07 02:51:58 -05:00
Hazelnoot
26db8cb96e fix rebase error in HibernateUsersProcessorService 2025-11-07 02:51:47 -05:00
Hazelnoot
4e03a128cc add comments to job scheduler times 2025-11-07 02:44:57 -05:00
Hazelnoot
a91be6581c fix merge errors 2025-11-07 02:37:35 -05:00
Hazelnoot
8eeaa12ca0 fix typo: backBufferedReactions -> bakeBufferedReactions 2025-11-07 02:37:35 -05:00
Hazelnoot
9fcdd8e513 remove dangling reference to ApLogCleanupService 2025-11-07 02:37:32 -05:00
Hazelnoot
4a341a53d0 move user hibernation into HibernateUsersProcessorService.ts 2025-11-07 02:37:17 -05:00
Hazelnoot
7050583b86 convert ApLogsCleanupService into a queue task 2025-11-07 02:37:17 -05:00
Hazelnoot
edcaef0727 space out system queue tasks to not crush the instance all at once 2025-11-07 02:37:17 -05:00
Hazelnoot
c5bbd667a7 replace deprecated repeatable jobs with job schedulers 2025-11-07 02:37:17 -05:00
Hazelnoot
7e94ed51d5 rename logger to backgroundLogger for clarity 2025-11-07 01:12:32 -05:00
Hazelnoot
14b8fe0b05 use coreLogger in master.ts and NestLogger.ts 2025-11-07 01:12:15 -05:00
Hazelnoot
0d9d76aea0 rename envService and loggerService exports to coreEnvService and coreLoggerService to avoid confusion 2025-11-07 01:08:17 -05:00
Hazelnoot
59c39eda6a merge coreLogger utility with new startup services concept 2025-11-07 01:06:52 -05:00
Hazelnoot
7f4353fcf1 log errors in tracked promises 2025-11-07 01:06:52 -05:00
Hazelnoot
86e7858bfe factor out core logger for use in other files 2025-11-07 01:06:52 -05:00
Hazelnoot
bc80fd7c49 fix cherry-pick errors 2025-11-07 00:22:32 -05:00
Hazelnoot
332805b051 remove legacy MK code from CacheService 2025-11-07 00:09:27 -05:00
Hazelnoot
1eb7159173 add CacheService.findLocalUserByNativeToken and findOptionalLocalUserByNativeToken 2025-11-07 00:09:27 -05:00
Hazelnoot
8bf15a7fc2 add comments to CacheService caches 2025-11-07 00:09:27 -05:00
Hazelnoot
6f0893a319 rename cacheService.getUsers to findUsers to match naming scheme 2025-11-07 00:09:26 -05:00
Hazelnoot
125c43299c add findOptional overloads for all findUser methods in CacheService 2025-11-07 00:08:58 -05:00
Hazelnoot
0556d403e6 move uriPersonCache to ApPersonService 2025-11-07 00:08:57 -05:00
Hazelnoot
0047396cf2 remove null option from uriPersonCache 2025-11-07 00:04:55 -05:00
Hazelnoot
00e7473f1c remove localUserByNativeTokenCache, add userByAcctCache, and convert userByIdCache/nativeTokenCache/uriPersonCache to quantum caches 2025-11-07 00:04:55 -05:00
Hazelnoot
ab6d3ee4a2 fix async of GlobalEventService.publishXStream methods 2025-11-06 22:25:02 -05:00
Hazelnoot
4fc762958c use TimeService in CacheService 2025-11-06 22:17:52 -05:00
Hazelnoot
abaf580d8d exclude expired mutes from userMutingsCache and muserMutedCache 2025-11-06 22:15:03 -05:00
Hazelnoot
88da09bcf7 implement CacheService.userMutedCache 2025-11-06 22:15:02 -05:00
Hazelnoot
3e1668348e implement QuantumKVCache.reset 2025-11-06 22:11:21 -05:00
Hazelnoot
64b415c469 mark localUserUpdate and remoteUserUpdated as deprecated 2025-11-06 22:10:16 -05:00
Hazelnoot
b2df31118d simplify bulk updateUsers event to reduce code duplication 2025-11-06 22:08:39 -05:00
Hazelnoot
cdf1a5de8f simplify bulk updateUsers event to reduce code duplication 2025-11-06 22:04:48 -05:00
Hazelnoot
01bb4dc541 add global event "usersUpdated" for bulk user updates 2025-11-06 21:59:31 -05:00
Hazelnoot
83134775f0 fix rebase errors 2025-11-05 19:51:56 -05:00
Hazelnoot
8271dc199e normalize cache constructors and detect duplicate cache names 2025-11-05 19:42:31 -05:00
Hazelnoot
151550602c handle errors from cache management callbacks 2025-11-05 19:42:31 -05:00
Hazelnoot
4336a5d214 extract QuantumKVCache custom errors to their own files to reduce the chance of future circular dependencies 2025-11-05 19:42:31 -05:00
Hazelnoot
bc722ea06d move debug log filtering from debug() to log() for consistency 2025-11-05 19:42:31 -05:00
Hazelnoot
ed3dd81b4b fix envOptions being impossible to disable if they defaul to on 2025-11-05 19:42:31 -05:00
Hazelnoot
73cc50fe90 fix user list API schema, access checks, and caching 2025-11-05 19:42:31 -05:00
Hazelnoot
2a948b7710 fix job ID for poll end jobs 2025-11-05 19:42:31 -05:00
Hazelnoot
4d98a8fddc fix broken fetchers in userListMembershipsCache/listUserMembershipsCache 2025-11-05 19:42:31 -05:00
Hazelnoot
24e565780e fix broken query in /emojis endpoint 2025-11-05 19:42:31 -05:00
Hazelnoot
15e76806ff fix rate limit in /emojis endpoint 2025-11-05 19:42:31 -05:00
Hazelnoot
3baebd82db add missing await in EmojiEntityService.packSimpleMany 2025-11-05 19:42:30 -05:00
Hazelnoot
edf9a44d8b fix typo in "Updating emoji" log 2025-11-05 19:42:30 -05:00
Hazelnoot
1f3c6e1dc7 update emoji-regex.ts and remove dependency on @twemoji/parser 2025-11-05 19:42:30 -05:00
Hazelnoot
e75558735b fix promise tracker not working in production 2025-11-05 19:42:30 -05:00