Hazelnoot
3da3ce9a40
pass limit from ap/get to resolveCollectionItems
2025-05-26 12:50:01 -04:00
Hazelnoot
e689c04764
add options expandCollectionItems and allowAnonymous to ap/get endpoint
2025-05-26 11:17:20 -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
31e00a0906
fix policy check for unspecified "local" property in polls/recommendation endpoint
2025-05-23 10:22:17 -04:00
Hazelnoot
63950fea31
catch polls that are expiring exactly in the current instant
2025-05-23 10:22:17 -04:00
Hazelnoot
f01dc57ec9
only show polls from explorable users
2025-05-23 10:22:17 -04:00
Hazelnoot
3c949f0b81
overhaul trending polls
...
* Split into local, global, and completed sections
* Don't require credential, but check for local/global timeline perms
* Fix rate limit
* Return polls where the current user has already voted
* Return non-public polls if the user has permission to view them
* Apply user/instance blocks
* Fetch polls + notes + users in a single step to speed up pack
2025-05-23 10:22:13 -04:00
Marie
b05b4ec74d
merge: Cleanup admin user UI ( !1012 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1012
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 11:21:29 +00:00
Hazelnoot
0ae8d85c3f
fix TS errors from defaultLike
2025-05-22 16:20:49 -04:00
Hazelnoot
28551c8103
use config.url instead of " https://${config.host} "
2025-05-21 08:27:23 -04:00
Hazelnoot
3a3f8770d9
factor our cache logic into a separate method
2025-05-19 18:18:55 -04:00
Hazelnoot
3936807184
remove preview ActivityPub flag if we encounter a permanent (non-retryable) error while fetching the note
2025-05-19 18:11:25 -04:00
Hazelnoot
34a6816636
fix error schema for FileServerService rate limit
2025-05-19 17:59:49 -04:00
Hazelnoot
bede498798
add rate limit for URL preview
2025-05-19 17:58:35 -04:00
Hazelnoot
f8c53466ef
make sure that the "fetch linked note" button actually remembers that the note is fetched
2025-05-19 10:57:42 -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
JeDaYoshi
f2998e05dc
properly announce Accept-Ranges on drive files
2025-05-09 21:59:41 +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
e75e4f11a2
match saveToTempFile return type with other create-temp function
2025-05-08 16:42:16 -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
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