-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
WIP: store thumbnails on object storage #6905
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
base: develop
Are you sure you want to change the base?
WIP: store thumbnails on object storage #6905
Conversation
|
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is protestware?This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function. Consider that consuming this package may come along with functionality unrelated to its primary purpose. What is a typosquat?Package name is similar to other popular packages and may not be the package you want. Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
cd14bc9 to
8e0cf4e
Compare
|
Report too large to display inline |
Unfortunately no in the following weeks, but I also wanted to refactor the way we manage thumbnails to mimic the avatar behaviours: having a |
|
Okay. Have you thought about moving the image processing to another service such as imgproxy or imagor/imagorvideo? Original/compressed images could be handled by Peertube, while the rest is handled by another service proxied by nginx. |
What's the main purpose? Have the perfect image size on client side or reduce the compression/resize processing time for PeerTube? |
Main purpose is to remove complexity from Peertube. Probably perfect image size and reduced processing time will come as a bonus. |
|
We don't want PeerTube to require an external service, so it won't reduce code complexity. |
|
By external service, do you include services installed and hosted by the Peertube admin? The only difference from ffmpeg is the communication protocol. |
Unfortunately yes because every "hard" dependency is another step for admins to install PeerTube, and can increase PeerTube's maintenance burden. It's the reason why open-source & easy self installable projects have different specifications than private/internal projects. For example we chose Redis as key/value and pub/sub engine because it's well known and easy to install on any system. On a private project I might have chosen a different tool etc. |
Description
@Chocobozzz Will you have time to review this anytime soon? Otherwise I won't go further with ending this PR.
Known issues
fileUrlupon federationRelated issues
#5699
Has this been tested?
Screenshots