Commit graph

4750 commits

Author SHA1 Message Date
Hazelnoot
4b57d7d6dd populate renote target in NoteVisibilityService 2025-09-18 17:36:26 -04:00
Hazelnoot
a1a35cad25 fix data load/passing in NoteVisibilityService 2025-09-18 17:36:25 -04:00
Hazelnoot
8430ceac7a merge: fix: respect privacy settings on akkoma/pleroma note imports (!1217)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1217

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-09-15 14:35:09 -04:00
Hazelnoot
49901cc46b merge: Conditional role tester (!1201)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1201

Closes #897

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-09-14 06:56:13 -04:00
Hazelnoot
e72d153cc8 merge: Add check to prevent creating too many active dialog announcements (!1175)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1175

Closes #769

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-09-14 06:54:53 -04:00
Hazelnoot
364e189721 merge: Support video/x-matroska (MKV) files for embed (!1214)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1214

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-13 14:32:57 -04:00
Hazelnoot
aee99a4000 merge: Better error handling in WebSocket (!1224)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1224

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-13 14:32:45 -04:00
Hazelnoot
13b6097a12 merge: Allow for sending announcement mails with List-Unsubscribe: (!1164)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1164

Closes #854

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-09-13 12:32:39 -04:00
Hazelnoot
c677a9c515 restore module file types to audio types list 2025-09-13 11:42:20 -04:00
Hazelnoot
1397f63ceb align file types in SearchServices with full list of supported types 2025-09-13 11:42:20 -04:00
Hazelnoot
e260a05f42 recognize video/x-matroska (MKV files) as a video type 2025-09-13 11:42:20 -04:00
Hazelnoot
f93693535e disconnect ws error event after promise resolves 2025-09-13 11:41:22 -04:00
Hazelnoot
4f68bbfd52 disconnect startup error handler after establishing connection 2025-09-13 11:41:22 -04:00
Hazelnoot
272f5cc5ab add error handler for connection 2025-09-13 11:41:22 -04:00
Hazelnoot
3770f4a86a disconnect pong() listener when closing connection 2025-09-13 11:41:22 -04:00
Hazelnoot
840f589651 disconnect message callback when disposing Connection instance 2025-09-13 11:41:22 -04:00
Hazelnoot
d18b910791 don't detach error handler until *after* socket close 2025-09-13 11:41:22 -04:00
Hazelnoot
49eb26694a add error handler for ws library 2025-09-13 11:41:22 -04:00
Hazelnoot
c66020c6cd restore appendContentWarning 2025-09-13 11:34:39 -04:00
Hazelnoot
d118333f54 Revert "fix note ordering in antennas"
This reverts commit 39d76f7d662f66cf5d1a0396c43820ddc89362fc.
2025-09-13 11:34:39 -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
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
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