summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* chore: update `.swcrc` schema link (#15428)zyoshoka2025-02-081-1/+1
|
* fix: swcのjson-schemaのurlを変更 (#15409)Esurio/1673beta2025-02-071-1/+1
| | | Co-authored-by: Esurio <esurio@esurio1673.net>
* 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(build): corepackのバグの回避 (#15387)かっこかり2025-02-032-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: disallow corepack from fetching latest manager version instead use specified version in package.json * Update Changelog * fix? * apply COREPACK_DEFAULT_TO_LATEST: 0 to every github workflows * Revert "apply COREPACK_DEFAULT_TO_LATEST: 0 to every github workflows" This reverts commit 67f0dc31adaa04f891f74f5c44a3d4d13a302a03. * apply COREPACK_DEFAULT_TO_LATEST: 0 to every github workflows (re) * fix * fix? * revert: removing corepack enable * test: set COREPACK_DEFAULT_TO_LATEST for federation tests --------- Co-authored-by: Marie <github@yuugi.dev> Co-authored-by: anatawa12 <anatawa12@icloud.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-2014-38/+1391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: タイムアウトを起こすe2eテストの時間設定を延長 (#15283)おさむのひと2025-01-151-1/+1
|
* fix(backend): Let MfmService.fromHtml accept ruby (#15117)Hong Minhee (洪 民憙)2025-01-142-0/+51
| | | | | | | 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-146-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | モジュールが使用されている場所がある問題 (#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-1412-140/+258
| | | | | | | | | 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-146-15/+1117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix: unable to use AiService on arm64 (#15261)anatawa122025-01-141-3/+18
|
* enhance(backend): ↵かっこかり2025-01-114-38/+35
| | | | | | | | | | | | | | | | | チャートの処理を一つずつ行うことでDBの同時接続とタイムアウトを削減 (#15239) * sync charts one-at-a-time to reduce database contention and timeouts * fix merge resolve failure * Update Changelog * update changelog * add comments --------- Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
* fix(backend): apOrHtml ↵かっこかり2025-01-081-2/+2
| | | | | | | | | | | | | Constraintが正しく評価されない問題を修正 (#15213) * fix(backend/ActivityPubServerService): apOrHtml Constraintが正しく評価されない問題を修正 (MisskeyIO#869) * Update Changelog * indent --------- Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix(backend): ↵taichan2025-01-081-2/+7
| | | | | | | | | | | | | | | | | ロックダウンされた期間指定のノートがStreaming経由でLTLに出現するのを修正 (#15200) * fix(backend): skipHideなときにもロックダウンされたノートのprivate化をするように * fix linting * Update packages/backend/src/core/entities/NoteEntityService.ts * Fix: type error * Remove unneeded await * Fix: typo * Remove skipTreatVisibillity
* fix(backend): disableClustering設定時の初期化ロジックを調整 ↵おさむのひと2025-01-072-13/+31
| | | | | | | | | | | | | (#15224) * fix(backend): disableClustering設定時の初期化ロジックを調整 * onlyServer かつ enableCluster な場合、メインプロセスでlistenするとワーカープロセス側のlistenと衝突するため、メインプロセスはforkのみに制限する(listenしない) * ログの追加 * fix CHANGELOG.md * fix comment
* fix(backend): ↵4ster1sk2025-01-041-1/+1
| | | | アプリ作成方式で作成したトークンの権限を表示するように (#15177)
* pg_bigmが利用できるよう、ノートの検索をILIKE演算子でな ↵Yuba2025-01-041-1/+1
| | | | | | | LIKE演算子でLOWER()をかけたテキストに対して行うように (#15205) * Use LIKE-LOWER instead of ILIKE, which pg_bigm doesn't support. * changelog: Enhance: pg_bigmが利用できるよう、ノートの検索をILIKE演算子でなくLIKE演算子でLOWER()をかけたテキストに対して行うように
* enhance(frontend): 照会の際にエラーを表示するように (#15147)かっこかり2024-12-193-19/+77
| | | | | | | | | | | * enhance: 照会の失敗理由を表示するように * Update Changelog * fix * fix test * lookupErrors-> remoteLookupErrors
* fix(frontend): ↵かっこかり2024-12-101-1/+1
| | | | | | | | | | | | | 公開範囲がホームのノートの埋め込みウィジェットが読み込まれない問題を修正 (#15102) * Resolve frontend/backend contradiction for home visibility embeds This now uses the same check from `packages/frontend/src/scripts/get-note-menu.ts` * Update Changelog --------- Co-authored-by: CenTdemeern1 <timo.herngreen@gmail.com>
* fix: unable to upload to local object storage (#15040)anatawa122024-11-241-1/+1
|
* fix(backend): ↵かっこかり2024-11-241-1/+1
| | | | | | | | | | | | | | 起動前の疎通チェックが機能しなくなっていた問題を修正 (#15043) * check harder for connectibility `allSettled` does not throw if a promise is rejected, so `check_connect` never actually failed * Update Changelog --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* fix(backend/misskey-js): タイポ修正 (#15046)かっこかり2024-11-241-1/+1
|
* fix(backend): ↵おさむのひと2024-11-231-1/+4
| | | | | | | アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する (#15033) * fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する * fix CHANGELOG.md
* fix(backend): use atomic command to improve securitysyuilo2024-11-231-3/+1
|
* fix(backend): ↵かっこかり2024-11-221-5/+9
| | | | | | | | | | | | | | | | | | | Inboxのエラーをthrowせずreturnしている問題を修正 (#15022) * fix exception handling for Like activities (cherry picked from commit 8f42e8434eaebe3aba5d1980c57f49dd8ad0de91) * fix exception handling for Announce activities (cherry picked from commit cfc3ab4b045af0674122fa49176431860176358b) * fix exception handling for Undo activities * Update Changelog --------- Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
* fix(backend): fix apResolver (#15010)かっこかり2024-11-212-3/+5
| | | | | | | | | * fix(backend): fix apResolver * fix * add comments * tweak comment
* fix(backend): fix type error(s) in security fixes (#15009)かっこかり2024-11-215-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix type error in security fixes (cherry picked from commit fa3cf6c2996741e642955c5e2fca8ad785e83205) * Fix error in test function calls (cherry picked from commit 1758f29364eca3cbd13dbb5c84909c93712b3b3b) * Fix style error (cherry picked from commit 23c4aa25714af145098baa7edd74c1d217e51c1a) * Fix another style error (cherry picked from commit 36af07abe28bec670aaebf9f5af5694bb582c29a) * Fix `.punyHost` misuse (cherry picked from commit 6027b516e1c82324d55d6e54d0e17cbd816feb42) * attempt to fix test: make yaml valid --------- Co-authored-by: Julia Johannesen <julia@insertdomain.name>
* fix(backend): fix security patches (#15008)かっこかり2024-11-212-3/+3
|
* fix ap/showsyuilo2024-11-211-1/+1
|
* fix(backend): use atomic command to improve securitysyuilo2024-11-211-3/+1
| | | | Co-Authored-By: Acid Chicken <root@acid-chicken.com>
* Merge commit from forkrectcoordsystem2024-11-214-36/+123
| | | | | | | | | | | | | | | | | | | | * fix(backend): check target IP before sending HTTP request * fix(backend): allow accessing private IP when testing * Apply suggestions from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * fix(backend): lint and typecheck * fix(backend): add isLocalAddressAllowed option to getAgentByUrl and send (HttpRequestService) * fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Merge commit from forkJulia2024-11-212-8/+23
| | | | | | | | | * Fix poll update spoofing * fix: Disallow negative poll counts --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Merge commit from forkJulia2024-11-2115-76/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance: Add a few validation fixes from Sharkey See the original MR on the GitLab instance: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/484 Co-Authored-By: Dakkar <dakkar@thenautilus.net> * fix: primitive 2: acceptance of cross-origin alternate Co-Authored-By: Laura Hausmann <laura@hausmann.dev> * fix: primitive 3: validation of non-final url * fix: primitive 4: missing same-origin identifier validation of collection-wrapped activities * fix: primitives 5 & 8: reject activities with non string identifiers Co-Authored-By: Laura Hausmann <laura@hausmann.dev> * fix: primitive 6: reject anonymous objects that were fetched by their id * fix: primitives 9, 10 & 11: http signature validation doesn't enforce required headers or specify auth header name Co-Authored-By: Laura Hausmann <laura@hausmann.dev> * fix: primitive 14: improper validation of outbox, followers, following & shared inbox collections * fix: code style for primitive 14 * fix: primitive 15: improper same-origin validation for note uri and url Co-Authored-By: Laura Hausmann <laura@hausmann.dev> * fix: primitive 16: improper same-origin validation for user uri and url * fix: primitive 17: note same-origin identifier validation can be bypassed by wrapping the id in an array * fix: code style for primitive 17 * fix: check attribution against actor in notes While this isn't strictly required to fix the exploits at hand, this mirrors the fix in `ApQuestionService` for GHSA-5h8r-gq97-xv69, as a preemptive countermeasure. * fix: primitive 18: `ap/get` bypasses access checks One might argue that we could make this one actually preform access checks against the returned activity object, but I feel like that's a lot more work than just restricting it to administrators, since, to me at least, it seems more like a debugging tool than anything else. * fix: primitive 19 & 20: respect blocks and hide more Ideally, the user property should also be hidden (as leaving it in leaks information slightly), but given the schema of the note endpoint, I don't think that would be possible without introducing some kind of "ghost" user, who is attributed for posts by users who have you blocked. * fix: primitives 21, 22, and 23: reuse resolver This also increases the default `recursionLimit` for `Resolver`, as it theoretically will go higher that it previously would and could possibly fail on non-malicious collection activities. * fix: primitives 25-33: proper local instance checks * revert: fix: primitive 19 & 20 This reverts commit 465a9fe6591de90f78bd3d084e3c01e65dc3cf3c. --------- Co-authored-by: Dakkar <dakkar@thenautilus.net> Co-authored-by: Laura Hausmann <laura@hausmann.dev> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>