Commit graph

1072 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
cddfd5df4b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-07 19:08:21 +09:00
syuilo
bbd8f6cd57 chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
dependabot[bot]
154bbb9d17 chore(deps): bump moment from 2.29.3 to 2.29.4 in /packages/backend (#8958)
Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 18:29:42 +09:00
syuilo
f19c367c42 update deps 2022-07-07 18:28:43 +09:00
syuilo
7e3404e763 chore(server): tweak api for admin 2022-07-07 18:09:50 +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
1485fa4efa Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-07 17:36:45 +09:00
Kainoa Kanter
a49d19686c enhance: Styled error screen (#8946)
* Styled error screen

* Make details margin auto

* Update boot.css

* Replace fontawesome with tabler svg

* Remove hr

* Add new style to flush screen

* Rename to `error.css`

* Fix

* Update base.pug

* Finally fix!

* Wrap details in `<code>`

* Add style to flush

* Fix

* BIOS -> Repair tool

* Fix

* Typo

* Adjust style

* Adjust text

* Flush -> Clear

* Revert flush changes

* Responsive

* Also hide splash
2022-07-07 17:35:56 +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
7cb84dc30a revert: feat: styled error screen (#8930) 2022-07-06 06:36:14 +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
syuilo
1812c49dbb rename: BIOS -> Repair Tool 2022-07-05 17:46:17 +09:00
Kainoa Kanter
36c502696b feat: styled error screen (#8930)
* Styled error screen

* Make details margin auto

* Update boot.css

* Replace fontawesome with tabler svg

* Remove hr

* Add new style to flush screen

* Rename to `error.css`
2022-07-05 17:44:05 +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