summaryrefslogtreecommitdiffstats
path: root/console.php
Commit message (Collapse)AuthorAgeFilesLines
* Nextcloud 13 is not compatible with newer than php 7.2Roeland Jago Douma2017-12-121-8/+2
| | | | | | | | | | | Just to avoid users from trying this with a to new (untested) php version * Moved the check logic to 1 place * All directly callable scripts just require this on top * exit hard (-1) so we know scripts won't continue * Return status 500 so no sync clients will try fancy stuff Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Brand it :see_no_evil:Lukas Reschke2017-08-111-3/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Check that set_time_limit is not disabled before calling itKo-2017-03-111-1/+3
| | | | Signed-off-by: Ko- <k.stoffelen@cs.ru.nl>
* handle errors in apps while registering commandsRobin Appelman2016-11-241-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Nextcloud runs only on PHP 5.6+Morris Jobke2016-10-251-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove checks whether OC is running on Windows pt. 2RealRancor2016-10-241-1/+1
|
* console.log now returns 1 instead of 0 on all errorsPatrick Paysant2016-10-211-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow to call the files even when you are in another instance atmJoas Schilling2016-10-061-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix othersJoas Schilling2016-07-211-5/+3
|
* Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-081-14/+12
| | | | * the setup check is still there
* Update license headersLukas Reschke2016-05-261-2/+1
|
* Catch class Error on all root entrypointsThomas Müller2016-04-201-0/+2
|
* In case of fatal php errors and other unhandled exceptions no html error ↵Thomas Müller2016-04-181-3/+8
| | | | page is expected to be displayed in the console
* Update author informationLukas Reschke2016-03-011-0/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Don't show PCNTL warning if --no-warnings is passedMorris Jobke2016-02-251-1/+1
| | | | * fixes owncloud/updater#252
* Add global --no-warning option to occ in order not to pollute output with ↵Victor Dubiniuk2016-02-191-1/+2
| | | | warnings
* Fix typoMorris Jobke2016-02-111-1/+1
|
* Dispatch an event when a console command is runJoas Schilling2016-02-051-1/+1
|
* Add startup warning that the PCNTL extensions are missingThomas Müller2016-02-011-0/+4
|
* Happy new year!Thomas Müller2016-01-121-1/+2
|
* Whitespace correctionEdward Crompton2016-01-041-1/+1
|
* Removing the . from the end of the help response to match convention set by ↵Edward Crompton2016-01-041-1/+1
| | | | other messages
* Adding a more helpful error message for when occ is run at the console as ↵Edward Crompton2016-01-041-1/+2
| | | | the wrong user
* occ command can only be called from ownCloud root directoryMorris Jobke2015-12-171-0/+10
| | | | | * this changes into the ownCloud root directory and then should run just fine * avoids weird error messages that are caused by this
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Fix the config.php owner check for console.phpPhilippe Le Brouster2015-07-091-1/+1
| | | | | | | | The config directory must be taken from OC::$configDir Minor fix - Remove uneeded slash in the configdir path.
* update license headers and authorsMorris Jobke2015-06-251-1/+2
|
* Add warning to OCC as well in case another PHP version is used thereLukas Reschke2015-05-081-0/+8
| | | | In regard to a recent rant on social media where users complained about us to have broken the command line tool. Guess reading the documentation is hard…
* Fix error message when wrong user on consoleJost Baron2015-04-281-2/+2
| | | Owncloud complains if the user runs a shell script with a user other than the user that owns `config/config.php`. The error message does not reflect this, and instead speaks about the web server user. Related issue: #15920 .
* Introduce own console application classThomas Müller2015-04-091-32/+4
|
* Adding check command to validate server environment - fixes #15429Thomas Müller2015-04-081-0/+13
|
* Update license headersJenkins for ownCloud2015-03-261-4/+21
|
* Don't swallow errors in console.phpChristian Kampka2015-02-281-0/+1
|
* Revert "Updating license headers"Morris Jobke2015-02-261-19/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* implement command maintenance:installThomas Müller2015-02-231-18/+14
|
* Updating license headersJenkins for ownCloud2015-02-231-5/+19
|
* console commands shall not be limited with respect to execution time - fixes ↵Thomas Müller2015-02-161-0/+3
| | | | #14156
* Check for the posix extension - refs ↵Thomas Müller2015-01-121-0/+4
| | | | https://github.com/owncloud/core/pull/13282#issuecomment-69602645
* Check for current user to have the same id then the owner of the config file ↵Thomas Müller2015-01-121-0/+11
| | | | - fixes #12307
* Do not load apps when an upgrade is dueVincent Petry2014-07-241-6/+12
| | | | | This makes it still possible to update from the command line, but disables custom commands from apps
* adding try/catch + switch to config object as provided by the server containerThomas Müller2014-05-191-20/+25
|
* call OC_App::loadApps(); to load all commands of all apps and related ↵Thomas Müller2014-03-251-0/+3
| | | | functionality
* remove some more global variable $RUNTIME_NOAPPSThomas Müller2014-02-061-1/+0
|
* Add copyright, remove starting blank lineBart Visscher2013-09-191-1/+0
|
* Check all installed apps for console commandsBart Visscher2013-09-141-1/+1
|
* Use appinfo/register_command.php to add commands to the console commandBart Visscher2013-09-131-2/+7
|
* Cleanup and more style fixesBart Visscher2013-09-021-1/+0
|
* Change Files Scan command to use OC\User\ManagerBart Visscher2013-09-021-1/+1
|
* Use more object oriented way for console commandsBart Visscher2013-09-011-29/+8
|