Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix uni tests | Thomas Müller | 2015-10-16 | 2 | -77/+0 |
| | |||||
* | Consolidate webdav code - move all to one app | Thomas Müller | 2015-10-16 | 20 | -3485/+0 |
| | |||||
* | Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified" | Vincent Petry | 2015-10-13 | 1 | -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 move | Roeland Jago Douma | 2015-10-07 | 1 | -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/prevent0bytedownloads | Robin Appelman | 2015-09-21 | 1 | -0/+17 |
|\ | | | | | prevent 0 byte downloads when storage returns false | ||||
| * | add unit test | Robin Appelman | 2015-09-17 | 1 | -0/+17 |
| | | |||||
* | | Merge pull request #18901 from owncloud/encryption-dav-tests | Thomas Müller | 2015-09-18 | 3 | -7/+35 |
|\ \ | | | | | | | Add tests for doing dav requests with encryption enabled | ||||
| * | | reuse the same datadir | Robin Appelman | 2015-09-18 | 1 | -1/+2 |
| | | | |||||
| * | | Add tests for doing dav requests with encryption enabled | Robin Appelman | 2015-09-18 | 1 | -0/+25 |
| | | | |||||
| * | | clear up tests a bit | Robin Appelman | 2015-09-18 | 1 | -6/+8 |
| | | | |||||
* | | | Merge pull request #19017 from owncloud/dav-download-tests | Thomas Müller | 2015-09-18 | 2 | -1/+61 |
|\ \ \ | |/ / |/| | | Add tests for downloading files over dav | ||||
| * | | fix tests with empty response body | Robin Appelman | 2015-09-16 | 1 | -1/+1 |
| | | | |||||
| * | | Add tests for downloading files over dav | Robin Appelman | 2015-09-16 | 2 | -1/+61 |
| |/ | |||||
* / | Add a Sabre plugin that emits an event for apps | Joas Schilling | 2015-09-17 | 1 | -1/+2 |
|/ | |||||
* | fix chunking tests | Robin Appelman | 2015-09-14 | 1 | -0/+2 |
| | |||||
* | also verify cache in dav upload tests | Robin Appelman | 2015-09-14 | 1 | -1/+21 |
| | |||||
* | adjust tests to handle before/after locking | Robin Appelman | 2015-09-14 | 1 | -5/+43 |
| | |||||
* | Explicitly specify status code 200 as response code | Lukas Reschke | 2015-08-25 | 1 | -0/+4 |
| | | | | Potentially fixes https://github.com/owncloud/core/issues/17586 | ||||
* | add test mountprovider logic to a trait | Robin Appelman | 2015-08-20 | 1 | -31/+4 |
| | |||||
* | allow moving common test logic into traits | Robin Appelman | 2015-08-20 | 1 | -13/+4 |
| | |||||
* | fix setup/teardown | Robin Appelman | 2015-08-11 | 1 | -11/+18 |
| | |||||
* | split out creating the sabre dav server to it's own factory | Robin Appelman | 2015-08-11 | 1 | -31/+13 |
| | |||||
* | add test framework for doing full request webdav tests | Robin Appelman | 2015-08-11 | 5 | -0/+416 |
| | |||||
* | Strip public webdav info about sharing and mount points | Vincent Petry | 2015-07-13 | 1 | -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 exception | Vincent Petry | 2015-06-29 | 1 | -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 MaintenancePlugin | Thomas Müller | 2015-06-29 | 1 | -0/+73 |
| | |||||
* | Make an assertion in risky test testGetNodeForPathRoot | Joas Schilling | 2015-06-22 | 1 | -1/+2 |
| | |||||
* | Convert invalid path exception to sabre exception on MOVE | Vincent Petry | 2015-06-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #16912 from owncloud/webdav-smalltransferlockfix | Thomas Müller | 2015-06-15 | 1 | -0/+80 |
|\ | | | | | Webdav PUT small file lock must be shared during hooks | ||||
| * | Webdav PUT small file lock must be shared during hooks | Vincent Petry | 2015-06-12 | 1 | -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 path | Robin Appelman | 2015-06-11 | 1 | -6/+56 |
|/ | |||||
* | Fix sabre directory test cases | Vincent Petry | 2015-06-05 | 1 | -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 thrown | Joas Schilling | 2015-06-05 | 1 | -1/+27 |
| | |||||
* | Merge pull request #16364 from owncloud/add-warning-webdav | Morris Jobke | 2015-05-18 | 1 | -0/+65 |
|\ | | | | | Add notice that WebDAV interface is not intended for browsers | ||||
| * | Add unit tests for \OC\Connector\Sabre\DummyGetResponsePlugin | Lukas Reschke | 2015-05-15 | 1 | -0/+65 |
| | | |||||
* | | Merge pull request #16292 from owncloud/webdav-storage-fireprehooks | Joas Schilling | 2015-05-15 | 1 | -38/+194 |
|\ \ | |/ |/| | Fire prehooks when uploading directly to storage | ||||
| * | Fire prehooks when uploading directly to storage | Vincent Petry | 2015-05-13 | 1 | -38/+194 |
| | | |||||
* | | Added unit test to quota plugin for free_space argument | Vincent Petry | 2015-05-13 | 1 | -1/+4 |
|/ | |||||
* | \OC\Connector\Sabre\CopyEtagHeaderPlugin constructor does not take arguments. | Andreas Fischer | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | fix test | Robin Appelman | 2015-04-27 | 1 | -1/+0 |
| | |||||
* | Catch not existing User-Agent header | Lukas Reschke | 2015-04-23 | 1 | -1/+12 |
| | | | | In case of an not sent UA header consider the client as valid | ||||
* | Use 403 instead a 50x response | Lukas Reschke | 2015-04-20 | 1 | -1/+2 |
| | |||||
* | Block old legacy clients | Lukas Reschke | 2015-04-20 | 1 | -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 tests | Robin Appelman | 2015-04-14 | 1 | -5/+13 |
| | |||||
* | update tests | Robin Appelman | 2015-04-09 | 1 | -4/+12 |
| | |||||
* | Merge pull request #15227 from owncloud/ocetag-header | Vincent Petry | 2015-03-27 | 1 | -0/+43 |
|\ | | | | | Copy Etag header to OC-Etag for sabre calls | ||||
| * | Copy Etag header to OC-Etag for sabre calls | Vincent Petry | 2015-03-26 | 1 | -0/+43 |
| | | |||||
* | | Merge pull request #13802 from owncloud/share-partfilepermissions | Morris Jobke | 2015-03-26 | 1 | -2/+2 |
|\ \ | |/ |/| | Fix share permission checks | ||||
| * | Fix share permission related unit tests | Vincent Petry | 2015-03-20 | 1 | -2/+2 |
| | | |||||
* | | Revert "adding unit tests" | Vincent Petry | 2015-03-26 | 1 | -31/+0 |
| | | | | | | | | This reverts commit 8d327c94a844804d0e7af057866e552bd5aafd17. |