summaryrefslogtreecommitdiff
path: root/packages/backend/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(backend): fix handling of invalid urls in user profile (#15635)饺子w (Yumechi)2025-03-091-1/+18
| | | Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* fix(backend): fix ApPersonService unsound type cast (#15629)饺子w (Yumechi)2025-03-091-1/+1
| | | Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* fix(backend): follow-up of #15620かっこかり2025-03-071-1/+0
| | | Removes unnecessary arg `disableGlobbing` from chokidar FSWatcher, as it is no longer supports globging
* deps: update pnpm to v10 (#15588)かっこかり2025-03-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "fix(build): corepackのバグの回避 (#15387)" This reverts commit 9c70a4e63130f85d191c5bc16d0a4be5cd1dece2. * deps: update pnpm to v10 * fix broken lockfile * update changelog * fix * fix * Revert "fix" This reverts commit 4abc6c194edc20989f5ec97d343307a4b8c9047d. * fix * fix * attempt to fix docker build * lint fixes * fix: revertしすぎた * detect pnpm version and install it * fix: そもそもpnpmを2回入れる必要がないかも * fix * refactor * fix * refactor: remove unnecessary arg * Update Dockerfile * update pnpm to v10.6.1 * Update Changelog * chore: use node to avoid installing jq
* enhance: OAuth2 (IndieAuth) ↵かっこかり2025-03-062-3/+16
| | | | | | | | | | | | | でロゴが提供されている場合は表示するように (#15578) * enhance: OAuthでロゴが提供されている場合は表示するように * Update Changelog * refactor * fix * fix test
* fix(backend): ↵かっこかり2025-03-061-0/+2
| | | | | | | | | | | | | S3互換オブジェクトストレージでファイルのアップロードに失敗することがある問題を修正 (#15583) * fix(backend/object-storage): disable data integrity protections (MisskeyIO#895) Cloudflare R2 does not support 'x-amz-checksum-*' * Update Changelog --------- Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* enhance(backend): refine system account (#15530)syuilo2025-03-0238-350/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update SystemAccountService.ts * Update 1740121393164-system-accounts.js * Update DeleteAccountService.ts * wip * wip * wip * wip * Update 1740121393164-system-accounts.js * Update RepositoryModule.ts * wip * wip * wip * Update ApRendererService.ts * wip * wip * Update SystemAccountService.ts * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * add print logs * ログが長すぎて出てないかもしれない * fix migration * refactor * fix fed-tests * Update RelayService.ts * merge * Update user.test.ts * chore: emit log * fix: tweak sleep duration * fix: exit 1 * fix: wait for misskey processes to become healthy * fix: longer sleep for user deletion * fix: make sleep longer again * デッドロック解消の試み https://github.com/misskey-dev/misskey/issues/15005 * Revert "デッドロック解消の試み" This reverts commit 266141f66fb584371bbb56ef7eba04e14bcff94d. * wip * Update SystemAccountService.ts --------- Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* デッドロック解消の試み (#15574)syuilo2025-03-012-11/+6
| | | | | https://github.com/misskey-dev/misskey/issues/15005 Co-authored-by: 饺子w (Yumechi) <35571479+eternal-flame-AD@users.noreply.github.com>
* refactorsyuilo2025-02-286-16/+10
|
* fix(backend): ↵Esurio/1673beta2025-02-261-1/+1
| | | | | | | | | | | | | | | S3_SAFEかつURL_SAFEでない文字列をprefixに使えないように (#15455) * fix(backend): S3_SAFEかつURL_SAFEでない文字列をprefixに使えないように * update CHANGELOG * fix validation * fix: remove unused import --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵おさむのひと2025-02-262-9/+42
| | | | | | | | | | | | | | | カスタム絵文字の一括インポートをした時にHTTPプロキシの除外設定が効かないのを修正 (#15431) * pxory * fix * fix CHANGELOG.md * allow localAddress --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵鴇峰 朔華2025-02-262-2/+4
| | | | | | | ローカル判定でisUriLocalを使用していない箇所を修正 (#15069) * fix(backend): ローカル判定でisUriLocalを使用していない箇所を修正 * fix(test backend): RelayServiceでUtilityServiceを使う
* fix(backend): clips/updateのdescriptionで空文字を許容するように ↵かっこかり2025-02-262-4/+8
| | | | | | | | | | | | | | | | | (#15429) * fix(backend): clips/updateのdescriptionで空文字を許容するように * Update Changelog * fix: createの際も空文字を許容するように * fix test * fix test --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): send Delete activity of a note to users who renoted or replied ↵zyoshoka2025-02-262-5/+38
| | | | | | | to it (#15554) * fix(backend): send Delete activity of a note to users who renoted or replied to it * Update CHANGELOG.md
* feat: google analytics (#15451)syuilo2025-02-255-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip backend * wip frontend * build misskey-js * implement control panel * fix * introduce analytics wrapper * spdx * Update analytics.ts * Update common.ts * wip * wip * wip * wip * wip * Update CHANGELOG.md --------- Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
* enhance(frontend): サーバーエラー画面の多言語対応 (#15549)かっこかり2025-02-243-79/+120
| | | | | * enhance(frontend): サーバーエラー画面の多言語対応 * indent
* 2025.2.1-beta.0のlintがコケているのを修正 (#15546)おさむのひと2025-02-231-13/+13
|
* Merge commit from fork饺子w (Yumechi)2025-02-237-42/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly. [GHSA-6w2c-vf6f-xf26](https://github.com/misskey-dev/misskey/security/advisories/GHSA-6w2c-vf6f-xf26) Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * Enhance: Add configuration option to disable all external redirects when responding to an ActivityPub lookup (config.disallowExternalApRedirect) Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * fixup! fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly. * docs & one edge case Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * apply suggestions Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * remove stale frontend reference to _responseInvalidIdHostNotMatch Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * apply suggestions Signed-off-by: eternal-flame-AD <yume@yumechi.jp> --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* tweak error logsyuilo2025-02-171-2/+2
|
* fix(backend): ↵鴇峰 朔華2025-02-162-0/+15
| | | | | | | | | | | メールアドレスの形式が正しくなければ以降の処理を行わないように (#15320) * Mod: バリデーションを追加 * 条件の修正 notつけわすれ * Update CHANGELOG.md
* fix(backend): ↵かっこかり2025-02-151-1/+1
| | | | | | | | | | | pgroongaでの検索時にはじめのキーワード以外が検索に使用されない問題を修正 (#15496) * fix pgroona note.text query * Update Changelog --------- Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
* update deps (#15311)syuilo2025-02-1516-39/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * bump misskey-dev/eslint-plugin * lint fixes (backend) * lint fixes (frontend) * lint fixes (frontend-embed) * rollback nsfwjs to 4.2.0 ref: infinitered/nsfwjs#904 * rollback openapi-typescript to v6 v7でOpenAPIのバリデーションが入るようになった関係でスコープ外での変更が避けられないため一時的に戻した * lint fixes (misskey-js) * temporarily disable errored lint rule (frontend-shared) * fix lint * temporarily ignore errored file for lint (frontend-shared) * rollback simplewebauthn/server to 12.0.0 v13 contains breaking changes that require some decision making * lint fixes (frontend-shared) * build misskey-js with types * fix(backend): migrate simplewebauthn/server to v12 * fix(misskey-js/autogen): ignore indent rules to generate consistent output * attempt to fix test changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML) * attempt to fix test changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML) * fix test * fix test * fix test * Apply suggestions from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * bump summaly to v5.2.0 * update tabler-icons to v3.30.0-based --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: anatawa12 <anatawa12@icloud.com>
* fix(backend): ↵Esurio/1673beta2025-02-111-3/+4
| | | | オブジェクトストレージの設定でPrefixを設定していなかった場合、nullが文字列として展開・ドメインの1つ後ろに'/'が挿入されないように (#15432)
* feat: アクセストークン発行時に通知するように (#15422)lqvp2025-02-114-0/+21
| | | | | | | | | * feat: アクセストークン発行時に通知するように (misskey-dev/misskey#13353) * fix: 不要な翻訳を削除/インデントを揃えるように * chore(backend): 不要なawaitを削除 * chore: changelogへ追加
* fix(backend): correct `admin/meta` response schema (#15434)zyoshoka2025-02-091-0/+1
|
* fix(backend): ↵Esurio/1673beta2025-02-081-1/+1
| | | | `following/invalidate`でフォロワーを解除しようとしているユーザーの情報を返すように (#15430)
* enhance(frontend): クライアントエラー画面の多言語対応 (#15411)かっこかり2025-02-082-15/+35
| | | | | | | * enhance(frontend): クライアントエラー画面のマルチリンガル対応 * Update Changelog * update message
* fix(backend): use unique `operationId` in the OpenAPI schema (#15420)zyoshoka2025-02-081-2/+8
| | | | | * fix(backend): use unique `operationId` in the OpenAPI schema * fix: read with UTF-8 encoding
* enhance: ページslugに使用可能な文字を限定 (#15395)syuilo2025-02-053-5/+6
| | | | | | | | | | | | | * wip * paramの正規表現で弾くように * apiWithDialogを使用するように * Update CHANGELOG.md --------- Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
* fix(backend): ↵かっこかり2025-02-011-0/+1
| | | | | | | お知らせのmetaタグ出力の条件が間違っていたのを修正 (#15377) * fix(backend): お知らせのmetaタグ出力の条件が間違っていたのを修正 * Update Changelog
* fix(backend): ↵おさむのひと2025-01-271-2/+1
| | | | デフォルト起動時のメインプロセスはHTTPサーバモジュールのみ読み込む (#15355)
* fix(backend): ↵饺子w (Yumechi)2025-01-261-0/+1
| | | | | | ノートの閲覧にログイン必須にしてもFeedでノートが表示されてしまう問題を修正 (#15083) Signed-off-by: eternal-flame-AD <yume@yumechi.jp> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* revert(dev): ↵かっこかり2025-01-251-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | フロントエンド・バックエンドを分離する開発モードを廃止 (#15284) * Revert "chore: 開発モードでフロントエンドとバックエンドを独立して起動するようにする(再) (#12593)" This reverts commit b0039f0946b02777ad99ad8c92f6555792aa8996. * revert dev command * revert embed dev * 消しすぎた * filesをプロキシするように * fix chromatic ci * Revert "filesをプロキシするように" This reverts commit 41be2548ce82ba408588c5f0dee007c97d026e55. * fix: configのhostnameでサーバーを起動するように * fix * lint * Update Changelog * fix --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: 絵文字のライセンスのActivityPub contextを追加 (#15318)Takeshi Umeda2025-01-211-0/+5
|
* refactor: Refactor Endpoints to improve Developer Experience for adding ↵anatawa122025-01-203-2329/+406
| | | | | | | Endpoints (#15301) * chore: reorder endpoints to lexicographic code unit order * refactor: import endpoints in one module and use them for generating EndpointsModule and endpoints
* feat: 新カスタム絵文字管理画面(β)の追加 (#13473)おさむのひと2025-01-2012-38/+556
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * fix * fix * fix * fix size * fix register logs * fix img autosize * fix row selection * support delete * fix border rendering * fix display:none * tweak comments * support choose pc file and drive file * support directory drag-drop * fix * fix comment * support context menu on data area * fix autogen * wip イベント整理 * イベントの整理 * refactor grid * fix cell re-render bugs * fix row remove * fix comment * fix validation * fix utils * list maximum * add mimetype check * fix * fix number cell focus * fix over 100 file drop * remove log * fix patchData * fix performance * fix * support update and delete * support remote import * fix layout * heightやめる * fix performance * add list v2 endpoint * support pagination * fix api call * fix no clickable input text * fix limit * fix paging * fix * fix * support search * tweak logs * tweak cell selection * fix range select * block delete * add comment * fix * support import log * fix dialog * refactor * add confirm dialog * fix name * fix autogen * wip * support image change and highlight row * add columns * wip * support sort * add role name * add index to emoji * refine context menu setting * support role select * remove unused buttons * fix url * fix MkRoleSelectDialog.vue * add route * refine remote page * enter key search * fix paste bugs * fix copy/paste * fix keyEvent * fix copy/paste and delete * fix comment * fix MkRoleSelectDialog.vue and storybook scenario * fix MkRoleSelectDialog.vue and storybook scenario * add MkGrid.stories.impl.ts * fix * [wip] add custom-emojis-manager2.stories.impl.ts * [wip] add custom-emojis-manager2.stories.impl.ts * wip * 課題はまだ残っているが、ひとまず完了 * fix validation and register roles * fix upload * optimize import * patch from dev * i18n * revert excess fixes * separate sort order component * add SPDX * revert excess fixes * fix pre test * fix bugs * add type column * fix types * fix CHANGELOG.md * fix lit * lint * tweak style * refactor * fix ci * autogen * Update types.ts * CSS Module化 * fix log * 縦スクロールを無効化 * MkStickyContainer化 * regenerate locales index.d.ts * fix * fix * テスト * ランダム値によるUI変更の抑制 * テスト * tableタグやめる * fix last-child css * fix overflow css * fix endpoint.ts * tweak css * 最新への追従とレイアウト微調整 * ソートキーの指定方法を他と合わせた * fix focus * fix layout * v2エンドポイントのルールに対応 * 表示条件などを微調整 * fix MkDataCell.vue * fix error code * fix error * add comment to MkModal.vue * Update index.d.ts * fix CHANGELOG.md * fix color theme * fix CHANGELOG.md * fix CHANGELOG.md * fix center * fix: テーブルにフォーカスがあり、通常状態であるときはキーイベントの伝搬を止める * fix: ロール選択用のダイアログにてコンディショナルロールを×ボタンで除外できなかったのを修正 * fix remote list folder * sticky footers * chore: fix ci error(just single line-break diff) * fix loading * fix like * comma to space * fix ci * fix ci * removed align-center --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* refactor: ↵Take-John2025-01-191-7/+10
| | | | | | | WebhookDeliverJobDataのcontentフィールドの型を具体的に (#15310) * WebhookDeliverJobDataのcontentフィールドの型を具体的に * typeフィールドの型も変更
* fix(backend): clone schema before converting to OAS schema to avoid mutation ↵zyoshoka2025-01-181-1/+3
| | | | | | | | | (#15294) * fix(backend): clone schema before converting to OAS schema to avoid mutation * Update CHANGELOG.md * fix: use deepClone
* fix(backend): ↵おさむのひと2025-01-171-1/+1
| | | | | | | | | localOnlyなノートの時は配送処理そのものを起動しない (#15020) * fix(backend): localOnlyなノートの時は配送処理そのものを起動しない * fix CHANGELOG.md * fix CHANGELOG.md
* よくわからないリアクションに関するログが流れっぱな ↵果物リン2025-01-171-1/+0
| | | | なのを修正 (#15303)
* fix(backend): Let MfmService.fromHtml accept ruby (#15117)Hong Minhee (洪 民憙)2025-01-141-0/+33
| | | | | | | This fix makes `MfmService.fromHtml()` method accept `<ruby>` tags and translate it to MFM's ruby characters syntax (`$[ruby ...]`). このパッチは`MfmService.fromHtml()`メソッドが`<ruby>`タグをMFMの 読み仮名(ルビ)文法に翻訳する様に修正します。
* enhance(backend): ↵おさむのひと2025-01-143-0/+12
| | | | | | | | | | | | | | | | | 絵文字の連合でライセンス欄を相互にやり取りするように (#15182) * enhance(backend): 絵文字の連合でライセンス欄を相互にやり取りするように Co-authored-by: Kisaragi Marine <kisaragi.effective@gmail.com> Co-authored-by: ruruke <123709459+ruruke@users.noreply.github.com> * fix CHANGELOG.md --------- Co-authored-by: Kisaragi Marine <kisaragi.effective@gmail.com> Co-authored-by: ruruke <123709459+ruruke@users.noreply.github.com> Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: node.js の punycode ↵anatawa122025-01-145-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | モジュールが使用されている場所がある問題 (#15248) * fix: punycode.js が使用されていない場所がある問題 * fix: use punycode/punycode.js on backend * fix: use punycode/punycode.es6.js on backend * fix: d.ts missing declare keyword * chore: don't use punycode.js on backend * update pnpm-lock.yaml * chore: remove punycode.d.ts * chore: use punycode.js instead of punycode npm package * chore: bump psl to 1.15.0 * chore: bump nsfwjs to 4.2.0 4.2.1 is not usable because of https://github.com/infinitered/nsfwjs/issues/904 * chore: prevent loading node-fetch from tensorflow * chore: DOMWindow['document'] => Document IDK why DOMWindow['document'] fails, but might be related to tsc internal complexity limit * fix: disable --trace-deprecation --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat(backend): pgroongaに対応(configの構成変更あり) (#14978)おさむのひと2025-01-143-106/+187
| | | | | | | | | | | | | | | | | * feat(backend): pgroongaに対応(configの構成変更あり) * fix CHANGELOG.md * fix CHANGELOG.md * add using provider logging * fix CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵かっこかり2025-01-141-9/+11
| | | | | | | | | | | `pages/update`のnameの重複チェックはnameプロパティがある時のみ行うように (#15104) * fix(backend): pagesのnameの重複チェックはnameプロパティがある時のみ行うように * Update Changelog --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor: ↵おさむのひと2025-01-148-127/+69
| | | | | | | | | SystemWebhook/UserWebhookの配信処理呼び出し部分の改善 (#15035) * UserWebhook側の対処 * SystemWebhook側の対処 * fix test
* enhance: ↵かっこかり2025-01-142-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 連合モードにあわせてフロントエンドを変化させるように (#15112) * enhance(backend): metaにfederation modeに関する情報を公開 * enhance(frontend): 登録画面の注意書きを追加 * enhance(frontend): aboutページ・サーバー情報 * enhance(frontend): サーバー統計 * enhance(frontend): みつけるページ * enhance(frontend): 検索 * enhance(frontend): ユーザー選択 * enhance(frontend): 設定画面 * enhance(frontend): ウィジェット * enhance(frontend): リモートで開くオプション * Update Changelog * enhance(frontend): ステータスバー * i18n --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat(frontend): ↵おさむのひと2025-01-145-15/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Botプロテクションの設定変更時は実際に検証を通過しないと保存できないようにする (#15151) * feat(frontend): CAPTCHAの設定変更時は実際に検証を通過しないと保存できないようにする * なしでも保存できるようにした * fix CHANGELOG.md * フォームが増殖するのを修正 * add comment * add server-side verify * fix ci * fix * fix * fix i18n * add current.ts * fix text * fix * regenerate locales * fix MkFormFooter.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* ApPersonServiceとApNoteServiceのuri <-> url比較を緩和 (#15233)おさむのひと2025-01-143-21/+15
| | | | | | | | | | | | | | | * wip * https://github.com/misskey-dev/misskey/issues/15039#issuecomment-2576411861 の反映 Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com> * fix CHANGELOG.md * remove inspection --------- Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
* feat(backend): ↵おさむのひと2025-01-142-8/+65
| | | | | | | | | config(default.yml)からSQLログ全文を出力するか否かを設定可能に (#15268) * feature(backend): config(default.yml)からSQLログ全文を出力するか否かを設定可能に * disableHighlightやめる * refactor