summaryrefslogtreecommitdiffstats
path: root/build/integration
Commit message (Collapse)AuthorAgeFilesLines
...
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-1/+23
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* new weather status used in dashboardJulien Veyssier2020-08-201-0/+1
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Merge pull request #21138 from ↵Morris Jobke2020-08-052-1/+61
|\ | | | | | | | | nextcloud/fix/noid/search-in-group-displayname-email Search also the email and displayname in user mangement for groups
| * Add integration tests for search in groupsMorris Jobke2020-08-052-1/+61
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix integration test failJoas Schilling2020-08-031-0/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix integration test due to new dashboard appMorris Jobke2020-07-151-0/+1
| | | | | | See #21346 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add more integration tests for resharing permissionsDaniel Calviño Sánchez2020-07-091-0/+244
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #21264 from stweil/masterMorris Jobke2020-07-054-50/+50
|\ | | | | build: Fix some typos (most of them found by codespell)
| * build: Fix two typos in function namesStefan Weil2020-06-061-2/+2
| | | | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
| * build: Fix some typos (most of them found by codespell)Stefan Weil2020-06-064-48/+48
| | | | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Add another test for exact matching of a user in group restrictionJoas Schilling2020-06-171-0/+17
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add integration tests for video verificationDaniel Calviño Sánchez2020-05-293-0/+577
| | | | | | | | | | | | | | Enabling the "send password by Talk" property of shares require that Talk is installed and enabled, so the Drone step that runs them has to first clone the Talk repository. When the integration tests are run on a local development instance, however, it is not guaranteed that Talk is installed. Due to this the "@Talk" tag was added, which ensures that any feature or scenario marked with it will first check if Talk is installed and, if not, skip the scenario (instead of failing). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for creating and updating a mail shareDaniel Calviño Sánchez2020-05-295-0/+305
| | | | | | | | | | | | | | | | | | | | | In most cases, when a mail share is created or updated an e-mail is sent to the sharee, which is done by connecting to the SMTP server set in the configuration. If the server can not be contacted then the creation or update of the mail share fails. To make possible to test mail shares without using a real SMTP server a fake one has been added. The original script, which is MIT licensed, was based on inetd, so it was slightly modified to run on its own. In order to use it from the integration tests the "Given dummy mail server is listening" step has to be called in the scenarios in which the mail server is needed. For now that is the only available step; things like checking the sent mails, while possible (as the script can log the mails to certain file), have not been added yet. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Generalize integration test steps to download last shareDaniel Calviño Sánchez2020-05-292-4/+18
| | | | | | | Note that the "last link share can be downloaded" step was kept as it tests the "url" property specific of link shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Remove unused variablesDaniel Calviño Sánchez2020-05-292-10/+7
| | | | | | The step names were adjusted accordingly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Update public link share permission codeRoeland Jago Douma2020-05-151-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headers for 19Christoph Wurst2020-04-2912-0/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshareMorris Jobke2020-04-271-3/+3
|\ | | | | Fix resharing of federated shares that were created out of links
| * Adjust integration tests to new permissionsJulius Härtl2020-04-231-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Revert "Update guzzlehttp/guzzle requirement from 6.5.2 to 6.5.3 in ↵Roeland Jago Douma2020-04-221-1/+1
|/ | | | /build/integration"
* Update guzzlehttp/guzzle requirement in /build/integrationdependabot-preview[bot]2020-04-191-1/+1
| | | | | | | | Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/6.5.3/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #20037 from ↵blizzz2020-04-151-0/+22
|\ | | | | | | | | nextcloud/fix/19127/deprecated-ldap_control_paged_result_1 do not use deprecated API for LDAP paged results
| * use serverControls directly with LDAP calls, fixes 19127Arthur Schiwon2020-04-141-0/+22
| | | | | | | | | | | | | | | | - adapters for PHP API version to Support PHP < 7.3 - switch to pass only one base per search - cookie logic is moved from Access to API adapters Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Allow local remotes in integration testsJoas Schilling2020-04-151-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix app not listed in provisioning integration testDaniel Calviño Sánchez2020-04-131-0/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1015-122/+90
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-104-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure every file ends with an empty newlineChristoph Wurst2020-04-092-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-099-29/+29
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-315-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-276-13/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-256-13/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-263-9/+9
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use lowercase true, false and null constantsChristoph Wurst2020-03-251-12/+12
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Force compatible EventDispatcher version in integration testsDaniel Calviño Sánchez2020-03-121-1/+2
| | | | | | | | | | | Nextcloud requires EventDispatcher from Symfony 4.4. Behat required Symfony 4.x until Behat 3.5, but since Behat 3.6 it supports Symfony 5.x too. However, as the EventDispatcher version was not restricted in the "composer.json" file Composer installed the latest compatible version with all the dependencies, which happened to be Symfony 5.x. To prevent that now the EventDispatcher is explicitly limited to Symfony 4.4 only. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Update behat/behat requirement in /build/integrationdependabot-preview[bot]2020-02-121-1/+1
| | | | | | | | Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/compare/v3.5.0...v3.6.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update guzzlehttp/guzzle requirement in /build/integrationdependabot-preview[bot]2020-02-091-1/+1
| | | | | | | | Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/6.3.3...6.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Don't show link shares hash in inherited share listRoeland Jago Douma2020-01-151-22/+4
| | | | | | This adds no value at all. Just showing the text "(Shared link)" now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsJohn Molakvoæ (skjnldsv)2019-12-101-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headersChristoph Wurst2019-12-0525-33/+75
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* integration testsMaxence Lange2019-12-031-0/+80
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> add tests on non-owner pov Signed-off-by: Maxence Lange <maxence@artificial-owl.com> duplicate Signed-off-by: Maxence Lange <maxence@artificial-owl.com> small fixes Signed-off-by: Maxence Lange <maxence@artificial-owl.com> removed tags Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #18159 from nextcloud/tests/comments-integrationRoeland Jago Douma2019-12-021-2/+6
|\ | | | | Do not call count on null
| * Do not call count on nullJulius Härtl2019-11-291-2/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix integrationRoeland Jago Douma2019-11-281-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Accept incoming shares in integration testsDaniel Calviño Sánchez2019-11-2012-0/+167
| | | | | | | | | Now all incoming shares need to be explicitly accepted before being able to use the shared file or get information about a reshare (although getting the information of the incoming share is possible before accepting it). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Replace direct calls to share API with specific share stepsDaniel Calviño Sánchez2019-11-205-35/+35
| | | | | | | This makes possible to use steps that reference the last share, which will be needed to accept pending shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Remove extra spaces at the end of linesDaniel Calviño Sánchez2019-11-202-7/+7
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-292-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add more integration tests for getting sharesDaniel Calviño Sánchez2019-10-262-2/+126
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>