summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
Commit message (Collapse)AuthorAgeFilesLines
* emit pre-hooks earlier when not using part filesRobin Appelman2018-03-081-5/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* keep previous exception when transforming to dav exceptionRobin Appelman2018-02-072-5/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix testsRoeland Jago Douma2017-12-061-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* A failed storage is a not available storageRoeland Jago Douma2017-12-061-0/+5
| | | | | | | | We have to double check. Since getting the info of the root returns a generic entry. But actually the stroage is not available. Else we get very weird sync and web behavior. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use ::class to avoid errorsJoas Schilling2017-10-251-6/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix class name, regression from 44cf67accdc294f46bf82b3f8661f353dc5e22f0Joas Schilling2017-10-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not log WebDAV maintenance mode exceptionMorris Jobke2017-10-231-3/+7
| | | | | | Log the maintenance mode exception only in debug level. Fixes #6124 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix quota calculation on new dav upload endpointRoeland Jago Douma2017-09-152-17/+79
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add propfind to detect encryption statusBjoern Schiessle2017-08-281-1/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #5435 from ↵Lukas Reschke2017-07-111-0/+6
|\ | | | | | | | | nextcloud/backport-5124-allow-dirlisting-with-unreadable-items [stable12] Allow dir-listing also when one child is blocked by access control
| * Allow dir-listing also when one child is blocked by access controlJoas Schilling2017-06-161-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't log passwords on dav exceptionsJoas Schilling2017-07-051-21/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Enhance the logging if the part file can not be renamedMorris Jobke2017-06-231-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Prevent sending second WWW-Authenticate headerLukas Reschke2017-06-131-0/+14
| | | | | | | | Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard. Fixes https://github.com/nextcloud/server/issues/5088 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust realm from SabreDAV to NextcloudLukas Reschke2017-05-181-0/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Make legacy DAV backend use the BearerAuth backend as wellLukas Reschke2017-05-181-3/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use Bearer backend for SabreDAVLukas Reschke2017-05-182-12/+76
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add basic implementation for OAuth 2.0 Authorization Code FlowLukas Reschke2017-05-181-0/+13
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Revert "fix objectstore rename"Roeland Jago Douma2017-05-151-1/+0
| | | | | | This reverts commit 5334a3dc337b5883763ac8e1eaef58c1a435144b. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix error when browsing the dav rootRobin Appelman2017-05-081-4/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Enforce type hints in dav appMorris Jobke2017-05-042-2/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* check password for mail shares as wellBjoern Schiessle2017-05-041-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow apps to set custom mount typesRobin Appelman2017-04-281-0/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #4524 from nextcloud/downstream-27508Roeland Jago Douma2017-04-284-106/+187
|\ | | | | Keep file id on move
| * Add commentVincent Petry2017-04-271-0/+2
| |
| * Properly handle missing READ permissionVincent Petry2017-04-273-0/+20
| |
| * Fix FutureFile MOVE to keep destination nodeVincent Petry2017-04-262-4/+49
| | | | | | | | | | | | Sabre usually deletes the target node on MOVE before proceeding with the actual move operation. This fix prevents this to happen in case the source node is a FutureFile.
| * Accept moving FutureFile into a DirectoryVincent Petry2017-04-261-0/+6
| |
| * Remove ObjectTree::move and let is use the IMoveTarget approach insteadVincent Petry2017-04-261-98/+0
| | | | | | | | This removes the duplicated code
| * Ported ObjectTree::move to IMoveTarget in new DAV endpointVincent Petry2017-04-261-4/+110
| |
* | Merge pull request #4503 from nextcloud/downstream-27281Roeland Jago Douma2017-04-261-0/+1
|\ \ | |/ |/| fix objectstore rename
| * fix objectstore renameJoas Schilling2017-04-251-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Restrict proppatch to the proper nodesVincent Petry2017-04-252-20/+14
|/ | | | | | | Need to fetch the node earlier because cancelling from within the handler is not possible. Well, it is but it prevents other node types using the same property names to run because the failure marks the property with status 403.
* Remove unused use statementsMorris Jobke2017-04-226-14/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow file upload when storage is unlimitedJoas Schilling2017-04-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update comments to NextcloudMorris Jobke2017-04-113-3/+3
| | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow getting the unread comment count for an entire folder at onceRobin Appelman2017-03-301-1/+30
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adding dav resource for avatarsThomas Müller2017-03-291-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* DummyGetResponsePlugin: ownCloud -> NexcloudChristoph Wickert2017-03-181-1/+1
| | | | Signed-off-by: Christoph Wickert <cwickert@suse.de>
* Don't set the HTTP status twiceJoas Schilling2017-03-161-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* switch reshares to trueMaxence Lange2017-03-141-1/+1
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* Merge pull request #3600 from coletivoEITA/masterRoeland Jago Douma2017-03-141-2/+2
|\ | | | | added method needsPartFile() in Storage
| * added method needsPartFile() in StorageVinicius Cubas Brand2017-03-141-2/+2
| | | | | | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* | Correct incorrectly typed X-OC-Mtime headerStefan Schneider2017-03-101-1/+6
| | | | | | | | Signed-off-by: Stefan Schneider <stefan.schneider@squareweave.com.au>
* | Merge pull request #3621 from kuimovvg/masterRoeland Jago Douma2017-03-091-0/+1
|\ \ | | | | | | don't setted status when file is lock
| * | don't setted status when file is lockvkuimov2017-02-251-0/+1
| | |
* | | Set a status code when setting a bodyJoas Schilling2017-03-071-0/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | handle non existing owners when handling dav requestsRobin Appelman2017-03-021-3/+10
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Properly handle groups with a /Roeland Jago Douma2017-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a group contains a slash the principal URI becomes principals/groups/foo/bar. Now the URI is plit on '/' so this creates issues ;) Fixes #2957 * Add tests for groups with / Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Clean up single user modeMorris Jobke2017-02-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>