1
0
Commit Graph

31257 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
zyoshoka 8be624aa44 refactor(sw): fix type errors (#14478)
* style(sw): lint fixes

* refactor(sw): fix type errors

* chore(sw): disable `noImplicitAny`

* ci(sw): enable typecheck ci

* ci(sw): build `misskey-js` before typecheck
2024-08-30 15:53:04 +09:00
zyoshoka 3fe7e37f10 fix(frontend): server metrics look strange after reload (#14467) 2024-08-30 10:59:23 +09:00
zyoshoka 7fe3035059 fix(backend): use prefixItems in admin/queue/*-delayed endpoint schema (#14468)
* fix(backend): represent tuples with `prefixItems`

* refactor(frontend): fix type errors

* fix(backend): add `prefixItems` in `SchemaType`

* fix(backend): add `unevaluatedItems: false` to disallow extra items

* refactor(frontend): consolidate `'deliver' | 'queue'` type def into `queue.vue`

* fix(backend): add `unevaluatedItems` in `SchemaType`
2024-08-30 10:58:59 +09:00
zyoshoka 06855f769f refactor(sw): use fully typed locales (#14470)
* refactor(sw): use fully typed locales

* fix(backend): enumerate achievement notification type
2024-08-30 10:58:11 +09:00
zyoshoka 3e85052754 fix(backend): correct app-type notification schema (#14471) 2024-08-29 18:57:44 +09:00
syuilo b6fdd71957 消し忘れ 2024-08-27 20:40:11 +09:00
syuilo 36dff66883 refactor 2024-08-27 20:36:43 +09: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
Kisaragi 255c8bd1b9 fix: 投稿フォームの字数上限計算を実際の投稿内容に合わせる (#14466) 2024-08-26 15:55:38 +09:00
dakkar 87adf67752 some maybe-not-terrible descriptions of the Bubble timeline
the Japanese entries are translated by machine
2024-08-25 15:23:33 +01: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
syuilo 44f62160cb enhance(frontend): error message i18n 2024-08-24 16:59:17 +09:00
syuilo 8032a4e12a enhance(frontend): サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように 2024-08-23 16:40:11 +09:00
syuilo 2f009f7d49 add note 2024-08-23 16:31:16 +09:00
syuilo f85aa7b641 fix(backend): ファイルがサイズの制限を超えてアップロードされた際にエラーを返さなかった問題を修正 2024-08-23 16:29:05 +09: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
syuilo 1008fa32a0 better boot error screen 2024-08-22 14:03:11 +09:00
dakkar a99f99d798 placeholders for the missing bubble bits 2024-08-21 22:15:46 +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
atsuchan 043ab1f69b fix(backend): Fix chart generation non-matching blockedHosts (#14441) 2024-08-20 13:49:42 +09:00
かっこかり 21a3095eb0 fix button translation (#14444)
that Japanese string exactly matches that i18n key

(cherry picked from commit a408d32bb7)

Co-authored-by: dakkar <dakkar@thenautilus.net>
2024-08-20 12:39:01 +09:00
syuilo 1b5f0571f7 🎨 2024-08-20 10:51:02 +09: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
syuilo 59e83605ac refactor 2024-08-19 19:41:06 +09:00
syuilo 130ff361c3 refactor 2024-08-19 17:32:27 +09:00
syuilo e78110a5cd refactor 2024-08-19 13:13:32 +09: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