sharkey/packages/backend/src/server/api
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
..
common fix(server): cannot show users 2022-06-30 15:36:09 +09:00
endpoints feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
openapi fix: remove unused parameter 2022-06-14 11:54:55 +02:00
private Fix IP address rate limit (#8758) 2022-05-31 17:44:22 +09:00
service refactor: fix type 2022-04-17 17:30:27 +09:00
stream fix typo 2022-06-30 22:03:04 +02:00
2fa.ts bump jsrsasign 2022-04-23 12:48:26 +09:00
api-handler.ts feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
authenticate.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
call.ts feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
define.ts feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
endpoints.ts Add additional drive capacity change support (#8867) 2022-07-05 00:21:01 +09:00
error.ts fix lint 2021-12-09 23:58:30 +09:00
index.ts feat: allow GET for some endpoints 2022-06-25 18:26:31 +09:00
limiter.ts fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
logger.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
streaming.ts refactoe 2022-04-16 17:19:30 +09:00