Commit graph

31114 commits

Author SHA1 Message Date
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
Marie
10d354eb97 merge: Warn users about polls losing their votes when edited (!996)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/996

Closes #1028

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-09 09:27:26 +00:00
Marie
45ecb08a42 merge: Merge the two File fixes from 2024.5.0 (!997)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/997

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-09 09:27:17 +00:00
dakkar
6c4bf6d33d fix oneko 2025-05-09 09:46:27 +01:00
dakkar
51a07fc6e4 fix "number of replies" 2025-05-09 09:30:45 +01:00
dakkar
9d5e477c9d fix "click to open" 2025-05-09 09:26:02 +01:00
Ruben
d5253eb2a3
licence should be it's own header 2025-05-09 02:39:49 -05:00
Ruben
951cef82a7
expand inkscape instructions 2025-05-09 02:38:20 -05:00
Ruben
1adf7ffe31
update sharkey logo documentation 2025-05-09 02:32:17 -05: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
d06e1e3080 don't insert mentions for the current user 2025-05-08 16:20:29 -04:00
Hazelnoot
df0d8045d5 fix duplicate mentions and spurious "user is not mentioned" warnings when replying to a DM thread including a user with a capitalized username 2025-05-08 16:20:29 -04:00
Hazelnoot
a4c7f3affd when replying to a note, auto-fill mentions based on the backend data instead of parsing the OP text 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
d244158db6 remove question mark in title 2025-05-08 17:51:31 +00:00
Marie
b753b2ea3a
add poll edit warning 2025-05-08 19:47:18 +02:00
Hazelnoot
17a9b08f54 merge: merge the two post-form menus (!995)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/995

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-08 17:07:15 +00: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
Hazelnoot
b8ff441474 merge: Fix Mastodon API requests with multipart/form-data encoding (resolves #1024, #839, #699, #574, and #486) (!987)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/987

Closes #1024, #839, #699, #574, and #486

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 15:58:48 +00:00
dakkar
2de4b093ff merge the two post-form menus 2025-05-08 16:57:37 +01: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
5815d2f537 fix user-agent / authorization passing in megalodon 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
Hazelnoot
282ef9e673 split exception logging from error logging to simplify and improve mastodon errors 2025-05-08 11:23:20 -04:00
Hazelnoot
f7ca7a2cc0 minor refactor to ServerUtilityService.addMultipartFormDataContentType 2025-05-08 11:23:20 -04:00
Hazelnoot
3b44e11799 improvements to Mastodon error conversion 2025-05-08 11:23:20 -04:00