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
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
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
tamaina
83096440cc
enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション ( #8216 )
...
* wip
* Update packages/client/src/os.ts
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備
* メニュー型定義を分離 (TypeScriptの型支援が効かないので)
* disabled
* make keepOriginal to follow setting value
* ✌️
* fix
* fix
* ✌️
* WEBP
* aaa
* ✌️
* webp
* lazy load browser-image-resizer
* rename
* rename 2
* Fix
* clean up
* add comment
* clean up
* jpeg, pngにもどす
* fix
* fix name
* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
* 動画サムネイルはjpegに
* エラーハンドリング
* ✌️
* v2.2.1-misskey-beta.2
* browser-image-resizer#v2.2.1-misskey.1
* ✌️
* fix alert
* update browser-image-resizer to v2.2.1-misskey.2
* lockfile
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
syuilo
523ee14a73
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
e3afe9fd82
delete needless instance drive columns
2022-03-07 21:20:14 +09:00
syuilo
d8c2d19d67
fix esm
2022-03-01 03:34:40 +09:00
syuilo
94228778c9
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
syuilo
f6184239cf
refactor
2022-02-03 21:38:57 +09:00
MeiMei
3150708d7a
refactor, enhance: ドライブ引数のオブジェクト化, 追加時のcomment指定 ( #8180 )
...
* refactor: ドライブの引数をオブジェクト化する Resolve #8177
* Resolve #8181
* fix
* archivePath
2022-01-23 22:52:35 +09:00
syuilo
93f79c1d8c
refactor(server): use named export
2022-01-20 02:43:13 +09:00
syuilo
3230cdaa4f
feat(server): store mime type of webpublic
2022-01-20 02:40:13 +09:00
syuilo
6c01a2aec1
refactor(server): use insert instead of save
2022-01-20 02:33:20 +09:00
tamaina
a26ab96021
enhance: 許可されていないファイルタイプでは、オブジェクトストレージのファイル名に拡張子を付与しないように ( #8108 )
...
* 許可されていないファイルタイプでは、オブジェクトストレージのファイル名に拡張子を付与しないように
* add comment
2022-01-03 07:35:02 +09:00
syuilo
6bd6b72e1b
Revert "revert d53795184"
...
This reverts commit aedbab17cc400ae7ac17498463504f40646e8673.
2022-01-01 22:25:30 +09:00
tamaina
336c7e0ebc
wip ( #8101 )
2022-01-01 18:00:53 +09:00
syuilo
e50eff9de7
revert d53795184
2021-12-29 17:21:08 +09:00
syuilo
af1281fcb6
refactor
2021-12-26 12:08:22 +09:00
syuilo
7b9f7fb060
enhance(server): better content type detection
2021-12-26 01:43:51 +09:00
syuilo
9b8d526ed0
fix lint
2021-12-09 23:58:30 +09:00
xianon
8f55ef86df
fix: 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する ( #8014 )
...
* 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する
* test: Add rotate.jpg test
* Webpublic 画像を返す時のみ Exif Orientation を考慮して縦横サイズを返す
* test: Support orientation
2021-12-03 11:19:28 +09:00
syuilo
14148f6c4a
refactoring
...
Resolve #7779
2021-11-12 02:02:25 +09:00