aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2872 from nextcloud/admin-settings-split-dbMorris Jobke2017-01-022-136/+232
|\ | | | | split db logic from settings manager and test them separately
| * split db logic from settings managerRobin Appelman2016-12-282-136/+232
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #2912 from nextcloud/increase-coverage-response.phpLukas Reschke2017-01-021-3/+24
|\ \ | | | | | | Add 100% coverage for response.php
| * | Add 100% coverage for response.phpLukas Reschke2017-01-021-3/+24
| | | | | | | | | | | | | | | | | | While already at https://github.com/nextcloud/server/pull/2911 I thought I can as well finish that one as well... Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #2911 from nextcloud/rebrand-to-nextcloud-server-crawlerLukas Reschke2017-01-021-4/+67
|\ \ \ | |/ / |/| | Rebrand to "Nextcloud" and add 100% coverage
| * | Rebrand to "Nextcloud" and add 100% coverageLukas Reschke2017-01-021-4/+67
| | | | | | | | | | | | | | | | | | Noticed while debugging https://github.com/nextcloud/server/issues/2910 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | adjust testRobin Appelman2017-01-021-4/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | add ci support for s3 object storeRobin Appelman2017-01-022-0/+20
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #2892 from nextcloud/usercontroller_testsRoeland Jago Douma2016-12-301-0/+76
|\ \ \ | | | | | | | | Adds user controller tests
| * | | Adds user controller testsRoeland Jago Douma2016-12-301-0/+76
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / User command enable/disable testsRoeland Jago Douma2016-12-302-0/+188
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add Group Command testsRoeland Jago Douma2016-12-293-0/+365
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #2854 from nextcloud/2fa-redirect-urlRobin Appelman2016-12-281-0/+1
|\ \ | |/ |/| Set redirect_url on 2FA challenge page
| * Set redirect_url on 2FA challenge pageChristoph Wurst2016-12-231-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #2845 from nextcloud/deleteuser-gethomeearlyLukas Reschke2016-12-271-0/+32
|\ \ | |/ |/| Get user home folder before deletion
| * Get user home folder before deletionVincent Petry2016-12-231-0/+32
| | | | | | | | | | | | | | After the deletion getHome() will fail because the user doesn't exist any more, so we need to fetch that value earlier. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2833 from nextcloud/downstream-26750Lukas Reschke2016-12-232-221/+232
|\ \ | | | | | | Introduce group display name support (#26750)
| * | fix more testsArthur Schiwon2016-12-221-23/+23
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Fix reporting of risky testsThomas Müller2016-12-221-1/+3
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Adding group display name supportVincent Petry2016-12-221-214/+223
| |/
* | Remove legacy home testsVincent Petry2016-12-231-31/+0
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Nuke the legacy storage fallback from orbitVincent Petry2016-12-231-8/+0
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #2633 from nextcloud/2fa-activitiesMorris Jobke2016-12-221-4/+77
|\ | | | | two-factor activities
| * fix 2fa activities testsChristoph Wurst2016-12-201-4/+77
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #2761 from ↵Björn Schießle2016-12-221-52/+98
|\ \ | | | | | | | | | | | | nextcloud/dont-resolve-shares-if-public-sharing-is-disabled Don't resolve public share token if public sharing is disabled
| * | Don't resolve public share token if public sharing is disabledLukas Reschke2016-12-201-52/+98
| |/ | | | | | | | | | | Otherwise disabling sharing does prevent access to the view controllers but one can still access the shares using the public preview route or the public WebDAV endpoint. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2563 from nextcloud/fix-password-resetMorris Jobke2016-12-221-0/+39
|\ \ | | | | | | fix password reset if encryption is enabled
| * | fix password reset if encryption is enabledBjoern Schiessle2016-12-081-0/+39
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Extend APCu test with int CASRoeland Jago Douma2016-12-211-0/+12
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #2724 from nextcloud/fix-23591Lukas Reschke2016-12-214-27/+217
|\ \ \ | | | | | | | | [downstream] Report failures for SignApp and SignCore
| * | | Add proper testsLukas Reschke2016-12-194-29/+202
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | Update testsVictor Dubiniuk2016-12-161-1/+18
| | |/ | |/| | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #2784 from nextcloud/2fa_command_testsLukas Reschke2016-12-212-0/+198
|\ \ \ | | | | | | | | Add tests for 2FA commands
| * | | Add tests for 2FA commandsRoeland Jago Douma2016-12-202-0/+198
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #2769 from nextcloud/improve_user_user_coverageMorris Jobke2016-12-201-49/+204
|\ \ \ | | | | | | | | Improve OC\User\User coverage
| * | | Improve OC\User\User coverageRoeland Jago Douma2016-12-201-49/+204
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / Remove obsolete RepairLegacyStorages repair stepVincent Petry2016-12-191-321/+0
|/ / | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Clear appstore cache on version upgradeRoeland Jago Douma2016-12-153-7/+131
| | | | | | | | | | | | | | | | | | * Add version to cached json * Compare version * Updated calls * Updated tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #2665 from nextcloud/remove-db-class-and-interfaceRoeland Jago Douma2016-12-141-2/+0
|\ \ | | | | | | Remove IDb interface which was deprecated for 3 years already
| * | Remove IDb interface which was deprecated for 3 years alreadyJoas Schilling2016-12-141-2/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Use the mocked config versionJoas Schilling2016-12-141-5/+6
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add a unit testJoas Schilling2016-12-131-0/+132
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't use cached informations for app versionLukas Reschke2016-12-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | When installing an app from the appstore the `\OC_App::getAppVersion` code is triggered twice: - First when the downloader tries to compare the current version to the new version on the appstore to check if there is a newer version. This protects against downgrade attacks and is implemented in `\OC\Installer::downloadApp`. - Second, when the app is actually installed the current version is written to the database. (`\OC\Installer::installApp`) This fails however when the version is actually cached. Because in step 1 the cached version will be set to "0" and then be reused in the second step. While this is probably not the cleanest version I assume this is an approach that is least invasive. Feedback and suggestions welcome :) Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Save the timezone on login againJoas Schilling2016-12-081-1/+14
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Document updater channel & check for correct PHP version in updaterMorris Jobke2016-12-061-1/+1
| | | | | | * see https://github.com/nextcloud/updater/issues/53 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2505 from nextcloud/sudo-mode-provisioning-apiMorris Jobke2016-12-051-0/+101
|\ | | | | Require sudo mode on the provisioning API
| * Set last-login-check on basic authRoeland Jago Douma2016-12-051-0/+101
| | | | | | | | | | | | | | | | | | Else the last-login-check fails hard because the session value is not set and thus defaults to 0. * Started with tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #2484 from nextcloud/fix-wrong-update-of-email-addressChristoph Wurst2016-12-051-7/+26
|\ \ | | | | | | make sure that we only update the email address if it really changed
| * | make sure that we only update the email address if it really changedBjoern Schiessle2016-12-021-7/+26
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Merge pull request #2411 from nextcloud/fix-encryption-home-storageMorris Jobke2016-12-051-0/+94
|\ \ \ | |_|/ |/| | check if the file should really be encrypted before we update the file cache