aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Expose getAppPath to public APIJulius Haertl2016-11-171-0/+10
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | 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 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>
* 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>
* 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
| * only query substorages to calculate the final mtime/size/etag lazilyRobin Appelman2016-11-102-10/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Prevent downgrade attacks for appsLukas Reschke2016-11-111-2/+89
|/ | | | | | | | We should verify the app versions when installing a new update, otherwise this could result in downgrade attacks when an attacker just copies the old signature. Plus it prevents the case that in case of a bug in the appstore actually an older version gets installed. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add test and adjust PHP function argumentsLukas Reschke2016-11-091-0/+9
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add tests for validity of the definitionsJoas Schilling2016-11-091-0/+84
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use a php class for the definitions to avoid loading problemsJoas Schilling2016-11-092-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure the database is not replaced while we make a backup of the serviceJoas Schilling2016-11-081-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Cleanup OC_Group usage a bitRoeland Jago Douma2016-11-041-206/+220
| | | | | | This is deprecated internal stuff. Should not be used anymore. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1741 from nextcloud/new_previewLukas Reschke2016-11-032-1/+339
|\ | | | | Improve previews
| * Added genertor helper & testsRoeland Jago Douma2016-11-031-0/+338
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Fix urlgenerator testRoeland Jago Douma2016-11-031-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #1994 from nextcloud/proper-cron-hintsRoeland Jago Douma2016-11-031-1/+3
|\ \ | |/ |/| Show a hint for system based cron user name
| * Show a hint for system based cron user nameMorris Jobke2016-11-031-1/+3
| | | | | | | | | | | | | | | | | | * makes it easier to setup cron job * gives hints for PHP documentation * disables the cron setting if requirements not met * fixes #1989 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #1915 from nextcloud/downstream-26398Lukas Reschke2016-11-039-80/+396
|\ \ | |/ |/| Add using casing check/fix for initMountPoints
| * Adjust tests and DI for Share.phpLukas Reschke2016-11-023-5/+28
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * DI for root.phpLukas Reschke2016-11-026-131/+307
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * Fix mock warning in some FS tests (#26464)Vincent Petry2016-11-022-2/+2
| |
| * Add using casing check/fix for initMountPointsVincent Petry2016-11-024-2/+119
| |
* | Merge pull request #1978 from nextcloud/remove-send-mail-optionMorris Jobke2016-11-021-40/+16
|\ \ | |/ |/| Remove send mail option
| * remove 'send mail notification' option from sharing, replaced by ↵Bjoern Schiessle2016-11-021-40/+16
| | | | | | | | | | | | send-by-mail feature Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #1981 from nextcloud/multibucket-num-bucketsLukas Reschke2016-11-022-9/+13
|\ \ | | | | | | Allow setting a maximun number of buckets for multibucket
| * | Allow setting a maximun number of buckets for multibucketRobin Appelman2016-11-022-9/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add testsLukas Reschke2016-11-022-0/+139
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Inject config and loggerJoas Schilling2016-11-022-7/+29
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #1347 from nextcloud/bring-back-remember-meMorris Jobke2016-11-024-170/+403
|\ \ \ | | | | | | | | fix remember me login
| * | | Add missing tests and fix PHPDocLukas Reschke2016-11-022-3/+160
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | inject ISecureRandom into user session and use injected config tooChristoph Wurst2016-11-021-49/+60
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | bring back remember-meChristoph Wurst2016-11-024-136/+201
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | * try to reuse the old session token for remember me login * decrypt/encrypt token password and set the session id accordingly * create remember-me cookies only if checkbox is checked and 2fa solved * adjust db token cleanup to store remembered tokens longer * adjust unit tests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #1940 from nextcloud/new-appstoreMichael Grosser2016-11-0211-1202/+1245
|\ \ \ | |/ / |/| | Use new appstore API
| * | Add tests for installer methodLukas Reschke2016-10-312-0/+522
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | Add update supportLukas Reschke2016-10-314-77/+279
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | Use substr and explode instead of a regexLukas Reschke2016-10-311-0/+7
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>