Commit graph

8062 commits

Author SHA1 Message Date
Hazelnoot
1eb9070e39 allow overriding AP resolver recursion limit 2025-03-21 12:37:06 -04:00
Hazelnoot
c2740cbe73 add isActivity method to check for AP Activities 2025-03-21 12:37:06 -04:00
Hazelnoot
f18d402ce6 fix typo in activity signature mismatch error 2025-03-21 12:37:06 -04: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
Marie
65d5f1e081 merge: Optionally enable websocket compression (!921)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/921

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-19 17:40:49 +00:00
Marie
4c1ad27acc merge: fix notification dot (!946)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/946

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-03-19 17:40:35 +00:00
Hazelnoot
5182f17d32 implement replies collection for posts 2025-03-19 09:52:55 -04: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
PrivateGER
c08c8502e3
adjust compression fallback 2025-03-18 14:21:31 +01:00
Hazelnoot
bb3d710927 allow unsigned fetch for all system users 2025-03-16 10:49:16 -04:00
Hazelnoot
97da78b46c fix lint errors in activitypub.ts 2025-03-16 10:07:57 -04:00
Hazelnoot
e0f3780885 fix typescript error in WebhookTestService.ts (this is the WORST class and needs to be removed please /sob) 2025-03-16 10:07:57 -04: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
a90a8e9e68 merge: Ignore empty content warnings in API (resolves #977) (!929)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/929

Closes #977

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-09 18:29:50 +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
1f592f9166
upd: simplify checks 2025-03-06 16:48:32 +01:00
Marie
995ba34aa4 fix: use toLowerCase() to make sure usernameLower matches while compared to request with possibly capitalization 2025-03-06 02:37:07 +00:00
Marie
70d88805d5
chore: typecheck error 2025-03-06 01:23:15 +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
Lhc_fl
8d487be4be
small change to comment 2025-03-03 23:46:31 +08:00
Lhc_fl
381046a6b1
fix: always clone the note before hideNote 2025-03-03 23:03:20 +08:00
Hazelnoot
1483f96c3f collapse empty cw to null 2025-03-03 08:39:39 -05:00
Hazelnoot
0cd1292308 disable '@typescript-eslint/prefer-nullish-coalescing' for primitive types 2025-03-03 08:39:24 -05:00
Hazelnoot
908271c995 ignore empty CW with creating / editing notes 2025-03-03 01:30:29 -05:00
Hazelnoot
e44623d7c9 don't parse empty strings in timelineArgs.ts 2025-03-03 01:22:15 -05:00
Hazelnoot
25f26655bf don't use empty CW as placeholder in megalodon 2025-03-03 01:22:01 -05:00
Julia Johannesen
18ab08cfe0
Bump develop version 2025-03-02 15:54:23 -05:00
dakkar
955b6e8c12 bump version 2025-03-02 18:58:53 +00:00
Hazelnoot
9fdb68d568 remove fileId from importCustomEmojis log 2025-03-02 13:47:02 -05:00
Hazelnoot
86a7d33f3f fix rebase error 2025-03-02 13:46:28 -05:00
Hazelnoot
e030facaa9 don't record deleted note, flash, page, or gallery post in modlog 2025-03-02 13:38:35 -05:00
Hazelnoot
c02fd47811 fix formatting in SkFetchNote 2025-03-02 13:38:35 -05:00
Hazelnoot
f42790ad32 don't pass note into moderationLogService.log 2025-03-02 13:38:35 -05:00