-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション #8216
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
4d4ac5d
wip
mei23 bb11a37
Update packages/client/src/os.ts
mei23 ed5805e
メニューをComposition API化、switchアイテム追加
tamaina 0a788d1
メニュー型定義を分離 (TypeScriptの型支援が効かないので)
tamaina 8da8329
disabled
tamaina bb67923
make keepOriginal to follow setting value
tamaina 0ed6f4d
Merge branch 'v12-8173' into better-8176
tamaina 323d020
:v:
tamaina 0802306
fix
tamaina 32dd3bf
fix
tamaina 1ce9e92
:v:
tamaina 8fcf86c
Merge branch 'menu-switch' into better-8176
tamaina 3236eba
WEBP
tamaina 35845bc
aaa
tamaina 0f8f7de
:v:
tamaina 8a32ced
webp
tamaina 38f84a9
lazy load browser-image-resizer
tamaina 4fdec40
rename
tamaina d42c985
rename 2
tamaina af42693
Fix
tamaina 0133902
Merge branch 'menu-switch' into better-8176
tamaina 8a5fdd1
clean up
tamaina 7b4f5ac
add comment
tamaina 2b7ec30
Merge branch 'menu-switch' into better-8176
tamaina 4905299
Merge branch 'develop' into better-8176
tamaina 39f0eb1
clean up
tamaina 6a000b3
jpeg, pngにもどす
tamaina 599510c
fix
tamaina ee6e163
fix name
tamaina e87e97f
Merge branch 'develop' into better-8176
tamaina e7d9221
webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
tamaina fdb17e0
動画サムネイルはjpegに
tamaina 7102e43
エラーハンドリング
tamaina c015001
Merge branch 'develop' into better-8176
tamaina 8979dbc
:v:
tamaina 211bdb0
v2.2.1-misskey-beta.2
tamaina 40dfef9
browser-image-resizer#v2.2.1-misskey.1
tamaina 60d7d03
:v:
tamaina 673361f
fix alert
tamaina 50b7ef7
Merge branch 'develop' into better-8176
tamaina 05c011a
Merge branch 'develop' into better-8176
tamaina 3401cf8
Merge branch 'develop' into better-8176
tamaina 03b254a
Merge branch 'develop' into better-8176
tamaina 2326cbb
Merge branch 'develop' into better-8176
tamaina 2adcd2b
Merge branch 'develop' into better-8176
tamaina c27892c
update browser-image-resizer to v2.2.1-misskey.2
tamaina 0215c61
lockfile
tamaina 7ef1302
Merge branch 'develop' into better-8176
tamaina 7351365
Merge branch 'develop' into better-8176
tamaina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
動画のサムネイルがリモートに送られることはなかった気がするわ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
misskey/packages/backend/src/core/activitypub/ApRendererService.ts
Lines 155 to 163 in c7f4fd1
そうかも
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
うーん、ffmpegがwebpをサポートしてなかったのが原因か…?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一度ffmpegで原寸のPNGを出してからJPEG変換+リサイズしているのは、ffmpegにいい感じの縮小メソッドがなかった (アス比保持で最大サイズに外接でするのがうまくいかなかった) からだった気がするのだわ。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #8825
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多分ffmpeg周り触るたびに毎回言ってるぐらいの感じなんだろうけど、代案が見つからないのでIssue建てるのを躊躇したみたいな感じなのでは。
移行するなら https://github.com/ffmpegwasm/ffmpeg.wasm とか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fluent-ffmpegはやめてないはずだわ
#5186
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多分それ
基本的には生で支障ないから execa とかじゃない?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
本題のコードの話だけど、これをwebpにする必要ある…?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
他のサムネがWebP化されてたからここは揃えないのかなって思ったのだわ