summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | explicit typesRobin Appelman2016-11-161-1/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | cast to intRobin Appelman2016-11-161-4/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | update testsRobin Appelman2016-11-161-1/+7
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix InfoParser empty testsJoas Schilling2016-11-161-1/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix activity manager testsJoas Schilling2016-11-161-38/+32
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2137 from nextcloud/make-sure-tests-run-on-phpunit-4-againRoeland Jago Douma2016-11-154-5/+108
|\ \ | | | | | | Add a magic wrapper to allow phpunit4 to run the code again
| * | Add a magic wrapper from hell to allow phpunit4 to run the code againJoas Schilling2016-11-154-5/+108
| | | | | | | | | | | | | | | | | | | | | Remove this once phpunit 5 is the lowest supported version, by reverting: https://github.com/nextcloud/server/pull/2137 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Endpoint is now 11.0.0Lukas Reschke2016-11-151-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Adjust previous fallbacksLukas Reschke2016-11-151-2/+14
|/ / | | | | | | | | | | 11.0 is 11 and not 9.2 anymore Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #2114 from nextcloud/downstream-26498Roeland Jago Douma2016-11-141-0/+1
|\ \ | | | | | | make object prefix configurable
| * | make object prefix configurableJörn Friedrich Dreyer2016-11-141-0/+1
| | |
* | | Introduce an event for first time login based on the last login time stampThomas Müller2016-11-141-0/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | Use firstLogin event to trigger creation of default calendar and default address book Delay login of admin user after setup so that firstLogin event can properly be processed for the admin Fixing tests ... Skeleton files are not copied over -> only 3 cache entries are remaining Use updateLastLoginTimestamp to properly setup lastLogin value for a test user
* | Merge pull request #2067 from nextcloud/fileinfo-lazy-substoragesMorris Jobke2016-11-142-10/+17
|\ \ | | | | | | only query substorages to calculate the final mtime/size/etag when we need it