1
0
Commit Graph

1632 Commits

Author SHA1 Message Date
Marie 1022ee32c8 merge: fix DeepLX (!1077)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1077

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 17:25:30 +00:00
dakkar b13781632f fix DeepLX
`??` binds tighter than `? :`, so that expression was parsed as:

```ts
( deeplFreeInstance ?? this.serverSettings.deeplIsPro )
   ? 'https://api.deepl.com/v2/translate'
	 : 'https://api-free.deepl.com/v2/translate'
```

which ended up calling the non-free DeepL instead of the local DeepLX
2025-06-01 14:44:49 +01:00
Hazelnoot 89586bf790 correctly render reblogs and quotes-with-CW for discord previews 2025-06-01 00:26:21 -04:00
Hazelnoot a5857d2724 allow passing user/note into convertStatus for performance 2025-06-01 00:25:53 -04:00
Hazelnoot efd378f963 return typed relations from MastodonDataService note fetchers 2025-06-01 00:25:39 -04:00
Hazelnoot 4ed1ea8f89 increase chart rate limits to max=200 and rate=5/s 2025-05-25 18:49:42 -04:00
Marie e59a3ad693 merge: Synchronize database entities and code models (!1040)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1040

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 23:33:08 +00:00
Hazelnoot 0ae8d85c3f fix TS errors from defaultLike 2025-05-22 16:20:49 -04:00
Hazelnoot 228e522081 add "followStats" property to admin/show-user response 2025-05-16 17:39:43 -04:00
Hazelnoot 10622ceec7 replace andWhere with where 2025-05-14 23:26:22 -04:00
Hazelnoot b7b30bde5d use /users endpoint for explore exclusively (restore original behavior) 2025-05-14 23:25:40 -04:00
Hazelnoot dee2e19b63 don't trend notes from non-explorable or non-trendable users 2025-05-14 23:24:51 -04:00
Hazelnoot 0b8c101d71 check ps.trending before hiding non-explorable users from /users endpoint 2025-05-14 23:24:51 -04:00
Hazelnoot 57d32ea900 enforce "can trend" role policy in trending user page 2025-05-14 23:24:51 -04:00
Hazelnoot 81910cf725 add new featured tab for "users popular locally" 2025-05-14 23:24:48 -04:00
Hazelnoot 2e4ec0dd9e add role policy to allow note trending 2025-05-14 23:24:24 -04:00
Marie 7b0ee41c77 merge: Cache note translations in Redis (!1027)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1027

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:36:53 +00:00
Hazelnoot e7ee2cc398 add configurable timeout for note translations 2025-05-12 21:48:21 -04:00
Hazelnoot 4e8993bad7 add debug logging for translation endpoint 2025-05-12 21:35:06 -04:00
Hazelnoot 871a4d3fb1 cache and re-use note translations 2025-05-12 21:35:06 -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 a46887d05f fix calculation of word mute 2025-05-10 21:44:10 -04:00
Hazelnoot 9f5c279478 don't show hidden hashtags on the trending page 2025-05-10 14:42:05 -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
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 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 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 3b44e11799 improvements to Mastodon error conversion 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 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
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 cfad5999b2 Fix polls not rendering properly in Schedule List 2025-05-08 01:26:56 +02: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