Commit graph

146 commits

Author SHA1 Message Date
Hazelnoot
c66020c6cd restore appendContentWarning 2025-09-13 11:34:39 -04:00
Hazelnoot
b3428480de hide mandatory CWs when "uncollapse CWs on notes" is enabled 2025-09-13 11:34:38 -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
84ffc6361b fix duplicate mandatory CWs in following feed 2025-09-13 11:34:38 -04:00
Hazelnoot
f3d7229c55 add missing instance mandatory CW to frontend getNoteSummary 2025-09-13 11:34:38 -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
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
bc16dc78d4 add instance.isSilencedForMe 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
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
64694be004 mute silenced notes in frontend 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
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
8652a4c63b allow SkMutedNote to not recurse for word mutes 2025-09-13 11:34:36 -04:00
Hazelnoot
604f5a5c68 fix SkPatternTest.vue 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
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
54ad6438af refactor note mutes and render mandatoryCW as a mute 2025-09-13 11:34:35 -04: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
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
c803228952 implement printError function for frontend 2025-07-26 20:05:03 -04:00
dakkar
df0f682518 make trustedDomains persist across reloads
we can't just write to `prefer.s.*`, we need to `.commit`

also, there's no need to use the reactive view (`prefer.r.*`) in
non-reactive contexts
2025-07-23 10:46:01 +01:00
dakkar
8b1a0f1226 replace URL path for inlined SearchMarkers - fixes #1154
The search index looks like:

```ts
[
 {
   id: 'foo', label: 'security',
   path: '/settings/security', inlining: ['2fa'],
 },
 {
   id: '2fa',
   label: 'two-factor auth',
   path: '/settings/2fa', // guessed wrong by the index generation
 },
 {
   id: 'aaaa',
   parentId: '2fa',
   label: 'totp',
 },
 …
]
```

This file post-processes that index and re-parents the inlined
sections. Problem was, it left the (wrong) `path` untouched.

Replacing the `path` makes the search work fine.
2025-07-17 16:36:50 +01:00
Hazelnoot
7200c3d6c8 implement note mutings and move favorited/renoted status into note entity directly 2025-06-23 13:47:04 -04:00
Hazelnoot
9bebf7718f hide muted threads behind a CW 2025-06-23 13:47:04 -04:00
Hazelnoot
7eca06d672 use pnpm package alias for @transfem-org/sfm-js 2025-06-12 21:11:16 -04:00
Hazelnoot
87dc73d700 reduce frontend log spam from debug messages 2025-06-06 22:20:16 -04:00
Hazelnoot
919b97131b factor out getNoteUrls function 2025-06-04 10:48:24 -04:00
Hazelnoot
4da3f29728 implement SkDateSeparatedList 2025-06-04 10:46:50 -04:00
Hazelnoot
7bb4f9c9cc merge: Sync local storage to properties to preference profile (resolves #1075) (!1081)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1081

Closes #1075

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-02 15:44:00 +00:00
Hazelnoot
c6aaf721cd use yes/no buttons for reloadAsk 2025-06-01 13:16:13 -04:00
Hazelnoot
5818a89ba0 fix circular reference between i.ts, instance.ts, and misskeyApi.ts 2025-05-30 13:04:38 -04:00
Hazelnoot
50a64f97df allow unauthenticated (logged-out) users to translate notes 2025-05-30 12:35:31 -04:00
Hazelnoot
2b2afdd53a look at renoteId / replyId in case the renote / reply was not packed 2025-05-21 08:33:41 -04:00
Hazelnoot
aaba16c91b exclude reply OP from preview 2025-05-21 08:31:14 -04:00
Hazelnoot
28551c8103 use config.url instead of "https://${config.host}" 2025-05-21 08:27:23 -04:00
Hazelnoot
e74fde8b31 optimize extractUrlFromMfm 2025-05-20 22:33:14 -04:00
Hazelnoot
dc1adcc491 skip resolving preview when a link is known to be recursive 2025-05-20 21:37:25 -04:00
Hazelnoot
38d4a7fd56 don't recursively render note previews 2025-05-20 21:21:42 -04:00
Hazelnoot
2fdec0ce29 add option to put Translate button in the note toolbar 2025-05-16 20:00:48 -04:00
Marie
1bed360444 merge: Fix "show muted word" setting (!1016)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1016

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:37:11 +00:00
Hazelnoot
8348a36f24 cleanup, simplify, and merge duplicate word mute implementations 2025-05-13 22:58:24 -04:00