Commit graph

3982 commits

Author SHA1 Message Date
dakkar
3ce3c42f31 fix test/e2e/api-visibility.ts
impressive that, on plain Misskey, un-authed calls to `notes/show`
will happily return DMs as long as you know the note id
2025-05-13 14:48:18 +01:00
dakkar
7a2958f356 fix test/e2e/antennas.ts 2025-05-13 14:36:01 +01:00
dakkar
2175181fa6 skip OAuth e2e tests 2025-05-13 14:27:14 +01:00
dakkar
8520917167 fix test/e2e/endpoints.ts 2025-05-13 14:27:02 +01:00
dakkar
e69e849e25 fix test/e2e/users.ts 2025-05-13 14:17:52 +01:00
dakkar
3e003ddf67 fix test/e2e/timelines.ts 2025-05-13 13:28:54 +01:00
dakkar
962cbfe572 fix linting in backend 2025-05-13 11:56:10 +01:00
dakkar
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
655290f8a4 add "is from local bubble instance" role condition 2025-05-12 13:31:16 -04:00
Hazelnoot
f8b2e272f1 merge: Fix word mute character calculation (resolves #861) (!1018)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1018

Closes #861

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:36:17 +00:00
Hazelnoot
c0c41af5f9 merge: Fix hidden hashtags showing on the explore / trending page (!1014)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1014

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:33:09 +00:00
Marie
4430c12e0e merge: Fix unique constraint error when processing a flurry of note pinning activities (!1024)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1024

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:30:44 +00:00
Hazelnoot
d3a9995d0a use transaction to avoid unique constraint error when processing duplicate Add/Remove pinned note activities 2025-05-11 06:02:52 -04:00
Hazelnoot
0cdb8e5b80 raise default character limit for word mutes 2025-05-10 21:44:25 -04:00
Hazelnoot
a46887d05f fix calculation of word mute 2025-05-10 21:44:10 -04:00
Hazelnoot
40a73bfcbe add new role conditions for local/remote followers/followees 2025-05-10 14:44:17 -04:00
Hazelnoot
9f5c279478 don't show hidden hashtags on the trending page 2025-05-10 14:42:05 -04:00
Hazelnoot
56a8ff4f50 add isFromInstance role condition 2025-05-09 21:03:05 -04:00
JeDaYoshi
f2998e05dc
properly announce Accept-Ranges on drive files 2025-05-09 21:59:41 +00:00
dakkar
7b987d3745 enforce username uniqueness for local instance 2025-05-09 19:06:43 +01:00
Hazelnoot
5101a5662b merge: Autofill reply mentions based on the replies property instead of MFM text (resolves #1045) (!981)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/981

Closes #1045

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-09 09:28:11 +00:00
Marie
093f67ae55 merge: Check for truncated uploads in Mastodon API (!998)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/998

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-09 09:27:42 +00:00
Hazelnoot
164c85067f remove extra space in NoteCreateService.ts 2025-05-08 22:43:02 -04:00
Hazelnoot
7bfe16cbb0 check for stream truncation in saveToTempFile 2025-05-08 16:43:52 -04:00
Hazelnoot
e75e4f11a2 match saveToTempFile return type with other create-temp function 2025-05-08 16:42:16 -04:00
Hazelnoot
1fe39ed432 re-fetch notes after create/edit to ensure they have all fields populated 2025-05-08 16:34:40 -04:00
Hazelnoot
58d2c4af6b use targetNotes to reduce duplicate code 2025-05-08 16:20:29 -04:00
Hazelnoot
5e2cc8eb85 avoid error when editing notes without any mentions 2025-05-08 16:20:29 -04:00
Hazelnoot
6c9dcb84ab resolve mentioned user handles on the backend 2025-05-08 16:20:29 -04:00
Marie
b218251b94 added cleanup to more sections 2025-05-08 19:46:42 +00:00
おさむのひと
e40f3917f3
refactor: ファイルアップロード時のテストを追加 (#15928)
* refactor: ファイルアップロード時のテストを追加

* なぜかsemverが消えてた
2025-05-08 20:03:53 +02:00
おさむのひと
b91a67d74e
Revert "fix: 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" (#15927)
* Revert "fix: 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)"

This reverts commit 7e8cc4d7c0.

* fix CHANGELOG.md
2025-05-08 20:02:13 +02:00
Marie
c5f5c6fef0 merge: Replace JSDOM with cheerio (!973)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/973

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 16:09:36 +00:00
Marie
aa9d834a39 merge: Improve inline quote detection and link previews (resolves #1047 and #1044) (!985)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/985

Closes #1047 and #1044

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 16:09:15 +00:00
Marie
849ce6abed merge: add scheduleNotePost queue to dashboard (!994)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/994

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 16:08:27 +00:00
dakkar
42f3976b16 add scheduleNotePost queue to dashboard 2025-05-08 16:43:52 +01:00
Hazelnoot
c43ac87df2 separate type imports for Cheerio 2025-05-08 11:31:36 -04:00
Hazelnoot
261a7e3ab3 fix type errors 2025-05-08 11:29:57 -04:00
Hazelnoot
231ef297b5 replace JSDOM with cheerio 2025-05-08 11:29:57 -04:00
Hazelnoot
a40cc82538 fix oauth data 2025-05-08 11:23:20 -04:00
Hazelnoot
b2ea03383c implement '/v1/apps/verify_credentials' 2025-05-08 11:23:20 -04:00
Hazelnoot
5ec9be0b8c fix "cannot use 'in' operator" error 2025-05-08 11:23:20 -04:00
Hazelnoot
22bba7fe6d fix media upload error caused by extraneous array brackets 2025-05-08 11:23:20 -04:00
Hazelnoot
347edb107b copy stack to AxiosError causes 2025-05-08 11:23:20 -04:00
Hazelnoot
38b1e1225c use isAxiosError to improve type detection 2025-05-08 11:23:20 -04:00
Hazelnoot
fefe2f6db8 more improvements to Mastodon error logging 2025-05-08 11:23:20 -04:00
Hazelnoot
34e0d73a60 differentiate between "error" and "exception" in mastodon API 2025-05-08 11:23:20 -04:00
Hazelnoot
2c5fb36e7f add missing "return reply" calls to async fastify routes
Required, according to docs: https://fastify.dev/docs/latest/Reference/Routes/#async-await
2025-05-08 11:23:20 -04:00
Hazelnoot
9db39d449f more fixes to Mastodon logging 2025-05-08 11:23:20 -04:00
Hazelnoot
b6f4fda80d handle AxiosErrors without a response 2025-05-08 11:23:20 -04:00