Lukas Reschke
aba539703c
Update license headers
il y a 8 ans
Thomas Müller
6a6fc742dc
Catch class Error on all root entrypoints
il y a 8 ans
Thomas Müller
c609abf075
In case of fatal php errors and other unhandled exceptions no html error page is expected to be displayed in the console
il y a 8 ans
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
il y a 8 ans
Morris Jobke
4f60ee90d6
Don't show PCNTL warning if --no-warnings is passed
* fixes owncloud/updater#252
il y a 8 ans
Victor Dubiniuk
972e0c62b3
Add global --no-warning option to occ in order not to pollute output with warnings
il y a 8 ans
Morris Jobke
244118580a
Fix typo
il y a 8 ans
Joas Schilling
97b907335a
Dispatch an event when a console command is run
il y a 8 ans
Thomas Müller
79d2f3186c
Add startup warning that the PCNTL extensions are missing
il y a 8 ans
Thomas Müller
682821c71e
Happy new year!
il y a 8 ans
Edward Crompton
6d7a5e002c
Whitespace correction
il y a 8 ans
Edward Crompton
6c096ec2b4
Removing the . from the end of the help response to match convention set by other messages
il y a 8 ans
Edward Crompton
61a7728096
Adding a more helpful error message for when occ is run at the console as the wrong user
il y a 8 ans
Morris Jobke
b8ceae68d5
occ command can only be called from ownCloud root directory
* this changes into the ownCloud root directory and then should run just fine
* avoids weird error messages that are caused by this
il y a 8 ans
Morris Jobke
b945d71384
update licence headers via script
il y a 8 ans
Philippe Le Brouster
12b751ddc9
Fix the config.php owner check for console.php
The config directory must be taken from OC::$configDir
Minor fix
- Remove uneeded slash in the configdir path.
il y a 9 ans
Morris Jobke
f63915d0c8
update license headers and authors
il y a 9 ans
Lukas Reschke
4c0a8d327d
Add warning to OCC as well in case another PHP version is used there
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…
il y a 9 ans
Jost Baron
47ddd1794b
Fix error message when wrong user on console
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 .
il y a 9 ans
Thomas Müller
890a18e1a6
Introduce own console application class
il y a 9 ans
Thomas Müller
f099c9883e
Adding check command to validate server environment - fixes #15429
il y a 9 ans
Jenkins for ownCloud
b585d87d9d
Update license headers
il y a 9 ans
Christian Kampka
bf01327cd0
Don't swallow errors in console.php
il y a 9 ans
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
il y a 9 ans
Thomas Müller
bcd10d3dc5
implement command maintenance:install
il y a 9 ans
Jenkins for ownCloud
6a1a4880f0
Updating license headers
il y a 9 ans
Thomas Müller
036a8e3c1f
console commands shall not be limited with respect to execution time - fixes #14156
il y a 9 ans
Thomas Müller
1f01552325
Check for the posix extension - refs https://github.com/owncloud/core/pull/13282#issuecomment-69602645
il y a 9 ans
Thomas Müller
793e1e8d6e
Check for current user to have the same id then the owner of the config file - fixes #12307
il y a 9 ans
Vincent Petry
2b1cd84fcc
Do not load apps when an upgrade is due
This makes it still possible to update from the command line, but
disables custom commands from apps
il y a 10 ans
Thomas Müller
6929549dad
adding try/catch + switch to config object as provided by the server container
il y a 10 ans
Thomas Müller
8b86b94d47
call OC_App::loadApps(); to load all commands of all apps and related functionality
il y a 10 ans
Thomas Müller
0db5fead8e
remove some more global variable $RUNTIME_NOAPPS
il y a 10 ans
Bart Visscher
a9ea99e93d
Add copyright, remove starting blank line
il y a 10 ans
Bart Visscher
f58fefe5e2
Check all installed apps for console commands
il y a 10 ans
Bart Visscher
666bbbe060
Use appinfo/register_command.php to add commands to the console command
il y a 10 ans
Bart Visscher
44b3e71ed4
Cleanup and more style fixes
il y a 11 ans
Bart Visscher
cafc8cb223
Change Files Scan command to use OC\User\Manager
il y a 11 ans
Bart Visscher
0aba549e7f
Use more object oriented way for console commands
il y a 11 ans
Masaki
04b9e77478
replace ident spaces with tabs
il y a 11 ans
Masaki Kawabata Neto
98a04d7c73
added help and status commands
switch structure enables many commands seamlessy.
also added some help and status command.
il y a 11 ans
Thomas Müller
2871d11b5c
adding executable script occ (ownCloud console)
il y a 11 ans
Thomas Müller
58f369d029
more verbose printouts - fixing execution
il y a 11 ans
Bart Visscher
a7a05b321a
Use console.php entry point for file scanning from console
il y a 11 ans