Commit graph

1678 commits

Author SHA1 Message Date
Hazelnoot
20cc736457 fix single-user relation calculations 2025-06-09 11:02:36 -04:00
Hazelnoot
223cdc9ea9 fix note/user accumulation in NoteEntityService.packMany, improving performance and avoiding extra sub-packs and fetches 2025-06-09 11:02:36 -04:00
Hazelnoot
c9884a74fc populate userProfile in more places 2025-06-09 11:02:36 -04:00
Hazelnoot
bd8cd8c4e4 use more bulk hints in NoteEntityService / UserEntityService, and run the packMany queries in parallel 2025-06-09 11:02:36 -04:00
Hazelnoot
5e7d0e9acc fix typo in QueryService.generateBlockQueryForUsers 2025-06-09 11:02:36 -04:00
Hazelnoot
68b84b28dd implement CacheService.getUsers and CacheService.getUserProfiles 2025-06-09 11:02:36 -04:00
Hazelnoot
3d13860ec8 update quantum caches when a user is deleted 2025-06-09 11:02:36 -04:00
Hazelnoot
9853a4f3bd use addMany instead of setMany when populating quantum caches from DB 2025-06-09 11:02:36 -04:00
Hazelnoot
bf1156426e add CacheService.getUserFollowings and CacheService.getUserBlockers 2025-06-09 11:02:36 -04:00
Hazelnoot
207abaff88 implement QuantumKVCache.setMany and QuantumKVCache.seleteMany 2025-06-09 11:02:36 -04:00
Hazelnoot
46a6612dc0 convert many RedisKVCaches to QuantumKVCache or MemoryKVCache 2025-06-09 11:02:36 -04:00
Hazelnoot
1f2742ddd7 add ignoreRemote filter to InternalEventService 2025-06-09 11:02:36 -04:00
Hazelnoot
f446d77cb5 implement QuantumKVCache 2025-06-09 11:02:36 -04:00
Hazelnoot
aa7cadbb6c implement InternalEventService 2025-06-09 11:02:36 -04:00
Hazelnoot
00c0bdbc94 merge: Reduce log spam (!1004)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1004

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-09 10:53:59 +00:00
Hazelnoot
141a92cf0c fix inverted condition in resolveLocal 2025-06-08 19:57:01 -04:00
Hazelnoot
73eeabc118 add ActivityPub representation to admin-user.vue 2025-06-07 18:49:37 -04:00
Hazelnoot
f3b3609950 harden Resolver.parseLocal against local URls to remote content 2025-06-06 23:36:16 -04:00
Hazelnoot
b1307a050c fix merge error 2025-06-06 22:20:17 -04:00
Hazelnoot
2cba0ada3c more use of identifiable errors, improvements to inner error rendering, and more heuristics for is-retryable-error 2025-06-06 22:20:17 -04:00
Hazelnoot
4540614f7b add more details to IdentifiableErrors 2025-06-06 22:20:17 -04:00
Hazelnoot
687de6f2f0 don't print massive HTTP errors in drive service 2025-06-06 22:20:17 -04:00
Hazelnoot
6627e8a9b8 add more details to StatusErrors 2025-06-06 22:20:17 -04:00
Hazelnoot
e9eaafae41 normalize use of .info (INFO) instead of .succ (DONE) logging 2025-06-06 22:20:17 -04:00
Hazelnoot
6d6e1dc0c0 reduce log spam from DownloadService 2025-06-06 22:20:16 -04:00
Hazelnoot
2854e15301 reduce log spam from DriveService 2025-06-06 22:20:16 -04:00
Hazelnoot
53fbe87ff2 reduce log spam from ApDbResolverService.refetchPublicKeyForApId 2025-06-06 22:20:16 -04:00
Hazelnoot
2863f343f8 reduce log spam from FileInfoService 2025-06-06 22:20:16 -04:00
Hazelnoot
a3c56529fa remove debug logger printing entire AP object to console 2025-06-06 22:20:16 -04:00
Hazelnoot
f42f9ee0b5 reduce log spam from FetchInstanceMetadataService.ts 2025-06-06 22:20:16 -04:00
Hazelnoot
a78ca52bf6 log source URL when failing resolution for a response with missing AP ID 2025-06-06 22:20:16 -04:00
Hazelnoot
291faeb00f clarify logs and reduce spam from RemoteUserResolveService.ts 2025-06-06 22:20:16 -04:00
Hazelnoot
fac3e8df5b avoid "unhandled rejection" errors from updatePerson 2025-06-06 22:20:16 -04:00
Hazelnoot
72e95b66a2 suppress large error messages from Got 2025-06-06 22:20:16 -04:00
Hazelnoot
ce08bd1b42 reduce, clarify, and normalize more error messages 2025-06-06 22:20:16 -04:00
Hazelnoot
b2c5029c3e render condensed errors when fetching following/followers/featured/outbox/emojis/banner/header/avatar 2025-06-06 22:20:12 -04:00
Hazelnoot
7a2abb1bf5 fix lint errors in ApPersonService.ts 2025-06-06 22:19:50 -04:00
Hazelnoot
61d0aeba2e add renderInlineError to serialize errors in a consistent way 2025-06-06 22:19:50 -04:00
Hazelnoot
3808502f86 improve retryable error detection in ApPersonService.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
41dfe7e329 remove duplicate error checking blocks from ApInboxService.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
f644972760 emit IdentifiableErrors from validator.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
3bf0a737c8 match attributionDomains entity to database schema 2025-06-06 13:17:20 -04:00
Hazelnoot
20a2505543 merge: Additional performance fixes (!1095)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1095

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-06 06:36:07 +00:00
Hazelnoot
05d7aa0b91 additional fixes and cleanup to all note endpoints 2025-06-05 02:34:57 -04:00
Hazelnoot
c76a5467f6 use index when checking visibleUserIds and mentions in generateVisibilityQuery 2025-06-05 00:30:58 -04:00
Hazelnoot
d86530a069 remove unused fields from WebhookTestService.ts 2025-06-04 10:48:24 -04:00
Hazelnoot
ee3cd216f7 fix TS errors in ReversiService 2025-06-04 10:47:19 -04:00
Hazelnoot
f17e464188 fix WebhookTestService again 2025-06-04 10:47:15 -04:00
Hazelnoot
23302fe7d8 add relation from user->user_profile to speed up UserEntityService.pack and packMany 2025-06-04 10:45:18 -04:00
Hazelnoot
71f60d519b add targetInstance to abuse report schema 2025-06-04 10:45:05 -04:00