Commit graph

2008 commits

Author SHA1 Message Date
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
d59e16244e fix module imports 2025-11-05 19:42:30 -05:00
Hazelnoot
9b99e8eba8 add new Console global DI to abstract the node.js console 2025-11-05 19:42:30 -05:00
Hazelnoot
a55649e89a move global services to "global" directory 2025-11-05 19:42:28 -05:00
Hazelnoot
00b216c83c remove InternalEventService from CoreModule 2025-11-05 19:41:09 -05:00
Hazelnoot
f83a403106 implement EnvService.getDependencyVersion 2025-11-05 19:41:09 -05:00
Hazelnoot
2b3fb2ef9f fix crash caused by wrong property name in SystemAccountService.ts 2025-11-05 19:41:08 -05:00
Hazelnoot
05be2596ea update backend to the new templates 2025-11-05 19:41:08 -05:00
Hazelnoot
3fc17fd0ee use cache in NotificationEntityService 2025-11-05 19:40:10 -05:00
Hazelnoot
23594d7373 fix AppLockService and redis-lock library 2025-11-05 19:35:41 -05:00
Hazelnoot
3702729f26 update all dependencies 2025-11-05 19:29:50 -05:00
Hazelnoot
681afb2d9f fix type errors caused by dependency updates 2025-11-05 19:25:53 -05:00
Hazelnoot
2f4270b8f7 manage GC timers in CacheManagementService 2025-11-05 19:21:51 -05:00
Hazelnoot
deff0c0f49 fix lint errors about use of console and new() cache 2025-11-05 19:21:51 -05:00
Hazelnoot
dd7545e105 move LoggerService to GlobalModule 2025-11-05 19:21:51 -05:00
Hazelnoot
723ba56840 Revert "fix test errors caused by AppLockService opening Redis connections in the constructor"
This reverts commit 04cd2e03c038cf1fb74869295c8ed3c32e20e3ee.
2025-11-05 19:21:50 -05:00
Hazelnoot
3a92471b68 convert all remaining backend code to TimeService 2025-11-05 19:21:50 -05:00
Hazelnoot
6cceca90f9 use TimeService everywhere in the backend 2025-11-05 19:21:46 -05:00
Hazelnoot
ed750fd990 support promise timers in TimeService 2025-11-05 19:20:25 -05:00
Hazelnoot
64745a41e5 use TimeService in charts 2025-11-05 19:20:25 -05:00
Hazelnoot
2dfc878445 add GodOfTimeService.tick() to easily increment time 2025-11-05 19:20:25 -05:00
Hazelnoot
36205cc496 fix merge errors 2025-11-05 19:20:25 -05:00
Hazelnoot
f77694d75a use TimeService in FetchInstanceMetadataService 2025-11-05 19:20:25 -05:00
Hazelnoot
ce77da52d0 fix lint warnings in ApNoteService.ts 2025-11-05 19:20:25 -05:00
Hazelnoot
f908b85e95 fix many circular dependencies (import, forwardRef, and use of methods that should be exported functions instead) 2025-11-05 19:20:25 -05:00
Hazelnoot
34ea8dcbc2 manage user keypairs cache 2025-11-05 19:20:06 -05:00
Hazelnoot
b49ba4b00d commit missed change 2025-11-05 19:20:06 -05:00
Hazelnoot
46398b3dcd manage system accounts cache and fix sync issues 2025-11-05 19:20:06 -05:00
Hazelnoot
32ea83927f manage sponsors cache 2025-11-05 19:20:06 -05:00
Hazelnoot
0e516126f7 manage roles and role assignments caches 2025-11-05 19:20:06 -05:00
Hazelnoot
a4784eec9a manage relays cache 2025-11-05 19:20:06 -05:00
Hazelnoot
ad5443d2cc manage push subscriptions cache 2025-11-05 19:20:06 -05:00
Hazelnoot
2caec2f530 manage avatar decorations cache 2025-11-05 19:20:06 -05:00
Hazelnoot
6ff3d506b5 fix public key caching 2025-11-05 19:20:06 -05:00
Hazelnoot
57511f26d9 commit missed changes 2025-11-05 19:20:06 -05:00
Hazelnoot
ea80af9243 fix webhook caching 2025-11-05 19:20:06 -05:00
Hazelnoot
2daf5c16ec fix list and instance caching, manage all CacheService caches, and fix list "with replies" setting 2025-11-05 19:20:05 -05:00
Hazelnoot
bb0925224d fix emoji caching 2025-11-05 19:20:05 -05:00
Hazelnoot
97300774c0 add InstanceStatsService 2025-11-05 19:20:05 -05:00
Hazelnoot
b5f2c743b2 remove dependency on UserEntityService from CacheService 2025-11-05 19:20:05 -05:00
Hazelnoot
373456fa17 move TimeService, EnvService, CacheManagementService, and InternalEventService to GlobalModule 2025-11-05 19:20:05 -05:00
Hazelnoot
411df0c0bf fix DI errors when using TimeService 2025-11-05 19:20:05 -05:00
Hazelnoot
239cc3de6d implement CacheManagementService to provided centralized management of cache instances 2025-11-05 19:20:05 -05:00
Hazelnoot
20b763c3c3 generate IDs based on TimeService 2025-11-05 19:20:04 -05:00
Hazelnoot
ab213f2146 make GlobalEventService depend on InternalEventService (instead of the other way around) so that they can eventually be separated 2025-11-05 19:20:04 -05:00
Hazelnoot
48cc7e21e3 make TimeService abstract and add support for managed timers 2025-11-05 19:20:04 -05:00
Hazelnoot
5f6578c8cd fix circular dependency caused by is-retryable-error, render-inline-error, and render-full-error 2025-11-05 19:20:04 -05:00
Hazelnoot
7c8d09f1c9 add missing bindThis() to OnModuleInit / OnApplicationShutdown handlers 2025-11-05 19:20:04 -05:00
Hazelnoot
92466ed569 fix circular dependency in NoteEntityService.ts 2025-11-05 19:20:04 -05:00