Commit graph

32270 commits

Author SHA1 Message Date
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
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