copilot-swe-agent[bot]
a69400289d
fix: prevent immutable cache headers on file access errors
...
When a file exists in the database as storedInternal but is missing from
disk, the error response was incorrectly getting Cache-Control:
max-age=31536000, immutable. This was because the handler set immutable
cache headers before attempting to stream the file, and by the time the
stream encountered the ENOENT error, HTTP headers were already committed.
Fix: add fs.promises.access() check in FileServerFileResolver for stored
original files before returning the path. If the file is not accessible
on disk, the access check throws, propagating to errorHandler which
correctly sets Cache-Control: max-age=300.
For thumbnail/webpublic stored files, detectType() already performed this
check implicitly via fs.stat(). Only original files were affected.
This fixes both the /files/:key and /proxy/:url* endpoints since both
call resolveFileByAccessKey for local files.
Agent-Logs-Url: https://github.com/misskey-dev/misskey/sessions/5dd1c781-b9ad-43cf-b107-79c502d2e602
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com >
2026-04-07 13:31:53 +00:00
かっこかり
a18c909ba3
Revert "deps: Update vite to v8" ( #17283 )
...
Revert "deps: Update vite to v8 (#17238 )"
This reverts commit e601fcb729 .
2026-04-06 20:15:57 +09:00
Evan Prodromou
8169c57bd1
fix(backend): handle array or string in alsoKnownAs ( #17275 )
...
* fix: handle array or string in alsoKnownAs, closes #17274
* style: use more idiomatic toArray() for UserEntityService handling of alsoKnownAs
* fix: handle array-valued or unwrapped alsoKnownAs in ApPersonService
* doc: note about bugfix for alsoKnownAs
2026-04-05 00:43:37 +09:00
かっこかり
e601fcb729
deps: Update vite to v8 ( #17238 )
...
* deps: Update vite to v8
* fix
* migrate some plugins to rolldown-based
* fix broken lockfile
* wip
* update rolldown
* override rolldown version
* perf
* spdx
* fix
* update vite to 8.0.1
* chore: rewrite rollup-plugin-unwind-css-module-class-name with MagicString
* format
* swap type definitions
* replace using MagicString
* provided magicString
* fix code style
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com >
* fix: lint fixes
* swap sass with sass-embedded
* fix lint
* fix: インライン化されたVue SFC出力に対してCSS Module定義削除が効かないのを修正
* fix
* fix: バックエンドのCSS読み込みの方法が悪いのを修正
* fix: 使用されないpreloadを削除
* fix lint [ci skip]
* Apply suggestion from @syuilo
* Add comment in pnpm-workspace.yaml [ci skip]
* update vite/rolldown
* remove magic-string
---------
Co-authored-by: cm-ayf <cm.ayf2734@gmail.com >
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com >
2026-04-01 17:05:57 +09:00
Copilot
5361a3819b
fix(backend): /api-doc にアクセスできない問題を修正 ( #17267 )
...
* Initial plan
* fix: fix /api-doc returning 404 after backend minification (#17266 )
Agent-Logs-Url: https://github.com/misskey-dev/misskey/sessions/8d7d0585-55da-412f-a8ee-dde1b6565026
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com >
* enhance: API DocのHTMLをJSXで生成するように
* Update Changelog
* chore: remove unused imports [ci skip]
---------
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: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com >
2026-04-01 14:43:34 +09:00
かっこかり
dbc5fe2454
deps: update dependencies ( #17263 )
...
* deps: update dependencies
* fix?
* fix
* Update AiService.ts
* fix
* update deps
2026-04-01 12:16:36 +09:00
かっこかり
b826a16231
fix(backend): 初期読込時に必要なフロントエンドのアセットがすべて読み込まれていない問題を修正 ( #17254 )
...
* fix: バックエンドのCSS読み込みの方法が悪いのを修正
* fix: 使用されないpreloadを削除
* Update Changelog
* add comments
2026-03-21 12:26:50 +09:00
かっこかり
57ed2914d1
deps: update dependencies ( #17252 ) [ci skip]
2026-03-20 20:08:58 +09:00
かっこかり
54e94263a8
fix(backend): チャンネルミュートを有効にしている際にノートの閲覧ができなくなることがある問題を修正 ( #17251 )
...
* fix(backend): チャンネルミュート使用時にユーザーのノート一覧読み込みに失敗する問題を修正
* more fix
* Update Changelog
2026-03-20 19:11:56 +09:00
かっこかり
2904b5a342
fix(backend): fix streaming note hiding logic ( #17248 )
...
* fix(backend): fix streaming note hiding logic
* Update Changelog
* refactor: avoid using generator function
---------
Co-authored-by: Acid Chicken <root@acid-chicken.com >
2026-03-20 14:01:27 +09:00
かっこかり
a3b0dc91e8
fix(backend): Acceptヘッダを署名の対象に含めないように ( #17240 )
...
* fix(backend): Acceptヘッダを署名の対象に含めないように
* Update Changelog
2026-03-16 13:42:51 +09:00
renovate[bot]
9377e94072
chore(deps): update [docker] update dependencies ( #17203 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 18:22:09 +09:00
かっこかり
bc19359876
fix(backend): follow-up of 47db963 ( #17231 )
...
fix(backend): follow-up of 47db963d8d
2026-03-09 18:21:25 +09:00
syuilo
47db963d8d
chore(backend): 非ログイン状態のケア
2026-03-09 13:57:59 +09:00
syuilo
277716bc49
fix(backend): 自分の行ったフォロワー限定投稿または指名投稿に自分自身でリアクションなど行った場合のイベントが流れない問題を修正
2026-03-09 13:51:56 +09:00
syuilo
db5cc6c058
Revert "fix(backend): 自分の行ったフォロワー限定投稿または指名投稿に自分自身でリアクションなど行った場合のイベントが流れない問題を修正"
...
This reverts commit 06f8dd39ca .
2026-03-09 13:51:18 +09:00
syuilo
06f8dd39ca
fix(backend): 自分の行ったフォロワー限定投稿または指名投稿に自分自身でリアクションなど行った場合のイベントが流れない問題を修正
2026-03-09 13:50:10 +09:00
syuilo
307e90427a
format
2026-03-09 13:48:32 +09:00
かっこかり
25783425e1
deps: update dependencies ( #17229 )
...
* deps: update dependencies
* update lockfile
2026-03-09 09:09:09 +09:00
かっこかり
06e74508a2
Merge commit from fork
...
* Tighten security on channels
* Fix main channel
* add comments, improve typing
* fix indent
* fix: missing membership checks in chat-room
* remove unnecessary check in chat-user
* fix
* refactor: use exists
* fix
---------
Co-authored-by: Julia Johannesen <julia@insertdomain.name >
2026-03-09 08:18:14 +09:00
かっこかり
b361a10c48
Merge commit from fork
...
* Tighten security in `HashtagChannel`
* Add isNoteVisibleForMe in stream channel
Co-Authored-By: Julia Johannesen <julia@insertdomain.name >
* Tighten note visibility checks in WebSocket (No.1)
* refactor
* Fix main channel
Co-Authored-By: Julia Johannesen <julia@insertdomain.name >
* fix typo
* fix missing lockdown (requireSigninToViewContents) checks
* fix(backend): streamingでのロックダウン挙動修正
* fix: 引用リノートを無条件で隠していた問題を修正
* fix: 引用リノートを単純にリノート場合に内容が見えることがある問題を修正
* refac
* fix
* fix
* fix
* Update docs
---------
Co-authored-by: Julia Johannesen <julia@insertdomain.name >
Co-authored-by: KanariKanaru <93921745+kanarikanaru@users.noreply.github.com >
2026-03-09 08:15:31 +09:00
syuilo
a07dc589e7
Merge commit from fork
...
Co-authored-by: Julia Johannesen <197614925+juliajohannesen@users.noreply.github.com >
2026-03-09 08:14:12 +09:00
かっこかり
b5d399674a
Merge commit from fork
...
Co-authored-by: Julia Johannesen <julia@insertdomain.name >
2026-03-09 08:12:20 +09:00
かっこかり
e074a91189
Merge commit from fork
2026-03-09 08:11:25 +09:00
かっこかり
ac45781ef9
deps: security dependency updates [ci skip] ( #17225 )
2026-03-07 14:35:10 +09:00
anatawa12
5d78b320de
chore(backend): delete unused ChannelsService ( #17218 )
2026-03-05 21:57:07 +09:00
かっこかり
3980b2ca55
fix: review fixes ( #17208 )
...
* 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 >
2026-03-05 19:24:30 +09:00
かっこかり
676e164634
deps: Security dependency updates ( #17198 )
...
* update deps
* update security deps
2026-02-28 13:56:34 +09:00
かっこかり
22a6935468
deps: update dependencies ( #17184 )
...
* update deps
* fix
2026-02-22 19:06:33 +09:00
かっこかり
b5121dc70e
deps: update dependencies ( #17174 )
...
* deps: update dependencies
* update
* run pnpm dedupe
* update tsgo
* rollback tsgo
2026-02-16 12:02:36 +09:00
かっこかり
af40eb4d31
fix: user-tagページでユーザーが重複して読み込まれるのを修正 ( #17163 )
...
* fix: user-tagをページネーションに対応させる
* update changelog
2026-02-15 11:50:23 +09:00
Ken_Cir
39362f78a6
fix(backend): inconsistent permissions for /admin/get-user-ips ( #17136 )
...
* fix(backend): inconsistent permissions for /admin/get-user-ips
* Update Changelog
2026-01-31 22:37:48 +09:00
かっこかり
fc7655c808
deps: update dependencies [ci skip] ( #17126 )
...
* deps: update dependencies
* update vunerable packages as well
2026-01-24 02:41:10 +09:00
syuilo
a168e7b648
enhance(dev): Improve mem report ( #17119 )
...
* wip
* Update report-backend-memory.yml
* Update report-backend-memory.yml
* Update measure-memory.mjs
* Update report-backend-memory.yml
2026-01-22 18:53:53 +09:00
syuilo
2fa6ecc7ef
enhance(dev): improve mem report ( #17118 )
...
* wip
* wip
* Update report-backend-memory.yml
* Update report-backend-memory.yml
* Update .github/workflows/report-backend-memory.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-22 14:32:57 +09:00
syuilo
f744b5711f
enhance(dev): improve mem report ( #17117 )
...
* wip
* Update report-backend-memory.yml
2026-01-22 13:14:05 +09:00
syuilo
2b3d72bb73
Update measure-memory.mjs ( #17116 )
2026-01-22 12:16:38 +09:00
syuilo
3205eb6925
lint
2026-01-22 12:14:51 +09:00
syuilo
d4fcc694a6
enhance(backend): remove redis-info dep
2026-01-22 10:28:03 +09:00
syuilo
ec683f04d1
enhance(dev): メモリ使用量比較のActionsでGCしてから取得する
...
Resolve #16961
2026-01-14 16:12:44 +09:00
かっこかり
bd81a6c8ad
refactor(frontend): anyを除去2 ( #17092 )
...
* wip
* fix types
* fix
2026-01-14 14:45:45 +09:00
かっこかり
b941c896aa
refactor(frontend): MkRadiosの指定をpropsから行うように ( #16597 )
...
* refactor(frontend): MkRadiosの指定をpropsから行うように
* spdx
* fix lint
* fix: mkradiosを動的slotsに対応させる
* fix: remove comment [ci skip]
* fix lint
* fix lint
* migrate
* rename
* fix
* fix
* fix types
* remove unused imports
* fix
* wip
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com >
2026-01-14 14:02:50 +09:00
おさむのひと
0b383efa5a
Refactor FileServerService: Extract file handling logic into dedicated 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.
2026-01-13 15:00:11 +09:00
おさむのひと
106fffdcfe
chore(backend): FileServerServiceのunit-testを追加 ( #17086 )
...
* add test
* fix
* fix type error
2026-01-11 11:34:29 +09:00
syuilo
41592eafb3
refactor: make noImplicitAny true ( #17083 )
...
* 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
2026-01-09 22:06:40 +09:00
かっこかり
2a14025c29
fix(frontend): popupのemit型が正しく利用できるように修正 ( #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]
2026-01-09 12:21:08 +09:00
anatawa12
666f78e676
enable and fix no-unused-vars and no-async-promise-executor ( #17070 )
...
* 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
2026-01-08 11:49:12 +09:00
おさむのひと
f6fc78f578
refactor: DriveFileEntityServiceとDriveFolderEntityServiceの複数件取得をリファクタ ( #17064 )
...
* refactor: DriveFileEntityServiceとDriveFolderEntityServiceの複数件取得をリファクタ
* add test
* fix
* Update packages/backend/src/core/entities/DriveFolderEntityService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/backend/test/unit/entities/DriveFolderEntityService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/backend/src/core/entities/DriveFileEntityService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Revert "Update packages/backend/src/core/entities/DriveFileEntityService.ts"
This reverts commit 83bb9564cf .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-06 13:13:06 +09:00
syuilo
7bcfeba7e5
Minify backend ( #17054 )
...
* 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 7ae2debf23 .
* Revert "test"
This reverts commit d919879091 .
* Update package.json
* wip
* Update compile_config.js
* Revert "Update compile_config.js"
This reverts commit 0ee286f02b .
* Update config.ts
* wip
* Update .swcrc
* Update ClientServerService.ts
* [ci skip] update CHANGELOG
---------
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com >
2026-01-05 20:56:52 +09:00
renovate[bot]
40d55fc6a3
fix(deps): update [backend] update dependencies ( #17026 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-02 21:47:23 +09:00