summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* [Security] Bump fstream from 1.0.11 to 1.0.12 in /builddependabot-preview[bot]2019-07-261-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>
* Merge pull request #16346 from ↵Morris Jobke2019-07-111-3/+3
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/stable15/lodash.mergewith-4.6.2 [Security] Bump lodash.mergewith from 4.6.1 to 4.6.2 in /build
| * [Security] Bump lodash.mergewith from 4.6.1 to 4.6.2 in /builddependabot-preview[bot]2019-07-101-3/+3
| | | | | | | | | | | | | | Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/commits) 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>
* Better check reshare permissions when creating a shareJoas Schilling2019-07-031-0/+60
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add integration test for increasing sub reshare permissionsDaniel Calviño Sánchez2019-06-282-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-281-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>
* add LDAP integr. test for receiving share candidates with group limitationArthur Schiwon2019-06-179-102/+106
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* [Security] Bump tar from 2.2.1 to 2.2.2 in /builddependabot-preview[bot]2019-05-241-31/+93
| | | | | Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2. **This update includes security fixes.** - [Release notes](https://github.com/npm/node-tar/releases) - [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2)
* Remove whitespaceDaniel Kesselberg2019-05-151-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use DRONE_SOURCE_BRANCH instead of DRONE_COMMIT_REFSPECDaniel Kesselberg2019-05-151-3/+1
| | | | | | Looks like DRONE_COMMIT_REFSPEC is not available anymore on Drone 1.x Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update regex to also match version/x.y.zDaniel Kesselberg2019-05-151-2/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #14697 from nextcloud/backport/14687/stable15Morris Jobke2019-03-151-0/+10
|\ | | | | [stable15] add an integration test that ensures deletion of LDAP users
| * add an integration test that ensures deletion of LDAP usersArthur Schiwon2019-03-141-0/+10
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Disable failing federated sharing testsMorris Jobke2019-03-131-31/+31
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fails with: * build/integration/federation_features/federated.feature:183 * build/integration/federation_features/federated.feature:232 * build/integration/federation_features/federated.feature:247 * build/integration/federation_features/federated.feature:263 <details><summary>Show full log</summary> ``` Scenario: Reshare a federated shared file # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:183 Given Using server "REMOTE" # FederationContext::usingServer() And user "user1" exists # FederationContext::assureUserExists() And user "user2" exists # FederationContext::assureUserExists() And Using server "LOCAL" # FederationContext::usingServer() And user "user0" exists # FederationContext::assureUserExists() And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing() And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare() And Using server "REMOTE" # FederationContext::usingServer() And As an "user1" # FederationContext::asAn() When creating a share with # FederationContext::creatingShare() | path | /textfile0 (2).txt | | shareType | 0 | | shareWith | user2 | | permissions | 19 | Then the OCS status code should be "100" # FederationContext::theOCSStatusCodeShouldBe() Failed asserting that SimpleXMLElement Object &000000007d8e0d3c00000000403fd08a ( 0 => '404' ) matches expected '100'. ... {"message":"Can not find share with ID: 8"} Scenario: Overwrite a federated shared folder as recipient # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:232 Given Using server "REMOTE" # FederationContext::usingServer() And user "user1" exists # FederationContext::assureUserExists() And user "user2" exists # FederationContext::assureUserExists() And Using server "LOCAL" # FederationContext::usingServer() And user "user0" exists # FederationContext::assureUserExists() And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing() And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare() And Using server "REMOTE" # FederationContext::usingServer() And As an "user1" # FederationContext::asAn() And User "user1" modifies text of "/textfile0.txt" with text "BLABLABLA" # FederationContext::modifyTextOfFile() When User "user1" uploads file "../../data/user1/files/textfile0.txt" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsAFileTo() Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt` resulted in a `404 Not Found` response: <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre\DA (truncated...) (GuzzleHttp\Exception\ClientException) ... {"message":"Can not find share with ID: 10"} Scenario: Overwrite a federated shared file as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:247 Given Using server "REMOTE" # FederationContext::usingServer() And user "user1" exists # FederationContext::assureUserExists() And user "user2" exists # FederationContext::assureUserExists() And Using server "LOCAL" # FederationContext::usingServer() And user "user0" exists # FederationContext::assureUserExists() And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing() And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare() And Using server "REMOTE" # FederationContext::usingServer() And As an "user1" # FederationContext::asAn() And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/textfile0 (2).txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum() Client error: `PUT http://localhost:8180/remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0` resulted in a `404 Not Found` response: <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre\DA (truncated...) (GuzzleHttp\Exception\ClientException) ... {"message":"Can not find share with ID: 11"} Scenario: Overwrite a federated shared folder as recipient using old chunking # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:263 Given Using server "REMOTE" # FederationContext::usingServer() And user "user1" exists # FederationContext::assureUserExists() And user "user2" exists # FederationContext::assureUserExists() And Using server "LOCAL" # FederationContext::usingServer() And user "user0" exists # FederationContext::assureUserExists() And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing() And User "user1" from server "REMOTE" accepts last pending share # FederationContext::acceptLastPendingShare() And Using server "REMOTE" # FederationContext::usingServer() And As an "user1" # FederationContext::asAn() And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsChunkFileOfWithToWithChecksum() Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0` resulted in a `404 Not Found` response: <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre\DA (truncated...) (GuzzleHttp\Exception\ClientException) ... {"message":"Can not find share with ID: 12"} ``` </details> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add missing config bits to integration testsArthur Schiwon2019-03-072-0/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* with LDAP server set offline, config cannot be controlled via ocs anymoreArthur Schiwon2019-03-071-0/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix nested group retrieval also for 2 other casesArthur Schiwon2019-03-072-0/+93
| | | | | | and also consolidate logic in one method Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* DRONE_BRANCH is the target branch. DRONE_COMMIT_REFSPEC should work.Daniel Kesselberg2019-03-051-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add test for updated CA bundleMorris Jobke2019-03-051-0/+22
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [Security] Bump handlebars from 4.0.12 to 4.1.0 in /builddependabot[bot]2019-02-142-8/+8
| | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.0. **This update includes security fixes.** - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.0/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* integration test: pages search scenario with multiple basesArthur Schiwon2019-01-291-0/+22
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* typoArthur Schiwon2019-01-291-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* [Security] Bump bower from 1.8.4 to 1.8.8 in /builddependabot[bot]2019-01-252-8/+8
| | | | | | | | Bumps [bower](https://github.com/bower/bower) from 1.8.4 to 1.8.8. **This update includes security fixes.** - [Release notes](https://github.com/bower/bower/releases) - [Changelog](https://github.com/bower/bower/blob/master/CHANGELOG.md) - [Commits](https://github.com/bower/bower/compare/v1.8.4...v1.8.8) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump node-sass from 4.9.4 to 4.10.0 in /builddependabot[bot]2018-11-052-8/+13
| | | | | | | | Bumps [node-sass](https://github.com/sass/node-sass) from 4.9.4 to 4.10.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.9.4...v4.10.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Fix testsRoeland Jago Douma2018-11-011-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #11946 from ↵Morris Jobke2018-10-301-1/+1
|\ | | | | | | | | nextcloud/bugfix/11945/fix-js-namespace-of-files-external Fix JS namespace of files_external app
| * Fix JS namespace of files_external appJoas Schilling2018-10-301-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Bump karma from 2.0.4 to 3.1.1 in /builddependabot[bot]2018-10-252-1116/+93
|/ | | | | | | | Bumps [karma](https://github.com/karma-runner/karma) from 2.0.4 to 3.1.1. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v2.0.4...v3.1.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Remove buildjsdocs.sh from files checkerJulius Härtl2018-10-251-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix jsdocs build on server repoJulius Härtl2018-10-243-5280/+3776
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #11985 from ↵Roeland Jago Douma2018-10-232-73/+77
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/node-sass-4.9.4 Bump node-sass from 4.9.3 to 4.9.4 in /build
| * Bump node-sass from 4.9.3 to 4.9.4 in /builddependabot[bot]2018-10-222-73/+77
| | | | | | | | | | | | | | | | Bumps [node-sass](https://github.com/sass/node-sass) from 4.9.3 to 4.9.4. - [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.9.3...v4.9.4) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | Update sabre/dav requirement from 3.2.2 to 3.2.3 in /build/integrationdependabot[bot]2018-10-221-1/+1
|/ | | | | | | | Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version. - [Release notes](https://github.com/sabre-io/dav/releases) - [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md) - [Commits](https://github.com/sabre-io/dav/commits/3.2.3) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Move files_external to compiled handlebarsRoeland Jago Douma2018-10-191-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move files_drop to compiled handlebarsRoeland Jago Douma2018-10-161-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #11834 from nextcloud/csp/federationmenuRoeland Jago Douma2018-10-151-1/+1
|\ | | | | Compile federationscope menu handlebars template
| * Compile federationscope menu handlebars templateRoeland Jago Douma2018-10-151-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move workflowengine to compiled handlebarsRoeland Jago Douma2018-10-151-0/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move GitHub files to .github directoryChristoph Wurst2018-10-091-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused HHVM test executorChristoph Wurst2018-10-091-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move files_versions to compiled handlebars templatesRoeland Jago Douma2018-10-041-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move OC.Share to compiled handlebarsRoeland Jago Douma2018-10-041-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move systemtags to compiled handlebarsRoeland Jago Douma2018-10-041-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move Comments to compiled handlebarsRoeland Jago Douma2018-10-041-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump check scriptJohn Molakvoæ (skjnldsv)2018-10-021-17/+35
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move to 1 template file for filesRoeland Jago Douma2018-10-011-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add drone stepRoeland Jago Douma2018-09-281-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add script to compile handlebars templatesRoeland Jago Douma2018-09-281-0/+21
| | | | | | | For now it is small and there is no real standard yet. But it is better to start with something. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #11037 from nextcloud/trash-webui-davMorris Jobke2018-09-285-77/+195
|\ | | | | Use trashbin dav endpoint to list trash in webui