egirlskey/packages/backend/src/server/api/endpoints/i
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
..
2fa enhance: Display TOTP Register URL 2022-05-14 15:00:15 +09:00
gallery refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
registry refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
webhooks feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
apps.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
authorized-apps.ts chore: fix lint 2022-04-03 15:33:22 +09:00
change-password.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
delete-account.ts feat: make possible to delete an account by admin 2022-06-27 23:49:16 +09:00
export-blocking.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
export-following.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
export-mute.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
export-notes.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
export-user-lists.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
favorites.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
get-word-muted-notes-count.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
import-blocking.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
import-following.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
import-muting.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
import-user-lists.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
notifications.ts fix: always respect instance mutes (#8854) 2022-06-25 14:23:59 +09:00
page-likes.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
pages.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
pin.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
read-all-messaging-messages.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
read-all-unread-notes.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
read-announcement.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
regenerate-token.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
revoke-token.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
signin-history.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
unpin.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
update-email.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
update.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
user-group-invites.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00