summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Merge pull request #2327 from nextcloud/exclude-pre-releasesChristoph Wurst2016-11-281-18/+38
|\ \ | |/ |/| Exclude pre-release versions as per SemVer
| * Exclude pre-release versions as per SemVerLukas Reschke2016-11-251-18/+38
| | | | | | | | | | | | | | | | As SemVer can be used apps could define a release like "10.0.0-alpha". This is something that we don't support at the moment in the server and we should filter all prereleases. Ref https://github.com/nextcloud/server/pull/2307#issuecomment-262911588 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2276 from nextcloud/update-email-addressMorris Jobke2016-11-253-35/+484
|\ \ | |/ |/| Update email address
| * bring back setEmailAddress for the user managementBjoern Schiessle2016-11-252-9/+218
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * update accounts table if email address or display name changes from outsideBjoern Schiessle2016-11-251-15/+24
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * update email address correctlyBjoern Schiessle2016-11-231-20/+251
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Add Identityproof testsRoeland Jago Douma2016-11-243-1/+250
| | | | | | | | | | | | | | | | | | * Add tests for Key * Add tests for Manager * Add tests for Signer * Removed URLGenerator from Signer Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Loop for newest version in appstore responseLukas Reschke2016-11-242-4/+1861
| | | | | | | | | | | | | | | | | | | | The current implementation when fetching apps from the appstore is to assume that the first element is the newest version, this is now always applicable and leads to the fact that for some apps (e.g. nextant) the newest version is not delivered. This can be easily tested by comparing the version of the downloaded Nextant version. This change will loop over all releases delivered by the appstore and chooses the newest compatible one. While not the cleanest solution, it does its job. Most of the code are actually unit tests. Whereas I have copied the whole original response from the appstore and also have performed the transformation. So that's why the diff looks so huge. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Harden cookies more appropriateLukas Reschke2016-11-231-0/+70
|/ | | | | | | | | | This adds the __Host- prefix to the same-site cookies. This is a small but yet nice security hardening. See https://googlechrome.github.io/samples/cookie-prefixes/ for the implications. Fixes https://github.com/nextcloud/server/issues/1412 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #1972 from nextcloud/invalid-files-from-scannerRoeland Jago Douma2016-11-222-1/+27
|\ | | | | Make sure we don't scan files that can not be accessed
| * Move the validation into one place onlyJoas Schilling2016-11-211-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Make sure we don't scan files that can not be accessedJoas Schilling2016-11-211-0/+26
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2214 from nextcloud/remove-loggingRobin Appelman2016-11-213-181/+0
|\ \ | | | | | | remove old logging section
| * | update testsRobin Appelman2016-11-213-181/+0
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Adjust unit testsLukas Reschke2016-11-211-2/+6
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix changing display names for subadminsLukas Reschke2016-11-211-7/+42
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add a signer class for signingLukas Reschke2016-11-212-0/+167
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | fix unit testsBjoern Schiessle2016-11-211-74/+7
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | push public user data to the lookup serverBjoern Schiessle2016-11-211-0/+4
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | remove old test classBjoern Schiessle2016-11-211-173/+0
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | fix unit testsBjoern Schiessle2016-11-211-0/+202
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | allow to change display names in the user settings againBjörn Schießle2016-11-211-0/+1
| | | | | | | | | | | | keep display name and email address in sync with the accounts table Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | introduce accounts table and keep it up-to-date with the data added to the ↵Björn Schießle2016-11-211-0/+173
|/ | | | | | personal settings Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1602 from nextcloud/ignore-mod-envLukas Reschke2016-11-181-0/+10
|\ | | | | Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env
| * Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_envFelix Epp2016-11-161-0/+10
| | | | | | | | | | | | | | Added the system config which sets all conditions to true that query the FrontControllerActive mod_env variable. Signed-off-by: Felix A. Epp <work@felixepp.de>
* | Merge pull request #2076 from nextcloud/log_preview_accessMorris Jobke2016-11-181-1/+67
|\ \ | | | | | | Dispatch event on preview request
| * | Dispatch event on preview requestRoeland Jago Douma2016-11-101-1/+67
| | | | | | | | | | | | | | | | | | Fixes: #73 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #1447 from nextcloud/password-confirmation-for-some-actionsMorris Jobke2016-11-182-1/+8
|\ \ \ | | | | | | | | Password confirmation for some actions
| * | | Fix unit testsJoas Schilling2016-11-182-1/+8
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #768 from nextcloud/s3-objectstoreRobin Appelman2016-11-187-177/+434
|\ \ \ \ | | | | | | | | | | Add S3 objectstore backend
| * | | | add tests for FileInfo::isMountedRobin Appelman2016-11-161-0/+46
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | add tests for http/outputRobin Appelman2016-11-161-0/+31
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | add amazon s3 objectstore backendRobin Appelman2016-11-161-0/+38
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | split testing of objectstoragestorage and objectstore implementationsRobin Appelman2016-11-164-177/+319
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #2177 from nextcloud/appmanager-getapppathMorris Jobke2016-11-171-0/+10
|\ \ \ \ \ | | | | | | | | | | | | Expose getAppPath to public API
| * | | | | Expose getAppPath to public APIJulius Haertl2016-11-171-0/+10
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | | | | Merge pull request #2163 from nextcloud/app-password-scope-warngingsMorris Jobke2016-11-171-3/+2
|\ \ \ \ \ | |/ / / / |/| | | | fix warnings when updating app password
| * | | | fix warnings when updating app passwordRobin Appelman2016-11-161-3/+2
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / | | Add OCSControllerTestsRoeland Jago Douma2016-11-161-0/+209
|/ / / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | add testRobin Appelman2016-11-161-0/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add test for setting up fake fsRobin Appelman2016-11-162-1/+64
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Adds tests for the AuthSettingsControllerRoeland Jago Douma2016-11-161-0/+23
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Adds NullCache ans NullStorage tests for LockdownRoeland Jago Douma2016-11-162-0/+402
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Adds TokenProvider and Mapper testsRoeland Jago Douma2016-11-162-0/+55
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | add testsRobin Appelman2016-11-162-0/+98
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>