server/apps/files_sharing/tests/Controller
Daniel Calviño Sánchez bfb2a914d2 Honour "hide download" in the public share page
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>
2018-10-30 15:18:55 +01:00
..
ExternalShareControllerTest.php Move files_sharing Controllers => Controller 2016-10-24 11:46:25 +02:00
PublicPreviewControllerTest.php Fix PublicPreviewControllerTests 2018-06-20 08:53:37 +02:00
ShareAPIControllerTest.php Propegate hide download state in share provider 2018-10-30 15:18:55 +01:00
ShareControllerTest.php Honour "hide download" in the public share page 2018-10-30 15:18:55 +01:00
ShareesAPIControllerTest.php Fix tests 2018-08-24 18:20:04 +02:00
ShareInfoControllerTest.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00