summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/FileServerService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy15 hours1-3/+3
|
* set X-Robots-Tag to disable indexing API endpointsHazelnoot2025-06-131-0/+4
|
* add more details to StatusErrorsHazelnoot2025-06-061-3/+3
|
* record details of recursive proxy rejectionsHazelnoot2025-06-061-1/+1
|
* reduce, clarify, and normalize more error messagesHazelnoot2025-06-061-1/+2
|
* fix error schema for FileServerService rate limitHazelnoot2025-05-191-3/+5
|
* properly announce Accept-Ranges on drive filesJeDaYoshi2025-05-091-4/+16
|
* merge upstreamHazelnoot2025-03-251-1/+1
|\
| * deps: update pnpm to v10 (#15588)かっこかり2025-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Merge commit from fork饺子w (Yumechi)2024-10-221-0/+6
| | | | | | | | | | [ghsa-gq5q-c77c-v236](https://github.com/misskey-dev/misskey/security/advisories/ghsa-gq5q-c77c-v236) Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* | move SkRateLimiterService to correct directoryHazelnoot2025-02-051-1/+1
| |
* | lookup and cache rate limit factors directly within SkRateLimiterServiceHazelnoot2025-02-051-12/+9
| |
* | fix type errors from new rate limit definitionsHazelnoot2024-12-081-4/+4
| |
* | move all Rate Limit type defs to rate-limit-utils.tsHazelnoot2024-12-081-2/+2
| |
* | separate SkRateLimiterService from RateLimiterService and update all usagesHazelnoot2024-12-071-26/+19
| |
* | respect rate limit factor in FileServerServiceHazelnoot2024-12-071-7/+10
| |
* | Fix Content-Length resetting for partial content length requestsAda2024-12-041-1/+3
| |
* | add shared (cross-resource) rate limit for proxyHazelnoot2024-11-251-7/+28
| |
* | remove `minInterval` from `FileServerService`dakkar2024-11-221-3/+0
| | | | | | | | | | | | | | when showing a reply, browser will request the replied-to avatar twice at the same time, and get confused if one of the requests is refused something similar seems to happen with videos and their previews
* | prevent DoS from spammed media proxy requestsHazelnoot2024-11-201-0/+89
| |
* | Bump versionJulia Johannesen2024-11-201-89/+0
| |
* | prevent DoS from spammed media proxy requestsHazelnoot2024-11-191-0/+89
| |
* | Merge commit from fork饺子w (Yumechi)2024-10-221-0/+6
| | | | | | | | | | | | [ghsa-gq5q-c77c-v236](https://github.com/misskey-dev/misskey/security/advisories/ghsa-gq5q-c77c-v236) Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-5/+5
|\|
| * update deps (#14594)syuilo2024-09-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | * wip * Update ClientServerService.ts * eslint * Update fetch-resource.ts * wip
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-021-1/+1
|\|
| * refactor(backend): remove unused logger optionsyuilo2024-06-061-1/+1
| |
* | Merge remote-tracking branch 'misskey/develop' into future-2024-04-25dakkar2024-04-251-3/+4
|\|
| * fix(backend): ↵MeiMei2024-04-151-3/+4
| | | | | | | | | | | | | | nginx経由で/files/にRangeリクエストされた場合に正しく応答できないのを修正 (#13712) * Fix files * CHANGELOG
| * fix(backend): ↵かっこかり2024-04-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FileServerServiceでレンジリクエストの場合に適切なレスポンスコードが返らない問題を修正 (#13701) * return 206 for every ranged response - fixes #494 (cherry picked from commit 92eec2178fd103e9ea2bcd646aacab1fb496a33b) * detect size of remote files - fixes #494 without this, remote files are assumed to have size 0 (even if we just downloaded them!) and the range-related code won't run (cherry picked from commit 960f4fcff78a1f019c9a9377853fcd90dbfb7575) --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* | detect size of remote files - fixes #494dakkar2024-04-091-1/+3
| | | | | | | | | | without this, remote files are assumed to have size 0 (even if we just downloaded them!) and the range-related code won't run
* | return 206 for every ranged response - fixes #494dakkar2024-04-091-0/+2
| |
* | merge: upstreamMarie2024-02-191-14/+18
|\|
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * perf: omit search for immutable static requests (#13265)Acid Chicken (硫酸鶏)2024-02-131-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | * perf: omit search for immutable static requests * perf: also applies to /files * fix: exclude /proxy * /files/:key/*を301 redirectに --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
| |
* | merge: upstreamMarie2024-01-151-10/+101
|\|
| * enhance: 動画・音声周りのUIと動作改良 (#12925)かっこかり2024-01-151-10/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * (fix) `/files` をバイトレンジリクエストに対応させる * video * audio * fix * fix * spdx * fix (rangeRequest) * fix * Update CHANGELOG.md * (add) ボリュームを保存できるように * (fix) ミュート復帰時に音量が固定される * named export * tweak design * Add sensitive class for audio component * Refactor seekbar styles * Refactor hms * Revert "(add) ボリュームを保存できるように" This reverts commit 6271f9493b63f96d0dd9915207e97fe120ef9037. * Revert "(fix) ミュート復帰時に音量が固定される" This reverts commit a65002b56ecdcb10f76bcc2debbe38593a69643f. * revert revert changes --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* | merge: upstreamMarie2024-01-091-1/+1
|\|
| * chore: use summaly, browser-image-resizer, and sharp-read-bmp on ↵tamaina2023-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | registry.npmjs.org instead of git (#12856) * chore: use @misskey-dev/summaly on registry.npmjs.org instead of git * fix backend dependency * fic backend dependency * @misskey-dev/sharp-read-bmp * fix * use @misskey-dev/browser-image-resizer
* | fix: email validationMarie2023-12-231-3/+1
|/
* fix(dev): ↵かっこかり2023-12-161-0/+3
| | | | | | | | | | | ファイルの読み込みに失敗することがあるのを修正 (#12684) * (enhance) コード入力をMkCodeEditorに変更 * (fix) devでファイルの読み込みに失敗することがある * Revert "(enhance) コード入力をMkCodeEditorに変更" This reverts commit 726d56c3e962680efc5b5a166e2210d09730341f.
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip
* refactor: prefix Mi for all entities (#11719)syuilo2023-08-161-5/+5
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update RepositoryModule.ts * wip * wip * wip * Revert "wip" This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Fix auto-fixable issues (#11314)woxtu2023-07-191-12/+12
|
* [fix] .wav .flac ファイルを再生可能にする (#10686)Yuriha2023-04-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | * .wav .flac ファイルを再生可能にする file-typeにより判定されたMIME TypeをHTML5 Audio/Video要素に認識されるものに書き換える * fix typecheck error * frontend側の FILE_TYPE_BROWSERSAFEも更新 * Update packages/backend/src/core/FileInfoService.ts * :v: * 後方互換を確保 * add tests * update changelog.md --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix(server): ↵tamaina2023-04-191-1/+2
| | | | 1:1ではない画像のリアクション通知バッジが左や上に寄ってしまっていたのを中央に来るように修正
* fix: Do not use avif (#10301)tamaina2023-03-121-5/+5
| | | | | | | * fix: Do not use avif * fix * fix