summaryrefslogtreecommitdiffstats
path: root/tests/lib/connector/sabre/file.php
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate webdav code - move all to one appThomas Müller2015-10-161-829/+0
|
* add unit testRobin Appelman2015-09-171-0/+17
|
* fix chunking testsRobin Appelman2015-09-141-0/+2
|
* adjust tests to handle before/after lockingRobin Appelman2015-09-141-5/+43
|
* Cleanup part file after upload exceptionVincent Petry2015-06-291-29/+314
| | | | | | | | | | | | Added unit tests for checking for stray part files. Convert exception to sabre exception in upload put method. Also added unit test for exception mapping, which also indirectly tests that the part file is being deleted on exception. This applies to both chunking and non-chunking mode. Added some unit tests for chunk upload.
* Webdav PUT small file lock must be shared during hooksVincent Petry2015-06-121-0/+80
| | | | | | | | Fixed code path for Webdav PUT of small files to use shared locks during hook execution, and exclusive during the file operation This makes it possible for versions to be copied by accessing the file in a post_write hook.
* Fire prehooks when uploading directly to storageVincent Petry2015-05-131-38/+194
|
* fix testRobin Appelman2015-04-271-1/+0
|
* pass a stream to the testsRobin Appelman2015-04-141-5/+13
|
* update testsRobin Appelman2015-04-091-4/+12
|
* Adding a more meaningful message for sabre dav exception - fixes #14516Thomas Müller2015-03-111-3/+0
|
* fixing namespaces and PHPDocThomas Müller2015-03-091-7/+12
|
* Sabre Update to 2.1Vincent Petry2015-02-231-9/+9
| | | | | | | | | | | | | | | | | | - 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
* Fix webdav put for single file webdav sharesRobin Appelman2015-01-291-0/+25
|
* Add getMountPoint to FileInfoRobin Appelman2014-12-171-8/+8
|
* Replace deprecated constant with new class constantJoas Schilling2014-11-251-7/+7
|
* Make remaining files extend the test baseJoas Schilling2014-11-191-1/+1
|
* WebDAV now throws 403 when deletion did not workVincent Petry2014-09-221-0/+63
| | | | | | | | Assume a permission issue whenever a file could not be deleted. This is because some storages are not able to return permissions, so a permission denied situation can only be triggered during direct deletion.
* content size checks are not valid for LOCKThomas Müller2014-09-121-0/+2
|
* Fix unit testRobin Appelman2014-09-051-7/+5
|
* Upload abortion is now detected within the OC_Connector_Sabre_File::put()Thomas Müller2014-07-081-5/+46
| | | | | | OC_Connector_Sabre_AbortedUploadDetectionPlugin is pointless Adding unit test testUploadAbort()
* Upgrade SabreDAV to 1.8.10Thomas Müller2014-06-041-4/+4
| | | | Updating SabreDAV namespaces
* remove outdated testRobin Appelman2014-04-251-18/+0
|
* Update unit tests to use the new injectionRobin Appelman2014-03-031-14/+67
|
* Remove unit tests which causes the filesystem tests to failRobin Appelman2014-02-211-15/+0
|
* Added file name check in webdav connectorVincent Petry2014-02-181-0/+40
| | | | | | | - added file name check for the put, rename and setNames() methods which throw a "Bad Request" whenever invalid characters are used - replaced \OC\Filesystem usage with $this->getFS() to be able to write unit tests
* test cases added for create/remove Shared folder and fileThomas Müller2013-10-221-0/+7
|
* adding test testSimplePutFailsOnRename()Thomas Müller2013-09-301-0/+14
|
* remove unused setUp()Thomas Müller2013-09-271-3/+0
|
* adding basic unit test for failing file_put_content operationThomas Müller2013-09-241-0/+27