Commit graph

4883 commits

Author SHA1 Message Date
tamaina 4c33e48f75 Merge branch 'develop' into ed25519 2024-07-18 01:13:49 +09:00
tamaina 8c76c7b8b5 TODO 2024-07-18 00:43:59 +09:00
tamaina aed28060e7 getApId, InboxProcessorService 2024-07-18 00:43:51 +09:00
woxtu 6942a920c8
refactor(frontend): Improve typing (#14240)
* Improve typing

* Remove redundant promise

* Refactor

* Update packages/frontend/src/scripts/mfm-function-picker.ts

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

* Update packages/frontend/src/scripts/mfm-function-picker.ts

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

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-07-18 00:31:52 +09:00
tamaina 29d9bbf05b modify attachLdSignature 2024-07-18 00:29:15 +09:00
tamaina c00b61e90b modify comment 2024-07-18 00:24:47 +09:00
tamaina 99113d59f4 refreshAndfindKey → refreshAndFindKey 2024-07-18 00:12:21 +09:00
tamaina cd19ad694c fix correct → collect 2024-07-18 00:09:20 +09:00
tamaina 95918607f4 modify comment 2024-07-18 00:04:35 +09:00
tamaina 72cda5ca80 modify comment 2024-07-18 00:02:36 +09:00
tamaina e602f2efda move delete host 2024-07-17 23:55:39 +09:00
tamaina de677a5b1f // node-fetch will generate this for us. if we keep 'Host', it won't change with redirects! 2024-07-17 23:28:37 +09:00
tamaina 1f0e7a40b6 fix 2024-07-17 23:26:57 +09:00
tamaina b7349e5771 delete request.headers['host']; 2024-07-17 23:03:30 +09:00
tamaina fe77f216c3 inboxJobPerSec: 64 2024-07-17 22:49:07 +09:00
Chocolate Pie 68bcd91d57
chore: Use clipboard API directly (#14227)
* chore: Use clipboard API directly

* fix: Fix lint
2024-07-17 21:52:05 +09:00
tamaina ffd12d0539 deliverJobConcurrency: 16, deliverJobPerSec: 1024, inboxJobConcurrency: 4 2024-07-17 18:36:04 +09:00
tamaina a0c93bbd4d Merge branch 'develop' into ed25519 2024-07-17 18:15:50 +09:00
tamaina 5afc659afa set result to keypairEntityCache 2024-07-17 18:15:17 +09:00
tamaina 41883c451d better comment 2024-07-17 18:01:03 +09:00
tamaina 09b2e71e62 better error handling of this.userPublickeysRepository.delete 2024-07-17 17:57:45 +09:00
tamaina 44f0064301 e2e/timelines.tsで個々のテストに対するtimeoutを削除, maxConcurrency: 32 2024-07-17 17:33:27 +09:00
github-actions[bot] f0d738d8bf Bump version to 2024.7.0-beta.0 2024-07-17 08:15:21 +00:00
tamaina 38a5e09a36 Revert "maxWorkers: '90%'"
This reverts commit 9e0a93f110.
2024-07-17 17:10:10 +09:00
tamaina 9e0a93f110 maxWorkers: '90%' 2024-07-17 17:08:08 +09:00
tamaina d3280fe7b3 Revert "genRSAAndEd25519KeyPairではキーを直列に生成する?"
This reverts commit d0aada55c1.
2024-07-17 16:59:01 +09:00
tamaina c2d084bac4 maxConcurrency: 8 2024-07-17 16:58:55 +09:00
FineArchs 070f0e723d
AiScriptを0.19.0にアップデート (#14226)
* Update autogen files

* Update CHANGELOG.md

* Update flash-edit.vue
2024-07-17 16:55:17 +09:00
tamaina a80a7f6458 maxConcurrency: 16 2024-07-17 16:53:34 +09:00
tamaina 613c1273b8 maxConcurrency: 8 2024-07-17 16:30:54 +09:00
tamaina d0aada55c1 genRSAAndEd25519KeyPairではキーを直列に生成する? 2024-07-17 16:20:39 +09:00
tamaina 57bfffedae Revert "defaultMaxListeners = 512"
This reverts commit f2c412c180.
2024-07-17 16:17:09 +09:00
tamaina f2c412c180 defaultMaxListeners = 512 2024-07-17 16:14:24 +09:00
tamaina 7e2c3e4439 remove gen-key-pair.ts 2024-07-17 16:03:44 +09:00
tamaina c80b16cdf8 refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair 2024-07-17 15:29:13 +09:00
tamaina 3777779aa9 Merge branch 'develop' into ed25519 2024-07-17 15:10:45 +09:00
Eiichi Yoshikawa 3b075c9c44
fix(frontend): MkSignin.vueのcredentialRequestからReactivityを削除 (#14223)
* Remove reactivity from credentialRequest in MkSignin.vue

* Update Changelog
2024-07-16 08:38:42 +09:00
Kisaragi ce39c3a2fb
chore(backend): registed -> registered (#14213)
* chore(backend): registed -> registered

* Update CHANGELOG.md
2024-07-15 14:58:48 +09:00
Souma 1b84760c19
enhance(backend): Load settings via environment variables (#14179)
* feat(backend): Load settings via environment variables

If they're not loaded from the config file.

* chore(docker): Add hints for environment variables

It supports users to know about them.

* docs(changelog): Add the description about this change

Users can notice what's changed by this PR.

* style(backend): Fix code syntax

To pass the linter.
2024-07-14 21:33:22 +09:00
easrng 16795f18a7
Enhance(frontend): Allow negative delay in MFM (#14200)
Co-authored-by: easrng <me@easrng.net>
2024-07-14 21:31:30 +09:00
Kisaragi f0b9d70720
ci: cache eslint (#14204)
* ci: cache eslint

* dummy commit to trigger

* fix syntax error
2024-07-14 21:30:57 +09:00
anatawa12 d47fd4ffe1
fix: error with trying to handle SIGKILL (#14208) 2024-07-14 21:29:35 +09:00
Sayamame-beans 4b9c60ad21
fix(backend): ユーザーのリアクション一覧でミュート/ブロックが機能していなかった問題を修正 (#14100)
* fix: mute/block was not considered on users/reactions

* docs(changelog): update changelog

* chore: Apply suggestion from code review

Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>

---------

Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-07-14 20:24:29 +09:00
syuilo c5607d8633 enhance(backend): configにsignToActivityPubGetの指定が無い場合trueと見做すように
trueの方が望ましいため
2024-07-14 20:14:43 +09:00
かっこかり 722acf5986
fix(frontend): follow-up of #13089 (#14206)
* fix(frontend): #13089 を修正

* fix

* 正規表現を強化

* fix
2024-07-14 17:28:34 +09:00
かっこかり b9f3fccfac
fix(frontend): Nested RouteのときにRouterViewに当たるキーがルートのpathとぶち当たる可能性があるのを修正 (#14202)
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-14 16:21:59 +09:00
Kisaragi 76181385d2
refactor(misskey-js): enable exactOptionalPropertyTypes (#14203)
* refactor(misskey-js): enable exactOptionalPropertyTypes

* refactor(misskey-js): fix error where is appeared by enabling
2024-07-14 15:52:43 +09:00
かっこかり 3c032dd5b9
enhance: 非ログイン時には別サーバーに遷移できるように (#13089)
* enhance: 非ログイン時にはMisskey Hub経由で別サーバーに遷移できるように

* fix

* サーバーサイド照会を削除

* クライアント側の照会動作

* hubを経由せずにリモートで続行できるように

* fix と pleaseLogin誘導箇所の追加

* fix

* fix

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-14 15:27:52 +09:00
かっこかり 6dd6fcf88f
enhance(frontend): サーバー情報・お問い合わせページを改修 (#14198)
* improve(frontend): サーバー情報・お問い合わせページを改修 (#238)

* Revert "Revert "enhance(frontend): add contact page" (#208)" (This reverts commit 5a329a09c987b3249f97f9d53af67d1bffb09eea.)

* improve(frontend): サーバー情報・お問い合わせページを改修

(cherry picked from commit e72758d8cda3db009c5d1bf1f4141682931b91f8)

* fix

* Update Changelog

* tweak

* lint

* 既存の翻訳を使用するように

---------

Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
2024-07-14 14:49:50 +09:00
Kisaragi 31e82fc29a
test(backend): kill many any in backend test (partial) (#14054)
* kill any on utils:api

* kill any on timeline test

* use optional chain to kill TS2532 on timeline test
変更前: 該当ノートが見つからなければundefinedに対するプロパティアクセスとしてテストがクラッシュ
変更後: 該当ノートが見つからなければoptional chainがundefinedとして評価されるが、strictEqualの右辺がnon-nullableなためアサーションに失敗しテストがクラッシュ

* kill `as any` for ApMfmService

* kill argument any for api-visibility

* kill argument any across a few tests

* do not return value that has yielded from `await`-ing `Promise<void>`

* force cast

* runtime non-null assertion to coerce

* rewrite `assert.notEqual(expr, null)` to `assert.ok(expr)`
こうすることでassertion type扱いになり、non-nullableになる

* change return type of `failedApiCall` to `void`
戻り値がどこにも使われていない

* split bindings for exports.ts
型が合わなくて文句を言ってくるので適切に分割

* runtime non-null assertion

* runtime non-null assertion

* 何故かうまく行かないので、とりあえずXORしてみる

* Revert "何故かうまく行かないので、とりあえずXORしてみる"

This reverts commit 48cf32c930.

* castAsErrorで安全ではないキャストを隠蔽

* 型アサーションの追加

* 型アサーションの追加

* 型アサーションの追加

* voidで値を返さない

* castAsError

* assert.ok => kill nullability

* もはや明示的な型の指定は必要ない

* castAsError

* castAsError

* 型アサーションの追加

* nullableを一旦抑止

* 変数を分離して型エラーを排除

* 不要なプロパティを削除する処理を隠蔽してanyを排除

* Repository type

* simple type

* assert.ok => kill nullability

* revert `as any` drop
reverts fe95c05b3f partialy

* test: fix invalid assertion
partially revert b99b7b5392

* test: 52d8a54fc7 により型が合うようになった部分の`as any`を除去

* format

* test: apply https://github.com/misskey-dev/misskey/pull/14054#discussion_r1672369526 (part 1)

* test: use non-null assertion to suppress too many error

* Update packages/backend/test/utils.ts

Co-authored-by: anatawa12 <anatawa12@icloud.com>

---------

Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:33:16 +09:00