summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Use false because null crashes the cacheJoas Schilling2017-03-261-3/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure blob columns are correctly converted as parametersJoas Schilling2017-03-261-1/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve error message of charset convert script and behaviourMorris Jobke2017-03-231-4/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Address commentsMorris Jobke2017-03-211-1/+1
| | | | | | | | | * fix URL to documentation * improve logic of UTF8mb4 check * fix connection parameter creation - it's done already in ConnectionFactory::createConnectionParams * remove unused attributes of MDB2SchemaReader Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adding tests for 4 byte unicode charactersMorris Jobke2017-03-211-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Merge pull request #3952 from nextcloud/downstream-27209Morris Jobke2017-03-201-0/+26
|\ | | | | Log files:scan exception, add InterruptedException
| * Log files:scan exception, add InterruptedExceptionVincent Petry2017-03-201-0/+26
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3947 from nextcloud/downstream-27323Morris Jobke2017-03-201-0/+5
|\ \ | | | | | | Disable empty password for user::resetpassword command using CLI
| * | Disable empty password for user::resetpassword command using CLISujith H2017-03-201-0/+5
| |/ | | | | | | | | | | | | Fixes issue: https://github.com/owncloud/core/issues/25206 Signed-off-by: Sujith H <sharidasan@owncloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | ownC -> NextcMorris Jobke2017-03-191-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update the occ:encrypt-all promptMatthew Setter2017-03-191-4/+4
|/ | | | | | | | The message isn't as clear, nor as succinct, as it could be. Given that, this commit seeks to address both those points. This commit was prompted by https://github.com/owncloud/documentation/pull/2835. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-192-6/+6
| | | | | | * 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-223-101/+22
| | | | | | | | | | | | | | 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>
* Update the email in the accounts table as wellJoas Schilling2017-02-081-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Filter out sensitive appconfig valuesJoas Schilling2017-01-111-2/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2724 from nextcloud/fix-23591Lukas Reschke2016-12-212-7/+16
|\ | | | | [downstream] Report failures for SignApp and SignCore
| * Check return value for file_put_contents. Add return value to the commandsVictor Dubiniuk2016-12-162-7/+16
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Return 1 if integrity check is failed. Fixes #22806Victor Dubiniuk2016-12-162-0/+6
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Check for nextcloud version as wellLukas Reschke2016-12-051-1/+1
| | | | | | The code checker didn't consider the "nextcloud" version before, resulting in fails such as https://travis-ci.org/nextcloud/richdocuments/jobs/181470760#L415-L416 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* It's NextcloudMarius Blüm2016-11-161-1/+1
| | | | Signed-off-by: Marius Blüm <marius@lineone.io>
* Fix testsLukas Reschke2016-10-311-2/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove removed --dry-run command from occ help (#26352)Vincent Petry2016-10-211-6/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Autocomplete for l10n:* and twofactorauth:*Joas Schilling2016-09-294-11/+99
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add autocomplete for db:* and log:*Joas Schilling2016-09-295-9/+120
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add autocomplete for config:*Joas Schilling2016-09-2911-7/+185
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Full support for autocomplete of app:*Joas Schilling2016-09-295-3/+117
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Register the auto completion basicJoas Schilling2016-09-291-1/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused and undefined use statementLukas Reschke2016-09-271-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Kill update simulationVincent Petry2016-09-271-27/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Display an error when updating .htaccess failedJoas Schilling2016-09-131-3/+7
|
* Fix typoJoas Schilling2016-09-071-1/+1
|
* Catch the exception of the password policy appJoas Schilling2016-09-072-5/+18
|
* Fix dbconvertRoeland Jago Douma2016-09-061-19/+18
|
* Move install over to QuestionHelperRoeland Jago Douma2016-09-061-14/+14
|
* Convert resetpassword to question helperRoeland Jago Douma2016-09-061-13/+15
|
* Move to question helperRoeland Jago Douma2016-09-061-12/+11
|
* Switch user:report from deprecated tablehelper to tableRoeland Jago Douma2016-09-061-3/+3
|
* Deprecate getEditionString()Joas Schilling2016-09-061-4/+2
|
* Also fix "occ status"Joas Schilling2016-09-061-2/+4
|
* make disabled apps more clear during upgradeRobin Appelman2016-08-091-2/+2
|
* Exit from upgrade without reporting errorJürgen Haas2016-08-031-1/+1
| | | As reported at https://help.nextcloud.com/t/silent-mode-for-occ-upgrade/2120 we should exit with a return value of 0 (zero) if the current instance is already up to date so that automatic deployment tools don't recognize that as an error.
* Revert (c) back to ownCloud, Inc.Sander Ruitenbeek2016-07-301-1/+1
| | | | To be dealt with later
* Update Upgrade.phpsanderr2016-07-301-1/+1
|
* Rebranded to Nextcloud for the occ command line toolSander Ruitenbeek2016-07-302-5/+5
|
* ownCloud -> NextcloudDaniel Hansson2016-07-281-3/+3
|
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-222-8/+10
| | | | | | | | | | | | | | - 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-2113-13/+13
|
* Fix othersJoas Schilling2016-07-2161-90/+165
|
* add occ command to show user informationRobin Appelman2016-07-191-0/+88
|
* Add commands to add/remove users to/from groupsRobin Appelman2016-07-192-0/+154
|