Commit graph

32552 commits

Author SHA1 Message Date
Hazelnoot
4142788989 add MockRedis testing utility 2025-11-05 19:20:05 -05:00
Hazelnoot
1d5bc6928f add FakeRedis testing utility 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
920dd5893d add [isRetryableSymbol] to begin moving away from unreliable heuristic 2025-11-05 19:20:04 -05:00
Hazelnoot
37f00b9ca1 recurse to Error.cause in is-retryable-error.ts 2025-11-05 19:20:04 -05:00
Hazelnoot
ac0e3d9394 prevent crash if Redis cache has a negative lifetime 2025-11-05 19:20:04 -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
c2f6f54f50 make MiUser.isRemoteUser / MiUser.isLocalUser generic 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
Hazelnoot
697c897d94 fix circular dependency in DriveFileEntityService.ts 2025-11-05 19:20:04 -05:00
Hazelnoot
5b01ed54b9 implement MockApResolverService.ts testing utility 2025-11-05 19:20:04 -05:00
Hazelnoot
6f6ee0436e verify recursion limit in MockResolver 2025-11-05 19:20:04 -05:00
Hazelnoot
c45d6ea452 implement MockLoggerService.ts testing utility 2025-11-05 19:20:04 -05:00
Hazelnoot
5a28c4e110 implement kvp-array.ts utility 2025-11-05 19:20:04 -05:00
Hazelnoot
457fc38e6a normalize more TS configs 2025-11-05 19:20:04 -05:00
Hazelnoot
d135f09a60 fix "eslint missing" error in backend 2025-11-05 19:20:04 -05:00
Hazelnoot
4d9317ad2b make sure S3 clients are properly disposed 2025-11-05 19:20:04 -05:00
Hazelnoot
db4661397b fix accidental "import type" in FederatedInstanceService 2025-11-05 19:20:04 -05:00
Hazelnoot
b8e3f545c0 add missing shutdown hooks in unit tests 2025-11-05 19:20:04 -05:00
Hazelnoot
4db8d0b9ed make sure GlobalModule.dispose always completes 2025-11-05 19:20:04 -05:00
Hazelnoot
e7f93f19bf make sure QueueProcessorService.dispose always completes 2025-11-05 19:20:04 -05:00
Hazelnoot
89981285b2 make sure QueueModule.dispose always completes 2025-11-05 19:20:04 -05:00
Hazelnoot
910af0532c make sure ChartManagementService.dispose always completes 2025-11-05 19:20:04 -05:00
Hazelnoot
83adb5e887 add missing bindThis to several onApplicationShutdown hooks 2025-11-05 19:20:04 -05:00
Hazelnoot
ac9b787796 move userFollowingChannelsCache and federatedInstanceCache to CacheService for more reliable disposal 2025-11-05 19:20:04 -05:00
Hazelnoot
4b4efef5f9 add missing cache dispose/clear to CacheService 2025-11-05 19:20:04 -05:00
Hazelnoot
3c3253f84a remove duplicate event from CacheService 2025-11-05 19:20:04 -05:00
Hazelnoot
5a05978776 fix test errors caused by AppLockService opening Redis connections in the constructor 2025-11-05 19:20:04 -05:00
Hazelnoot
bac8c3859b fix test errors caused by QueueService opening BullMQ queues in the constructor 2025-11-05 19:20:04 -05:00
Hazelnoot
0b47d144f7 add license headers 2025-11-05 19:20:04 -05:00
Hazelnoot
4fbaf5aceb use correct filter syntax in CI scripts 2025-11-05 19:20:01 -05:00
Hazelnoot
2faeabe79c rework misskey-js build to preserve original package structure 2025-11-05 19:19:10 -05:00
Hazelnoot
b8a3bd6182 rebuild misskey-js 2025-11-05 19:19:10 -05:00
Hazelnoot
32f086bce4 test misskey-js in pipelines 2025-11-05 19:19:10 -05:00
Hazelnoot
5d645bd7ca fix misskey-js tests (unit and type) 2025-11-05 19:19:09 -05:00
Marie
02e80f6ea6 merge: Fix note create/edit validation to prevent quote loops and other invalid notes (resolves #1194) (!1230)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1230

Closes #1194

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-03 23:17:12 +01:00
Marie
fd0568a7d4 merge: Implement shared access for accounts (!1140)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1140

Closes #657

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-03 23:13:03 +01:00
Hazelnoot
63d62eb1ba merge: Enable security scanning in CI pipelines (resolves #407, replaces !414) (!1232)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1232

Closes #407

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-03 17:11:19 -05:00
dakkar
f7d9770386 merge: Fixes to viewing notes on the remote instance (!1236)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1236

Closes #1206

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-10-27 14:58:59 +00:00
bunnybeam
3c3a7b6cbb
cleanup for show-note-on-original-instance fixes 2025-10-26 11:44:21 +00:00
bunnybeam
7c92c2215d
add warning to 'View on remote instance' 2025-10-26 02:04:54 +00:00
bunnybeam
e5ffb857d8
add warning to showOnRemote 2025-10-26 00:20:15 +01:00
Hazelnoot
4c8ab73ecd fix rebase errors 2025-10-08 21:24:19 -04:00
Hazelnoot
43b83ad3bc regenerate misskey-js 2025-10-08 21:12:16 -04:00