-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Feature/read only public share #11898
Conversation
This setting should be called |
🙊 yes... I'll take care of that next week |
3010c63
to
ba831e3
Compare
@danxuliu fixed :) |
Good naming with Hide download, much better indeed than Disable download; subtle ;-) I have added a checkbox to the link share menu of files (not folders, as it is not clear how this should work with folders) to hide the download button and header menu in the public share page. |
Clients: @tobiasKaminsky @marinofaggiana @camilasan and awell @rullzer This hideDownload is a new option to modify shares with. (link shares only right now). |
f70f3d3
to
d728f86
Compare
@rullzer how is this set? Just like the hidden upload feature? |
the paremeter (whe modifying a share is) |
I fixed that yesterday, but as far as I can see when the branch was squashed by @rullzer my two last commits were left out :-P I will add and squash them again. |
whoops :S |
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
When the "hide download" property of a share is set the public share page will not show the download button nor the menu with the download, direct link and "Add to your Nextcloud" actions; the "downloadURL" hidden field will not be included either in the generated HTML. Despite that, note that the "downloadURL" parameter is still set and passed to the template, as this could be needed anyway to generate previews (for example, of audio files). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Hiding the download does not depend on other settings and it does not affect other settings either (for example, it would be possible to hide the downloads yet make the share editable), so a simple checkbox was added to the menu. However, note that this option is only available for files, but not for folders. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
d728f86
to
d4f39a9
Compare
Done. |
Android implemenetd. |
@tobiasKaminsky when a file/folder is shared with "hidedownload" option on client the "save/open in" is hide ? |
Add Hide download parameter on Share link, done. |
This is completely independent from our clients, but only affects web page, when you open up the share via link. |
This adds a new option to shares to mark them as read only (currently only for link share). By default this is always false.
Todo: