Uh oh!
There was an error while loading. Please reload this page.
hide download button for public preview of audio files - #27674
Conversation
szaimen
commented
Jun 25, 2021
cc @nextcloud/server please review |
tcitworld
commented
Jun 25, 2021
The |
fstorz
commented
Jun 25, 2021
|
tcitworld
commented
Jun 25, 2021
Yes, it was more about adding code that doesn't follow standards, even if it doesn't break anything that bothered me. It means support for it can be changed/removed at any time. Opera & Edge use the same rendering engine as Chrome, so their support will always be the same than Chrome (except for feature flags activated at different times). |
szaimen
commented
Jun 25, 2021
Is there maybe another flag that could be added that follows standards? |
fstorz
commented
Jun 25, 2021
The "download" button is only implemented by Chrome (or Chromium based browsers), correct? Additional discussion on this topic in the "HTML Standard" repository |
Pytal
left a comment
There was a problem hiding this comment.
Looks good to me :) @skjnldsv@blizz@artonge@juliushaertl@ChristophWurst@eneiluj@ArtificialOwl@icewind1991 thoughts?
blizz
commented
Jun 27, 2021
via email
Please address correctly @blizzz
Sent from Yahoo Mail on Android
On Fri, Jun 25, 2021 at 5:44 PM, ***@***.***> wrote:
@Pytal approved this pull request.
Looks good to me :) @skjnldsv@blizz@artonge@juliushaertl@ChristophWurst@eneiluj@ArtificialOwl@icewind1991 thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe. |
artonge
commented
Jun 28, 2021
Not sure about how useful this is.
But, if this comes with a comment pointing to this PR or other relevant info that adds context, then I won't oppose :). |
I'd be ok getting this in as it would fit the "hide download" feature which is kind of controversial anyways, as it always was ment to just affect UI elements since there is no real way we can be sure that downloading is not possible anymore (right click, network console, screenshotting, ...) The PR properly hides the element where it is shown, which is chromium only anyways. |
LukasReschke
commented
Jun 29, 2021
FWIW: This is what Gmail "Confidential Emails" does. One can still bypass this with the developer console, but it is about making it harder :) |
szaimen
commented
Jul 13, 2021
@fstorz any update here? :) |
fstorz
commented
Jul 13, 2021
@szaimen is there any best practice in the nextcloud repo to add such a comment? Sample 1 Sample 2 |
szaimen
commented
Jul 13, 2021
Maybe @LukasReschke or @juliushaertl can comment on this one ⬆️? Thanks! :) |
LukasReschke
commented
Jul 19, 2021
Both methods would be ok to me. I'd probably tend more to 1. |
This comment has been minimized.
This comment has been minimized.
When the option to hide downloads was selected at public link creation, the download button can be hidden by the audio html attribute controlsList="nodownload" Signed-off-by: Florian Storz <florian.storz@devlix.de>
PR contains discussion about the implementation with pros and cons Signed-off-by: Florian Storz <florian.storz@devlix.de>
Signed-off-by: Florian Storz <florian.storz@devlix.de>
szaimen
commented
Jul 19, 2021
/backport to stable22 |
szaimen
commented
Jul 19, 2021
/backport to stable21 |
szaimen
commented
Jul 19, 2021
/backport to stable20 |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
szaimen
commented
Jul 21, 2021
/backport to stable21 |
szaimen
commented
Jul 21, 2021
/backport to stable20 |
When the option to hide downloads was selected at public link creation, the download button can be hidden by the audio html attribute controlsList="nodownload"
closes#26086
closes#27872
code was not tested, due to lack of local php setup