summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* Merge pull request #20586 from ↵Roeland Jago Douma2020-05-211-15/+59
|\ | | | | | | | | nextcloud/techdebt/noid/make-image-optimization.sh-better-readable Improve build/image-optimization.sh
| * Allow to specify a directory and skip node_modules and testsJoas Schilling2020-04-211-9/+35
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Don't error when the directory is brokenJoas Schilling2020-04-211-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * FIx glob usage to avoid problems with directories that contain spacesJoas Schilling2020-04-211-4/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Make the script better readableJoas Schilling2020-04-211-14/+30
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Revert "Bump karma-coverage from 2.0.1 to 2.0.2 in /build"Roeland Jago Douma2020-04-192-257/+281
| |
| * Bump karma-coverage from 2.0.1 to 2.0.2 in /builddependabot-preview[bot]2020-04-192-281/+257
| | | | | | | | | | | | | | | | Bumps [karma-coverage](https://github.com/karma-runner/karma-coverage) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/karma-runner/karma-coverage/releases) - [Changelog](https://github.com/karma-runner/karma-coverage/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma-coverage/compare/v2.0.1...v2.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Update public link share permission codeRoeland Jago Douma2020-05-151-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump node-sass from 4.14.0 to 4.14.1 in /builddependabot-preview[bot]2020-05-102-80/+215
| | | | | | | | | | | | | | | | Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1. - [Release notes](https://github.com/sass/node-sass/releases) - [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Merge pull request #20655 from ↵Roeland Jago Douma2020-04-292-27/+43
|\ \ | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/node-sass-4.14.0 Bump node-sass from 4.13.0 to 4.14.0 in /build
| * | Bump node-sass from 4.13.0 to 4.14.0 in /builddependabot-preview[bot]2020-04-292-27/+43
| | | | | | | | | | | | | | | | | | | | | | | | Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.0 to 4.14.0. - [Release notes](https://github.com/sass/node-sass/releases) - [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/node-sass/compare/v4.13.0...v4.14.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | 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 jsunit testsDaniel Kesselberg2020-04-142-84/+390
|/ | | | | | JSUnit tests are failing for some reason. It seems to be related to a new karma-coverage version published a few hours ago. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* Bump jsdoc from 3.6.3 to 3.6.4 in /builddependabot-preview[bot]2020-04-122-45/+51
| | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.3 to 3.6.4. - [Release notes](https://github.com/jsdoc/jsdoc/releases) - [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.4/CHANGES.md) - [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.3...3.6.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1020-160/+125
| | | | | | | | | | | | | | | 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-093-3/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-092-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0910-34/+34
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20321 from ↵Joas Schilling2020-04-081-0/+63
|\ | | | | | | | | nextcloud/enh/noid/check-translation-for-triple-dot Check for triple dots in translations in CI
| * Check for triple dots in translations in CIGary Kim2020-04-071-0/+63
| | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | Bump handlebars from 4.7.3 to 4.7.6 in /builddependabot-preview[bot]2020-04-052-9/+24
|/ | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.3 to 4.7.6. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.3...v4.7.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #20216 from ↵Roeland Jago Douma2020-04-032-15/+15
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.6 Bump karma-viewport from 1.0.5 to 1.0.6 in /build
| * Bump karma-viewport from 1.0.5 to 1.0.6 in /builddependabot-preview[bot]2020-03-292-15/+15
| | | | | | | | | | | | | | | | Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.5 to 1.0.6. - [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.5...1.0.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Merge pull request #20209 from nextcloud/techdebt/php-cs-configRoeland Jago Douma2020-04-011-0/+2
|\ \ | | | | | | Add a shared php coding style fixer config
| * | Add shared php-cs configChristoph Wurst2020-03-311-0/+2
| |/ | | | | | | 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>
* Merge pull request #19368 from ↵Roeland Jago Douma2020-03-242-7/+7
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/handlebars-4.7.3 Bump handlebars from 4.5.3 to 4.7.3 in /build
| * Bump handlebars from 4.5.3 to 4.7.3 in /builddependabot-preview[bot]2020-03-102-7/+7
| | | | | | | | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | 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>