Commit graph

32250 commits

Author SHA1 Message Date
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
Hazelnoot
06e944e666 check for silenced users, muted notes/threads, and note visibility in FanoutTimelineEndpointService.getMiNotes 2025-09-13 11:34:37 -04:00
Hazelnoot
6936ccf8db fix myFollowings not being passed from packMany to pack 2025-09-13 11:34:37 -04:00
Hazelnoot
c31283e9d6 don't populate relations in packMany unless we really need to 2025-09-13 11:34:37 -04:00
Hazelnoot
29ed47d326 fix logic in NoteEntityService.isVisibleForMe to be more consistent with everything else 2025-09-13 11:34:37 -04:00
Hazelnoot
252536ad9f fix WebhookTestService.ts 2025-09-13 11:34:37 -04:00
Hazelnoot
21f3834729 exclude user / instance mandatoryCW when bypassSilence is set 2025-09-13 11:34:37 -04:00
Hazelnoot
7728e749f1 return bypassSilence to the frontend and remove isSilencedForMe 2025-09-13 11:34:37 -04:00
Hazelnoot
e425d841b1 fix vue warning about defineExpose import 2025-09-13 11:34:37 -04:00
Hazelnoot
c373d814e9 fix bypassSilence flag 2025-09-13 11:34:37 -04:00
Hazelnoot
1b4263eba2 don't include instance silence in user silence flag 2025-09-13 11:34:37 -04:00
Hazelnoot
bc16dc78d4 add instance.isSilencedForMe 2025-09-13 11:34:37 -04:00
Hazelnoot
e4316e9721 fix WebhookTestService.ts 2025-09-13 11:34:37 -04:00
Hazelnoot
455be9e197 replace note.isSilenced with user.isSilencedForMe 2025-09-13 11:34:36 -04:00
Hazelnoot
b76bb672d9 bulk-expand silenced notes 2025-09-13 11:34:36 -04:00
Hazelnoot
32ae618ca6 hide silenced users in following feed 2025-09-13 11:34:36 -04:00
Hazelnoot
2be12dfe64 fix silenced users being hidden from their followers 2025-09-13 11:34:36 -04:00
Hazelnoot
a42edb0324 fix event type for cw-user 2025-09-13 11:34:36 -04:00
Hazelnoot
807aa1be3d normalize new CW in all mandatory CW endpoints 2025-09-13 11:34:36 -04:00
Hazelnoot
e5dfcf6f64 fix SkPatternTest 2025-09-13 11:34:36 -04:00
Hazelnoot
0a97e442b2 count "isSilenced" as a mute condition 2025-09-13 11:34:36 -04:00
Hazelnoot
16dedf7219 filter silenced notes in many more places 2025-09-13 11:34:36 -04:00
Hazelnoot
64694be004 mute silenced notes in frontend 2025-09-13 11:34:36 -04:00
Hazelnoot
24e14c78fd fix optional parameter in SkPatternText 2025-09-13 11:34:36 -04:00
Hazelnoot
ae9c21e322 fix mandatory CW for notes erasiong content 2025-09-13 11:34:36 -04:00
Hazelnoot
7ab3a20b3b fix cherry-pick error 2025-09-13 11:34:36 -04:00
Hazelnoot
62ec2ff34e move mandatory CW button above edit controls in note menu 2025-09-13 11:34:36 -04:00
Hazelnoot
1413be08a0 apply note mandatory CW through NoteEditService 2025-09-13 11:34:36 -04:00
Hazelnoot
a04f49b932 move "force CW" button to moderation section 2025-09-13 11:34:36 -04:00
Hazelnoot
1448533957 add context menu to set user CW 2025-09-13 11:34:36 -04:00
Hazelnoot
ba433d8914 don't recursively check mute text and improve grouping 2025-09-13 11:34:36 -04:00
Hazelnoot
179c7e18bd don't recurse for word mutes in sub-notes and following-feed entries 2025-09-13 11:34:36 -04:00
Hazelnoot
8652a4c63b allow SkMutedNote to not recurse for word mutes 2025-09-13 11:34:36 -04:00
Hazelnoot
57b9988c81 bulk-expand mandatory CWs on the following feed's user view 2025-09-13 11:34:36 -04:00
Hazelnoot
dfb3106dea propagate mute expand events from all note types 2025-09-13 11:34:36 -04:00
Hazelnoot
ffcb6de3c0 expand matching user/instance in DynamicNote 2025-09-13 11:34:36 -04:00
Hazelnoot
d62be884b3 replace "Mark instance as NSFW" toggle with an instance-level mandatory CW 2025-09-13 11:34:36 -04:00
Hazelnoot
604f5a5c68 fix SkPatternTest.vue 2025-09-13 11:34:36 -04:00
Hazelnoot
376997cbcc limit length of instance name in mutes 2025-09-13 11:34:36 -04:00
Hazelnoot
9f0fdbbb51 bulk-expand mandatory CWs 2025-09-13 11:34:36 -04:00
Hazelnoot
4847257011 fix bulk expand mute 2025-09-13 11:34:35 -04:00
Hazelnoot
40695c7925 expand all user/instance mutes when viewing a user's profile 2025-09-13 11:34:35 -04:00
Hazelnoot
ca9410e4fe allow mutes to be overridden by DI 2025-09-13 11:34:35 -04:00
Hazelnoot
812a82d41e emit event when expanding a muted note 2025-09-13 11:34:35 -04:00
Hazelnoot
5e0115335a add mandatory CW for instances 2025-09-13 11:34:35 -04:00
Hazelnoot
595c004a74 show mute info on single line 2025-09-13 11:34:35 -04:00