Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2020-07-09Add more integration tests for resharing permissionsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-23Add another test for exact matching of a user in group restrictionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-29Add integration tests for video verificationDaniel Calviño Sánchez
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>
2020-05-29Add integration tests for creating and updating a mail shareDaniel Calviño Sánchez
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>
2020-05-29Generalize integration test steps to download last shareDaniel Calviño Sánchez
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>
2020-05-29Remove unused variablesDaniel Calviño Sánchez
The step names were adjusted accordingly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29Revert "[stable18] Fix password changes in link and mail shares"Morris Jobke
2020-05-29Add integration tests for video verificationDaniel Calviño Sánchez
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>
2020-05-29Add integration tests for creating and updating a mail shareDaniel Calviño Sánchez
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>
2020-05-29Generalize integration test steps to download last shareDaniel Calviño Sánchez
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>
2020-05-29Remove unused variablesDaniel Calviño Sánchez
The step names were adjusted accordingly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-26Update public link share permission codeRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-26Adjust integration tests to new permissionsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-14[Security] Bump handlebars from 4.5.3 to 4.6.0 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.6.0. **This update includes a security fix.** - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-18Fix jsunit testsDaniel Kesselberg
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>
2020-01-15Don't show link shares hash in inherited share listRoeland Jago Douma
This adds no value at all. Just showing the text "(Shared link)" now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-11Fix testsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05Update license script appsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-03integration testsMaxence Lange
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>
2019-12-02Merge pull request #18159 from nextcloud/tests/comments-integrationRoeland Jago Douma
Do not call count on null
2019-11-29Do not call count on nullJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-28Fix integrationRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-24Bump handlebars from 4.5.2 to 4.5.3 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.2 to 4.5.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.2...v4.5.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20Accept incoming shares in integration testsDaniel Calviño Sánchez
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>
2019-11-20Replace direct calls to share API with specific share stepsDaniel Calviño Sánchez
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>
2019-11-20Remove extra spaces at the end of linesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-11-17Bump handlebars from 4.5.1 to 4.5.2 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.1 to 4.5.2. - [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.1...v4.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-10Bump handlebars from 4.4.5 to 4.5.1 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.5 to 4.5.1. - [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.4.5...v4.5.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08Add .editorconfig to expected filesGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-11-05Cleanup sharing leftoversJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29Transpile also dependencies in node_modulesJohn Molakvoæ (skjnldsv)
Some of the dependencies in node_modules, such as "p-queue", are not ES5 compatible, so they need to be transpiled to work in older browsers like Internet Explorer 11. Besides not excluding the dependencies for babel-loader in "webpack.common.js" the global Babel configuration must be defined in "babel.config.js", as in Babel 7.X, when ".babelrc.js" is used, all the dependencies in "node_modules" are ignored (even if whitelisted in the configuration file itself). Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-28Merge pull request #17698 from ↵Roeland Jago Douma
nextcloud/dependabot/npm_and_yarn/build/node-sass-4.13.0 Bump node-sass from 4.12.0 to 4.13.0 in /build
2019-10-27Bump handlebars from 4.4.3 to 4.4.5 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.3 to 4.4.5. - [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.4.3...v4.4.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27Bump node-sass from 4.12.0 to 4.13.0 in /builddependabot-preview[bot]
Bumps [node-sass](https://github.com/sass/node-sass) from 4.12.0 to 4.13.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.12.0...v4.13.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-26Add more integration tests for getting sharesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25Add integration tests for getting shares including subfilesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25Replace fully qualified name with aliasDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-17Merge all babelrc into one fileJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-13Bump handlebars from 4.4.2 to 4.4.3 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.4.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.4.2...v4.4.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09Remove settings/ from phanDaniel Kesselberg
settings is a app now. so the directory does not exist. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-06Bump handlebars from 4.4.0 to 4.4.2 in /builddependabot-preview[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.0 to 4.4.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.4.2/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.0...v4.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04Fix shares read permissionsJohn Molakvoæ (skjnldsv)
A user with reshare permissions on a file is now able to get any share of that file (just like the owner). Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04Add assorted integration tests for sharesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-04Do not expect a 200 HTTP status code when updating a shareDaniel Calviño Sánchez
This will be needed to test scenarios in which updating a share return a different HTTP status code, like 401. The assertion for the 200 HTTP status code was added in those scenarios that tested updating a share (that is, those that were also checking the OCS status code), but not in those in which updating a share was just a preparatory step for the actual test (in the same way that the HTTP status code is not checked in those tests when creating a share). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-04Move sharing integration tests to their own directoryJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04Add helper script to run integration tests on a Docker containerJohn Molakvoæ (skjnldsv)
Copied and adjusted from "tests/integration/run-docker.sh" in Talk; see its commit history for further reference. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04Fix master testing and update eslint-configJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-01Merge pull request #17336 from ↵Roeland Jago Douma
nextcloud/dependabot/npm_and_yarn/build/handlebars-4.4.0 Bump handlebars from 4.2.1 to 4.4.0 in /build