dakkar
f6f3852b38
pick lints
2025-06-10 16:33:44 +01:00
dakkar
b4608aeb53
fix fetch-validate-ap-deny e2e test
...
our error messages are slightly different from upstream's
2025-06-10 16:22:09 +01:00
dakkar
ae9daca4f2
only run 1 e2e test at a time
...
I think each test wipes the database at startup? but they share the
database, so running them in parallel feels like a bad idea in general
2025-06-10 16:17:17 +01:00
dakkar
363fb4db3a
fix streaming e2e test
...
the test I toggled said:
* ayako follows kyoko, withReplies:false
* kyoko posts a reply to kanako
* ayako is looking at the global timeline
* ayako will see kyoko's reply
but I'm pretty sure we don't want that, so the test was wrong for
Sharkey and the backend behaviour is correct
2025-06-10 16:09:22 +01:00
dakkar
31e21d4d7d
fix timeline e2e test
2025-06-10 16:04:02 +01:00
dakkar
88dac56efc
fix notes e2e test
2025-06-10 15:37:20 +01:00
dakkar
d222fafc1b
fix visibility regressions and merge typos
2025-06-10 15:13:53 +01:00
dakkar
aba4b537ad
fix typo in QueryService
2025-06-10 14:49:14 +01:00
dakkar
26aef4d043
fix tests for new user shape
2025-06-10 14:49:04 +01:00
dakkar
25eafee4e2
let tests create users
2025-06-10 14:38:58 +01:00
dakkar
65e8bbd046
fix merge mistake
2025-06-10 14:12:31 +01:00
dakkar
3ebf9c4a71
Merge branch 'develop' into upstream/2025.5.0
2025-06-10 14:02:32 +01:00
Hazelnoot
8cf6f32869
merge: Fix admin-user / instance-info styling and broken controls ( !1106 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1106
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-10 06:40:46 +00:00
Hazelnoot
a0692ab91f
merge: Fix hard-muted notes leaving extra lines on the screen ( !1107 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1107
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-09 19:39:29 +00:00
Hazelnoot
841288aced
merge: Don't prepend "RE:" if the CW already has it ( !1104 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1104
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-09 19:25:56 +00:00
Hazelnoot
23e723099a
merge: Add missing comma to NoteEntityService.ts ( !1105 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1105
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-09 19:25:29 +00:00
Hazelnoot
442062db8d
fix hard-muted notes leaving extra lines on the screen
2025-06-09 13:31:25 -04:00
Hazelnoot
30679935ce
fix admin-user not working inside the reports ui
2025-06-09 13:19:54 -04:00
Hazelnoot
cd92518b59
increase width of admin-user and instance-admin screens to prevent scrolling the tab bar
2025-06-09 13:03:39 -04:00
Hazelnoot
1fe91cdab7
fix _spacer CSS on FireFox
2025-06-09 13:03:15 -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
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