Commit graph

740 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
f70965a258 chore(client): tweak ui 2022-07-07 21:00:42 +09:00
syuilo
011df8b99d chore(client): tweak ui 2022-07-07 20:19:50 +09:00
syuilo
f19c367c42 update deps 2022-07-07 18:28:43 +09:00
syuilo
4ba0d551e0 chore(client): tweak ui 2022-07-07 18:06:34 +09:00
syuilo
167a149a51 chore(client): tweak ui 2022-07-07 17:55:47 +09:00
syuilo
8034c60ae5 enhance(client): make widgets available on tablet again 2022-07-07 17:29:30 +09:00
syuilo
dc3508f784 chore(client): tweak style 2022-07-07 17:28:21 +09:00
syuilo
e39f762db5 chore(client): tweak ui 2022-07-07 17:28:13 +09:00
Johann150
1c0966726b refactor: use overflow-y to determine scroll container
By using `overflow-y` instead of `overflow` using `endsWith` can be
avoided and represents the data we are actually interested in here
more accurately.
2022-07-06 19:02:39 +02:00
Johann150
0af344b4e3 refactor: use autofocus parameter
Using the `ref` seems to be broken but using the autofocus parameter
seems to fix it.
2022-07-06 18:23:05 +02:00
syuilo
95ca3ab718 chore(client): tweak style 2022-07-06 18:20:32 +09:00
syuilo
21cdbdc7c8 perf(client): trying improve perf of emoji-picker 2022-07-06 07:54:04 +09:00
syuilo
2015c81ce4 Revert "revert emoji picker changes"
This reverts commit 38d5303ccd067e67f11ae130b643713f6ca86eef.
2022-07-06 07:30:56 +09:00
Johann150
d7ed3c370e fix prismjs import
fixes #8944
2022-07-06 00:29:51 +02:00
syuilo
7672369a7d revert emoji picker changes 2022-07-06 07:26:58 +09:00
syuilo
1ceeec7cfa fix(client): テーマを作成するとクライアントが起動しなくなる 2022-07-06 07:08:45 +09:00
syuilo
6b871b367d chore(client): rendering performance tweak a bit 2022-07-05 23:13:28 +09:00
syuilo
fc6074494b chore(client): rendering performance tweak a bit 2022-07-05 23:01:23 +09:00
syuilo
7bf93660be chore(client): remove unused class 2022-07-05 22:40:53 +09:00
syuilo
8e5af92d2e chore(client): tweak ui 2022-07-05 22:40:15 +09:00
syuilo
edbdb7c5c9 chore(client): rendering performance tweak a bit 2022-07-05 22:35:57 +09:00
syuilo
e5a6f4a136 chore(client): fix type 2022-07-05 22:25:34 +09:00
syuilo
c15641f08a enhance(client): improve usability 2022-07-05 22:25:27 +09:00
syuilo
ed6e80f7f9 feat(client): メニューからページをリロードできるように 2022-07-05 19:29:44 +09:00
syuilo
aac0251dd4 perf: allow get for notes/reactions 2022-07-05 19:16:21 +09:00
syuilo
bdba98a312 chore(client): tweak ui 2022-07-05 17:55:47 +09:00
Johann150
91c3c92573 fix: pagination uses API correctly (#8925) 2022-07-05 17:42:54 +09:00
syuilo
516cb31ca7 fix(client): user search of explore not working 2022-07-05 17:20:34 +09:00
syuilo
5ec6594c48 chore(client): tweak style 2022-07-05 16:19:52 +09:00
syuilo
e3d1f8db13 enhance(client): improve marquee 2022-07-05 16:16:13 +09:00
syuilo
9798cee234 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-05 16:07:55 +09:00
syuilo
c0335907ef chore(client): tweak deck 2022-07-05 16:07:53 +09:00
syuilo
9d24f0f8fb chore(client): tweak deck 2022-07-05 15:55:55 +09:00
Kainoa Kanter
aa2d1ccef9 Update store.ts (#8937) 2022-07-05 15:21:46 +09:00
syuilo
0e4389aa5a chore(client): tweak ui 2022-07-05 12:09:49 +09:00
Kainoa Kanter
698409a1b1 chore: fix client lint errors (#8934)
* Fix client lint

* Hide no-v-html

* Ignore banned type

* Update page-editor.vue
2022-07-05 11:21:59 +09:00
CyberRex
bc49a0e9be Add additional drive capacity change support (#8867)
* Add additional drive capacity change support

* Update packages/backend/src/server/api/endpoints/admin/drive-capacity-override.ts

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

* 🎨

* show instance default capacity in placeholder

* fix

* update api/drive

* fix

* remove :

* fix lint

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-07-05 00:21:01 +09:00
Johann150
9538815980 fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
Johann150
7cbd70bd36 fix lint no-prototype-builtins 2022-07-04 16:39:04 +02:00
Johann150
ae3a51a673 fix lint no-undef 2022-07-04 16:33:55 +02:00
Johann150
0dc3a8b2e8 fix lint: use let instead of const for $ref
Fixes lint no-const-assign.
2022-07-04 16:22:21 +02:00
Johann150
d23b262519 refactor: remove unnecessary computed
Fixes lint no-const-assign.
2022-07-04 16:17:07 +02:00
Johann150
99cc363327 fix lint vue/require-valid-default-prop 2022-07-04 16:06:46 +02:00
Johann150
3514e0afdb fix lint no-fallthrough 2022-07-04 16:05:41 +02:00
Johann150
2a8dbb43c0 fix lint padded-blocks 2022-07-04 15:59:24 +02:00
Johann150
c80e7f9a89 fix(lint): semicolong spacing 2022-07-04 15:56:16 +02:00
Johann150
454c90e28b fix: replace use of window 2022-07-04 15:27:21 +02:00
syuilo
b65c6fa640 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-04 21:29:10 +09:00
syuilo
aeb1713021 update vite 2022-07-04 21:29:07 +09:00