summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [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)
* Merge pull request #15604 from ↵blizzz2019-05-222-6/+10
|\ | | | | | | | | nextcloud/fix/12682/fix-possible-override-of-uniquemember fixes possible override of uniqueMember by autodetection
| * set the ldapGroupMemberAssocAttr for group testsArthur Schiwon2019-05-222-6/+10
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #15499 from nextcloud/app-update-scriptMorris Jobke2019-05-212-0/+30
|\ \ | | | | | | Add scripts to update server & apps or apps only
| * | Fix app update script for macOSJan-Christoph Borchardt2019-05-172-2/+2
| | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | Remove eduplicate git fetch from update scriptsJan-Christoph Borchardt2019-05-172-2/+1
| | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | Adjust script to remove branches which are deleted on GitHubJan-Christoph Borchardt2019-05-172-2/+2
| | | | | | | | | Co-Authored-By: Morris Jobke <hey@morrisjobke.de>
| * | Fix for update script when submodule is not initializedJan-Christoph Borchardt2019-05-171-1/+1
| | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | Also add script to update both server and appsJan-Christoph Borchardt2019-05-171-0/+17
| | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | Add script to update Nextcloud apps from latest git master, ref #15145Jan-Christoph Borchardt2019-05-171-0/+14
| |/ | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* / Bump jsdoc from 3.6.1 to 3.6.2 in /builddependabot[bot]2019-05-192-4/+4
|/ | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.1 to 3.6.2. - [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.1...3.6.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
* 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>
* Bump jsdoc from 3.6.0 to 3.6.1 in /builddependabot[bot]2019-05-122-4/+4
| | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.0 to 3.6.1. - [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.0...3.6.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
* use webpack to compile handlebarsArthur Schiwon2019-05-101-3/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust paths to template locationArthur Schiwon2019-05-101-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Bump jsdoc from 3.5.5 to 3.6.0 in /builddependabot[bot]2019-05-052-75/+112
| | | | | | | | Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.5.5 to 3.6.0. - [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.5.5...3.6.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump node-sass from 4.11.0 to 4.12.0 in /builddependabot[bot]2019-05-012-30/+19
| | | | | | | | Bumps [node-sass](https://github.com/sass/node-sass) from 4.11.0 to 4.12.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.11.0...v4.12.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Merge pull request #15090 from ↵Roeland Jago Douma2019-04-172-11/+11
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/handlebars-4.1.2 Bump handlebars from 4.1.1 to 4.1.2 in /build
| * Bump handlebars from 4.1.1 to 4.1.2 in /builddependabot[bot]2019-04-152-11/+11
| | | | | | | | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.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.1.1...v4.1.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | Add integration tests for updating folder sharesJulius Härtl2019-04-162-0/+49
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Run less phan processesRoeland Jago Douma2019-04-091-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not try to compile templates that are not thereRoeland Jago Douma2019-04-081-6/+0
| | | | | | Makes for a bit cleaner drone output. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump handlebars from 4.1.0 to 4.1.1 in /builddependabot[bot]2019-03-232-21/+18
| | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
* 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>
* Merge pull request #14464 from nextcloud/fix/noid/ldap-nested-group-filterblizzz2019-03-073-0/+108
|\ | | | | resolve user and groups in nested groups first before filtering the results
| * add missing config bits to integration testsArthur Schiwon2019-03-062-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-051-0/+8
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix nested group retrieval also for 2 other casesArthur Schiwon2019-03-052-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>
* Exclude Makefile from checkMorris Jobke2019-02-251-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add install logic for enable commandDaniel Kesselberg2019-02-191-2/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Strict Types, Return TypesDaniel Kesselberg2019-02-191-4/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update PHP-Parser for 7.1 compatibilityJoas Schilling2019-02-141-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update expected file listRoeland Jago Douma2019-02-131-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump handlebars from 4.0.12 to 4.1.0 in /builddependabot[bot]2019-02-112-4/+4
| | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.0. - [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>
* Merge pull request #13702 from nextcloud/feature/6717/rename-app-passwordsRoeland Jago Douma2019-02-081-0/+1
|\ | | | | Make it possible to rename app passwords
| * Mock name for integration testDaniel Kesselberg2019-02-041-0/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Remove from build fileRoeland Jago Douma2019-02-041-3/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* integration test: pages search scenario with multiple basesArthur Schiwon2019-01-281-0/+22
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* typoArthur Schiwon2019-01-281-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Bump karma-viewport from 1.0.3 to 1.0.4 in /builddependabot[bot]2019-01-122-11/+25
| | | | | | | | Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.3 to 1.0.4. - [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.3...1.0.4) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Adjust release file listChristoph Wurst2019-01-091-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove core.jsChristoph Wurst2019-01-092-64/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove BowerChristoph Wurst2019-01-092-28/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Switch around syntax of scour command for SVG image optimizationJan-Christoph Borchardt2019-01-081-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>