Commit graph

32295 commits

Author SHA1 Message Date
Hazelnoot
641180fb2f fix muted notes not filling their container 2025-09-13 11:34:39 -04:00
Hazelnoot
b3428480de hide mandatory CWs when "uncollapse CWs on notes" is enabled 2025-09-13 11:34:38 -04:00
Hazelnoot
97371bd893 update get-note-summary (both copies) to use same wording as SkMutedNote 2025-09-13 11:34:38 -04:00
Hazelnoot
84ffc6361b fix duplicate mandatory CWs in following feed 2025-09-13 11:34:38 -04:00
Hazelnoot
f3d7229c55 add missing instance mandatory CW to frontend getNoteSummary 2025-09-13 11:34:38 -04:00
Hazelnoot
2e41f580e3 fix API return type of cw-instance, cw-user, and cw-note endpoints 2025-09-13 11:34:38 -04:00
Hazelnoot
d960c4b863 trim mandatory CWs 2025-09-13 11:34:38 -04:00
Hazelnoot
5cb94e3c60 fix replies / renotes of silenced users/instances by a followed user appearing in the streaming API 2025-09-13 11:34:38 -04:00
Hazelnoot
cd25ed8d18 remove no-op Fanout alwaysIncludeMyNotes option 2025-09-13 11:34:38 -04:00
Hazelnoot
9dad384f81 fix Fanout ignoreAuthorFromUserSuspension option not working after relation changes 2025-09-13 11:34:38 -04:00
Hazelnoot
f0b1809598 fix Fanout ignoreAuthorFromInstanceBlock option not working after relation changes 2025-09-13 11:34:38 -04:00
Hazelnoot
4c87289e70 fix Fanout excludeReplies option include our own replies 2025-09-13 11:34:38 -04:00
Hazelnoot
929ddb7e76 fix excludeAuthor check in QueryService.generateBlockedHostQueryForNote 2025-09-13 11:34:38 -04:00
Hazelnoot
c9fc153fe2 remove un-necessary call to isAccessible from shouldRedact 2025-09-13 11:34:38 -04:00
Hazelnoot
b289a0c091 don't copy note multiple times while recursing in checkNoteVisibility 2025-09-13 11:34:38 -04:00
Hazelnoot
2bb7980fe7 deep-copy notes before syncing visibility 2025-09-13 11:34:38 -04:00
Hazelnoot
bac4d43773 avoid creating an unnecessary Map in FederatedInstanceService 2025-09-13 11:34:38 -04:00
Hazelnoot
023d4dd850 fix ignoring the result of .filter() in FanoutTimelineEndpointService 2025-09-13 11:34:38 -04:00
Hazelnoot
e6547be0a2 tweak populateUsers for consistency between user & instance code paths 2025-09-13 11:34:38 -04:00
Hazelnoot
1e2f34c813 make sure that fanout timeline notes are fully populated 2025-09-13 11:34:38 -04:00
Hazelnoot
4b37bb23a2 expose federatedInstanceCache for access to bulk cache APIs 2025-09-13 11:34:38 -04:00
Hazelnoot
fbf6fc0c54 rename includeSilencedAuthor to ignoreSilencedAuthor for readability 2025-09-13 11:34:38 -04:00
Hazelnoot
877e93a847 don't hide replies in clips 2025-09-13 11:34:38 -04:00
Hazelnoot
a63c66c073 set packedNote.bypassSilence when it's our own note 2025-09-13 11:34:38 -04:00
Hazelnoot
8ca9f90afe normalize more endpoint filtering code 2025-09-13 11:34:38 -04:00
Hazelnoot
a756b309f0 don't filter /drive/files/attached-notes when called by a moderator 2025-09-13 11:34:38 -04:00
Hazelnoot
f5df44e028 enforce role policies in /notes endpoint 2025-09-13 11:34:38 -04:00
Hazelnoot
738106f493 recurse into boosts in generateSilencedUserQueryForNotes (needs a cleanup later, but working for now) 2025-09-13 11:34:38 -04:00
Hazelnoot
26b19c9008 refactor queries in NoteEntityService.pack to load less data and cover more edge cases 2025-09-13 11:34:38 -04:00
Hazelnoot
d0605c2220 fix WebhookTestService 2025-09-13 11:34:38 -04:00
Hazelnoot
143373f6c0 regenerate misskey-js 2025-09-13 11:34:38 -04:00
Hazelnoot
6e00abc1f0 call generateExcludedRepliesQueryForNotes from bubble, global, hybrid, local, home, list, and role timelines 2025-09-13 11:34:38 -04:00
Hazelnoot
a4012b535b exclude muted author in list timelines 2025-09-13 11:34:38 -04:00
Hazelnoot
c8d3e92c9c hide suspended users from bubble and global timelines 2025-09-13 11:34:38 -04:00
Hazelnoot
61033dd0c0 fix note ordering in antennas 2025-09-13 11:34:37 -04:00
Hazelnoot
7842847f6b implement QueryService.generateExcludedRepliesQueryForNotes 2025-09-13 11:34:37 -04:00
Hazelnoot
f26566e844 add withReplies option to QueryService.addFollowingUser, .andFollowingUser, and .orFollowingUser 2025-09-13 11:34:37 -04:00
Hazelnoot
c9fbe58715 add missing condition in QueryService.generateSilencedUserQueryForNotes 2025-09-13 11:34:37 -04:00
Hazelnoot
96ee635765 make QueryService.generateSuspendedUserQueryForNote automatically add all required joins 2025-09-13 11:34:37 -04:00
Hazelnoot
f1fc8bc357 add bypassSilence property at note level to fix silenced users' self-boosts showing a warning even when the user is followed 2025-09-13 11:34:37 -04:00
Hazelnoot
b9778e7fc8 remove extra relations from FanoutTimelineEndpointService 2025-09-13 11:34:37 -04:00
Hazelnoot
0f2e8fd454 disable silence for the entire user profile section 2025-09-13 11:34:37 -04:00
Hazelnoot
f9a45238e9 fix mute overrides for bulk-disabling silence 2025-09-13 11:34:37 -04:00
Hazelnoot
85ca2269e4 completely re-implement note visibility as NoteVisibilityService 2025-09-13 11:34:37 -04:00
Hazelnoot
d1912362e0 remove duplicate / incorrect filtering from fanout timeline endpoints 2025-09-13 11:34:37 -04:00
Hazelnoot
e9d9246f64 reformat generateSilencedUserQueryForNotes for readability 2025-09-13 11:34:37 -04:00
Hazelnoot
21700a668e add error checking for QueryService.leftJoin 2025-09-13 11:34:37 -04:00
Hazelnoot
efc8bbb4b3 fix comment typo in QueryService 2025-09-13 11:34:37 -04:00
Hazelnoot
613e05dcc9 fix muted note/thread checks in QueryService 2025-09-13 11:34:37 -04:00
Hazelnoot
24e1294a70 recurse to filter boosts in FanoutTimelineEndpointService filters 2025-09-13 11:34:37 -04:00