summaryrefslogtreecommitdiffstats
path: root/tests/Core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Stop decryption when maintenance mode is enabled, fixes #8311Ruben Homs2019-05-212-8/+54
| | | | Signed-off-by: Ruben Homs <ruben@homs.codes>
* Make appstore app:enable test more robust by using only shipped appsMorris Jobke2019-03-141-3/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14066 from nextcloud/feature/noid/casted-system-valuesJoas Schilling2019-02-222-2/+2
|\ | | | | Get typed system values
| * Fix unit testsJoas Schilling2019-02-222-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use contacts instead of logreaderDaniel Kesselberg2019-02-191-3/+3
| | | | | | | | | | | | Logreader is not distributed by app store because shipped by default. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add install logic for enable commandDaniel Kesselberg2019-02-191-3/+3
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Strict Types, Return TypesDaniel Kesselberg2019-02-192-4/+9
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Disable multiple apps at onceDaniel Kesselberg2019-02-191-0/+84
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Enable multiple apps at onceDaniel Kesselberg2019-02-191-0/+89
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #11765 from nextcloud/feature/mandatory-2fa-for-groupsMorris Jobke2018-10-151-12/+49
|\ | | | | Mandatory 2FA for groups
| * Make it possible to enforce mandatory 2FA for groupsChristoph Wurst2018-10-151-12/+49
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-allEvgeny Golyshev2018-10-142-0/+6
|/ | | | Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
* Add mandatory 2FA service/classChristoph Wurst2018-09-301-0/+110
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only allow 2FA state changs if providers support the operationChristoph Wurst2018-09-254-100/+306
| | | | | | | | Ref https://github.com/nextcloud/server/issues/11019. Add `twofactorauth:cleanup` command Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add an options to create and remove groups via occDenis Mosolov2018-08-162-0/+246
| | | | Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
* Adds an info if the maintenance mode is already enabled/disabled.Michael Weimann2018-07-011-0/+147
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Set the default log rotate size to 100 MBMorris Jobke2018-04-111-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* update unit testsBjoern Schiessle2018-03-021-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix testsRoeland Jago Douma2017-12-181-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add command to apply updates to custom themesJulius Härtl2017-07-051-0/+82
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Clean up single user modeMorris Jobke2017-02-223-144/+12
| | | | | | | | | | | | | | Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsJoas Schilling2017-01-121-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* User command enable/disable testsRoeland Jago Douma2016-12-302-0/+188
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add Group Command testsRoeland Jago Douma2016-12-293-0/+365
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add tests for 2FA commandsRoeland Jago Douma2016-12-202-0/+198
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2016-09-063-12/+12
| | | | | | * hasParameterOption has an additional default value which we must match in the return map * Fix deprecated getMock calls
* Fix depreccated getMock in Core/Command testsRoeland Jago Douma2016-09-0122-90/+167
|
* Renamed test classes for file logging tests.Thomas Pulzer2016-07-221-1/+1
|
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-222-6/+6
| | | | | | | | | | | | | | - Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490.
* Use argument instead of valueJoas Schilling2016-07-141-20/+18
|
* FIx my emailJoas Schilling2016-07-131-1/+1
|
* Add tests for set/get/delete/listJoas Schilling2016-07-131-5/+234
|
* Make sure the exception is catchedJoas Schilling2016-07-131-5/+31
|
* Add tests for checkInput()Joas Schilling2016-07-131-0/+211
|
* Changed name of default logfile from owncloud.log to nextcloud.log.Thomas Pulzer2016-07-041-2/+2
|
* Move tests/core/ to PSR-4Joas Schilling2016-05-1921-0/+3396