summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix unit testsJoas Schilling2016-11-182-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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
| * 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-112-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>
* Merge pull request #2052 from nextcloud/ros-definitions-as-php-classMorris Jobke2016-11-093-2/+98
|\ | | | | Use a php class for the definitions to avoid loading problems
| * 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>
* | Generate js codecov coverageRoeland Jago Douma2016-11-091-1/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #2053 from nextcloud/make-sure-we-can-backup-the-command-busMorris Jobke2016-11-081-4/+4
|\ | | | | Make sure the database is not replaced while we make a backup of the …
| * 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>
* | refactor share permission logic into own method to reuse it for the share tabChristoph Wurst2016-11-071-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add settings PersonalControllerRoeland Jago Douma2016-11-061-0/+122
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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 #1109 from nextcloud/add-more-secrets-to-password-reset-linkMorris Jobke2016-11-031-143/+187
|\ | | | | Use mail for encrypting the password reset token as well
| * Fix testsRoeland Jago Douma2016-11-031-166/+174
| | | | | | | | | | | | * Tests fixed and controller coverage to 100% Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * [WIP] Use mail for encrypting the password reset token as wellLukas Reschke2016-11-031-6/+42
| |
* | Merge pull request #1741 from nextcloud/new_previewLukas Reschke2016-11-033-1/+565
|\ \ | | | | | | Improve previews
| * | Add cache 1 day cache to preview endpointRoeland Jago Douma2016-11-031-3/+6
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | More testsRoeland Jago Douma2016-11-031-0/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | 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>