9f6dcb9d3e
- VObject fixes for Sabre\VObject 3.3 - Remove VObject property workarounds - Added prefetching for tags in sabre tags plugin - Moved oc_properties logic to separate PropertyStorage backend (WIP) - Fixed Sabre connector namespaces - Improved files plugin to handle props on-demand - Moved allowed props from server class to files plugin - Fixed tags caching for files that are known to have no tags (less queries) - Added/fixed unit tests for Sabre FilesPlugin, TagsPlugin - Replace OC\Connector\Sabre\Request with direct call to httpRequest->setUrl() - Fix exception detection in DAV client when using Sabre\DAV\Client - Added setETag() on Node instead of using the static FileSystem - Also preload tags/props when depth is infinity
20 lines
401 B
PHP
20 lines
401 B
PHP
<?php
|
|
namespace OC\Connector\Sabre;
|
|
|
|
/**
|
|
* Class \OC\Connector\Sabre\Server
|
|
*
|
|
* This class overrides some methods from @see \Sabre\DAV\Server.
|
|
*
|
|
*/
|
|
class Server extends \Sabre\DAV\Server {
|
|
|
|
/**
|
|
* @see \Sabre\DAV\Server
|
|
*/
|
|
public function __construct($treeOrNode = null) {
|
|
parent::__construct($treeOrNode);
|
|
self::$exposeVersion = false;
|
|
$this->enablePropfindDepthInfinity = true;
|
|
}
|
|
}
|