summaryrefslogtreecommitdiff
path: root/packages/backend/src/server (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)Freya Murphy3 days31-60/+64
|
* fix: review fixes (#17208)かっこかり3 days5-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: OAuthのContent-Typeを正しく判定するように * fix(frontend): fix outdated comments * fix: storagePersistenceのtop-level awaitを解消 * fix * fix(frontend): add comment Co-Authored-By: anatawa12 <anatawa12@icloud.com> * fix * fix: rename `users/get-following-users-by-birthday` * fix: fix types * Update MkForm.vue * refactor utility/storage.ts --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: ↵かっこかり2026-02-151-1/+5
| | | | | | | user-tagページでユーザーが重複して読み込まれるのを修正 (#17163) * fix: user-tagをページネーションに対応させる * update changelog
* fix(backend): inconsistent permissions for /admin/get-user-ips (#17136)Ken_Cir2026-01-311-1/+1
| | | | | * fix(backend): inconsistent permissions for /admin/get-user-ips * Update Changelog
* refactor(frontend): anyを除去2 (#17092)かっこかり2026-01-142-5/+18
| | | | | | | * wip * fix types * fix
* Refactor FileServerService: Extract file handling logic into dedicated ↵おさむのひと2026-01-135-471/+650
| | | | | | | | | handlers (#17090) - Introduced FileServerDriveHandler to manage drive file requests. - Created FileServerFileResolver for resolving file access keys and downloading files. - Added FileServerProxyHandler to handle proxy requests and image processing. - Moved utility functions to FileServerUtils for better organization. - Removed redundant methods from FileServerService, improving readability and maintainability.
* refactor: make noImplicitAny true (#17083)syuilo2026-01-092-34/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update emojis.emoji.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update manager.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update analytics.ts
* fix(frontend): popupのemit型が正しく利用できるように修正 ↵かっこかり2026-01-091-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16826) * fix(frontend): popupのemit型が正しく利用できるように修正 * fix: revert unnecessary code (for testing purpose) * fix lint * fix type errors * fix types * add comment * fix * fix * fix: OverloadToUnionの仕組みを変更 * add comments, clean up * fix lint * fix types * clean up [ci skip] * fix * add comments [ci skip]
* enable and fix no-unused-vars and no-async-promise-executor (#17070)anatawa122026-01-0826-32/+25
| | | | | | | | | * dev: set --no-bail for lint task * lint: enable no-async-promise-executor lint and fix them * lint: enable no-unused-vars with allowing _ prefix * lint: fix semi
* Minify backend (#17054)syuilo2026-01-051-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update build.js * Update build.js * [minify-backend用] フィジビリティ検証 (#16878) * fix: minify-backend * 間違えて入れちゃったのを戻す * 追従 * fix --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * test * use node 24 * Revert "use node 24" This reverts commit 7ae2debf23448922de70e208fe2e432ef4665f27. * Revert "test" This reverts commit d91987909139405318e573effe5a5d1613713934. * Update package.json * wip * Update compile_config.js * Revert "Update compile_config.js" This reverts commit 0ee286f02be807b126b65de6d94f573c005f98d7. * Update config.ts * wip * Update .swcrc * Update ClientServerService.ts * [ci skip] update CHANGELOG --------- Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
* enhance: ↵かっこかり2025-12-313-7/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 誕生日のユーザーウィジェットで、今日だけに限らず、直近の誕生日ユーザーを表示できるように (#13637) * enhance(frontend): 「今日誕生日のフォロー中ユーザー」ウィジェットをリファクタリング (cherry picked from commit 24652b9364fd7d898ac176e0da3bb6e957f72328) * fix(backend): 年越しの時期で誕生日検索クエリーが誤動作する問題を修正 (MisskeyIO#577) (cherry picked from commit 38581006be35b4725b235be9f178d2c0c9c5af33) * fix * spdx * delete birthday param on users/following api * 名称を一本化 * Update Changelog * Update Changelog * fix(frontend/WidgetBirthdayFollowings): ユーザーの名前が長いと投稿ボタンがはみ出てしまう問題を修正 (MisskeyIO#582) (cherry picked from commit fa47a545b1b770e5f3e52bb2798d1104da5dd244) * use module css * default 3day * Revert "delete birthday param on users/following api" This reverts commit a47456c1c43410409ed3607ae1d6ebb69a82324b. * Update Changelog * 日付が1ヶ月ズレている問題を修正? * fix: 日付関連のバグを修正 Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> * build misskey-js types * add comment * Update CHANGELOG.md * migrate * change migration * UPdate Changelog * fix: revert unnecessary changes * :art: * i18n * fix * update changelog * :art: * fix lint * refactor: remove unnecessary classes * fix * fix --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
* enhance(backend/oauth): Support client information discovery in the ↵かっこかり2025-12-311-22/+67
| | | | | | | | | | | | | | | IndieAuth 11 July 2024 spec (#17030) * enhance(backend): Support client information discovery in the IndieAuth 11 July 2024 spec * add tests * Update Changelog * Update Changelog * fix tests * fix test describe to align with the other describe format
* refactor: use TRANSIENT scope to avoid service bucket relay (#16985)anatawa122025-12-2225-647/+349
| | | | | | | | | | | * refactor: use TRANSIENT scope to avoid service bucket relay * lint: fix lints * refactor: use transient for apResolver * Update packages/backend/src/core/activitypub/models/ApImageService.ts * fix
* fix: ↵おさむのひと2025-12-202-14/+6
| | | | admin/queue/deliver-delayedとadmin/queue/inbox-delayedの応答速度を改善 (#17009)
* fix(backend): fix #16994 by approach 6 (#17005)かっこかり2025-12-204-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): narrow down trustproxy default value and enhance documentation on how to configure it * Update Changelog * indent [ci skip] * Update CHANGELOG.md [ci skip] * add cloudflare specific example * Update .config/example.yml Co-authored-by: anatawa12 <anatawa12@icloud.com> * fix: productionでIPレートリミットされる際にlocalhostからリクエストが来たらログを残すように * fix: wrong condition * fix: use own logger for signin api * flip configuration * fix * fix [ci skip] * fix: wrong message [ci skip] * fix: どこがおかしいか明記 [ci skip] --------- Co-authored-by: anatawa12 <anatawa12@icloud.com>
* perf(backend): lazy load systeminformationsyuilo2025-12-182-2/+4
| | | | systeminformationを必要とする機能を有効にしていないサーバーで無駄に読み込まれることが無いように
* enhance(backend): request ip が localhost ↵syuilo2025-12-163-25/+37
| | | | だった場合、レートリミットをスキップ & 警告を出すように
* Revert "Merge commit from fork"syuilo2025-12-161-1/+1
| | | | | | This reverts commit 5512898463fa8487b9e6488912f35102b91f25f7. see https://github.com/misskey-dev/misskey/issues/16994
* Merge commit from forkKagami Sascha Rosylight2025-12-031-1/+1
| | | | | | | * Change trustProxy default value to false * Update trustProxy default value in example.yml * Update trustProxy default description in example.yml
* enhance(backend): ↵かっこかり2025-12-011-1/+1
| | | | バックエンドで言語リストのみを参照するように (#16915)
* enhance(backend): pugをやめ、JSXベースのテンプレートに変更 ↵かっこかり2025-12-0150-1950/+1266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16908) * enhance(backend): pugをやめ、JSXベースのテンプレートに変更 (to misskey-dev dev branch) (#16889) * wip * wip * wip * wip * fix lint * attempt to fix test * fix * fix * fix: oauthページの描画がおかしい問題を修正 * typo [ci skip] * fix * fix * fix * fix * fix * refactor * fix * fix * fix broken lockfile * fix: expose supported languages as global variable * remove i18n package from root as it is no longer required [ci skip] * fix * fix: add i18n package.json to Docker target-builder stage for federation tests (#16909) * Initial plan * fix: add i18n package.json to Docker target-builder stage for federation tests Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * fix: followup-test-federation for enh-remove-pug (#16910) * fix: followup-test-federation for enh-remove-pug * Revert "fix: add i18n package.json to Docker target-builder stage for federation tests (#16909)" This reverts commit 14313468d34f49c363eef4d0a932e9fc0d9a37fb. * fix: CSSが読み込まれない場合がある問題を修正 * fix [ci skip] * fix: propsのデフォルト値をnull合体演算子から論理和演算子に変更(空文字に対処するため) * remove @types/pug * enhance: bootloaderを埋め込むように * fix possible race condition * remove esbuild --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
* perf(backend): use node-html-parser instead of microformats-parser (#16907)syuilo2025-11-301-14/+34
| | | | | | | | | | | | | * perf(backend): use node-html-parser instead of microformats-parser microformats-parser は内部的に parse5 に依存していて無駄 * Update OAuth2ProviderService.ts * Add 'id' parameter to parseMicroformats function * Update OAuth2ProviderService.ts * Update OAuth2ProviderService.ts
* perf(backend): lazy load summalysyuilo2025-11-301-3/+4
|
* perf(backend): lazy load sentrysyuilo2025-11-301-5/+11
|
* perf(backend): ↵syuilo2025-11-291-1/+1
| | | | | | | | | | | | | parse5をやめて軽量な実装にし、メモリ削減・高速化 (#16892) * wip * test * Revert "test" This reverts commit b7c5ae72144874a378cef7a13320e8b89f40d6e9. * Update MfmService.ts
* perf(backend): ↵syuilo2025-11-293-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jsdom、happy-domをやめて軽量な実装にし、メモリ削減・高速化 (#16885) * wip * Update packages/backend/src/server/api/endpoints/i/update.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/FetchInstanceMetadataService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * remove some packages * コミット漏れ * clean up * fix * Update MfmService.ts * fix * fix * Update MfmService.ts * wip * rename * Update packages/backend/src/core/MfmService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/MfmService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/MfmService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/MfmService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/activitypub/ApRendererService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/MfmService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/backend/src/core/MfmService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update MfmService.ts * Update CHANGELOG.md --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* enhance(backend): Improve error handling for scheduled post validation (#16642)Copilot2025-11-282-0/+32
| | | | | | | | | | | | | | | * Initial plan * Add error definitions and handling for scheduling validation errors Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * ✌️ --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* Revert "fix(backend): `clips/my-favorites` ↵かっこかり2025-11-271-9/+1
| | | | | | | | | APIをページネーションに対応させる (#16835)" (#16874) * Revert "fix(backend): `clips/my-favorites` APIをページネーションに対応させる (#16835)" This reverts commit 70fa621e22b90b1f649eb3c1d291cec1ed57b0ac. * fix
* enhance(frontend): ↵syuilo2025-11-261-1/+1
| | | | viewportの属性を起動後に変化させないことにより処理を簡略化+安定性向上
* fix(backend): ワードミュートの文字数計算を修正syuilo2025-11-261-2/+14
|
* fix(deps): update [backend] update dependencies [ci skip] (#16801)renovate[bot]2025-11-251-2/+2
| | | | | | | | | | * fix(deps): update [backend] update dependencies * fix types --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
* fix(backend): ↵かっこかり2025-11-241-0/+4
| | | | | | | | | | | チャンネルのリアルタイム更新で非ログイン時非表示設定が考慮されていない問題を修正 (#16833) * fix(backend): チャンネルのリアルタイム更新でロックダウン設定が考慮されていない問題を修正 * Update Changelog --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* chore(dev): correct entrypoint path for embed on dev build (#16836)zyoshoka2025-11-241-1/+1
|
* fix(backend): DeepL翻訳のAPIキー指定方式変更に対応 (#16839)かっこかり2025-11-241-1/+1
| | | | | | | | | | | | | | | * spec: DeepL Deprecation of query parameter and request body authentication (MisskeyIO#1096) https://developers.deepl.com/docs/resources/breaking-changes-change-notices/november-2025-deprecation-of-legacy-auth-methods * Update Changelog * Update Changelog * :v: [ci skip] --------- Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix(backend): `clips/my-favorites` ↵かっこかり2025-11-231-1/+9
| | | | | | | | | | | APIをページネーションに対応させる (#16835) * fix(backend): `clips/my-favorites` APIをページネーションに対応させる * fix * fix test * fix
* チャンネルの説明欄の最小文字数制約を除去する (#16782)claustra012025-11-122-2/+2
| | | | | | | | | | | * chore: channelのdescriptionを空欄にできるようにする * update: CHANGELOG.md * update: CHANGELOG.md * fix: CHANGELOG.md * fix: CHANGELOG.md
* feat: チャンネルミュートの実装 (#14105)おさむのひと2025-11-0718-53/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add channel_muting table and entities * add channel_muting services * タイムライン取得処理への組み込み * misskey-jsの型とインターフェース生成 * Channelスキーマにミュート情報を追加 * フロントエンドの実装 * 条件が逆だったのを修正 * 期限切れミュートを掃除する機能を実装 * TLの抽出条件調節 * 名前の変更と変更不要の差分をロールバック * 修正漏れ * isChannelRelatedの条件に誤りがあった * [wip] テスト追加 * テストの追加と検出した不備の修正 * fix test * fix CHANGELOG.md * 通常はFTTにしておく * 実装忘れ対応 * fix merge * fix merge * add channel tl test * fix CHANGELOG.md * remove unused import * fix lint * fix test * fix favorite -> favorited * exclude -> include * fix CHANGELOG.md * fix CHANGELOG.md * maintenance * fix CHANGELOG.md * fix * fix ci * regenerate * fix * Revert "fix" This reverts commit 699d50c6ec798777d8e9667cb5d45a26b06bfc93. * fixed --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance: ↵かっこかり2025-10-162-0/+10
| | | | | | | | | リモートユーザーのロールバッジを表示するかどうかをサーバー管理者が設定できるように (#16661) * enhance: リモートユーザーのロールバッジを表示するかどうかをサーバー管理者が設定できるように * Update Changelog * build misskey-js with types
* lintsyuilo2025-10-061-8/+8
|
* fix notes\drafts\create param defssyuilo2025-10-061-1/+1
|
* feat: scheduled post (#16577)syuilo2025-09-267-195/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update NoteDraft.ts * Update NoteDraft.ts * wip * Update CHANGELOG.md * wip * Update PostScheduledNoteProcessorService.ts * Update PostScheduledNoteProcessorService.ts * Update Notification.ts * wip * Update NoteDraftService.ts * Update NoteDraftService.ts * Update NoteDraftService.ts * wip * Create 1758677617888-scheduled-post.js * Update index.d.ts * Update stats.ts * wip * wip * wip * wip * wip * Update MkNotification.vue * wip * wip * wip * Update NoteDraftService.ts * Update NoteDraftService.ts * wip * wip * Update NoteDraftEntityService.ts * wip * Update index.d.ts * Update MkPostForm.vue * wip * wip * wip * Update NoteCreateService.ts * wip * wip * wip * Update NoteDraftEntityService.ts * Update NoteCreateService.ts * Update NoteDraftService.ts * wip * Update NoteDraftService.ts * wip * wip * Update MkPostForm.vue * wip * Update MkPostForm.vue * Update os.ts * wip * Update MkNoteDraftsDialog.vue
* enhance(backend): 設定ファイルにFastifyOptions.trustProxyを追加 ↵饺子w (Yumechi)2025-09-221-1/+1
| | | | | | | | | | | | | | | (#16567) * enhance(backend): 設定ファイルにFastifyOptions.trustProxyを追加 Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * try harder Signed-off-by: eternal-flame-AD <yume@yumechi.jp> --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* feat(frontend): ↵tamaina2025-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 自分のプロフィールページの二次元コード(QRコード)を表示し、他の人のコードを読み取りするページを追加 (#16456) * wip (qr.show.vue) * added to navbar * qr.show.vue * fix * added to navbar * fix size * :art: * :art: * fix div warn * fix * use * 0.25 * fix?? * fix lint * clean up * ??? * ? * fix * :art: * :art: * refactor * :art: * :art: * :ar:t * :art: * iphone flip * no lazy import * :art: * :art: * :art: * ユーザー全部flipでいいや * :v: * fix * fix * fix lint * :art: * fix type * fix: local user profile url cannot be resolved with ap/show * fix: local user url with hostname could not be resolved * chore: use common utility for checking self host * wip * :art: * :art: * fix imports * fix * fix * fix * :art: * fix... * set spacer-w * :v: * 全画面でQRを読むように * fix * :art: * modify navbar.ts * start/stop on vue activation * display raw content read from qr * 端末のQRをスキャンするボタンを追加 * chore * やっぱりmfmを先に表示する * :art: * fix 18n * QRの内容は/users/:userIdにする * add spdx * use cqh * `defineProps` is a compiler macro and no longer needs to be imported. * use MkUserName * 🎨 * 🎨 * refactor * clean up * refactor * 🎨 * Update qr.show.vue * Misskeyロゴにdrop-shadowを追加 * clean up: do not use empty css * fix os.select usage * Update qr.vue * Update qr.show.vue * Update qr.show.vue * Update get-user-menu.ts * ✌️ * Update show.ts * Update ja-JP.yml * watermark * Update CHANGELOG.md * Update qr.read.vue * Update qr.read.vue * wip * Update MkWatermarkEditorDialog.Layer.vue --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(frontend): ↵tamaina2025-09-181-1/+1
| | | | bootでonunhandledrejectionでrenderErrorする場合、PromiseRejectionEvent.reasonを渡すように (#16563)
* fix: ↵かっこかり2025-09-161-7/+13
| | | | サーバー設定によりコンテンツの閲覧が制限されている場合のメッセージを区別するように (#16527)
* enhance: 広告ごとにセンシティブフラグを設定できるようにsyuilo2025-09-143-0/+6
|
* refactor(frontend): ↵かっこかり2025-09-132-15/+33
| | | | | | | | | | | | | | | | | フロントエンドの型エラー解消(途中まで) (#16539) * fix(frontend): FormLinkをボタンとして使用した際にエラーが出る問題を修正 * refactor(frontend): フロントエンドの型エラー解消 * remove unused ts-expect-error * migrate * remove unrelated changes * fix lint * more type fixes
* enhance(frontend): ↵かっこかり2025-09-061-0/+11
| | | | | | | | | | | フロントエンドのキャッシュクリア操作でブラウザの内部キャッシュも削除するように (#16522) * enhance(frontend): フロントエンドのキャッシュクリア操作でブラウザの内部キャッシュも削除するように * 削除するキャッシュを増やす * Update Changelog * fix: 何らかのエラーがあっても無視するように
* feat(backend): Send Clear-Site-Data header on /flush (#16517)饺子w (Yumechi)2025-09-052-31/+52
| | | | | | | | | | | | | * feat(backend): Send Clear-Site-Data header on /flush Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * simplify check on flush.pug Signed-off-by: eternal-flame-AD <yume@yumechi.jp> --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* fix(backend): タイムラインAPIの withRenotes: false ↵syuilo2025-08-293-0/+3
| | | | 時のレスポンスを修正