misskey/packages/backend/test
syuilo e560601815
feat: auto nsfw detection (#8840)
* feat: auto nsfw detection

* ✌️

* Update ja-JP.yml

* Update ja-JP.yml

* ポルノ判定のしきい値を高めに

* エラーハンドリングちゃんとした

* Update ja-JP.yml

* 感度設定を強化

* refactor

* feat: add video support for auto nsfw detection

* rename: image -> media

* .js

* fix: add missing error handling

* fix: use valid pathname instead of using filename due to invalid usage

* perf(nsfw-detection): decode frames

* disable detection of video for some reasons

* perf(nsfw-detection): streamify detection process for video

* disable disallowUploadWhenPredictedAsPorn option

* fix(nsfw-detection): improve reliability

* fix(nsfw-detection): use Math.ceil instead of Math.round

* perf(nsfw-detection): delete tmp frames after used

* fix(nsfw-detection): FSWatcher does not emit ready event

* perf(nsfw-detection): skip black frames

* refactor: strip exists check

* Update package.json

* めっちゃ変えた

* lint

* Update COPYING

* オプションで動画解析できるように

* Update yarn.lock

* Update CHANGELOG.md

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
..
misc lint 2022-05-21 22:21:41 +09:00
prelude lint 2022-05-21 22:21:41 +09:00
resources fix: 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する (#8014) 2021-12-03 11:19:28 +09:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
activitypub.ts fix test 2022-06-04 14:25:30 +09:00
ap-request.ts lint 2022-05-21 22:21:41 +09:00
api-visibility.ts lint 2022-05-21 22:21:41 +09:00
api.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
block.ts lint 2022-05-21 22:21:41 +09:00
chart.ts fix(test): make chart tests working 2022-06-05 20:37:24 +09:00
docker-compose.yml enhance: e2eテストをできるだけ改良してみた (#8159) 2022-01-21 16:43:56 +09:00
endpoints.ts improve test 2022-02-27 14:14:27 +09:00
extract-mentions.ts lint 2022-05-21 22:21:41 +09:00
fetch-resource.ts lint 2022-05-21 22:21:41 +09:00
ff-visibility.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
get-file-info.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
loader.js test: Nodeのカスタムローダーを直してテストが動くように (#8625) 2022-05-14 16:10:20 +09:00
mfm.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
mute.ts fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
note.ts fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
reaction-lib.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
streaming.ts fix: streamingテストおそい (#8912) 2022-07-03 20:54:54 +09:00
thread-mute.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
tsconfig.json refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
user-notes.ts fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
utils.ts fix: streamingテストおそい (#8912) 2022-07-03 20:54:54 +09:00