Commit graph

31859 commits

Author SHA1 Message Date
Hazelnoot
424e163c6f fix type errors with JsonLdService and remove unused factory pattern 2025-06-09 11:03:51 -04:00
Hazelnoot
d0ae76214c output log messages with correct level 2025-06-09 11:03:48 -04:00
Hazelnoot
cbb1ed3eed accept fep-e232 "tag" quotes in objects 2025-06-09 11:03:17 -04:00
Hazelnoot
aefd94c0b0 render fep-e232 "tag" quotes in notes 2025-06-09 11:03:02 -04:00
Hazelnoot
b2c72da96c pull out ILink interface 2025-06-09 11:03:02 -04:00
Hazelnoot
15baf78ad7 accept fep-044f "quote" in objects 2025-06-09 11:03:02 -04:00
Hazelnoot
5a99e74ee3 render fep-044f "quote" in notes 2025-06-09 11:03:02 -04:00
Hazelnoot
2aaed4764c add fep-044f "quote" to context and model 2025-06-09 11:03:02 -04:00
Hazelnoot
e7feca8784 document cache implementations 2025-06-09 11:02:53 -04:00
Hazelnoot
fa68751a19 normalize userFollowingsCache / userFollowersCache and add hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places 2025-06-09 11:02:51 -04:00
Hazelnoot
372714c9b6 implement userFollowersCache 2025-06-09 11:02:36 -04:00
Hazelnoot
853b548a43 re-type userFollowingsCache to match the others 2025-06-09 11:02:36 -04:00
Hazelnoot
0c84d73294 move QuantumKVCache to a separate file 2025-06-09 11:02:36 -04:00
Hazelnoot
633b64e5c3 disable caches in unit tests 2025-06-09 11:02:36 -04:00
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
448c5413a3 don't prepend "RE:" is the CW already has it 2025-06-09 11:00:29 -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
df55ec2200 merge: Fix inverted condition in resolveLocal (!1103)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1103

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-09 10:51:38 +00:00
Hazelnoot
141a92cf0c fix inverted condition in resolveLocal 2025-06-08 19:57:01 -04:00
Hazelnoot
cb8ae13685 merge: Fix regressions and missing parts of recent work (!1102)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1102

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-08 17:42:29 +00:00
Hazelnoot
3d804c560d use SKUrlPreviewGroup in more places 2025-06-07 20:54:21 -04:00
Hazelnoot
e3668be8f4 fix race conditions and bugs in pref-migrate.ts 2025-06-07 20:25:18 -04:00
Hazelnoot
4085c8a4f1 integrate localStorage options into preference system 2025-06-07 20:24:44 -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
Marie
3f8dcbf4bb merge: Update file th-TH.yml (!1101)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1101

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-07 18:49:25 +00:00
Ahri Enby
f4f893dacf Update file th-TH.yml 2025-06-07 15:14:18 +01:00
Hazelnoot
c71f816be2 fix TS errors about user, info, and init 2025-06-07 00:39:30 -04:00
Hazelnoot
c21209152c add missing awaits in admin-user.vue 2025-06-07 00:31:13 -04:00
Hazelnoot
f3b3609950 harden Resolver.parseLocal against local URls to remote content 2025-06-06 23:36:16 -04:00
Hazelnoot
4b751bf28a fix admin-user AP fetch 2025-06-06 23:35:48 -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