aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/connector/sabre
Commit message (Collapse)AuthorAgeFilesLines
* Fix uni testsThomas Müller2015-10-162-77/+0
|
* Consolidate webdav code - move all to one appThomas Müller2015-10-1620-3485/+0
|
* Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"Vincent Petry2015-10-131-3/+3
| | | | | | | Fix regression that makes PROPPATCH of mtime work like it did in OC <= 8.0. The PROPPATCH must be done on the "lastmodified" property. The "getlastmodified" now return 403 again.
* [WEBDAV] check if delete of source is allowed on moveRoeland Jago Douma2015-10-071-3/+58
| | | | | | | | | | | Fixes #5251 If we perform a move we need to make sure first that the source can be deleted. Else the dest might be cleared but the move will fail later. * Added unit tests Eventually we need more and better checking here.
* Merge pull request #19081 from owncloud/prevent0bytedownloadsRobin Appelman2015-09-211-0/+17
|\ | | | | prevent 0 byte downloads when storage returns false
| * add unit testRobin Appelman2015-09-171-0/+17
| |
* | Merge pull request #18901 from owncloud/encryption-dav-testsThomas Müller2015-09-183-7/+35
|\ \ | | | | | | Add tests for doing dav requests with encryption enabled
| * | reuse the same datadirRobin Appelman2015-09-181-1/+2
| | |
| * | Add tests for doing dav requests with encryption enabledRobin Appelman2015-09-181-0/+25
| | |
| * | clear up tests a bitRobin Appelman2015-09-181-6/+8
| | |
* | | Merge pull request #19017 from owncloud/dav-download-testsThomas Müller2015-09-182-1/+61
|\ \ \ | |/ / |/| | Add tests for downloading files over dav
| * | fix tests with empty response bodyRobin Appelman2015-09-161-1/+1
| | |
| * | Add tests for downloading files over davRobin Appelman2015-09-162-1/+61
| |/
* / Add a Sabre plugin that emits an event for appsJoas Schilling2015-09-171-1/+2
|/
* fix chunking testsRobin Appelman2015-09-141-0/+2
|
* also verify cache in dav upload testsRobin Appelman2015-09-141-1/+21
|
* adjust tests to handle before/after lockingRobin Appelman2015-09-141-5/+43
|
* Explicitly specify status code 200 as response codeLukas Reschke2015-08-251-0/+4
| | | | Potentially fixes https://github.com/owncloud/core/issues/17586
* add test mountprovider logic to a traitRobin Appelman2015-08-201-31/+4
|
* allow moving common test logic into traitsRobin Appelman2015-08-201-13/+4
|
* fix setup/teardownRobin Appelman2015-08-111-11/+18
|
* split out creating the sabre dav server to it's own factoryRobin Appelman2015-08-111-31/+13
|
* add test framework for doing full request webdav testsRobin Appelman2015-08-115-0/+416
|
* Strip public webdav info about sharing and mount pointsVincent Petry2015-07-131-3/+28
| | | | | Remove information about whether a file is an incoming share or mount point when requested over public webdav.
* 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.
* Unit tests added for MaintenancePluginThomas Müller2015-06-291-0/+73
|
* Make an assertion in risky test testGetNodeForPathRootJoas Schilling2015-06-221-1/+2
|
* Convert invalid path exception to sabre exception on MOVEVincent Petry2015-06-151-1/+1
|
* Merge pull request #16912 from owncloud/webdav-smalltransferlockfixThomas Müller2015-06-151-0/+80
|\ | | | | Webdav PUT small file lock must be shared during hooks
| * 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.
* | tests for getNodeForPath with invalid pathRobin Appelman2015-06-111-6/+56
|/
* Fix sabre directory test casesVincent Petry2015-06-051-24/+15
| | | | | | | - rely on a mock subfolder instead of the root - remove obsolete "Shared" limitation tests which did pass but not for the right reasons - added test for the prevention of root deletion
* Add unit tests for InvalidPath Exception being thrownJoas Schilling2015-06-051-1/+27
|
* Merge pull request #16364 from owncloud/add-warning-webdavMorris Jobke2015-05-181-0/+65
|\ | | | | Add notice that WebDAV interface is not intended for browsers
| * Add unit tests for \OC\Connector\Sabre\DummyGetResponsePluginLukas Reschke2015-05-151-0/+65
| |
* | Merge pull request #16292 from owncloud/webdav-storage-fireprehooksJoas Schilling2015-05-151-38/+194
|\ \ | |/ |/| Fire prehooks when uploading directly to storage
| * Fire prehooks when uploading directly to storageVincent Petry2015-05-131-38/+194
| |
* | Added unit test to quota plugin for free_space argumentVincent Petry2015-05-131-1/+4
|/
* \OC\Connector\Sabre\CopyEtagHeaderPlugin constructor does not take arguments.Andreas Fischer2015-05-071-1/+1
|
* fix testRobin Appelman2015-04-271-1/+0
|
* Catch not existing User-Agent headerLukas Reschke2015-04-231-1/+12
| | | | In case of an not sent UA header consider the client as valid
* Use 403 instead a 50x responseLukas Reschke2015-04-201-1/+2
|
* Block old legacy clientsLukas Reschke2015-04-201-0/+117
| | | | | | | | | | | This Pull Request introduces a SabreDAV plugin that will block all older clients than 1.6.1 to connect and sync with the ownCloud instance. This has multiple reasons: 1. Old ownCloud client versions before 1.6.0 are not properly working with sticky cookies for load balancers and thus generating sessions en masse 2. Old ownCloud client versions tend to be horrible buggy In some cases we had in 80minutes about 10'000 sessions created by a single user. While this change set does not really "fix" the problem as 3rdparty legacy clients are affected as well, it is a good work-around and hopefully should force users to update their client
* pass a stream to the testsRobin Appelman2015-04-141-5/+13
|
* update testsRobin Appelman2015-04-091-4/+12
|
* Merge pull request #15227 from owncloud/ocetag-headerVincent Petry2015-03-271-0/+43
|\ | | | | Copy Etag header to OC-Etag for sabre calls
| * Copy Etag header to OC-Etag for sabre callsVincent Petry2015-03-261-0/+43
| |
* | Merge pull request #13802 from owncloud/share-partfilepermissionsMorris Jobke2015-03-261-2/+2
|\ \ | |/ |/| Fix share permission checks
| * Fix share permission related unit testsVincent Petry2015-03-201-2/+2
| |
* | Revert "adding unit tests"Vincent Petry2015-03-261-31/+0
| | | | | | | | This reverts commit 8d327c94a844804d0e7af057866e552bd5aafd17.