summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
Commit message (Collapse)AuthorAgeFilesLines
* Add occ app:update commandMichael Gerber2018-11-011-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Log exception using ILoggerPatrik Kernstock2018-10-051-1/+1
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Inject AppManager and Installer, check for shipped app prior removingPatrik Kernstock2018-10-051-1/+1
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Add occ app:remove CLI commandPatrik Kernstock2018-10-051-0/+1
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Add mandatory 2FA service/classChristoph Wurst2018-09-301-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only allow 2FA state changs if providers support the operationChristoph Wurst2018-09-251-6/+3
| | | | | | | | 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-161-0/+2
| | | | Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
* Make 2FA providers statefulChristoph Wurst2018-06-201-0/+1
| | | | | | | | | | | This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Emit event when running ./occ db:add-missing-indicesRoeland Jago Douma2018-05-241-1/+1
| | | | | | | This allows apps to listen to this event in order to also update indecies there. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add autocomplete to migration commandsJoas Schilling2018-05-031-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate the info.xml against the appstore schema fileJoas Schilling2018-02-161-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make occ command more genericBjoern Schiessle2017-12-181-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add occ command to add a index to share_with at the share tableBjoern Schiessle2017-12-181-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Get the Installer via DIMorris Jobke2017-11-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use proper DI for repair commandMorris Jobke2017-10-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a command to manually migrate to big intsJoas Schilling2017-10-131-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add occ app:install commandsualko2017-07-261-1/+2
| | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
* Remove generate change script which doesnt work with migrations anymoreJoas Schilling2017-07-251-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a script to generate a migration from database.xmlJoas Schilling2017-07-251-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not allow to go back on productive systemsJoas Schilling2017-07-051-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Start migrationsJoas Schilling2017-07-051-0/+4
| | | | | | | | | | Fixme: - Install and update of apps - No revert on live systems (debug only) - Service adjustment to our interface - Loading via autoloader Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add command to apply updates to custom themesJulius Härtl2017-07-051-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Adding tests for 4 byte unicode charactersMorris Jobke2017-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * success on SQLite and Postgres * failure on MySQL due to the limited charset that only supports up to 3 bytes Add config option to update charset of mysql to utf8mb4 * fully optional * requires additional options set in the database only disable unicode test on mysql Fixing ctor call Adding docker based unit test execution for mysql utf8mb4 Add mysqlmb4 test configuration to Jenkinsfile fix collation on utf8mb4 Properly setup charset and collation in the doctrine connection Allow files containing 4-byte chars in case the database supports it During setup of a mysql database we try to detect if charset 'utf8mb4' can be used Fix mysql settings Add console command to migrate the charset Set ROW_FORMAT before setting collation to mb4 Also select tables with wrong collation Faster MySQL docker Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-191-3/+3
| | | | | | * preparation for followup PRs to clean up the DB bootstrapping Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Clean up single user modeMorris Jobke2017-02-221-1/+0
| | | | | | | | | | | | | | 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>
* add upgrade command before repair, handle NeedsUpgradeExcaption betterJörn Friedrich Dreyer2016-10-241-3/+3
|
* Fixing ctor callThomas Müller2016-10-191-1/+1
|
* Add config option to update charset of mysql to utf8mb4Morris Jobke2016-10-191-1/+1
| | | | | * fully optional * requires additional options set in the database
* Don't parse info.xml but reuse already cached app infos - fixes #25603 (#25968)Thomas Müller2016-10-071-1/+1
| | | | | | | | * Don't parse info.xml but reuse already cached app infos - fixes #25603 * Use === in InfoParser. Fixes test * InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
* Register the auto completion basicJoas Schilling2016-09-291-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-221-1/+1
| | | | | | | | | | | | | | - 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.
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* add occ command to show user informationRobin Appelman2016-07-191-0/+1
|
* Add commands to add/remove users to/from groupsRobin Appelman2016-07-191-0/+2
|
* add command to list groupsRobin Appelman2016-07-191-0/+2
|
* add occ command to list usersRobin Appelman2016-07-191-0/+1
|
* Add a occ command to list/get user preferencesJoas Schilling2016-07-131-0/+1
|
* Update license headersLukas Reschke2016-05-261-2/+4
|
* add OCC command to enable/disable 2FA for a userChristoph Wurst2016-05-231-0/+7
|
* Do not automatically try to enable index.php-less URLs (#24539)Lukas Reschke2016-05-121-0/+1
| | | | | | | | | | | | | | | | | The current logic for mod_rewrite relies on the fact that people have properly configured ownCloud, basically it reads from the `overwrite.cli.ur l` entry and then derives the `RewriteBase` from it. This usually works. However, since the ownCloud packages seem to install themselves at `/owncloud` (because subfolders are cool or so…) _a lot_ of people have just created a new Virtual Host for it or have simply symlinked the path etc. This means that `overwrite.cli.url` is wrong, which fails hard if it is used as RewriteBase since Apache does not know where it should serve files from. In the end the ownCloud instance will not be accessible anymore and users will be frustrated. Also some shared hosters like 1&1 (because using shared hosters is so awesome… ;-)) have somewhat dubious Apache configurations or use versions of mod_rewrite from the mediveal age. (because updating is money or so…) Anyhow. This makes this explicitly an opt-in configuration flag. If `htaccess.RewriteBase` is set then it will configure index.php-less URLs, if admins set that after installation and don't want to wait until the next ownCloud version they can run `occ maintenance:update:htaccess`. For ownCloud 9.0 we also have to add a repair step to make sure that instances that already have a RewriteBase configured continue to use it by copying it into the config file. That way all existing URLs stay valid. That one is not in this PR since this is unneccessary in master. Effectively this reduces another risk of breakage when updating from ownCloud 8 to ownCloud 9. Fixes https://github.com/owncloud/core/issues/24525, https://github.com/owncloud/core/issues/24426 and probably some more.
* Add occ commands to enable and disable a user + a disabled user can no ↵Thomas Müller2016-05-021-0/+2
| | | | longer login - fixes #23838
* Adding progress to occ maintenance:repairThomas Müller2016-04-281-1/+3
|
* Remove deprecated HTTPHelper from InfoParserThomas Müller2016-04-221-1/+1
|
* Add occ command for updating the data-fingerprintRoeland Jago Douma2016-04-181-0/+1
|
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* CLI commands to check app and core signaturesVictor Dubiniuk2016-02-051-0/+7
|
* Use path instead of app idLukas Reschke2016-01-201-1/+2
| | | | | | This change requires the usage of a path instead of the App ID when signing code. This has the advantage that developers can also sign code under a different location to make it easier. (e.g. remove `.git`, …) Also it adds an example command usage as well as a link to the documentation
* Make it possible to enable apps for groups only via occJoas Schilling2016-01-191-1/+1
|