mizzkey/packages/client/src/scripts
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
..
aiscript refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
hpml chore: fix client lint errors (#8934) 2022-07-05 11:21:59 +09:00
2fa.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
array.ts fix lint no-prototype-builtins 2022-07-04 16:39:04 +02:00
autocomplete.ts fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
check-word-mute.ts fix lints 2022-06-24 12:44:22 +02:00
collect-page-vars.ts refactoring 2021-11-12 02:02:25 +09:00
contains.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
copy-to-clipboard.ts refactoring 2021-11-12 02:02:25 +09:00
device-kind.ts feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
emojilist.ts refactor: use Vite to build instead of webpack (#8575) 2022-05-01 22:51:07 +09:00
extract-avg-color-from-blurhash.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
extract-mentions.ts refactoring 2021-11-12 02:02:25 +09:00
extract-url-from-mfm.ts refactoring 2021-11-12 02:02:25 +09:00
focus.ts refactoring 2021-11-12 02:02:25 +09:00
form.ts refactor: Widgetのcomposition api移行 (#8125) 2022-01-08 20:30:01 +09:00
format-time-string.ts chore: fix some lints automatically (#8788) 2022-06-10 14:36:55 +09:00
gen-search-query.ts fix lint padded-blocks 2022-07-04 15:59:24 +02:00
get-account-from-id.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
get-note-menu.ts tweak client 2022-06-30 10:53:40 +09:00
get-note-summary.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
get-static-image-url.ts refactoring 2021-11-12 02:02:25 +09:00
get-user-menu.ts refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
get-user-name.ts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
hotkey.ts fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
i18n.ts tweak client 2022-06-21 17:55:38 +09:00
idb-proxy.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
initialize-sw.ts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
is-device-darkmode.ts refactoring 2021-11-12 02:02:25 +09:00
keycode.ts refactoring 2021-11-12 02:02:25 +09:00
langmap.ts fix: better language settings 2022-02-26 15:13:44 +09:00
login-id.ts refactoring 2021-11-12 02:02:25 +09:00
lookup-user.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
mfm-tags.ts Implemented a rotate MFM (#8016) 2021-11-26 13:39:57 +09:00
page-metadata.ts refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
physics.ts chore: fix some lints automatically (#8788) 2022-06-10 14:36:55 +09:00
please-login.ts Prevent access to user pages when not logged in [v2] (#8904) 2022-06-29 18:26:06 +09:00
popout.ts fix(client): fix popout url (#8494) 2022-05-29 12:21:36 +02:00
reaction-picker.ts refactor: use Vite to build instead of webpack (#8575) 2022-05-01 22:51:07 +09:00
scroll.ts refactor: use overflow-y to determine scroll container 2022-07-06 19:02:39 +02:00
search.ts refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
select-file.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
show-suspended-dialog.ts refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
sound.ts refactoring 2021-11-12 02:02:25 +09:00
sticky-sidebar.ts refactoring 2021-11-12 02:02:25 +09:00
theme-editor.ts chore: fix some lints automatically (#8788) 2022-06-10 14:36:55 +09:00
theme.ts chore: fix some lints automatically (#8788) 2022-06-10 14:36:55 +09:00
time.ts refactoring 2021-11-12 02:02:25 +09:00
touch.ts モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
twemoji-base.ts feat: Add Badge Image to Push Notification (#8012) 2022-06-20 00:33:46 +09:00
unison-reload.ts refactoring 2021-11-12 02:02:25 +09:00
upload.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
url.ts fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
use-chart-tooltip.ts refactor(client): extract tooltip logic of chart 2022-06-25 18:05:35 +09:00
use-interval.ts chore(client): tweak ui 2022-07-02 22:07:04 +09:00
use-leave-guard.ts fix #8861 2022-06-24 00:47:55 +09:00
use-note-capture.ts fix(client): fix lint issues in scripts (#8621) 2022-05-07 14:19:15 +09:00
use-tooltip.ts chore(client): tweak ui 2022-06-30 23:51:18 +09:00