Commit Graph

15 Commits

Author SHA1 Message Date
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
syuilo eccc90c843
feat: Log user ips (#8872)
* wip

* store ip and headers

* Update admin-file.vue

* require admin for view ip/headers

* IP (recent) 消した

* admin必須

* opt in

* clean ips periodically

* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
syuilo ded0f6f0df refactor(client): refactoring 2022-07-02 14:00:37 +09:00
syuilo 699f24f3dc
refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
Andreas Nedbal 5de77405ea
Refactor admin/security to use Composition API (#8652)
* refactor(client): refactor admin/security to use Composition API

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:34:50 +09:00
syuilo d0a346ed8a refactor: separate meta api for admin or not 2022-03-25 01:50:28 +09:00
syuilo 645dbebd86 Revert "refactor"
This reverts commit 94d4f8271e.
2022-03-01 03:51:31 +09:00
syuilo 94d4f8271e refactor 2022-02-28 22:42:32 +09:00
syuilo d2623a2ef2 clean up 2022-01-13 01:46:23 +09:00
syuilo 533955f928 tweak ui 2022-01-05 03:09:20 +09:00
syuilo 89053d5747 tweak ui 2022-01-04 21:16:41 +09:00
syuilo e6c8b83b20 enhance(client): tweak ui 2021-12-31 03:21:26 +09:00
syuilo 616b18a9e5 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
syuilo 5d968afa74 update linr 2021-11-19 19:36:12 +09:00
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/client/pages/admin/security.vue (Browse further)