summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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-071-0/+6
| | | | 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-071-0/+58
| | | | | | 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.11 to 4.1.0 in /builddependabot[bot]2019-02-142-183/+62
| | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 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.11...v4.1.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Merge pull request #14091 from ↵Roeland Jago Douma2019-02-071-18/+3
|\ | | | | | | | | nextcloud/dependabot/npm_and_yarn/build/stable14/lodash-4.17.11 [Security] Bump lodash from 4.17.10 to 4.17.11 in /build
| * [Security] Bump lodash from 4.17.10 to 4.17.11 in /builddependabot[bot]2019-02-071-18/+3
| | | | | | | | | | | | | | | | Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.11. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Changelog](https://github.com/lodash/lodash/blob/master/CHANGELOG) - [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.11) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | [Security] Bump extend from 3.0.1 to 3.0.2 in /builddependabot[bot]2019-02-071-15/+6
|/ | | | | | | | Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2. **This update includes security fixes.** - [Release notes](https://github.com/justmoon/node-extend/releases) - [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md) - [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
* integration test: pages search scenario with multiple basesArthur Schiwon2019-01-301-0/+22
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* typoArthur Schiwon2019-01-301-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-39/+99
| | | | | | | | 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>
* Merge pull request #10663 from ↵Morris Jobke2018-08-201-1/+1
|\ | | | | | | | | nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.5.0 Update behat/behat requirement from ~3.3.0 to ~3.5.0 in /build/integration
| * Update behat/behat requirement from ~3.3.0 to ~3.5.0 in /build/integrationdependabot[bot]2018-08-131-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/commits/v3.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | Merge pull request #8855 from nextcloud/feature/noid/ldap-integration-autotestsblizzz2018-08-146-1/+318
|\ \ | | | | | | behat integration tests for LDAP
| * | don't add new LDAP configs if one is already presentArthur Schiwon2018-08-122-2/+8
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | improve fail info and disable cache for a caseArthur Schiwon2018-08-122-1/+2
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Phpunit changed, use proper Assert classArthur Schiwon2018-08-121-7/+7
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | tests for user storage locationArthur Schiwon2018-08-103-11/+44
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | convert pagination testsArthur Schiwon2018-08-093-21/+83
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | convert connection testsArthur Schiwon2018-08-092-0/+31
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix prov testsArthur Schiwon2018-08-091-0/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | simplify tests and move some out to a new feature as we need a pristineArthur Schiwon2018-08-092-27/+23
| | | | | | | | | | | | | | | | | | database for them Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | integration test to ensure entries without displayname don't cause troubleArthur Schiwon2018-08-092-12/+22
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | login does not save the responseArthur Schiwon2018-08-091-0/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | convert LDAP offline and backup server integration testsArthur Schiwon2018-08-092-0/+40
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | integration test checking the group filterArthur Schiwon2018-08-092-0/+74
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | check user detailsArthur Schiwon2018-08-092-2/+29
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | behat integration tests for LDAP, basic setupArthur Schiwon2018-08-093-1/+36
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / Pass HttpHeader as arrayDaniel Kesselberg2018-08-121-2/+2
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add integration test for creating room shares when Talk is not enabledDaniel Calviño Sánchez2018-08-082-0/+36
| | | | | | | | The test just ensures that the controller will gracefully reject the creation instead of failing miserably; the integration tests when Talk is enabled are in the Talk repository. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for searching files by commentsDaniel Calviño Sánchez2018-07-253-0/+357
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix transfering ownership of a share to user with same id as receiverDaniel Calviño Sánchez2018-07-241-0/+13
| | | | | | | | | When the ownership of a user share is transfered to the receiver the share is removed, as the receiver now owns the original file. However, due to a missing condition, any share with a group, link or remote with the same id as the user was removed, not only the user shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Bump karma configJohn Molakvoæ (skjnldsv)2018-07-202-4/+7457
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* add some integration testsBjoern Schiessle2018-07-112-0/+121
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix the behat version to 3.3.*Joas Schilling2018-07-091-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix integration tests for Federation 2.0Morris Jobke2018-07-041-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add ocm-provider to the list of expected filesBjoern Schiessle2018-07-021-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Extend integration tests to get the info of a group share as a shareeDaniel Calviño Sánchez2018-06-291-0/+73
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Check all paths for own files and sharesDaniel Calviño Sánchez2018-06-281-1/+7
| | | | | | | | Add "PARENT (2)" and its subdirectories to the paths to be checked, as before only the own "PARENT" folder was being checked, but not the shared one. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix filenames in sharing integration testsDaniel Calviño Sánchez2018-06-281-3/+3
| | | | | | | | | | | | | When a file is shared and the receiver of the share already has a file with the same name that file is left untouched, and "(2)" is appended to the name of the shared file. As "textfile0.txt" is included in the user folder skeleton all the users in the integration test have that file, so when it is shared the receiver sees the share as "/textfile0 (2).txt", and her own file as "/textfile0.txt". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix integration testsJohn Molakvoæ (skjnldsv)2018-06-251-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed phpunit Test classJohn Molakvoæ (skjnldsv)2018-06-1311-70/+81
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update phpunit/phpunit requirement to ~6.5 in /build/integrationdependabot[bot]2018-06-131-1/+1
| | | | | | | | Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/commits/6.5.8) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-06-121-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Copyright fix, changed vue settings output name and fixes template nameJohn Molakvoæ (skjnldsv)2018-06-121-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>