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
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
Hazelnoot
c302a5c2d7
reorder relay activities to avoid delivery race condition
2025-05-07 12:40:01 -04:00
Marie
6b6dd372cb
up
2025-05-07 10:48:09 +02:00
Marie
da54742291
add boolean to ignore folderId sorting, show all files on drive cleaner
2025-05-07 09:06:50 +02:00
Hazelnoot
95cd19b049
Merge branch 'develop' into merge/2025-03-24
2025-05-06 11:20:46 -04:00
Marie
cb3f5f598d
Update instance.ts
2025-05-05 17:33:27 +00:00