summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* / Update psalm baseline due to fixes in #22236Morris Jobke2020-08-181-6/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check only the baseline.xml and exclude the psalm.xml from the file checkMorris Jobke2020-08-181-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add patches for stubsMorris Jobke2020-08-181-4/+4
| | | | | | | | | * https://github.com/JetBrains/phpstorm-stubs/pull/893 * https://github.com/JetBrains/phpstorm-stubs/pull/894 * https://github.com/JetBrains/phpstorm-stubs/pull/895 * https://github.com/JetBrains/phpstorm-stubs/pull/896 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add stubs for gd, intl, IntlChar, ldap, redis_cluster and xslMorris Jobke2020-08-185-0/+12981
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add psalm baselineMorris Jobke2020-08-181-0/+6295
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add stubs for phpseclibDaniel Kesselberg2020-08-182-0/+152
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Hello psalmDaniel Kesselberg2020-08-185-0/+17756
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* Bump jsdoc from 3.6.4 to 3.6.5 in /builddependabot-preview[bot]2020-07-252-13/+13
| | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.4 to 3.6.5. - [Release notes](https://github.com/jsdoc/jsdoc/releases) - [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.5/CHANGES.md) - [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.4...3.6.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump lodash from 4.17.14 to 4.17.19 in /builddependabot[bot]2020-07-161-17/+3
| | | | | | | Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19) Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #21843 from ↵Morris Jobke2020-07-151-8/+5
|\ | | | | | | | | nextcloud/debt/noid/less-verbose-translation-checker Make translation-checker.php less verbose
| * Make translation-checker.php less verbose.Daniel Kesselberg2020-07-151-8/+5
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | 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>
* | Fix typo in variable name and make check more accurateJoas Schilling2020-07-011-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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>
* | Use empty for the OCP @since checkerChristoph Wurst2020-06-091-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>