Commit graph

3812 commits

Author SHA1 Message Date
Marie
2b510dc2da
upd: add deleteThisAccountConfirm 2025-04-06 00:16:36 +02:00
Marie
3d27e5ce3e
fix: bubble timeline not being selectable when logged out 2025-03-25 22:40:19 +01:00
Marie
aa1691295b merge: Make confirm follow prompt not show up when cancelling a follow request (!941)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/941

Closes #822

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-21 16:46:47 +00:00
Marie
026012062e fix: missing character 2025-03-19 22:19:41 +00:00
Marie
1b70e90744 upd: add scheduledNote notification types to only on and off types 2025-03-19 22:17:06 +00:00
dakkar
663072ec47 nicer catches 2025-03-18 20:15:10 +00:00
dakkar
a9bad939ba fix notification dot
1) the `crossOrigin='anonymous'` tells the browser to actually honour
	 CORS on the image

2) the dot is now always 1/5 of the icon, even for large icons

3) we use `toBlob` instead of `toDataURL` because
	 https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
	 says so

4) the test now blinks the dot, so it tests the actual code

5) if there's a problem during the test, we log the error, so people
	 can tell it to us

Thanks to Ares on Discord for reporting the problems.
2025-03-18 19:38:10 +00:00
Hazelnoot
a35c2f214b convert Authorized Fetch to a setting and add support for hybrid mode (essential metadata only) 2025-03-16 10:07:57 -04:00
dakkar
c9874f72b1 fix indent 2025-03-15 19:36:28 +00:00
dakkar
d0a074ac89 fetch linked notes manually, unless we have them in DB - fixes 1006 2025-03-15 19:17:36 +00:00
Marie
bb0010db27 upd: add warning prompt to previews 2025-03-14 22:14:36 +00:00
Marie
9782f2a415 upd: remove old leftover copy link (origin) 2025-03-14 18:46:29 +00:00
Marie
ad14d2ebfa
upd: check for remote url first before providing local url on pleaseLoginContext 2025-03-09 20:26:55 +01:00
Marie
add1c71786 chore: lint 2025-03-08 11:56:21 +00:00
Marie
91e15fafbf upd: confirm dialog for undoing follow request 2025-03-08 11:54:19 +00:00
Marie
19fc0a9351 fix: Confirm follow prompt showing up when cancelling follow request 2025-03-08 10:52:43 +00:00
bunnybeam
081adb1b4d
Remove seemingly redundant banner image 2025-03-08 02:26:35 +00:00
Marie
3b9eca4768
upd: change look for instance button to explore 2025-03-06 19:41:50 +01:00
Hazelnoot
04ae57f47c merge: Allow users to unset/remove avatar if set (!934)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/934

Closes #988

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-06 17:22:24 +00:00
Hazelnoot
49597e7e08 merge: Add LibreTranslate as an option to External Services (!935)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/935

Closes #807

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-06 17:21:24 +00:00
CenTdemeern1
2502d9c60f Fix clickable notifications blocking clicks where they shouldn't
The (full screen width) div behind the notifications has unintentionally been blocking clicks. Oops! (Thanks for reporting this everyone)
2025-03-06 16:56:49 +01:00
Marie
40599190f7
add: libretranslate 2025-03-06 01:03:02 +01:00
Marie
ac83e230df
fix: background aspectRatio 2025-03-05 21:32:22 +01:00
Marie
17a02b2a59
upd: move claim, add claim for banner and background 2025-03-05 21:25:12 +01:00
Marie
56c1154fa6
fix: add back claim 2025-03-05 21:19:22 +01:00
Marie
58f2ab6c8b
upd: separate menu and change 2025-03-05 21:14:46 +01:00
Marie
daa449152d
upd: allow users to remove avatars 2025-03-05 19:48:55 +01:00
Marie
0d3d2ee6a3
chore: update sfm to 0.24.6 2025-03-05 15:52:35 +01:00
Hazelnoot
9fdb68d568 remove fileId from importCustomEmojis log 2025-03-02 13:47:02 -05:00
Hazelnoot
c02fd47811 fix formatting in SkFetchNote 2025-03-02 13:38:35 -05:00
Hazelnoot
e5b8fc3c80 add missing modlog render blocks 2025-03-02 13:38:35 -05:00
Hazelnoot
20e2a6e95a add SkFetchNote to render a note by ID 2025-03-02 13:38:05 -05:00
Hazelnoot
9e833f724b add DynamicNote to encapsulate MkNote / SkNote switching logic 2025-03-02 13:38:05 -05:00
Hazelnoot
cea77f3e2c emit "show" event from MkLazy 2025-03-02 13:38:05 -05:00
Hazelnoot
27d43879a2 add moderation logs for many endpoints
- `/admin/delete-all-files-of-a-user`
- `/admin/nsfw-user`
- `/admin/unnsfw-user`
- `/admin/silence-user`
- `/admin/unsilence-user`
- `/admin/accounts/create`
- `/admin/drive/clean-remote-files`
- `/admin/drive/cleanup`
- `/admin/emoji/set-category-bulk`
- `/admin/emoji/set-license-bulk`
- `/admin/emoji/set-aliases-bulk`
- `/admin/emoji/add-aliases-bulk`
- `/admin/emoji/remove-aliases-bulk`
- `/admin/emoji/import-zip`
- `/admin/federation/delete-all-files`
- `/admin/federation/remove-all-following`
- `/admin/promo/create`
- `/admin/relay/add`
- `/admin/relay/remove`
2025-03-02 13:38:02 -05:00
Hazelnoot
14a81b4f85 merge: Add "reject quotes" settings (!901)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/901

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-01 03:33:06 +00:00
dakkar
42d6e0deeb fix lookup confirmations
having that "lookp user" check *twice* meant that typing a full
username, and then canceling the lookup confirmation, ended up doing a
lookup anyway

now, if you cancel the looup confirmation, you get a search

thanks to @Ares on Discord for reporting
2025-02-28 17:47:13 +00:00
dakkar
c33ce30d32 debounce the scratchpad 2025-02-26 13:08:46 +00:00
dakkar
71d842421d debounce a bunch of MkInput
these are all the places I could find that (directly or indirectly)
perform API calls when the input is changed; telling the component to
"debounce" means that the API will be called at most once per second
2025-02-26 12:14:57 +00:00
Hazelnoot
c6cabb8c75 merge: Fix file description labels to use "alt text" terminology (!911)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/911

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-22 03:23:49 +00:00
Hazelnoot
3642ea022b disable inline note previews from users with quotes disabled 2025-02-20 21:34:09 -05:00
Jacob Hall
2c610f446b
do not change "description" key to "Alt text"
- switch Drive file info view to use the `caption` rather than
  `description` i18n key, so that it reads "Alt text"
2025-02-20 11:21:13 -05:00
Hazelnoot
365a0bd2c5 improve labels and wording for reject quotes feature 2025-02-20 09:58:22 -05:00
Hazelnoot
292d3b9229 add "reject quotes" toggle at user and instance level
+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
2025-02-20 09:57:48 -05:00
dakkar
534c35cca2 merge: Add "force content warning" setting for user moderation (resolves #905) (!876)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/876

Closes #905

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:20:49 +00:00
Hazelnoot
39321d13cc prevent browser console spam when media fetch returns an error message or JSON payload 2025-02-16 19:27:29 -05:00
Hazelnoot
b2d43040b1 factor out shared "compute-merged-cw" routine 2025-02-16 19:20:42 -05:00
Hazelnoot
3d23cdc0e4 append mandatory CW in note previews 2025-02-16 19:20:41 -05:00
Hazelnoot
905b637648 append mandatory CW in all note views (Mk/Sk/Em + basic/Detailed/Simple/Sub) 2025-02-16 19:20:41 -05:00
Hazelnoot
c5933f369e move mandatoryCW from admin-user to PackedUserLite (public field) 2025-02-16 19:20:41 -05:00