server/apps/files_sharing/tests
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
..
Collaboration fix sharerecipientssorter tests 2017-10-27 16:03:37 +02:00
Command Update license headers 2017-11-06 16:56:19 +01:00
Controller Honour "hide download" in the public share page 2018-10-30 15:18:55 +01:00
External fix unit tests 2018-07-11 10:21:00 +02:00
js Use grid view in other file views too 2018-10-18 13:44:05 +02:00
Middleware Update SharingCheckMiddlewareTest 2018-06-20 08:53:37 +02:00
Migration Update license headers 2017-11-06 16:56:19 +01:00
ApiTest.php Add support for room shares to ShareAPIController 2018-08-08 14:25:43 +02:00
CacheTest.php Cleanup OC_User and OCP\User 2018-01-16 18:39:11 +01:00
CapabilitiesTest.php Update license headers 2017-11-06 16:56:19 +01:00
DeleteOrphanedSharesJobTest.php Use node api 2018-05-23 19:10:11 +02:00
EncryptedSizePropagationTest.php Update license headers 2017-11-06 16:56:19 +01:00
EtagPropagationTest.php Generate coverage for quick DB tests 2016-10-05 13:55:44 +02:00
ExpireSharesJobTest.php Fix ExpiresSharesJobTest 2018-05-23 19:12:02 +02:00
ExternalStorageTest.php Update license headers 2017-11-06 16:56:19 +01:00
GroupEtagPropagationTest.php Update license headers 2017-11-06 16:56:19 +01:00
HelperTest.php Update license headers 2017-11-06 16:56:19 +01:00
LockingTest.php Fix risky tests without assertions 2018-01-25 11:33:25 +01:00
MountProviderTest.php Add room shares to the MountProvider for shares 2018-08-08 14:25:43 +02:00
PermissionsTest.php Update test now that we check permissions properly 2018-09-06 17:10:21 +02:00
PropagationTestCase.php Update with robin 2016-07-21 18:13:58 +02:00
SharedMountTest.php Update license headers 2017-11-06 16:56:19 +01:00
SharedStorageTest.php Cleanup unused methods 2017-08-15 14:29:26 +02:00
ShareTest.php Disable failing test in legacy sharing tests 2018-07-19 11:06:23 +02:00
SizePropagationTest.php Some app fixes of phpstorm inspections 2017-07-24 11:42:07 +02:00
TestCase.php Do not use \OCP\DB anymore 2018-03-26 14:40:23 +02:00
UnshareChildrenTest.php Some app fixes of phpstorm inspections 2017-07-24 11:42:07 +02:00
UpdaterTest.php Remove OC_App::disable method 2018-03-06 10:45:20 +01:00
WatcherTest.php Update with robin 2016-07-21 18:13:58 +02:00