1
0
Commit Graph

1402 Commits

Author SHA1 Message Date
piuvas 8a60c7df02 verify links in remote profiles. 2025-04-19 23:10:27 -03:00
Marie 28ad2ae534 fix: friendlycaptcha always failing 2025-04-15 20:13:16 +00:00
dakkar 3a6bba3306 merge: Remove visibility of DMs for non-recipient users (!912)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/912

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-30 09:20:54 +00:00
dakkar 920bf71eb5 merge: More Mastodon API fixes (resolves #405, #471, and #984) (!954)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/954

Closes #405, #471, and #984

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-03-28 12:45:54 +00:00
Hazelnoot fbdee815da remove unused async from toMastoApiHtml / fromMastoApiHtml 2025-03-27 19:51:43 -04:00
Hazelnoot 1e3e0caa20 don't cache stale actor keys 2025-03-27 19:47:55 -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 5182f17d32 implement replies collection for posts 2025-03-19 09:52:55 -04:00
Hazelnoot bb3d710927 allow unsigned fetch for all system users 2025-03-16 10:49:16 -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
Marie 40599190f7 add: libretranslate 2025-03-06 01:03:02 +01:00
Hazelnoot e030facaa9 don't record deleted note, flash, page, or gallery post in modlog 2025-03-02 13:38:35 -05:00
dakkar 504e90c190 merge: Remove assertActivityMatchesUrls in favor of three-way same-authority checks (resolves #956 and #914) (!914)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/914

Closes #956 and #914

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-02 18:36:04 +00:00
dakkar 92bac81a7f merge: handle scheduled notes when deleting and migrating accounts - fixes #931 #936 (!920)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/920

Closes #931 and #936

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-03-02 18:28:15 +00:00
dakkar 0fba8dc26a don't move scheduled notes to new account when migrating
@Julia confirms it would confuse people more than it helps
2025-03-02 16:51:54 +00:00
Hazelnoot 910b83c531 filter url properties by mediaType 2025-03-02 11:06:32 -05:00
Hazelnoot d8d94b65a0 restore unintentionally-changed import type 2025-03-02 11:06:32 -05:00
Hazelnoot 67abc0ce19 allow Update(Note) to change url, since it's now validated on edits 2025-03-02 11:06:32 -05:00
Hazelnoot a568333ecd remove assertActivityMatchesUrls in favor of three-way same-authority checks 2025-03-02 11:06:29 -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
Marie 6e8ab00750 merge: Trim padded Actor keys to avoid value too long error (resolves #806) (!913)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/913

Closes #806

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-28 20:06:11 +00:00
Hazelnoot cba9fcd4f2 make hideNote public 2025-02-25 20:46:36 -05:00
Hazelnoot 6cb04dbaac trim padded Actor keys to avoid value too long error 2025-02-25 11:41:44 -05:00
dakkar 687cb5b168 handle scheduled notes when migrating account - fixes #931
I'm not sure we want the "change ownership of notes if dst is local",
though
2025-02-24 13:08:19 +00:00
Jacob Hall 21eff6df66 do not make a DM visible if user is mentioned but not a recipient 2025-02-21 13:33:36 -05:00
Hazelnoot f39f47aade include rejectQuotes on all packed User entities 2025-02-20 21:12:12 -05:00
Jacob Hall 187c98e5ac do not notify mentioned users if a DM is not visible to them 2025-02-20 15:09:48 -05:00
Hazelnoot bb0bc68927 cover more retryable errors for quote resolution 2025-02-20 09:58:22 -05:00
Hazelnoot ca7d8b5bff fix logging for quote errors 2025-02-20 09:58:22 -05:00
Hazelnoot 0e2e77e346 fix type errors in WebhookTestService.ts 2025-02-20 09:58:04 -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 93ffd4611c merge: TSVector based search provider (!910)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/910

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:27:18 +00: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
PrivateGER 285bbcb81f fix linter... 2025-02-19 16:46:59 +01:00
PrivateGER 691a9a6be2 Rename tsvector to sqlTsvector 2025-02-19 16:34:48 +01:00
PrivateGER e6464906e6 change to sqlTsvector 2025-02-19 16:32:11 +01:00
PrivateGER b5208c2ad0 simplify tsvector implementation, remove cover density 2025-02-19 16:26:02 +01:00
PrivateGER 4fde14d1cc fix wrong column name 2025-02-19 15:12:16 +01:00
PrivateGER d82c8e8e97 Implement tsvector search support 2025-02-19 14:55:50 +01:00
dakkar 9e3667b2a3 fix names that annoy @dakkar 2025-02-18 20:57:55 +00:00
Hazelnoot c28b27b57f merge: Optionally log remote ActivityPub objects to database (!833)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/833

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-18 19:51:13 +00:00
Marie 3dfd018305 merge: Fix error message when a peertube object is rejected for bad ID / URL (!900)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/900

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-17 19:47:36 +00:00
Marie 25da35eab2 merge: relax validation of Announce / renote timestamps (resolves #799) (!905)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/905

Closes #799

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-17 19:46:11 +00:00