summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Dont use the permissions mask while scanningRobin Appelman2017-04-101-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #4230 from nextcloud/stable11-increase-versionRoeland Jago Douma2017-04-071-1/+1
|\ | | | | [stable11] Increase to 11.0.3 RC1
| * Fix testLukas Reschke2017-04-061-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Save the scope of an auth token in the sessionRobin Appelman2017-04-052-32/+50
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Prevent migration from ownCloud 10 to Nextcloud 11Joas Schilling2017-03-301-84/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit tests and improve appstore logicMorris Jobke2017-03-083-7/+175
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add ETag validation to appstore requestsRoeland Jago Douma2017-03-082-5/+164
| | | | | | | | | | * If the ETag if present store it * If a stored ETag is present then pass it along (with the original response) to get * Add tests * Added files to classmap Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Clear appstore cache on version upgradeRoeland Jago Douma2017-03-083-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 #3511 from nextcloud/backport-3362-stable11Morris Jobke2017-02-161-2/+2
|\ | | | | [stable11] Fix cookie name (nc_token instead of oc_token)
| * fix unit testsMorris Jobke2017-02-161-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix unit testsMorris Jobke2017-02-161-1/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3436 from nextcloud/stable11-increase-versionLukas Reschke2017-02-101-1/+1
|\ | | | | Increase version to 11.0.2 RC1
| * Increase version to 11.0.2 RC1Lukas Reschke2017-02-101-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #3259 from ↵Lukas Reschke2017-02-101-18/+0
|\ \ | |/ |/| | | | | nextcloud/add-profile-data-to-provisioning-api-stable11 Add profile data to provisioning api stable11
| * unify endpoints form core and the the provisioning apiBjoern Schiessle2017-01-251-18/+0
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix testsJoas Schilling2017-02-072-0/+29
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2953 from nextcloud/backport-2797-sudo-password-with-ldapJoas Schilling2017-01-232-2/+14
|\ | | | | [stable11] Use login name to fix password confirm with ldap users
| * Remove warningJoas Schilling2017-01-051-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix testsJoas Schilling2017-01-051-1/+13
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Apply DOMPurify over HTMLLukas Reschke2017-01-171-1/+2
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix JSUnit testsMorris Jobke2017-01-171-1/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix testsJoas Schilling2017-01-171-8/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Better fallback for unknown log typesJoas Schilling2017-01-101-2/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add testsJoas Schilling2017-01-101-0/+16
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | dont write a certificate bundle if the shipped ca bundle is emptyRobin Appelman2017-01-091-3/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Set redirect_url on 2FA challenge pageChristoph Wurst2017-01-091-0/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Increase version to 11.0.1Lukas Reschke2016-12-291-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* 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
| * | check if the file should really be encrypted before we update the file cacheBjoern Schiessle2016-11-291-0/+94
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | update testRobin Appelman2016-12-021-1/+1
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add testsLukas Reschke2016-12-011-0/+71
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | LanguageMorris Jobke2016-11-301-68/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #2152 from nextcloud/preview_cleanupjobMorris Jobke2016-11-302-0/+371
|\ \ | | | | | | Adds background job to cleanup all previews.
| * | Add test if repair step is already doneRoeland Jago Douma2016-11-191-1/+43
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Adds background job to cleanup all previews.Roeland Jago Douma2016-11-192-0/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * A repair step that inserts a background job for each user * Each background job will delete for 15 seconds if it takes longer we reschedule. This is done so instances that don't use the system cron won't time out. * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #2066 from nextcloud/fix-redirect-double-encodingMorris Jobke2016-11-291-6/+6
|\ \ \ | |_|/ |/| | do not double encode the redirect url
| * | do not double encode the redirect urlChristoph Wurst2016-11-091-6/+6
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #2351 from nextcloud/remember-session-defaultLukas Reschke2016-11-281-3/+43
|\ \ \ | | | | | | | | do not remember session tokens by default
| * | | fix parameter orderChristoph Wurst2016-11-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | do not remember session tokens by defaultChristoph Wurst2016-11-271-3/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have to respect the value of the remember-me checkbox. Due to an error in the source code the default value for the session token was to remember it. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #2353 from nextcloud/renew-session-token-rememberLukas Reschke2016-11-281-1/+11
|\ \ \ \ | | | | | | | | | | copy remember-me value when renewing a session token
| * | | | copy remember-me value when renewing a session tokenChristoph Wurst2016-11-271-1/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On renew, a session token is duplicated. For some reason we did not copy over the remember-me attribute value. Hence, the new token was deleted too early in the background job and remember-me did not work properly. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>