diff options
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/Capabilities.php | 1 | ||||
-rw-r--r-- | apps/files_sharing/lib/External/Storage.php | 3 | ||||
-rw-r--r-- | apps/files_sharing/lib/SharedStorage.php | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index ce10c8df8a1..a849dc4c9de 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -63,6 +63,7 @@ class Capabilities implements ICapability { $public['password']['enforced'] = ($this->config->getAppValue('core', 'shareapi_enforce_links_password', 'no') === 'yes'); $public['expire_date'] = []; + $public['multiple_links'] = true; $public['expire_date']['enabled'] = $this->config->getAppValue('core', 'shareapi_default_expire_date', 'no') === 'yes'; if ($public['expire_date']['enabled']) { $public['expire_date']['days'] = $this->config->getAppValue('core', 'shareapi_expire_after_n_days', '7'); diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php index dadb1def702..7411d3c51b6 100644 --- a/apps/files_sharing/lib/External/Storage.php +++ b/apps/files_sharing/lib/External/Storage.php @@ -39,10 +39,11 @@ use OCP\AppFramework\Http; use OCP\Constants; use OCP\Federation\ICloudId; use OCP\Files\NotFoundException; +use OCP\Files\Storage\IDisableEncryptionStorage; use OCP\Files\StorageInvalidException; use OCP\Files\StorageNotAvailableException; -class Storage extends DAV implements ISharedStorage { +class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage { /** @var ICloudId */ private $cloudId; /** @var string */ diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index f9c4a85fac6..67868b512c3 100644 --- a/apps/files_sharing/lib/SharedStorage.php +++ b/apps/files_sharing/lib/SharedStorage.php @@ -39,6 +39,7 @@ use OC\Files\Storage\FailedStorage; use OCP\Constants; use OCP\Files\Cache\ICacheEntry; use OCP\Files\NotFoundException; +use OCP\Files\Storage\IDisableEncryptionStorage; use OCP\Files\Storage\IStorage; use OCP\Lock\ILockingProvider; use OC\User\NoUserException; @@ -46,7 +47,7 @@ use OC\User\NoUserException; /** * Convert target path to source path and pass the function call to the correct storage provider */ -class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage { +class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage, IDisableEncryptionStorage { /** @var \OCP\Share\IShare */ private $superShare; |