3 declare(strict_types=1);
23 use Sabre\DAV\Auth\Plugin as AuthPlugin;
24 use Sabre\DAV\Locks\Plugin as LocksPlugin;
43 $DIC->repositoryTree(),
45 $c[
'locks.repository']
51 $c[
'repository.helper'],
53 $DIC->resourceStorage(),
54 $DIC->http()->request(),
56 $DIC[
'ilias']->getClientId(),
57 (bool)
$c[
'dav_settings']->
get(
'webdav_versioning_enabled',
'true')
61 $c[
'locks.repository'],
62 $c[
'repository.helper'],
71 $c[
'mountinstructions.repository'],
72 $DIC->http()->request(),
77 $c[
'mountinstructions.facory']->getMountInstructionsObject(),
84 $DIC->ui()->mainTemplate(),
88 $DIC->rbac()->system(),
90 $DIC->logger()->root(),
97 $c[
'mountinstructions.repository']
100 $this[
'sabre.authplugin'] =
function (
$c) use ($DIC): AuthPlugin {
102 $auth_callback_class =
new BasicCallBack(array($webdav_auth,
'authenticate'));
103 return new AuthPlugin($auth_callback_class);
106 $this[
'sabre.locksplugin'] = fn (
$c): LocksPlugin =>
new LocksPlugin(
$c[
'locks.backend']);
113 return $this[
'dav_settings'];
118 return $this[
'davobj.factory'];
123 return $this[
'mountinstructions.gui'];
128 return $this[
'mountinstructions.uploadgui'];
133 return $this[
'sabre.authplugin'];
138 return $this[
'locks.backend'];
143 return $this[
'sabre.locksplugin'];
148 return $this[
'sabre.locksplugin'];
The only purpose for this class is to redirect a browsers WebDAV-Request to the mount-instructions pa...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
mountinstructions_upload()
init(ILIASContainer $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...