Commit graph

4906 commits

Author SHA1 Message Date
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
Hazelnoot
df0409604d fix clearing CW on admin-user 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
6f8d831e09 fix hard mutes not working 2025-09-13 11:34:35 -04:00
Hazelnoot
54ad6438af refactor note mutes and render mandatoryCW as a mute 2025-09-13 11:34:35 -04:00
Hazelnoot
09a2280513 fix missing import for MkOmit in home.vue 2025-09-13 11:34:35 -04:00
dakkar
071dd085c7 merge: Call note_view_interruptor for all notes (!1154)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1154

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-09-13 15:30:08 +00:00
Hazelnoot
479e6daa1d add role policy "canViewFederation" 2025-08-18 16:52:06 -04:00
Marie
961979b55e merge: [frontend] SkModPlayer drawing optimization with slice display (!1110)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1110

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:21:28 +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
Marie
46d416e39f merge: Add custom font size option (!1207)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1207

Closes #1166

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 07:51:29 +00: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
bunnybeam
ee60795098
change various multiline inputs to use em instead of px for min-height 2025-08-08 17:38:51 +01:00
bunnybeam
55a0e11366
add custom font size option 2025-08-08 17:03:56 +01:00
bunnybeam
21d055eb5f
remove extra newline 2025-08-04 19:42:20 +01:00
bunnybeam
683638b570
implement conditional role tester 2025-08-04 19:40:00 +01:00
dakkar
8f7629a819 Merge branch 'stable' into stable-2025.4.4-to-develop 2025-08-02 10:34:25 +01:00
bunnybeam
d77880aa4d
add conditional role tester section 2025-08-01 00:52:03 +01:00
Marie
04d45859e6 merge: prevent excessive trimming in emoji picker's input box - fix #1165 (!1197)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1197

Closes #1165

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-30 18:50:51 +00:00
dakkar
2b083287a5 mark the callback as "passive", should improve performance
see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#using_passive_listeners
2025-07-28 15:55:36 +01:00
dakkar
b3857c6d9a remove mousemove callback when there's no longer a cat 2025-07-28 15:53:16 +01:00
dakkar
884ccad588 prevent excessive trimming in emoji picker's input box
there's no reason to trim before assigning to `q.value` (which gets
reflected to the `<input>` control and ends up trimming end spaces
when back-spacing)

the stated reason for messing with the control's own value every time
it changes, is to handle changes while Android is composing; I've
tested that, while I'm composing a character with my input method on
X11, search responds to each keypress, and I think it's good enough
2025-07-28 15:27:20 +01:00
Hazelnoot
7d005876fb merge: make trustedDomains persist across reloads (!1174)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1174

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 20:33:37 +00:00
наб
c6e4c9294f
Allow for sending announcement mails with List-Unsubscribe:
Per https://datatracker.ietf.org/doc/html/rfc8058,
we send "announcement" mails with
  List-Unsubscribe: <${apiUrl}/unsubscribe/${userId}/${oneClickUnsubscribeToken}>
  List-Unsubscribe-Post: List-Unsubscribe=One-Click
and handle
  POST /api/unsubscribe/:user/:token => this unsubscribes
  GET  /api/unsubscribe/:user/:token => 302 /unsubscribe/:user/:token
  GET  /unsubscribe/:user/:token     => user-visible page with clickthrough confirmation

In this configuration, compatible MUAs will show an "unsubscribe" button
that, when clicked, will POST to the URL directly

Less-compatible MUAs (and scanners) will open the page directly
which will redirect to a click-though; interactive users will be able to
unsubscribe, scanners won't unsubscribe by accident

Nothing /actually/ sends non-reactive mails,
so this is never used at this time

Closes #854
2025-07-27 18:29:16 +02:00
Hazelnoot
07295ad62d merge: Split descriptions. (!1167)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1167

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:29:41 +00:00
Marie
b41027c6e4 merge: replace URL path for inlined SearchMarkers - fixes #1154 (!1171)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1171

Closes #1154

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:21:50 +00:00
Hazelnoot
cd5a4ee392 support ApiError responses in renderError 2025-07-26 20:18:05 -04:00
Hazelnoot
dc1416d5d8 fix rendering of errors from Chat API 2025-07-26 20:05:13 -04:00
Hazelnoot
c803228952 implement printError function for frontend 2025-07-26 20:05:03 -04:00
Hazelnoot
45212cbd56 show popup when chat API returns an error 2025-07-26 19:14:49 -04:00
dakkar
215f095a3f sort notifications by creation time
so groups are sorted newest first according to the displayed time
2025-07-25 21:46:01 +01:00
Vavency
4a8c21e143 [frontend] SkModPlayer cleanup extra indents. 2025-07-24 20:53:48 +03:00
Vavency
177a5c048c [frontend] Theme: add SkModPlayer slider knob as a theme-able var. 2025-07-24 20:24:20 +03:00