Commit Graph

15 Commits

Author SHA1 Message Date
syuilo
ed5d81859f 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
e23e7de453 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
c8c7d10348 refactor(client): refactoring 2022-07-02 14:00:37 +09:00
syuilo
10a18cd514 refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
Andreas Nedbal
57507cdf32 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
61826829d3 refactor: separate meta api for admin or not 2022-03-25 01:50:28 +09:00
syuilo
7e4db6acf4 Revert "refactor"
This reverts commit 94d4f8271e3406ff549a8f18831fb74adcd0d1ab.
2022-03-01 03:51:31 +09:00
syuilo
e547825ed9 refactor 2022-02-28 22:42:32 +09:00
syuilo
4adb95e034 clean up 2022-01-13 01:46:23 +09:00
syuilo
2a7f422689 tweak ui 2022-01-05 03:09:20 +09:00
syuilo
cde60e6dc9 tweak ui 2022-01-04 21:16:41 +09:00
syuilo
47405e62a3 enhance(client): tweak ui 2021-12-31 03:21:26 +09:00
syuilo
560c4f03f1 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
syuilo
ec1ca199cb update linr 2021-11-19 19:36:12 +09:00
syuilo
14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00