Hazelnoot
58cdee77d5
convert notification types in mastodon API
2025-03-27 19:51:43 -04:00
Hazelnoot
8a9979b3d3
don't render CW as HTML for mastodon
2025-03-27 19:51:43 -04:00
Hazelnoot
ebc3abea54
hide sensitive content from Discord previews
2025-03-27 19:51:43 -04:00
Hazelnoot
36dee5ff20
render profile bios in masto API
2025-03-27 19:51:43 -04:00
Hazelnoot
81f7346f80
fixes to CW and quote conversion for mastodon
2025-03-27 19:51:43 -04:00
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
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
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
f61d71ac8c
refactor mastodon API and preserve remote user agent for requests
2025-03-27 19:51:42 -04: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
PrivateGER
c08c8502e3
adjust compression fallback
2025-03-18 14:21:31 +01: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
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
1f592f9166
upd: simplify checks
2025-03-06 16:48:32 +01: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
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
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
9fdb68d568
remove fileId from importCustomEmojis log
2025-03-02 13:47:02 -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
f42790ad32
don't pass note into moderationLogService.log
2025-03-02 13:38:35 -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
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
dakkar
c19746d9d8
merge: Fix note visibility in streaming API ( !922 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/922
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-27 11:18:31 +00:00
dakkar
9bf1d4c5ac
probably fix editing scheduled notes - fixes #934
...
the result of `notes/schedule/list` needs to be shaped like an array
of `Packed<'Note'>`, but it wasn't
now it's much closer, and I can edit scheduled quotes and replies
2025-02-26 12:57:20 +00:00
PrivateGER
aa6bc9c9d0
linter fix
2025-02-26 12:13:13 +01:00