Hazelnoot
b44abe0eaa
set X-Robots-Tag to disable indexing API endpoints
2025-06-13 23:18:06 -04:00
dakkar
99bf315351
merge: Fix uncaught exception hooks and add more shutdown logging. ( !1111 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1111
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-13 07:14:28 +00:00
Hazelnoot
3ce5471414
add additional process exit loggers
2025-06-12 21:37:28 -04:00
Hazelnoot
0a56ce92ca
use uncaughtExceptionMonitor instead uncaughtException
2025-06-12 21:36:46 -04:00
Hazelnoot
f8d4236a15
downgrade htmlparser2 to match cheerio
2025-06-12 21:18:52 -04:00
Hazelnoot
b8dd7f4a95
update to summaly 5.2.2
2025-06-12 21:11:17 -04:00
Hazelnoot
6b77c8b12b
correctly separate production / development dependencies
2025-06-12 21:11:16 -04:00
Hazelnoot
ce248e48b3
use pnpm package alias for @transfem-org/summaly
2025-06-12 21:11:16 -04:00
Hazelnoot
7eca06d672
use pnpm package alias for @transfem-org/sfm-js
2025-06-12 21:11:16 -04:00
Hazelnoot
1a964cb6c0
pcleanup dependencies:
...
* Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack
* Remove unused deps
* Move dev dependencies to correct section
* Pin versions where missing
2025-06-12 21:11:16 -04:00
Hazelnoot
20370e5e75
merge: Emit log messages with correct level ( !1097 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1097
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-12 19:06:43 +00:00
Hazelnoot
ae7767cd73
merge: Implement basic support for fep-e232 and fep-044f quotes ( resolves #1097 and #1098 ) ( !1098 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1098
Closes #1097 and #1098
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-12 16:45:07 +00:00
Hazelnoot
55551a5a8a
merge: Avoid more N+1 queries in NoteEntityService and UserEntityService ( !1099 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1099
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-12 15:42:39 +00:00
Hazelnoot
8f5212e453
enforce DM visibility in notes/mentions
2025-06-10 20:07:01 -04:00
Hazelnoot
27c27529f6
enforce DM visibility in generateVisibilityQuery
2025-06-10 19:52:47 -04:00
Hazelnoot
c200ed3666
fix relations in MastodonDataService.ts
2025-06-09 12:48:32 -04:00
Hazelnoot
646ffa7b62
fix missing @bindThis in CacheService
2025-06-09 11:45:20 -04:00
Hazelnoot
ed766e98e1
fix mixed-up userFollowingsCache / userFollowersCache
2025-06-09 11:37:51 -04:00
Hazelnoot
51572b7314
fix refactoring mistake in CacheService.ts
2025-06-09 11:26:21 -04:00
Hazelnoot
caa6dee656
add missing comma to NoteEntityService.ts
2025-06-09 11:11:11 -04:00
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
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