summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Reset app configs by deleting the values instead of setting the defaultsDaniel Calviño Sánchez2020-11-165-18/+31
| | | | | | | | This avoids the need to keep the default values in the integration tests in sync with the code, and also makes possible to reset values with "dynamic" defaults (defaults that depend on other values). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #23882 from nextcloud/tests/oracleJoas Schilling2020-11-111-5/+19
|\ | | | | Run unit tests against oracle
| * Update baseline, I'm sorryJoas Schilling2020-11-101-5/+19
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add integration tests for default share permissionsDaniel Calviño Sánchez2020-11-112-0/+35
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Update psalm baselineNextcloud-PR-Bot2020-11-101-3/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Merge pull request #23967 from ↵Roeland Jago Douma2020-11-091-1/+1
|\ | | | | | | | | nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.8.0 Update behat/behat requirement from ~3.7.0 to ~3.8.0 in /build/integration
| * Update behat/behat requirement in /build/integrationdependabot-preview[bot]2020-11-071-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.7.0...v3.8.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Update psalm baselineNextcloud-PR-Bot2020-11-081-6/+0
| | | | | | | | Signed-off-by: GitHub <noreply@github.com>
* | Update psalm baselineNextcloud-PR-Bot2020-11-071-5/+0
|/ | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-11-061-11/+1
| | | | Signed-off-by: GitHub <noreply@github.com>
* Check InvalidArgument psalm error into baseline - PHPDoc needs to be improvedMorris Jobke2020-11-051-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update psalm baselineNextcloud-PR-Bot2020-11-041-24/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-11-031-31/+3
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm-baseline.xmlMorris Jobke2020-11-021-0/+21
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update psalm baselineMorris Jobke2020-10-301-35/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "[Automated] Update psalm-baseline.xml"Morris Jobke2020-10-301-0/+35
|
* Update psalm baselineNextcloud-PR-Bot2020-10-301-35/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Fix the expected outputJoas Schilling2020-10-271-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Simplify the function looking for outputJoas Schilling2020-10-271-27/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* This is not javascriptJoas Schilling2020-10-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix undefined variableJoas Schilling2020-10-261-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update baselineDaniel Kesselberg2020-10-221-19/+52
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update psalm baselineNextcloud-PR-Bot2020-10-211-1/+1
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-10-201-50/+4
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-10-161-27/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Bump vimeo/psalm from 3.15 to 3.17.1Christoph Wurst2020-10-141-542/+482
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use own psalm instead of a global oneChristoph Wurst2020-10-131-9/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update psalm baselineNextcloud-PR-Bot2020-10-131-5/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-10-111-6/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-10-091-33/+0
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-10-071-222/+1
| | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-10-061-9/+3
| | | | Signed-off-by: GitHub <noreply@github.com>
* Merge pull request #22891 from ↵Morris Jobke2020-10-051-5/+0
|\ | | | | | | | | nextcloud/techdebt/18680/improve-ProvisioningApiMiddleware-service-logic Improve registerService logic for ProvisioningApiMiddleware for static code analysis
| * Update baselineMorris Jobke2020-09-161-5/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-054-7/+7
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Bump jsdoc from 3.6.5 to 3.6.6 in /builddependabot-preview[bot]2020-09-262-4/+4
| | | | | | | | | | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.5 to 3.6.6. - [Release notes](https://github.com/jsdoc/jsdoc/releases) - [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.6/CHANGES.md) - [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.5...3.6.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Update psalm baselineNextcloud-PR-Bot2020-09-251-8/+0
| | | | | | | | Signed-off-by: GitHub <noreply@github.com>
* | Add integration tests to check that only the given path is transferredDaniel Calviño Sánchez2020-09-181-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | Until recently (it was fixed in ac2999a26a) when a path was transferred other shares with the target user were removed, so a test was added to ensure that it does not happen again. Besides that a test to ensure that other files with the target user are not transferred was added too (it did not fail before, but seemed convenient to have that covered too :-) ). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add integration tests for transferring files of a user with a risky nameDaniel Calviño Sánchez2020-09-183-1/+41
| | | | | | | | | | | | | | | | | | | | | | The files:transfer-ownership performs a sanitization of users with "risky" display names (including characters like "\" or "/"). In order to allow (escaped) double quotes in the display name the regular expression used in the "user XXX with displayname YYY exists" step had to be adjusted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add integration test for transferring the path of a single fileDaniel Calviño Sánchez2020-09-181-0/+14
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Update psalm baselineNextcloud-PR-Bot2020-09-181-1/+0
| | | | | | | | Signed-off-by: GitHub <noreply@github.com>
* | Update baselineMorris Jobke2020-09-161-22/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove phan config - was replaced by PsalmMorris Jobke2020-09-1610-2669/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #22761 from ↵Morris Jobke2020-09-141-1/+216
|\ | | | | | | | | nextcloud/extend-integration-tests-for-files-transfer-ownership-command Extend integration tests for "files:transfer-ownership" command
| * Add integration tests for transferring ownership of resharesDaniel Calviño Sánchez2020-09-101-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only transferring ownership of a reshare with a group to a user in the group is possible. When transferring ownership of a reshare with another user or with a group to a user not in the group restoring the share fails (but the command succeeds, it only fails for the specific files that are reshares). When transferring ownership of a path that is a reshare the command fails (as when a specific path is provided the path tries to move the file, it does not take into account reshares). The added integration tests reflect the above behaviours. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Check share ownership after transferring file ownershipDaniel Calviño Sánchez2020-09-101-0/+62
| | | | | | | | | | | | | | | | The integration tests did not verify that the shares were actually transferred between the users (or that they were removed due to being transferred to the sharee). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Check whether file exists or not after transferring ownershipDaniel Calviño Sánchez2020-09-101-1/+54
| | | | | | | | | | | | | | The integration tests did not verify that the files were actually transferred between the users, only that the files were downloadable. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #22665 from ↵Morris Jobke2020-09-101-1/+1
|\ \ | |/ |/| | | | | nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.7.0 Update behat/behat requirement from ~3.6.1 to ~3.7.0 in /build/integration
| * Update behat/behat requirement in /build/integrationdependabot[bot]2020-09-081-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.6.1...v3.7.0) Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #22663 from ↵Roeland Jago Douma2020-09-092-22/+15
|\ \ | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.7 Bump karma-viewport from 1.0.6 to 1.0.7 in /build