Skip to content
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

Allow to hide download option for folders shared by link #12531

Merged
merged 4 commits into from
Nov 20, 2018

Conversation

juliusknorr
Copy link
Member

  • Enable "Hide download" share option for folders
  • Remove file selection and download option
  • Remove file action to download

Files we cannot display inline will still be downloaded. Right-clicking and opening the file in a new tab will also still cause the file to be downloaded.

@juliusknorr
Copy link
Member Author

Companion PR to remove the download button from the gallery app slideshow: nextcloud/gallery#484

@rullzer
Copy link
Member

rullzer commented Nov 19, 2018

Files we cannot display inline will still be downloaded. Right-clicking and opening the file in a new tab will also still cause the file to be downloaded.

Fixed that :)

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works, but I see some unexpected whitespace on the right:

bildschirmfoto von 2018-11-20 10-31-14

@MorrisJobke
Copy link
Member

Tested and works, but I see some unexpected whitespace on the right:

Same here - is not there on master.

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke
Copy link
Member

JSUnit test fails:

PhantomJS 2.1.1 (Linux 0.0.0) OC.Share.ShareDialogLinkShareView hide download is not shown if the share is a folder FAILED
	Expected 1 to be falsy.
	core/js/tests/specs/sharedialoglinkshareview.js:117:50

@juliusknorr juliusknorr force-pushed the bugfix/noid/hide-download-folders branch from 053a5a4 to 88fb538 Compare November 20, 2018 13:58
@juliusknorr
Copy link
Member Author

@MorrisJobke
Copy link
Member

Conflicts 🙈

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 20, 2018
juliusknorr and others added 4 commits November 20, 2018 19:46
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@rullzer rullzer force-pushed the bugfix/noid/hide-download-folders branch from 88fb538 to 78056a3 Compare November 20, 2018 18:49
@rullzer rullzer merged commit b150d27 into master Nov 20, 2018
@rullzer rullzer deleted the bugfix/noid/hide-download-folders branch November 20, 2018 19:51
@MorrisJobke MorrisJobke mentioned this pull request Nov 22, 2018
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: files feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants