summaryrefslogtreecommitdiffstats
path: root/build/integration
Commit message (Collapse)AuthorAgeFilesLines
* Fix transfering ownership of a share to user with same id as receiverDaniel Calviño Sánchez2018-08-071-0/+13
| | | | | | | | | When the ownership of a user share is transfered to the receiver the share is removed, as the receiver now owns the original file. However, due to a missing condition, any share with a group, link or remote with the same id as the user was removed, not only the user shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix the behat version to 3.3.*Joas Schilling2018-07-111-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check all paths for own files and sharesDaniel Calviño Sánchez2018-06-291-1/+7
| | | | | | | | Add "PARENT (2)" and its subdirectories to the paths to be checked, as before only the own "PARENT" folder was being checked, but not the shared one. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix filenames in sharing integration testsDaniel Calviño Sánchez2018-06-291-3/+3
| | | | | | | | | | | | | When a file is shared and the receiver of the share already has a file with the same name that file is left untouched, and "(2)" is appended to the name of the shared file. As "textfile0.txt" is included in the user folder skeleton all the users in the integration test have that file, so when it is shared the receiver sees the share as "/textfile0 (2).txt", and her own file as "/textfile0.txt". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* backport of #8355 to stable13Arthur Schiwon2018-03-022-9/+9
| | | | | | | | | | | | | | | | | | test creating comments with numeric user ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> fix creating comments when file is accessible to users with numeric ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> tests for systemtags related to numeric user ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> fix systemtags event with numeric user ids Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add integration tests for length header on new chunkingThomas Müller2017-12-152-0/+37
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Some tests for the remote cloud apiRobin Appelman2017-12-084-1/+201
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Federation actually sends an email via Share 2.0Morris Jobke2017-11-271-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7047 from ↵Björn Schießle2017-11-201-6/+6
|\ | | | | | | | | nextcloud/add-support-for-files-with-no-permissions Add support for files with no permissions
| * Return whether the file is readable or not in the DAV permissionsDaniel Calviño Sánchez2017-11-021-6/+6
| | | | | | | | | | | | | | | | | | | | Until now it was safe to assume that every file was readable by its owner, so there was no need to return whether the file was readable or not. However, with the introduction of end to end encryption that is no longer the case, and it is now necessary to explicitly provide that information. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Change @georgehrke's emailMorris Jobke2017-11-061-0/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-0621-17/+58
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Prevent sending second WWW-Authenticate headerLukas Reschke2017-06-131-2/+2
| | | | | | | | 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>
* Bearer comes first on the new endpointLukas Reschke2017-05-181-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust realm from SabreDAV to NextcloudLukas Reschke2017-05-181-2/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Make legacy DAV backend use the BearerAuth backend as wellLukas Reschke2017-05-181-1/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add additional test for accessing DAV using Bearer AuthLukas Reschke2017-05-181-0/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use a standardized Bearer nowLukas Reschke2017-05-181-2/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add app to autoenabled provisioning API scenarioLukas Reschke2017-05-181-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Split up sharing-v1-part2.feature to avoid timeoutsMorris Jobke2017-05-022-388/+396
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix forbidden backslash DAV integration testsVincent Petry2017-04-261-12/+12
|
* Added test cases from core 16825Sergio Bertolin2017-04-261-0/+41
|
* Simplified new endpoint move testVincent Petry2017-04-261-9/+4
|
* Added case when final chunk move must not change file idVincent Petry2017-04-261-0/+13
|
* Added test about checking file id after a moveSergio Bertolin2017-04-262-2/+45
|
* Add support for ratelimiting via annotationsLukas Reschke2017-04-131-0/+58
| | | | | | | | | | | | | This allows adding rate limiting via annotations to controllers, as one example: ``` @UserRateThrottle(limit=5, period=100) @AnonRateThrottle(limit=1, period=100) ``` Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Favorites integration tests for shared filesMorris Jobke2017-04-121-0/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix casing of same origin frame optionJoas Schilling2017-04-123-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add integration test for trashbinVincent Petry2017-04-114-10/+164
| | | | | | | | | Add test for basic deletion. Add test when deleting from shared folder as recipient. Add test to check that metadata stays when moving out of shared folder as recipient. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Clear opcode cache after config changeLukas Reschke2017-04-112-1/+14
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add integration testsLukas Reschke2017-04-113-0/+51
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #4221 from nextcloud/provisioning-api-for-account-infoMorris Jobke2017-04-072-2/+71
|\ | | | | Allow to change account info via provisioning api
| * Allow to change account info via provisioning apiJoas Schilling2017-04-072-2/+71
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #4224 from nextcloud/dont-list-on-public-calendar-endpointMorris Jobke2017-04-052-1/+57
|\ \ | | | | | | Don't list on public calendar endpoints
| * | Don't list on public calendar endpointsLukas Reschke2017-04-052-1/+57
| |/ | | | | | | | | | | There is no need to allow listing here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / Add integration tests for token authLukas Reschke2017-04-052-36/+158
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* fix setup of external storage integration testsRobin Appelman2017-03-301-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix unit testsMorris Jobke2017-03-281-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Split long running features/sharing-v1.feature into two smaller partsMorris Jobke2017-03-282-710/+718
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4004 from nextcloud/backport-27172Roeland Jago Douma2017-03-282-1/+30
|\ | | | | Remove SharedCache::getNumericStorageId to let CacheWrapper do it
| * Remove SharedCache::getNumericStorageId to let CacheWrapper do itVincent Petry2017-03-232-1/+30
| | | | | | | | | | | | The CacheWrapper will properly forward the call to the wrapped cache. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use authType BASIC for Sabre client in integration testsVincent Petry2017-03-241-6/+7
| | | | | | | | | | | | | | | | | | | | | | This helps massively reduce the numerous useless 401 exceptions that appears in the test log. These appear only because Sabre first connects without any auth type to receive the challenge and then sends the authentication data. With this change it will directly use basic auth. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3879 from nextcloud/downstream-26915Morris Jobke2017-03-236-7/+256
|\ \ | | | | | | Added integration tests for sharees using v2.php
| * | Use proper bash test syntaxMorris Jobke2017-03-201-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix warningJoas Schilling2017-03-201-1/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | 200 is okJoas Schilling2017-03-201-15/+15
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix deletion of groupsJoas Schilling2017-03-201-1/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Strict comparisonsJoas Schilling2017-03-202-4/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Added tests using v2.phpSergio Bertolin2017-03-202-2/+246
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #3965 from nextcloud/downstream-27343Morris Jobke2017-03-232-0/+121
|\ \ \ | |_|/ |/| | Providing --path option to transfer-ownership