Commit graph

29937 commits

Author SHA1 Message Date
Hazelnoot
1fa290c3eb handle errors in mastodon search endpoints 2025-03-27 19:51:43 -04:00
Hazelnoot
971bc6fd3e improve mastodon API error handling 2025-03-27 19:51:43 -04:00
Hazelnoot
a81a00e94d rename MastodonConverters.ts to matching naming scheme 2025-03-27 19:51:43 -04:00
Hazelnoot
4754942301 add additional required CORS headers for masto-api requests 2025-03-27 19:51:43 -04:00
Hazelnoot
984be9e7aa enable local timeline in Phanpy clients 2025-03-27 19:51:43 -04:00
Hazelnoot
3c54680860 support reactions in mastodon API 2025-03-27 19:51:43 -04:00
Hazelnoot
fbdee815da remove unused async from toMastoApiHtml / fromMastoApiHtml 2025-03-27 19:51:43 -04:00
Hazelnoot
8d67a8c9ae don't log query parameters from mastodon API 2025-03-27 19:51:43 -04:00
Hazelnoot
fc1d0c958c support Mastodon v4 "link header" pagination 2025-03-27 19:51:43 -04:00
Hazelnoot
3d8930f070 implement /api/v1/favourites 2025-03-27 19:51:43 -04:00
Hazelnoot
aaf49eadee implement /api/v1/bookmarks 2025-03-27 19:51:43 -04:00
Hazelnoot
cac8377e4e fix empty response from /api/v1/notifications 2025-03-27 19:51:43 -04:00
Hazelnoot
178fe16f68 fix empty response from /api/v1/blocks 2025-03-27 19:51:43 -04:00
Hazelnoot
c69f7b87f0 fix empty response from /api/v1/mutes 2025-03-27 19:51:43 -04:00
Hazelnoot
2b03f51315 don't return httpStatusCode in mastodon errors 2025-03-27 19:51:43 -04:00
Hazelnoot
f00a0fee45 minor fixes to /v1/accounts/verify_credentials 2025-03-27 19:51:42 -04:00
Hazelnoot
759e7f05c4 fix megalodon getRelationship function 2025-03-27 19:51:42 -04:00
Hazelnoot
de26ffd60b improve performance of /v1/accounts/relationships 2025-03-27 19:51:42 -04:00
Hazelnoot
f5be341acc normalize mastodon API query parameters to strip [] suffix 2025-03-27 19:51:42 -04:00
Hazelnoot
8b0555cab8 fix /api/v1/instance response 2025-03-27 19:51:42 -04:00
Hazelnoot
4a1dd7165e normalize mastodon BAD_REQUEST errors 2025-03-27 19:51:42 -04:00
Hazelnoot
67e57ab50a fix several mastodon converters 2025-03-27 19:51:42 -04:00
Hazelnoot
75b6c63f44 remove unused megalodon components 2025-03-27 19:51:42 -04:00
Hazelnoot
cb9079208a format mastodon API endpoints 2025-03-27 19:51:42 -04:00
Hazelnoot
da25595ba3 de-duplicate mastodon API logging 2025-03-27 19:51:42 -04:00
Hazelnoot
03edc33424 fix logger Data type 2025-03-27 19:51:42 -04:00
Hazelnoot
f61d71ac8c refactor mastodon API and preserve remote user agent for requests 2025-03-27 19:51:42 -04:00
Marie
92382b2ed4 merge: fix: bubble timeline not being selectable when logged out (!950)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/950

Closes #1018

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-03-26 11:23:24 +00:00
Marie
3d27e5ce3e
fix: bubble timeline not being selectable when logged out 2025-03-25 22:40:19 +01:00
dakkar
aebc6b4112 merge: enhance: Update de-DE.yml (!949)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/949

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-03-24 08:19:46 +00:00
Daniel Ares
3b568c26f7 Update de-DE.yml 2025-03-23 21:38:50 +00:00
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
Daniel Ares
ba5856eedd Update de-DE.yml 2025-03-23 12:52:01 +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