summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/FileInfoService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enable and fix no-unused-vars and no-async-promise-executor (#17070)anatawa122026-01-081-20/+8
| | | | | | | | | * 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
* lintsyuilo2025-10-281-2/+2
|
* fix(backend): ↵tamaina2025-09-061-10/+19
| | | | | webpなどの画像に対してセンシティブなメディアの検出が適用されていなかった問題を修正 (#16523) 画像をnsfwjsにかける前にsharpで均一にするようにした
* enhance(backend): ↵syuilo2025-05-241-6/+27
| | | | ファイル種別が判定できない場合、拡張子を参照するように
* 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
* fix: node.js の punycode ↵anatawa122025-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | モジュールが使用されている場所がある問題 (#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>
* refactorsyuilo2024-08-101-3/+3
|
* enhance(backend): ↵かっこかり2024-03-311-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ビデオファイルにビデオトラックがあるかを確認するように (#13568) * enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように (cherry picked from commit 23d38a2d6492a2b24e9b2c031d66c3e8a5d382ef) * Update Changelog * Update Changelog * Revert "Update Changelog" This reverts commit 93fd996932b87ef550c38b48bd0678060f3ed1af. * fix(test) ffmpegをインストールするように * 入れる方間違えた * fix test * 拡張子変わらなかったのでそのまま行く * ログを出力するように * msg * remove unused import * add log * attempt to fix test error * Revert "attempt to fix test error" This reverts commit d9d6524cadd655e6d8e9398b26fdfef332f30f4d. * Update FileInfoService.ts * oggも検査の対象にする
* fix: Bump sharp to 0.33.2 (#13391)tamaina2024-02-211-4/+5
|
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
|
* 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>
* Use promises API (#11351)woxtu2023-07-271-7/+3
|
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-081-8/+8
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* update depssyuilo2023-07-071-6/+7
|
* [fix] .wav .flac ファイルを再生可能にする (#10686)Yuriha2023-04-261-6/+19
| | | | | | | | | | | | | | | | | | | | | | * .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>
* refactor: remove all unused imports (#9951)Kagami Sascha Rosylight2023-02-161-1/+1
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix(server): ↵syuilo2023-01-091-2/+2
| | | | | | 特定のPNG画像のアップロードに失敗する問題を修正 Co-Authored-By: haru <64310155+usbharu@users.noreply.github.com>
* tweak blurhashsyuilo2022-12-091-1/+1
|
* enhance: AVIF support (#9281)tamaina2022-12-081-3/+26
| | | | | | | | | | | | | * chore: Make image/avif browsersafe * server side * change FileInfoService * :v: * avifはMastodonでは絶望的 see https://github.com/misskey-dev/misskey/issues/9283 Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-0/+11
|
* testsyuilo2022-09-191-13/+13
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-0/+382