summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* integration testsMaxence Lange2019-12-031-0/+80
| | | | | | | | | | | | | | | 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>
* Merge pull request #18159 from nextcloud/tests/comments-integrationRoeland Jago Douma2019-12-021-2/+6
|\ | | | | Do not call count on null
| * Do not call count on nullJulius Härtl2019-11-291-2/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix integrationRoeland Jago Douma2019-11-281-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump handlebars from 4.5.2 to 4.5.3 in /builddependabot-preview[bot]2019-11-242-4/+4
| | | | | | | | 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>
* Accept incoming shares in integration testsDaniel Calviño Sánchez2019-11-2012-0/+167
| | | | | | | | | 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>
* Replace direct calls to share API with specific share stepsDaniel Calviño Sánchez2019-11-205-35/+35
| | | | | | | 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>
* Remove extra spaces at the end of linesDaniel Calviño Sánchez2019-11-202-7/+7
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Bump handlebars from 4.5.1 to 4.5.2 in /builddependabot-preview[bot]2019-11-172-7/+7
| | | | | | | | 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>
* Bump handlebars from 4.4.5 to 4.5.1 in /builddependabot-preview[bot]2019-11-102-7/+7
| | | | | | | | 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>
* Add .editorconfig to expected filesGary Kim2019-11-081-0/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Cleanup sharing leftoversJohn Molakvoæ (skjnldsv)2019-11-051-3/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Transpile also dependencies in node_modulesJohn Molakvoæ (skjnldsv)2019-10-291-1/+1
| | | | | | | | | | | | | | 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>
* Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-292-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #17698 from ↵Roeland Jago Douma2019-10-272-8/+14
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/node-sass-4.13.0 Bump node-sass from 4.12.0 to 4.13.0 in /build
| * Bump node-sass from 4.12.0 to 4.13.0 in /builddependabot-preview[bot]2019-10-272-8/+14
| | | | | | | | | | | | | | | | 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>
* | Bump handlebars from 4.4.3 to 4.4.5 in /builddependabot-preview[bot]2019-10-272-11/+11
|/ | | | | | | | 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>
* Add more integration tests for getting sharesDaniel Calviño Sánchez2019-10-262-2/+126
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for getting shares including subfilesDaniel Calviño Sánchez2019-10-252-0/+294
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Replace fully qualified name with aliasDaniel Calviño Sánchez2019-10-251-10/+11
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge all babelrc into one fileJohn Molakvoæ (skjnldsv)2019-10-171-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump handlebars from 4.4.2 to 4.4.3 in /builddependabot-preview[bot]2019-10-132-11/+11
| | | | | | | | 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>
* Remove settings/ from phanDaniel Kesselberg2019-10-091-1/+0
| | | | | | settings is a app now. so the directory does not exist. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Bump handlebars from 4.4.0 to 4.4.2 in /builddependabot-preview[bot]2019-10-062-4/+4
| | | | | | | | 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>
* Fix shares read permissionsJohn Molakvoæ (skjnldsv)2019-10-042-4/+34
| | | | | | | 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>
* Add assorted integration tests for sharesDaniel Calviño Sánchez2019-10-043-0/+100
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not expect a 200 HTTP status code when updating a shareDaniel Calviño Sánchez2019-10-043-2/+8
| | | | | | | | | | | | | 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>
* Move sharing integration tests to their own directoryJohn Molakvoæ (skjnldsv)2019-10-045-0/+50
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add helper script to run integration tests on a Docker containerJohn Molakvoæ (skjnldsv)2019-10-041-0/+261
| | | | | | | 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>
* Fix master testing and update eslint-configJohn Molakvoæ (skjnldsv)2019-10-041-4/+5
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Merge pull request #17336 from ↵Roeland Jago Douma2019-10-012-7/+7
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/handlebars-4.4.0 Bump handlebars from 4.2.1 to 4.4.0 in /build
| * Bump handlebars from 4.2.1 to 4.4.0 in /builddependabot-preview[bot]2019-09-302-7/+7
| | | | | | | | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.1 to 4.4.0. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.4.0/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.1...v4.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Use handlebars from node_modules (on CI)Christoph Wurst2019-09-301-6/+6
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move oauth admin settings to initialstateRoeland Jago Douma2019-09-281-1/+1
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move settings to an appChristoph Wurst2019-09-283-1/+3
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump handlebars from 4.2.0 to 4.2.1 in /builddependabot-preview[bot]2019-09-222-4/+4
| | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.2.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump handlebars from 4.1.2 to 4.2.0 in /builddependabot-preview[bot]2019-09-082-10/+10
| | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.2.0. - [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.1.2...v4.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix npm audit warning in buildRoeland Jago Douma2019-08-301-55/+58
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [Security] Bump mixin-deep from 1.3.1 to 1.3.2 in /builddependabot-preview[bot]2019-08-271-3/+3
| | | | | | | Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. **This update includes a security fix.** - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump js-yaml from 3.12.0 to 3.13.1 in /builddependabot[bot]2019-08-081-11/+9
| | | | | | | | Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1) Signed-off-by: dependabot[bot] <support@github.com>
* [Security] Bump fstream from 1.0.11 to 1.0.12 in /builddependabot-preview[bot]2019-07-251-17/+3
| | | | | | | Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. **This update includes a security fix.** - [Release notes](https://github.com/npm/fstream/releases) - [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump jsdoc from 3.6.2 to 3.6.3 in /builddependabot-preview[bot]2019-07-212-30/+30
| | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.2 to 3.6.3. - [Release notes](https://github.com/jsdoc/jsdoc/releases) - [Changelog](https://github.com/jsdoc/jsdoc/blob/master/CHANGES.md) - [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.2...3.6.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* [Security] Bump lodash from 4.17.11 to 4.17.14 in /builddependabot-preview[bot]2019-07-111-3/+3
| | | | | | | Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #16186 from ↵Morris Jobke2019-07-031-0/+60
|\ | | | | | | | | nextcloud/bugfix/noid/also-check-permissions-when-creating-a-share Better check reshare permissions part2
| * Better check reshare permissions when creating a shareJoas Schilling2019-07-031-0/+60
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix phanRoeland Jago Douma2019-06-271-0/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add integration test for increasing sub reshare permissionsDaniel Calviño Sánchez2019-06-272-0/+43
| | | | | | | | The tests check an user share and a link share; there is a slight difference in style between them as each one is based on the test above it, which tests increasing reshare permissions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not create folders with admin userDaniel Calviño Sánchez2019-06-271-3/+5
| | | | | | | | | | The admin user is not deleted after each integration test is run, so folders created by the admin user in one test are still there when the next tests run; tests should be independent one from each other, so a regular user that is created and deleted for each test should be used instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix js l10n registration to also work with more than one bundleChristoph Wurst2019-06-261-32/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add LDAP integr. test for receiving share candidates with group limitationArthur Schiwon2019-06-149-102/+106
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>