aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Console
Commit message (Collapse)AuthorAgeFilesLines
* Do not decorate the CLI output if it's explicitly turned offChristoph Wurst2022-04-071-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Write upgrade/not-installed notices to stderrJulius Härtl2021-08-181-3/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Improve maintenance mode infoszaimen2021-07-021-2/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-231-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-042-2/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Less ILoggerJoas Schilling2021-04-271-11/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* forward query exception when fallback construction failsRobin Appelman2021-02-091-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-2/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-052-4/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-221-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Refactor some codeMorris Jobke2018-08-211-15/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adds a memory limit warning for console commands if the limit is below the ↵Michael Weimann2018-08-201-1/+29
| | | | | | recommended value Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Disables the maintenance warning for the maintenance command itself.Michael Weimann2018-07-011-6/+29
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Do not show "Not installed warning" during occ installMorris Jobke2018-01-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixup codeRoeland Jago Douma2017-12-221-1/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixed typoMiha Frangez2017-05-191-1/+1
|
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* ownC -> NextcMorris Jobke2017-03-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* maintenance warning printed on STDERR rather than STDOUTnoveens2017-03-191-1/+3
| | | | | | redundant check removed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-191-1/+1
| | | | | | * preparation for followup PRs to clean up the DB bootstrapping Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert unintentional log timestamp format changeJoas Schilling2017-01-301-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix default value for logdateformat - fixes #3107Morris Jobke2017-01-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* handle errors in apps while registering commandsRobin Appelman2016-11-241-2/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add upgrade command before repair, handle NeedsUpgradeExcaption betterJörn Friedrich Dreyer2016-10-241-29/+34
|
* [9.2] Register commands in info.xml (#26248)Thomas Müller2016-10-111-2/+23
| | | | | | | | | | | | * Use DI to load console commands from the apps - class name to be defined in the info.xml * Load commands from info.xml * Fix unit test * Allow Di magic for IMountManager Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not break the output when running _completionJoas Schilling2016-09-291-5/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Correct name in Console Application.phpblizzz2016-08-041-3/+3
| | | see changes :)
* Fix othersJoas Schilling2016-07-212-4/+6
|
* Use the themed Defaults everywhereJoas Schilling2016-07-151-2/+2
|
* Revert "occ web executor (#24957)"Morris Jobke2016-07-071-2/+1
| | | | This reverts commit 854352d9a064a1e469ede207493bce44fd41d96c.
* occ web executor (#24957)VicDeo2016-06-221-1/+2
| | | | | | | | | | | | * Initial web executor * Fix PHPDoc Fix broken integration test OccControllerTests do not require database access - moch them all! Kill unused sprintf
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Correctly register autoloading before install.php and loading commandsJoas Schilling2016-05-111-1/+1
|
* Move \OC\Console to PSR-4Roeland Jago Douma2016-04-192-0/+254