Commit graph

9144 commits

Author SHA1 Message Date
Hazelnoot
3b44e11799 improvements to Mastodon error conversion 2025-05-08 11:23:20 -04:00
Hazelnoot
6757c227a9 check type of field values 2025-05-08 11:23:20 -04:00
Hazelnoot
cbe88122b9 fix hook targets 2025-05-08 11:23:20 -04:00
Hazelnoot
89cab66898 fix multipart/form-data decoding 2025-05-08 11:23:20 -04:00
Hazelnoot
c0f24eaf5d correctly parse response errors for logging 2025-05-08 11:23:20 -04:00
Hazelnoot
2aa3cf2731 debug-log mastodon error responses 2025-05-08 11:23:20 -04:00
Hazelnoot
e9ae78c0b7 enable debug logging for Mastodon API 2025-05-08 11:23:20 -04:00
Hazelnoot
fd5a3eb3f8 add logging.verbose option to enable debug logging in production. (same function as MK_VERBOSE environment variable) 2025-05-08 11:23:20 -04:00
Hazelnoot
7db03f61b1 store OAuth "website" in POST /api/v1/apps 2025-05-08 11:23:20 -04:00
Hazelnoot
7cd181df71 improve type checks in POST /api/v1/apps endpoint 2025-05-08 11:23:20 -04:00
Hazelnoot
317f5602fe temporary: add recursive error handler to MastodonApiServerService.ts 2025-05-08 11:23:20 -04:00
Hazelnoot
cd4fbc851b improve compatibility with multipart/form-data mastodon API requests 2025-05-08 11:23:20 -04:00
Hazelnoot
207915856a fix return type of fetchSummary and fetchSummaryFromProxy 2025-05-08 11:06:25 -04:00
Hazelnoot
1ac9625eea add same-authority check between fetched note and summary url 2025-05-08 11:05:15 -04:00
Hazelnoot
633718ffe9 avoid fetching notes twice in UrlPreviewService 2025-05-08 11:05:15 -04:00
Hazelnoot
70d75f1d57 check summary.haveNoteLocally after setting summary.activityPub to improve support for Akkoma 2025-05-08 11:05:15 -04:00
Hazelnoot
c05aa7a281 softer URL preview validation: remove unsupported URLs instead of rejecting the whole preview 2025-05-08 11:05:15 -04:00
Hazelnoot
d6c2140821 validate more URLs in UrlPreviewService.ts 2025-05-08 11:05:14 -04:00
Hazelnoot
23267a3a96 await cache update to avoid hammering redis in UrlPreviewService.ts 2025-05-08 11:05:14 -04:00
Hazelnoot
a1fcf554fa reduce caching for failed previews 2025-05-08 11:05:14 -04:00
Hazelnoot
c23b1c3be7 reduce log spam from UrlPreviewService.ts 2025-05-08 11:05:14 -04:00
Hazelnoot
163be8d4a4 match preview cache duration for HTTP and Redis 2025-05-08 11:05:14 -04:00
Hazelnoot
387efac23f add version specifier to URL preview cache 2025-05-08 11:05:14 -04:00
Hazelnoot
80819f03e7 don't proxy local URLs 2025-05-08 11:05:14 -04:00
Hazelnoot
05201f71cc allow summaly previews to redirect 2025-05-08 11:05:14 -04:00
Hazelnoot
1d2a4c6f56 infer ActivityPub links from signed GET 2025-05-08 11:05:14 -04:00
Hazelnoot
ab65f4b8b2 infer ActivityPub links from local DB 2025-05-08 11:05:14 -04:00
Hazelnoot
2fb56bc4ea fix eslint warning in UrlPreviewService.ts 2025-05-08 11:05:14 -04:00
Hazelnoot
129dfa9649 extract LocalSummalyResult type 2025-05-08 11:05:14 -04:00
Hazelnoot
938e094a1a set summary.haveNoteLocally before caching summary 2025-05-08 11:05:14 -04:00
Hazelnoot
1a19301c90 merge: Add missing paused state (!992)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/992

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-08 14:05:52 +00:00
Hazelnoot
3fc2cc125b merge: when creating a note as a side-effect, make it silent - fixes #986 (!932)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/932

Closes #986

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-08 14:05:16 +00:00
dakkar
1a94437ac0 bump version to be a -rc 2025-05-08 11:37:06 +01:00
Marie
8635365b8f
add missing state to types 2025-05-08 11:46:21 +02:00
Marie
239bfd3b62
add missing state
ref: https://github.com/misskey-dev/misskey/issues/15992
2025-05-08 11:45:36 +02:00
Marie
a72610c8d6 merge: Reorder relay activities to avoid delivery race condition (resolves #989) (!986)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/986

Closes #989

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 09:17:07 +00:00
Marie
d9a4268711 merge: Respect "enable favicon notification dot" setting (resolves #1048) (!988)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/988

Closes #1048

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-08 09:16:16 +00:00
Marie
0d6b52ab3a merge: Fix polls not rendering properly in Schedule List (!990)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/990

Closes #1049

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-08 09:16:09 +00:00
Marie
29f6777a07 merge: reverts the check in usingBunnyCdn back and some lint fixes caused by other commits (!989)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/989

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-08 09:14:55 +00:00
Marie
ffbfe741e3
Fix missing icon, Fix import of all notes being outside all notes folder 2025-05-08 01:40:40 +02:00
Marie
cfad5999b2
Fix polls not rendering properly in Schedule List 2025-05-08 01:26:56 +02:00
Marie
a3454543f5 Fix frontend lint issue caused by adding reset 2025-05-07 19:20:37 +00:00
Marie
0195810b6a revert back to old check 2025-05-07 19:10:34 +00:00
Hazelnoot
6ec295b461 check notification dot preference from prefer instead of store (resolves #1048) 2025-05-07 13:30:34 -04:00
Hazelnoot
b66a486036 merge: Show all files for Drive Cleaner (!982)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/982

Closes #1033

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-07 17:14:41 +00:00
Hazelnoot
6a06bd9361 merge: add logo text source and instructions (!983)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/983

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-07 17:12:46 +00:00
Hazelnoot
c302a5c2d7 reorder relay activities to avoid delivery race condition 2025-05-07 12:40:01 -04:00
Hazelnoot
d39a56c1b7 merge: Merge upstream 2025.4.1 (!955)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/955

Closes #638, #1037, #734, and #766

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-07 16:33:18 +00:00
dakkar
9e271b6fda add logo text source and instructions 2025-05-07 17:02:25 +01:00
Marie
4eab54d2ca merge: Add BunnyCDN Edge Storage support (!952)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/952

Closes #1020

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-07 08:49:50 +00:00