Commit Graph

50 Commits

Author SHA1 Message Date
Sergio Bertolin d1b8e58c86
Using propfind instead of accessing the file system
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:20 +01:00
Sergio Bertolin 456d4fce1e
Changed data directory for work one
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:20 +01:00
Sergio Bertolin 4480dca3e3
Added support for homes which doesn't have user's name
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:19 +01:00
Sergio Bertolin e76732c03a
Added flexibility to properties
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:49:57 +01:00
Sergio Bertolin 02de82df91
Fixed failing problems
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:49:49 +01:00
Sergio Bertolin b78dcae1d4
WIP commit, adding report support
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-22 12:49:39 +01:00
Lukas Reschke 591b60d11c Merge pull request #2758 from nextcloud/only-one-dav-backend
Register only one dav backend
2016-12-21 13:03:48 +01:00
Vincent Petry 734e55da95
Add test for duplicate 401 headers on DAV
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 15:47:25 +01:00
Vincent Petry 55bf9e3f71
Add transfer ownership integration tests (#26543)
* Add transfer ownership integration tests

* Added more transfer ownership tests and OCC checks

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-19 14:10:12 +01:00
Vincent Petry 553883a1f4
Add integration test for creating folder with colon
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-16 18:16:35 +01:00
Roeland Jago Douma bcd7a9a034
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 08:44:35 +01:00
Morris Jobke db65bc6fff
Remove unneeded behat method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-02 22:51:13 +01:00
Sergio Bertolin a642a40f3f
Adapted favorites and dav2 features
Adapted sharing and external features, random failures in sharing:857

Added weddav related feature

Removed forgotten leftovers
2016-11-02 22:49:44 +01:00
Sergio Bertolin 7d9e031abe
Changed description of variable 2016-11-02 08:49:58 +01:00
Sergio Bertolin a3c3ec9dd7
Added functions to check etag of elements 2016-11-02 08:49:57 +01:00
Sergio Bertolín 01393592eb
Adding type parameter because behat cannot ignore it
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:58 +02:00
Sergio Bertolín 7744cb5240
Orphaned shares test and some requirements
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:54 +02:00
Sergio Bertolin 09a90b4000
User was incorrect
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Sergio Bertolín d81f4ea53c
Modifications to avoid old dav path
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Sergio Bertolin e011065a08
Added quota calculation test when a file is recieved
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-02 21:16:50 +02:00
Sergio Bertolin 7413e2a88c
Added test checking quota after usage
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-02 21:16:49 +02:00
Vincent Petry 6d8d5f7bc5
Add integration tests for double shares with rename in between 2016-08-03 10:16:28 +02:00
Vincent Petry 573f6de6a0
Add integration tests for merging received shares 2016-08-03 10:16:28 +02:00
Thomas Müller 6f34c37cfb
Adding quota plugin to new dav endpoint (#25615)
* Adding quota plugin to new dav endpoint

* Added integrated test failing in old endpoint

* Added 0B quota test
2016-07-29 10:03:46 +02:00
Joas Schilling 0215b004da
Update with robin 2016-07-21 18:13:58 +02:00
Lukas Reschke b32b296ed7 Add integration tests 2016-06-30 12:21:01 +02:00
Sergio Bertolín 19b7ae673a
Added unfavoriting tests and some rewording 2016-06-15 14:21:59 +02:00
Sergio Bertolín 4232458652
Fixing the tests 2016-06-15 14:21:59 +02:00
David Toledo 39a56c7bc1
Added favorites integration tests 2016-06-15 14:21:59 +02:00
Thomas Müller 0eed6b5189
Integration test for a disabled user 2016-05-02 09:31:22 +02:00
Lukas Reschke 2625d8fc71 Merge pull request #23978 from owncloud/integration-test-remaining-from-qa-26
Added test case about downloading a file inside a folder with range
2016-04-16 23:34:53 +02:00
Sergio Bertolin ab40ec6494 Added test case about downloading a file inside a folder with range 2016-04-13 14:43:55 +00:00
Roeland Jago Douma 629bc1812e Add intergration tests for new chunking
The same intergration tests as for the old endpoint.
But now using the new chunking.

We upload 3 chunks in different order and the result should be the same
in all three.
2016-04-12 12:33:05 +02:00
Roeland Jago Douma 8c0ef4c4bd Add sharePermissions webdav property
This property can be queries by the clients so they know the max
permissions they can use to share a file with. This will improve the UX.

The oc:permissions proptery is not enough since mountpoints have
different permissions (delete + move by default).

By making it a new property the clients can just request it. On older
servers it will just return a 404 for that property (and thus they know
they have to fall back to their hacky work arounds). But if the property
is returned the client can show proper info.

* unit tests
* intergration test
2016-03-31 20:12:34 +02:00
Roeland Jago Douma 85f363ba2c Add intergration tests
Intergration tests to ensure the share-types property is set correctly.

* Unshared item
* Shared with user
* Shared with group
* Shared by link
* Shared with user & group & link
2016-03-17 16:54:54 +01:00
Joas Schilling 6d80efc2a4 Fix WebDav 2016-03-11 13:59:20 +01:00
Roeland Jago Douma 7301b43eb6 Added tests
* Unit tests for OC_Filechunking to verify the isComplete function
* Intergration tests to show that shuffling chunks is all fine
2016-03-07 21:20:13 +01:00
Vincent Petry 11215f4e27 Return -3 for unlimited quota
Returns -3 for unlimited quota in Webdav response.
Also adjusted personal page to show unlimited quota when set.
2016-02-29 14:36:20 +01:00
Lukas Reschke fc2c5fe414 Add header for attachment disposition only once
Recent refactorings have resulted in the header being added twice, this makes browsers ignore the header which removes any security gains.

This changeset adds the header only once and adds integration tests ensuring the correct header in future.

https://github.com/owncloud/core/issues/22577
2016-02-23 12:23:41 +01:00
Lukas Reschke 16be9af20a Add integration tests for comments
This adds integration tests for the comments. Especially with regard to the permission handling, didn't find any problem in it.

Fixes https://github.com/owncloud/core/issues/22367
2016-02-19 18:08:34 +01:00
Sergio Bertolin 93f4524a91 Added check for /textfile0.txt 2015-12-10 08:10:23 +00:00
Roeland Jago Douma 1d7a2aa9f9 Folder depth needs to be at least 3 for all tests to pass 2015-12-10 08:10:23 +00:00
Sergio Bertolin e72955c65d Added shared by multiple channels test
* Small changes plus check of the file using propfind
* Restaured line removed accidentally
2015-12-10 08:10:23 +00:00
Sergio Bertolin b17553d921 Added test case about downloading by range a public shared file 2015-12-03 10:58:31 +01:00
Morris Jobke 83432b3c25 add behat tests for 0 quota upload failure 2015-12-01 14:51:32 +01:00
Sergio Bertolin 69ca3a70d6 Added webdav test to check range downloads 2015-11-30 14:07:02 +00:00
Sergio Bertolin 52f6592991 Making propfinds, having depth in mind and checking it in gherkin description 2015-11-30 12:20:05 +00:00
Vincent Petry 40172e252b Use depth 1 and valid properties to get a list 2015-11-27 15:38:45 +01:00
Sergio Bertolin b99bd7f4fc Added sabre dav in webdav, modified skeleton to have parent and child folders 2015-11-27 12:55:48 +00:00
Sergio Bertolin 9d44576819 Restructured FeatureContext to reuse some parts and run two servers in parallel 2015-11-26 17:03:17 +01:00