summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | Bump karma-viewport from 1.0.6 to 1.0.7 in /builddependabot[bot]2020-09-082-22/+15
| |/ | | | | | | | | | | | | | | Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/squidfunk/karma-viewport/releases) - [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.6...1.0.7) Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #22600 from ↵Roeland Jago Douma2020-09-091-10/+12
|\ \ | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/http-proxy-1.18.1 [Security] Bump http-proxy from 1.17.0 to 1.18.1 in /build
| * | [Security] Bump http-proxy from 1.17.0 to 1.18.1 in /builddependabot-preview[bot]2020-09-041-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1. **This update includes a security fix.** - [Release notes](https://github.com/http-party/node-http-proxy/releases) - [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | Update psalm baselineNextcloud-PR-Bot2020-09-091-13/+2
| |/ |/| | | | | Signed-off-by: GitHub <noreply@github.com>
* | Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-071-0/+1
| | | | | | | | | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #21945 from nextcloud/fix-contact-download-pictureJohn Molakvoæ2020-09-071-1/+1
|\ \ | | | | | | Changed Content-Disposition header to download Contact Photo with correct extension
| * | Change Content-Disposition HeaderJacob Neplokh2020-09-051-1/+1
| |/ | | | | | | | | | | | | | | | | | | - Make ALLOWED_CONTENT_TYPES public in order to use - Add $fileName variable which uses "$node->getName()" to get the proper file name and "$file->getMimeType()" along with the ALLOWED_CONTENT_TYPES array in PhotoCache.php to get the proper file extension - Make "$fileName" the name of the file in the Content-Disposition header when downloading a Contact's photo - Add filename to the CardDAV integration image export test header - Change headers in ImageExportPluginTest to reflect changes Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
* / Update psalm baselineNextcloud-PR-Bot2020-09-061-5/+1
|/ | | | Signed-off-by: GitHub <noreply@github.com>
* Update psalm baselineNextcloud-PR-Bot2020-09-031-5/+2
| | | | Signed-off-by: GitHub <noreply@github.com>
* Use proper branch name in phpdoc buildsJulius Härtl2020-08-271-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #22432 from nextcloud/enh/phpdocRoeland Jago Douma2020-08-261-0/+11
|\ | | | | Add php docs build script
| * Add php docs build scriptJulius Härtl2020-08-261-0/+11
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update psalm baselineNextcloud-PR-Bot2020-08-261-1/+1
| | | | | | | | Signed-off-by: GitHub <noreply@github.com>
* | Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-1/+23
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update psalm baselineNextcloud-PR-Bot2020-08-211-12/+1
| | | | Signed-off-by: GitHub <noreply@github.com>
* Fix psalm warningsMorris Jobke2020-08-201-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix psalm warningsMorris Jobke2020-08-201-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Accept psalm warning for nowMorris Jobke2020-08-201-0/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Extend psalm baseline to ignore errors for nowMorris Jobke2020-08-201-0/+8
| | | | | | One is a false positive - see https://github.com/vimeo/psalm/pull/4032 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* new weather status used in dashboardJulien Veyssier2020-08-201-0/+1
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Merge pull request #22289 from ↵Morris Jobke2020-08-191-5/+0
|\ | | | | | | | | nextcloud/techdebt/noid/fix-encryption-stream-invalid-scalar-arguments Cast float to int to avoid invalid scalar argument warning
| * Cast float to int to avoid invalid scalar argument warningMorris Jobke2020-08-181-5/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #22304 from nextcloud/techdebt/noid/matching-param-namesMorris Jobke2020-08-191-15/+38
|\ \ | | | | | | Use matching parameter names form interfaces and implementations
| * | Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-191-15/+38
| | | | | | | | | | | | | | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22280 from nextcloud/bugfix/noid/429-on-brute-force-maximumMorris Jobke2020-08-191-13/+0
|\ \ \ | |/ / |/| | Send "429 Too Many Requests" in case of brute force protection
| * | Fix the return type of OC_Template->fetchPage() to be string onlyMorris Jobke2020-08-191-13/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22288 from ↵Morris Jobke2020-08-191-3/+1
|\ \ \ | |/ / |/| | | | | | | | nextcloud/techdebt/noid/fix-oc_image-invalid-scalar-arguments Cast float/char to int to avoid invalid scalar argument warning
| * | Cast float/char to int to avoid invalid scalar argument warningMorris Jobke2020-08-181-3/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #22285 from ↵Morris Jobke2020-08-181-5/+2
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/move-to-typed-event-in-list.php Use dispatchTyped instead of dispatch on the new event dispatcher
| * | Use dispatchTyped instead of dispatch on the new event dispatcherMorris Jobke2020-08-181-5/+2
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>