summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Implement skip checkers and log the currently tested appMorris Jobke2017-05-161-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Skip the code checking for nowJoas Schilling2017-05-161-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check the name length of database itemsJoas Schilling2017-05-161-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check the syntax of the language fileJoas Schilling2017-05-161-0/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Proper logging for appstore updatesMorris Jobke2017-05-111-1/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add console command to migrate the charsetThomas Müller2017-04-281-6/+6
|
* Do not disable 3rdparty apps on occ upgradeMorris Jobke2017-04-271-7/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-1/+2
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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.