Commit Graph

27885 Commits

Author SHA1 Message Date
dakkar 7ff7464896 remove body of `NoteCreateService.import`
`create(user,data,true)` does exactly the same thing now
2024-08-30 17:19:51 +01:00
dakkar b5e0342136 linting 2024-08-30 17:14:57 +01:00
dakkar 3a3098f932 fix filtering of quote uri
apparently filtering with `x => x !== null` will let `undefined`
through…
2024-08-30 16:12:02 +01:00
dakkar 26e0412fbb bump happy-dom, disable all JS&c when parsing
version 10 didn't quite support disabling all of that

I have tested that `MfmService` (the other code that uses `happy-dom`)
still works fine: the RSS feed for a user is generated correctly, with
HTML rendered from MFM
2024-08-30 15:35:19 +01:00
dakkar 27f3d76a2b remove unused function
not present upstream, not mentioned anywhere
2024-08-30 13:38:44 +01:00
dakkar 5f93b10fb7 extra step when checking merges from upstream 2024-08-30 13:35:20 +01:00
dakkar 0796d4bd62 align ApNoteService updateNote with createNote 2024-08-30 13:33:42 +01:00
dakkar 8b8ee72a81 align NoteCreateService create & import 2024-08-30 13:23:55 +01:00
dakkar 311d26547a regenerate misskey-js 2024-08-30 12:17:54 +01:00
dakkar 0bcc739551 remove duplicate line 2024-08-30 12:15:52 +01:00
dakkar e04c7ad09f copy changes from MkNote* to SkNote* 2024-08-30 12:12:44 +01:00
dakkar 907bf133cd update NoteCreateService "import" side 2024-08-30 12:09:57 +01:00
dakkar 6151099f5b Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8 2024-08-30 12:08:31 +01:00
Leah 717d22d4be remove extra line 2024-08-26 19:12:27 +02:00
Leah ecbe595b34 added event to detect when control and enter are pressed to confirm it. Also escape now escapes the window 2024-08-26 19:09:30 +02:00
dakkar 9cf40ef452 merge: thunk the min/max promises (!603)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/603

Approved-by: Marie <github@yuugi.dev>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-24 20:53:08 +00:00
dakkar 8fa7afcac4 merge: log deletion of user files from admin -- fixes #631 (!607)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/607

Closes #631

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-08-24 20:39:44 +00:00
dakkar 06da059dbf log deletion of user files from admin -- fixes #631 2024-08-24 20:53:58 +01:00
dakkar 9bca68d774 merge: update testers for 2024.7 (!606)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/606

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <github@yuugi.dev>
2024-08-22 14:58:35 +00:00
dakkar d16f301d90 update testers for 2024.7
karilaa.app seems down, and I've not heard from them

plasmatrap has been running our release candidate for a few days
2024-08-22 14:07:21 +01:00
dakkar 17b6c1b371 tell the linter to shut up, this time 2024-08-22 13:55:22 +01:00
Amelia Yukii 971795c3b8 merge: don't return early -- should fix #626 (!604)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/604

Closes #626

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-21 19:26:09 +00:00
dakkar a408d32bb7 fix button translation
that Japanese string exactly matches that i18n key
2024-08-19 20:49:47 +01:00
dakkar 1b5bedc1d0 thunk the min/max promises
this prevents generating promises we don't use, which would get logged
by the node vm and spam the logs
2024-08-19 20:38:43 +01:00
dakkar c4e0bea931 don't return early -- should fix #626
I have no clue why I wrote that code 😭
2024-08-19 18:19:38 +01:00
dakkar f5560783ea merge: misskey 2024.7 (!583)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/583

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 18:32:27 +00:00
Amelia Yukii 2e2dcb6b8d merge: make the cap of `activeRateLimitRequests` match the rate limit (!602)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/602

Approved-by: Julia Johannesen <julia@insertdomain.name>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
2024-08-18 17:28:09 +00:00
dakkar 77144b058c make the cap of `activeRateLimitRequests` match the rate limit
It's trivial to have more than 128 requests in flight: open a busy
timeline, scroll a bit down, wait for many notes to arrive, scroll to
the top. The frontend will send "subscribe to note" messages for each
new note that it accumulated, all at once. We don't want to shut down
the connection in those common cases!
2024-08-18 17:57:51 +01:00
dakkar d03c9f4b62 merge: fix `offsetMode` in `MkPagination` - fixes #622 (!599)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/599

Closes #622

Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 16:52:42 +00:00
dakkar 5ae21970d7 merge: relax websocket rate limits (!601)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/601

Approved-by: Julia Johannesen <julia@insertdomain.name>
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
2024-08-18 15:48:06 +00:00
dakkar caa0fecdc9 relax websocket rate limits
* the frontend opens 2 websockets at startup (I'm not completely clear
  why), and that `minInterval:1sec` was breaking the second connection
* as the comment says, "catching up" generates many noteSubscribe
  messages
2024-08-18 15:23:45 +01:00
Marie 38430f8ef3 merge: fix lints (!594)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/594

Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-18 13:11:27 +00:00
dakkar a58df8ac7c Merge branch 'develop' into feature/misskey-2024.07 2024-08-18 13:13:23 +01:00
dakkar d92402554b merge: Rate limiting for websockets (!598)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/598

Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-18 12:09:25 +00:00
misskey-release-bot[bot] 882c8b93c1
Merge pull request #14391 from misskey-dev/develop
Release: 2024.8.0
2024-08-18 08:08:47 +00:00
github-actions[bot] 621626aad3 Release: 2024.8.0 2024-08-18 08:08:38 +00:00
syuilo f4f55ef012
New translations ja-jp.yml (English) (#14432) 2024-08-18 16:03:07 +09:00
github-actions[bot] 2e8a1029a4 Bump version to 2024.8.0-rc.5 2024-08-18 05:21:24 +00:00
かっこかり b53ee54e4f
fix(frontend): focustrapがzindexを考慮するように (#14431) 2024-08-18 14:18:46 +09:00
github-actions[bot] b708b27bc8 Bump version to 2024.8.0-rc.4 2024-08-18 04:37:19 +00:00
Hazel K 9ce44b24b8
fix(backend): memory leak in memory caches (#14363)
* encapsulate `MemoryKVCache<T>`

* remove infinity caches

* encapsulate other caches

* add missing awaits to internally synchronize caches

* implement pull-through caching

* tune cache lifetimes

* optimize cache GC by stopping early

* summarize changes in CHANGELOG.md

* Fix timeout comments

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* add comments about awaiting the redis write

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-18 13:34:01 +09:00
syuilo 3cd5f86510 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2024-08-18 10:12:51 +09:00
syuilo 9b78ce8047 🎨 2024-08-18 10:12:42 +09:00
syuilo 1629c0e50d
New Crowdin updates (#14426)
* New translations ja-jp.yml (Chinese Traditional)

* New translations ja-jp.yml (Chinese Simplified)

* New translations ja-jp.yml (Chinese Simplified)
2024-08-18 10:11:50 +09:00
syuilo 427f4a2cda Update about-misskey.vue 2024-08-18 10:10:06 +09:00
dakkar 38f25ab1b7 merge: fix: prevent error spam from ServerStatsService when running on Windows (!600)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/600

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
2024-08-17 19:05:36 +00:00
woxtu ba9c5c37b8
Remove undefined style (#14427) 2024-08-18 03:40:21 +09:00
Julia Johannesen 3dd993a76a
Add IP and user ID to connection close message 2024-08-17 14:27:43 -04:00
Julia Johannesen c5f7dcbb7e
Come up with better limits 2024-08-17 14:17:58 -04:00
Julia Johannesen aff57333d5
Add @types/proxy-addr 2024-08-17 13:12:16 -04:00