Hazelnoot
db581d2ea9
log non-fatal errors in AccountMoveService
2025-11-12 17:07:37 -05:00
Hazelnoot
39bdd691e8
use InternalEventService in AccountMoveService
2025-11-12 17:07:37 -05:00
Hazelnoot
6ac973c5d9
add missing JSON-LD context for as:movedTo
2025-11-12 17:07:36 -05:00
Hazelnoot
05461f938f
move global services to "global" directory
2025-11-12 17:07:36 -05:00
Hazelnoot
fdabe27d30
remove error filtering
2025-11-12 01:00:32 -05:00
Hazelnoot
79289f1a87
separate get into get and getMaybe
2025-11-12 01:00:16 -05:00
Hazelnoot
a2ddeb28c3
separate get into get and getMaybe
2025-11-12 00:53:39 -05:00
Hazelnoot
a1265f4c45
implement refreshMaybe
2025-11-12 00:44:38 -05:00
Hazelnoot
0ab203f790
add missing comment for refreshMany
2025-11-12 00:44:03 -05:00
Hazelnoot
616025198a
remove incomplete and unused patchPromiseTypes implementation
2025-11-12 00:00:13 -05:00
Hazelnoot
29c069e39a
move more "common" environment logic to prepEnv
2025-11-11 23:59:33 -05:00
Hazelnoot
ece03bef61
QuantumKVCache upgrades:
...
* Implement optionalFetcher callback
* Allow rate limits for all fetcher types
* De-duplicate concurrent fetch operations
* Stricter type checks for cache value types
* Add abort-on-dispose support for all fetcher types
* Dispose terminates and awaits all in-progress fetches
* Throw on attempts to use a disposed cache
* Unit test cleanup
* Reduced overhead for async operations
* More normalized exception handling
2025-11-11 23:59:03 -05:00
Hazelnoot
c9b06306f3
fix lint error in FetchFailedError.ts
2025-11-11 23:13:36 -05:00
Hazelnoot
a777b2357b
support async disposal in CacheManagementService
2025-11-11 22:54:35 -05:00
Hazelnoot
6387b36dc3
implement callAllAsync and callAllOnAsync utilities
2025-11-11 22:40:26 -05:00
Hazelnoot
e5f78145d2
update all QuantumKVCache fetchers to use consistent code styles
2025-11-11 20:18:12 -05:00
Hazelnoot
fa1273a737
fix incorrect reference to process.env in Logger
2025-11-11 20:17:05 -05:00
Hazelnoot
d6f6d89bc3
use promise utilities in TimeService
2025-11-11 20:16:36 -05:00
Hazelnoot
bcc0c5fa55
implement withCleanup and withSignal Promise utilities
2025-11-11 20:16:23 -05:00
Hazelnoot
49ac63db1c
fix DisposeError, DisposedError, and DisposingError not having a message
2025-11-11 20:15:58 -05:00
Hazelnoot
05414ce0b9
return promises for chaining in promise-tracker.ts
2025-11-11 20:15:40 -05:00
Hazelnoot
5f37eef244
add throwIfAborted and rejectIfAborted utilities to simplify AbortSignal handling
2025-11-11 20:15:11 -05:00
Hazelnoot
8d848703b5
add polyfill for Promise.try
2025-11-11 20:14:52 -05:00
Hazelnoot
9534bacbf5
add polyfill for Error.isError
2025-11-11 20:14:44 -05:00
Hazelnoot
5f50f51426
fix custom errors having the wrong name in stack traces
2025-11-11 20:07:28 -05:00
Hazelnoot
73f672ff79
implement AbortedError to represent an aborted operation
2025-11-11 20:06:13 -05:00
Hazelnoot
c4866c9712
implement error types for disposal patterns
2025-11-09 00:51:52 -05:00
Hazelnoot
b013649a41
prefer type-only imports in testing utilities
2025-11-09 00:51:34 -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