Commit graph

5183 commits

Author SHA1 Message Date
Hazelnoot
5ee1621845 fix mute cache expiration 2025-11-12 17:20:22 -05:00
Hazelnoot
8f033d9b89 use import type in RelayService 2025-11-12 17:07:59 -05:00
Hazelnoot
82bf739be1 fix rebase errors in master.ts 2025-11-12 17:07:59 -05:00
Hazelnoot
4e35353bea fix rebase errors 2025-11-12 17:07:58 -05:00
Hazelnoot
ead697ee3b merge coreLogger utility with new startup services concept 2025-11-12 17:07:58 -05:00
Hazelnoot
146c0a6096 fix merge errors 2025-11-12 17:07:58 -05:00
Hazelnoot
0baf8555ef add missing LD context for noindex 2025-11-12 17:07:58 -05:00
Hazelnoot
295b744db1 await or track more background delivery 2025-11-12 17:07:58 -05:00
Hazelnoot
11356acb98 suppress JSON-LD errors when signing activities for relays 2025-11-12 17:07:58 -05:00
Hazelnoot
b3e41b74a1 implement admin/restart-migration endpoint 2025-11-12 17:07:58 -05:00
Hazelnoot
8310c128a8 fix WebhookTestService 2025-11-12 17:07:58 -05:00
Hazelnoot
42b51e31fd return movedAt, movedTo, and alsoKnownAs from admin/show-user endpoint 2025-11-12 17:07:58 -05:00
Hazelnoot
ba77e606f8 export migration URIs in addition to resolved user IDs, and move alsoKnownAs to MeDetailed for privacy 2025-11-12 17:07:58 -05:00
Hazelnoot
756e99e9c4 fix OpenAPI format for UserDetailed.movedTo 2025-11-12 17:07:58 -05:00
Hazelnoot
a347da6277 improve hostname logging in AccountMoveService 2025-11-12 17:07:57 -05:00
Hazelnoot
4225014603 fix return type of AccountMoveService.moveFromLocal 2025-11-12 17:07:57 -05:00
Hazelnoot
249205eef3 fix another cherry-pick mistake 2025-11-12 17:07:57 -05:00
Hazelnoot
f609c1cf11 fix cherry-pick error 2025-11-12 17:07:57 -05:00
Hazelnoot
b48e916b4a update caches when moving accounts 2025-11-12 17:07:37 -05:00
Hazelnoot
5003557e90 don't mute users who are already followed 2025-11-12 17:07:37 -05:00
Hazelnoot
be3c911e48 run account move steps 1-at-a-time 2025-11-12 17:07:37 -05:00
Hazelnoot
958ce72249 when migrating accounts, don't block the target if already following 2025-11-12 17:07:37 -05:00
Hazelnoot
41d8c04097 use CacheService in all relationship jobs 2025-11-12 17:07:37 -05:00
Hazelnoot
3fb2b38c92 process account migrations on the relationship queue 2025-11-12 17:07:37 -05:00
Hazelnoot
8089a67b4e add TODO reminders for future merges 2025-11-12 17:07:37 -05:00
Hazelnoot
45a194b757 await more things in AccountMoveService 2025-11-12 17:07:37 -05:00
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
ca2de630b9 fix fetchMaybe tests 2025-11-12 00:44:24 -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
815bb2234e fix broken import in MockRedis 2025-11-11 23:13:54 -05:00
Hazelnoot
c9b06306f3 fix lint error in FetchFailedError.ts 2025-11-11 23:13:36 -05:00
Hazelnoot
d6071853ca fix TS errors when checking unit tests
(it was loading the setup files, then following the imports into "built" directory. as those are compiled JS, it produced lots of type errors.)
2025-11-11 23:13:11 -05:00
Hazelnoot
a777b2357b support async disposal in CacheManagementService 2025-11-11 22:54:35 -05:00
Hazelnoot
39f291cdeb move CacheManagementServiceTests to correct location 2025-11-11 22:45:17 -05:00
Hazelnoot
6387b36dc3 implement callAllAsync and callAllOnAsync utilities 2025-11-11 22:40:26 -05:00
Hazelnoot
c777b79431 implement assert.isNotNullish, assert.throws, assert.throwsAsync, and assert.rejectsAsync testing utilities 2025-11-11 20:19:08 -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