FilesHome now also returns DAV properties
The files home node must also return DAV properties like etag, permissions, etc for the clients to work like they did with the old endpoint. This fix makes FilesHome extend the Sabre Directory class, this makes the FilesPlugin and other plugins recognize it as a directory and will retrieve the matching properties when applicable. Downstream of https://github.com/owncloud/core/pull/26066 Signed-off-by:Lukas Reschke <lukas@statuscode.ch>
Showing
- apps/dav/lib/Connector/Sabre/FilesPlugin.php 1 addition, 2 deletionsapps/dav/lib/Connector/Sabre/FilesPlugin.php
- apps/dav/lib/Files/FilesHome.php 5 additions, 50 deletionsapps/dav/lib/Files/FilesHome.php
- apps/dav/lib/Files/RootCollection.php 11 additions, 2 deletionsapps/dav/lib/Files/RootCollection.php
- apps/dav/lib/Upload/UploadHome.php 1 addition, 1 deletionapps/dav/lib/Upload/UploadHome.php
- apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php 0 additions, 52 deletionsapps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php
Loading
Please register or sign in to comment