Commit graph

29905 commits

Author SHA1 Message Date
Marie
cbafabcffd merge: Fixing en-US.yml (!948)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/948

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-23 18:34:09 +00:00
Daniel Ares
070f30965e Fixing en-US.yml 2025-03-23 14:07:21 +00:00
dakkar
b1467989a5 merge: Accept announce activities (resolves #797 and #460) (!916)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/916

Closes #797 and #460

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-03-23 13:45:13 +00: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
Hazelnoot
73e70f7449 fix unit tests in activitypub.ts 2025-03-21 12:37:06 -04:00
Hazelnoot
770e0bbcdc document changes to updateInstanceQueue in merge instructions 2025-03-21 12:37:06 -04:00
Hazelnoot
27e8289126 fix lint errors in mock-resolver.ts and activitypub.ts 2025-03-21 12:37:06 -04:00
Hazelnoot
3958b71f4e don't discard the target of announce activities, in case it's a private note that can't be re-fetched 2025-03-21 12:37:06 -04:00
Hazelnoot
f88430aebc add IObjectWithId type for APIs that work with objects required to have an ID. 2025-03-21 12:37:06 -04:00
Hazelnoot
ad49faa956 implement ApResolver.secureResolve to use a provided object only if the authority matches 2025-03-21 12:37:06 -04:00
Hazelnoot
1ed2f207f7 fix startup crash caused by circular reference (SWC is not compatible with forwardRef) 2025-03-21 12:37:06 -04:00
Hazelnoot
f2bb01f7da support Announce(Activity) activities 2025-03-21 12:37:06 -04:00
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
Hazelnoot
51c6c763e3 merge: Make sure that scheduledNote* types are only showing on and off options. (!947)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/947

Closes #1013

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-19 22:29:09 +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
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
9fa3be8246 merge: Implement replies collection for posts (resolves #738 and #948) (!918)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/918

Closes #738 and #948

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-19 17:39:53 +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
62d35a56c1 merge: Convert Authorized Fetch to a setting and add support for hybrid mode (!917)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/917

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-16 17:55:17 +00: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
Hazelnoot
e3d949ced6 merge: fetch linked notes manually, unless we have them in DB - fixes 1006 (!945)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/945

Closes #1006

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-15 20:46:28 +00: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
Hazelnoot
8e62aa9814 merge: Add external url warning to url previews (!944)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/944

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-15 17:48:04 +00:00
Marie
bb0010db27 upd: add warning prompt to previews 2025-03-14 22:14:36 +00:00
Hazelnoot
4184d7d726 merge: Remove our addition of copy remote link (!943)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/943

Closes #1005

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-14 21:28:02 +00:00
Marie
9782f2a415 upd: remove old leftover copy link (origin) 2025-03-14 18:46:29 +00:00
Marie
835e6112ac merge: Make pleaseLoginContext attempt to use stored remote url/uris first before falling back to local url (!942)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/942

Closes #993

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-03-10 11:00:22 +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
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
Marie
424c71248c merge: Remove redundant banner image on user home page (!940)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/940

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-03-08 10:28:30 +00:00
bunnybeam
081adb1b4d
Remove seemingly redundant banner image 2025-03-08 02:26:35 +00:00
Hazelnoot
3de47474c5 merge: Change the "look for an instance" button to explore (!939)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/939

Closes #872

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-07 00:39:16 +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
Marie
a46c3415d7 merge: Fix clickable notifications blocking clicks where they shouldn't (!937)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/937

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-06 16:26:35 +00:00