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
85ca2269e4
completely re-implement note visibility as NoteVisibilityService
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
7728e749f1
return bypassSilence to the frontend and remove isSilencedForMe
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
2be12dfe64
fix silenced users being hidden from their followers
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
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
1413be08a0
apply note mandatory CW through NoteEditService
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
5e0115335a
add mandatory CW for instances
2025-09-13 11:34:35 -04:00
Hazelnoot
92750240eb
implement mandatory CW for notes ( resolves #910 )
2025-09-13 11:34:35 -04:00
Hazelnoot
479e6daa1d
add role policy "canViewFederation"
2025-08-18 16:52:06 -04:00
Hazelnoot
ad4f9823a2
merge: Fix stuck "new chat message" indicators when a room is deleted ( !1216 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1216
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 19:08:33 +00:00
Marie
d872c6608f
merge: Allow restricting announcement to a set of roles ( !1161 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1161
Closes #682
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:11:08 +00:00
Hazelnoot
a92d3ca121
delete any "new chat" notifications when deleting rooms
2025-08-13 23:54:09 -04:00
Hazelnoot
1695f4c800
pass -map 0 to preserve all streams
2025-08-13 23:10:57 -04:00
наб
b61c1d5b27
forRoles IS NOT NULL, coalesce to empty=unrestricted
2025-08-11 23:53:05 +02:00
наб
f3b5c3f447
Allow restricting announcement to a set of roles. Fix MkRoleSelectDialog only respecting publicOnly half the time
...
Closes #682
2025-08-11 23:53:05 +02:00
dakkar
b1021b3518
more sensible variable names
...
thanks Hazelnoot
2025-08-03 13:33:27 +01:00
dakkar
9b164003d4
more robust "delivery suspend software"
...
upstream's code doesn't allow any way to match a version that `semver`
can't parse, not even with `*`:
```
> semver.satisfies('1-2-3','*');
false
> semver.satisfies('1.3','*');
false
> semver.satisfies('1.2.3','*');
true
```
while I was there, I added support for regexp in both name and
version, and added unit tests
2025-08-03 12:40:17 +01:00
dakkar
8f7629a819
Merge branch 'stable' into stable-2025.4.4-to-develop
2025-08-02 10:34:25 +01:00
dakkar
0c7982697b
ignore missing local files when deleting them
...
without this, clearing cached files would fail when some local files
had already been deleted
thanks to Siina for reporting the problem
2025-07-29 10:38:08 +01:00
dakkar
ce3531ed96
merge: Improve URL validation *FOR STABLE* ( !1191 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1191
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-28 19:28:01 +00:00
Hazelnoot
db15ac0fbb
fix DI error in HttpRequestService.ts
2025-07-27 19:39:20 +01:00
Hazelnoot
25622b536c
resolve domain names when checking for private URLs
2025-07-27 19:39:20 +01:00
Hazelnoot
3c59a7ae01
allow HTTP connections to private IPs
2025-07-27 19:39:20 +01:00
Hazelnoot
af967fe6be
refactor actor validation to reduce code duplication
2025-07-27 19:39:20 +01:00
Hazelnoot
07959b4a97
merge: Fix a few more error logging sites ( !1181 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1181
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-07-27 18:38:15 +00:00
Hazelnoot
2f67882f82
merge: Fix Postgres / TypeORM errors *FOR STABLE* ( !1192 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1192
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:02:25 +00:00