summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore(backend): registed -> registered (#14213)Kisaragi2024-07-152-2/+3
| | | | | * chore(backend): registed -> registered * Update CHANGELOG.md
* enhance(backend): Load settings via environment variables (#14179)Souma2024-07-145-6/+22
| | | | | | | | | | | | | | | | | * 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.
* Enhance(frontend): Allow negative delay in MFM (#14200)easrng2024-07-142-1/+2
| | | Co-authored-by: easrng <me@easrng.net>
* ci: cache eslint (#14204)Kisaragi2024-07-142-1/+11
| | | | | | | * ci: cache eslint * dummy commit to trigger * fix syntax error
* chore(deps): bump actions/setup-node from 4.0.2 to 4.0.3 (#14165)dependabot[bot]2024-07-1413-17/+17
| | | | | | | | | | | | | | | Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4.0.2...v4.0.3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: error with trying to handle SIGKILL (#14208)anatawa122024-07-143-3/+0
|
* fix(backend): ↵Sayamame-beans2024-07-143-2/+22
| | | | | | | | | | | | | | | ユーザーのリアクション一覧でミュート/ブロックが機能していなかった問題を修正 (#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>
* enhance(backend): ↵syuilo2024-07-141-1/+1
| | | | | | configにsignToActivityPubGetの指定が無い場合trueと見做すように trueの方が望ましいため
* fix(frontend): follow-up of #13089 (#14206)かっこかり2024-07-147-28/+56
| | | | | | | | | * fix(frontend): #13089 を修正 * fix * 正規表現を強化 * fix
* ci: ↵Kisaragi2024-07-1410-11/+18
| | | | | | | | | ワークフローが更新されたときにもワークフローが起動するようにする (#14207) * ci: include themselves in `on.push.paths` command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.push.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.push.paths += ["{}"]' {} * ci: include themselves in `on.pull_request.paths` command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.pull_request.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.pull_request.paths += ["{}"]' {}
* fix(frontend): Nested ↵かっこかり2024-07-141-1/+1
| | | | | RouteのときにRouterViewに当たるキーがルートのpathとぶち当たる可能性があるのを修正 (#14202) Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor(misskey-js): enable exactOptionalPropertyTypes (#14203)Kisaragi2024-07-142-1/+4
| | | | | * refactor(misskey-js): enable exactOptionalPropertyTypes * refactor(misskey-js): fix error where is appeared by enabling
* enhance: 非ログイン時には別サーバーに遷移できるように ↵かっこかり2024-07-1419-113/+330
| | | | | | | | | | | | | | | | | | | | | | | | | (#13089) * enhance: 非ログイン時にはMisskey Hub経由で別サーバーに遷移できるように * fix * サーバーサイド照会を削除 * クライアント側の照会動作 * hubを経由せずにリモートで続行できるように * fix と pleaseLogin誘導箇所の追加 * fix * fix * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(frontend): サーバー情報・お問い合わせページを改修 ↵かっこかり2024-07-147-220/+250
| | | | | | | | | | | | | | | | | | | | | | | | | (#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>
* test(backend): kill many `any` in backend test (partial) (#14054)Kisaragi2024-07-1416-404/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 48cf32c930924840d0892af92d71b9437acb5844. * castAsErrorで安全ではないキャストを隠蔽 * 型アサーションの追加 * 型アサーションの追加 * 型アサーションの追加 * voidで値を返さない * castAsError * assert.ok => kill nullability * もはや明示的な型の指定は必要ない * castAsError * castAsError * 型アサーションの追加 * nullableを一旦抑止 * 変数を分離して型エラーを排除 * 不要なプロパティを削除する処理を隠蔽してanyを排除 * Repository type * simple type * assert.ok => kill nullability * revert `as any` drop reverts fe95c05b3f53266108128680d9358a3796844232 partialy * test: fix invalid assertion partially revert b99b7b5392d9d20c81dfee1346ba8b33ff9e1fbb * test: 52d8a54fc72b886fecb30a736b3ccf5057ea2a0c により型が合うようになった部分の`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>
* Feat: ↵Sayamame-beans2024-07-1411-6/+69
| | | | | | | | | | | | | | | | | | | | | | | ユーザーのアイコン/バナーの変更可否をロールで設定可能に (#14078) * feat: implement role policy "canUpdateBioMedia" * docs(changelog): update changelog * docs(changelog): update changelog * chore: regenerate misskey-js type definitions * chore: Apply suggestion from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * chore: fix unnecessarily strict inequality check * chore: policies should be gotten only once --------- Co-authored-by: anatawa12 <anatawa12@icloud.com>
* fix(backend): ↵かっこかり2024-07-143-7/+22
| | | | | | | | | | | | | | | | | 一般ユーザーから見たユーザーのバッジの一覧に公開されていないものが含まれることがある問題を修正 (#14195) * enhance(backend): 公開バッジのみをpackするように (MisskeyIO#652) (cherry picked from commit b8a90659f35fef49d1d00fb2f9b152226c97643c) * Update Changelog * fix * Update UserEntityService.ts --------- Co-authored-by: CyberRex <26585194+CyberRex0@users.noreply.github.com>
* deps(frontend): AiScript VSCodeのバージョンを上げる (#14199)かっこかり2024-07-142-34/+18
|
* parse `notRespondingSince` from redis instance cache (#14079)Gianni Ceccarelli2024-07-131-0/+1
| | | | if we don't do this, we'll get a string, and `DeliverProcessorService` will error out `i.notRespondingSince.getTime is not a function`
* refactor(sw): enable noImplicitAny (#14191)Kisaragi2024-07-131-1/+0
|
* fix(frontend): ↵かっこかり2024-07-131-0/+1
| | | | ホットキーのレートリミットがallowRepeatを考慮しない問題を修正 (#14192)
* fix(frontend): すでにfocus ↵かっこかり2024-07-133-6/+22
| | | | | | | | | trap対象の要素にinertがかかっている場合は解除するように (#14189) * fix(frontend): すでにfocus trap対象の要素にinertがかかっている場合は解除するように * 他のfocus-trapped要素とのインタラクションがある場合の動作を変更 * typo
* fix(backend): ↵syuilo2024-07-132-3/+19
| | | | | | デフォルトテーマに無効なテーマコードを入力するとUIが使用できなくなる問題を修正 Fix #13955
* fix: ↵おさむのひと2024-07-125-90/+492
| | | | | | | | | | | | | サジェストされるユーザのリストアップ方法を見直し (#14180) * fix: サジェストされるユーザのリストアップ方法を見直し * fix comment * fix CHANGELOG.md * ノートの無いユーザ(updatedAtが無いユーザ)は含めないらしい * fix test
* fix(frontend): use proper import pathかっこかり2024-07-121-1/+1
|
* fix(frontend): フォーカスの挙動を修正 (#14158)かっこかり2024-07-1261-378/+919
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(frontend): 直前のパターンを記録するように * fix(frontend): フォーカス/タブ移動に関する挙動を調整 (#226) Cherry-pick commit e8c030673326871edf3623cf2b8675d68f9e1b13 Co-authored-by: taiyme <53635909+taiyme@users.noreply.github.com> * focusのデザイン修正 * move scripts * Modalにfocus trapを追加 * 記録するホットキーはレートリミット式にする * escキーのハンドリングをMkModalに統一 * fix * enterで子メニューを開けるように * lint * fix focus trap * improve switch accessibility * 一部のmodalのフォーカストラップが外れない問題を修正 * fix * fix * Revert "記録するホットキーはレートリミット式にする" This reverts commit 40a7509286a87911ad4cc06d9482e8a2e5d0e7e8. * Revert "fix(frontend): 直前のパターンを記録するように" This reverts commit 5372b2594023952cff34aa62253ed4efef15b5dd. * Revert "Revert "fix(frontend): 直前のパターンを記録するように"" This reverts commit a9bb52e799e110927ad92cd8f26af980819334e1. * Revert "Revert "記録するホットキーはレートリミット式にする"" This reverts commit bdac34273e0bc5f13604c7e2f9fa6b1321a0df3d. * 試験的にCypressでのFocustrapを無効化 * fix * fix focus-trap * Update Changelog * :v: * fix focustrap invocation logic * スクロールがsticky headerを考慮するように * :art: * スタイルの微調整 * :art: * remove deprecated key aliases * focusElementが足りなかったので修正 * preview系にfocus時スタイルが足りなかったので修正 * `returnFocusElement` -> `returnFocusTo` * lint * Update packages/frontend/src/components/MkModalWindow.vue * Apply suggestions from code review Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> * keydownイベントをまとめる * use correct pesudo-element selector * fix * rename --------- Co-authored-by: taiyme <53635909+taiyme@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(frontend): 未使用のサウンド設定を削除 (#14116)かっこかり2024-07-117-24/+3
| | | | | | | * enhance(frontend): 未使用のサウンド設定を削除 * Update Changelog * Update CHANGELOG.md
* enhance(frontend): ウェルカムタイムラインのデザインを調整 ↵かっこかり2024-07-113-46/+162
| | | | | | | | | | | | | | | (#14156) * enhance(frontend): 非ログイン時のハイライトTLのデザイン調整 * Update Changelog * fix cw handling * ホバーしてたらスクロールを止めるように * fix * lint
* リリースPRがないときにrelease-edit-with-push.ymlがfailして見 ↵tamaina2024-07-111-0/+3
| | | | えが悪いのを修正 (#14160)
* Improve background color specification (#14176)woxtu2024-07-112-4/+4
|
* feat(misskey-js): `POST admin/roles/create`の型を具象化 (#14167)Kisaragi2024-07-105-3/+76
| | | | | | | | | | | | | | | * feat(misskey-js): `POST admin/roles/create`の型を具象化 * fix * docs: CHANGELOG.md * test(misskey-js): admin/roles/createの型が合うことを表明 * test(misskey-js): single quote * test(misskey-js): 無を読もうとして爆発するのを修正 * test(misskey-js): fix comment
* fix(frontend): remove unused statementかっこかり2024-07-101-1/+1
| | | fix #14162
* fix(backend): api-docをScalarに変更 (#14152)かっこかり2024-07-095-26/+22
| | | | | * fix(backend): api-docをScalarに変更 * Update Changelog
* fix/refactor(frontend): hotkeyの改修 (#14157)かっこかり2024-07-0913-168/+271
| | | | | | | | | | | | | | | | | | | | | | | * improve(frontend): hotkeyの改修 (#234) (cherry picked from commit 678be147f4db709dadf25d007cc2e679e98a370e) * Change path, add missing script Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> * fix * fix * add missing keycodes * fix * update changelog --------- Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
* Bump release actions to v2 (develop-stable(master) branches system) (#13941)tamaina2024-07-093-20/+27
|
* Fix compose file name (#14153)woxtu2024-07-091-1/+1
|
* fix(backend): 名前を空白文字列だけにできる問題を修正 (#14119)かっこかり2024-07-073-3/+21
| | | | | | | | | | | | | | | | | | | * fix(backend): 名前を空白文字列だけにできる問題を修正 * Update Changelog * fix test * Unicodeを含める * fix * ユーザー名がUnicode制御文字とスペースのみで構成される場合はnullに * Revert "ユーザー名がUnicode制御文字とスペースのみで構成される場合はnullに" This reverts commit 6c752a69c0d3649072e7e4ed30025183bceb48f9. * [ci skip] changelog typo
* feat(misskey-js): multipart/form-dataのリクエストに対応 (#14147)かっこかり2024-07-077-14/+537
| | | | | | | | | | | | | | | * feat(misskey-js): multipart/form-dataのリクエストに対応 * lint * add test * Update Changelog * テストを厳しくする * lint * multipart/form-dataではnullのプロパティを弾くように
* fix(frontend): ↵かっこかり2024-07-071-3/+9
| | | | サーバーサイドbootでエラー画面の描画時にDOMが初期化できていないことがあるのを修正 (#14139)
* fix(backend): parse5関係の型のimport方法を変更 (#14146)おさむのひと2024-07-071-24/+20
|
* fix changelogかっこかり2024-07-061-3/+3
|
* fix import pathsyuilo2024-07-061-1/+1
|
* fix(dev): ↵かっこかり2024-07-061-7/+13
| | | | devサーバーで`/notes/`に直でアクセスしたらサーバー側のレスポンスが返ってくる問題を修正 (#14137)
* refactor(frontend): refactor popup api and make sure call dispose callbacksyuilo2024-07-0449-196/+317
| | | | Close #14122
* fix(storybook): build skipping even after updating impl story files (#14124)zyoshoka2024-07-041-1/+0
|
* dev: fix pnpm dev is broken (#14123)anatawa122024-07-031-0/+2
| | | | | * dev: pnpm dev is broken * dev: fix crash pnpm dev because of unhandled promise
* Use built-in API (#14095)woxtu2024-07-026-73/+69
|
* test(backend): goodbye, Lenna (#14111)Kisaragi2024-07-0213-18/+18
|
* update deps (#14057)syuilo2024-07-0240-4367/+5512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * locales/index.jsのymlファイル取得ロジックを調節 * regenerate pnpm-lock.yaml * fix(backend): typecheck fails * chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend * chore: migrate ESLint configs to flat config (#14094) * chore: migrate ESLint configs to flat config * fix: update paths * fix: frontend lint fails * refactor(misskey-js): lint build.js * update deps --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <root@zyoshoka.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* fix(storybook): prevent infinite remount of component (#14101)zyoshoka2024-07-027-92/+41
| | | | | * fix(storybook): prevent infinite remount of component * fix: disable flaky `.toMatch()` test