mizzkey/packages/backend/src/server/api/endpoints/admin
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
..
accounts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
ad refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
announcements refactor: fix type 2022-04-17 13:31:45 +09:00
drive feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
emoji fix: validation (better #8456) (#8461) 2022-04-03 13:57:26 +09:00
federation refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
moderators fix(server): add missing import 2022-03-29 18:46:59 +09:00
promo refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
queue refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
relays refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
abuse-user-reports.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
delete-account.ts feat: make possible to delete an account by admin 2022-06-27 23:49:16 +09:00
delete-all-files-of-a-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
drive-capacity-override.ts Add additional drive capacity change support (#8867) 2022-07-05 00:21:01 +09:00
get-index-stats.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
get-table-stats.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
get-user-ips.ts feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
invite.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
meta.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
reset-password.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
resolve-abuse-user-report.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
send-email.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
server-info.ts enhance: Redisをioredisに統一してIPv6サポート (#8869) 2022-06-24 19:22:19 +09:00
show-moderation-logs.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
show-user.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
show-users.ts chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
silence-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
suspend-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
unsilence-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
unsuspend-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
update-meta.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
update-user-note.ts feat: moderation note 2022-07-03 00:15:03 +09:00
vacuum.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00