Commit graph

4277 commits

Author SHA1 Message Date
Hazelnoot
2e486f02ff implement no-op caches for testing 2025-06-09 11:02:36 -04:00
Hazelnoot
1d06ac4824 fix reversed isBlocking / isBlocked in UserEntityService.getRelation 2025-06-09 11:02:36 -04:00
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
b7624666d6 implement QuantumKVCache.add and QuantumKVCache.addMany 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
16858cf2f7 fix response type of i/registry/get endpoint 2025-06-07 20:22:40 -04:00
Hazelnoot
735cd12654 fix array length check in i/update attributionDomains parameter 2025-06-07 18:59:02 -04:00
Hazelnoot
36b85d62c2 check that detected AP object is actually a note before recording it in UrlPreviewService 2025-06-07 18:50:28 -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
d0cf1cc15f remove IDX_instance_host_filters as it slowed down queries more than it helped 2025-06-06 23:35:25 -04:00
Hazelnoot
b1307a050c fix merge error 2025-06-06 22:20:17 -04:00
Hazelnoot
d3d201d0cf reduce log spam from ApiCallService 2025-06-06 22:20:17 -04:00
Hazelnoot
22653efdc4 reduce log spam from QueueProcessorService 2025-06-06 22:20:17 -04:00
Hazelnoot
3e9ca84347 record user ID in API error logger, matching sentry 2025-06-06 22:20:17 -04:00
Hazelnoot
d23d7f1e0b don't record potentially sensitive data in API logs 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
c8797451e3 render error cause in render-inline-error.ts 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
8e30744bb9 reduce log spam from import/export processes 2025-06-06 22:20:17 -04:00
Hazelnoot
12acad0654 reduce log spam from AggregateRetentionProcessorService 2025-06-06 22:20:17 -04:00
Hazelnoot
7acd37fda0 reduce log spam from CheckModeratorsActivityProcessorService 2025-06-06 22:20:16 -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
bcd9f1247e minimize logs from node-fetch FetchErrors 2025-06-06 22:20:16 -04:00
Hazelnoot
75b85eb165 record details of recursive proxy rejections 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