summaryrefslogtreecommitdiffstats
path: root/core/Command/Maintenance
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersChristoph Wurst2019-12-059-11/+27
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-228-11/+13
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add function parameter typehintXheni Myrtaj2019-05-291-1/+1
| | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* Do not fail integrity check if mimetype list is changedXheni Myrtaj2019-05-292-72/+108
| | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* Fix #15042Temtaime2019-04-181-0/+1
|
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-222-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not run getRepairSteps in register_commandsDaniel Kesselberg2019-02-131-5/+8
| | | | | | | | getRepairSteps is quite expensive (because every repair step is initialized and their dependencies are injected). Should not call it during register. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Validate email in occ commandDaniel Kesselberg2018-10-021-0/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add --admin-email to cli installerDaniel Kesselberg2018-10-021-0/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Adds an info if the maintenance mode is already enabled/disabled.Michael Weimann2018-07-011-5/+14
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Remove unused import statementsMorris Jobke2018-02-141-4/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix case when overwrite URL is empty during setupMorris Jobke2018-01-151-1/+1
| | | | | | Found while testing strict typing for PHP 7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7531 from nextcloud/ldap/createdistributedRoeland Jago Douma2017-12-181-1/+1
|\ | | | | don't use deprecated method for requesting memcache
| * Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use injected AppManagerRoeland Jago Douma2017-12-181-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Get the Installer via DIMorris Jobke2017-11-251-3/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-064-10/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use proper DI for repair commandMorris Jobke2017-10-241-3/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use appmanager instead of OC_App for check for enabled appMorris Jobke2017-10-231-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add mimetype support for .URL (Windows) and .webloc (macOS) files. Update ↵Thomas Ebert2017-08-311-1/+1
| | | | | | places/link svg. Add filetype/link icon. Add repair step for mime types. Signed-off-by: Thomas Ebert <thomas.ebert@te-online.net>
* Allow to specify the table space on occJoas Schilling2017-08-021-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add command to apply updates to custom themesJulius Härtl2017-07-051-0/+64
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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 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-79/+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>
* Display an error when updating .htaccess failedJoas Schilling2016-09-131-3/+7
|
* Move install over to QuestionHelperRoeland Jago Douma2016-09-061-14/+14
|
* ownCloud -> NextcloudDaniel Hansson2016-07-281-3/+3
|
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix othersJoas Schilling2016-07-218-12/+23
|
* Use the themed Defaults everywhereJoas Schilling2016-07-151-1/+1
|
* Changed the input option for database-port to required when parameter was ↵Thomas Pulzer2016-07-061-1/+1
| | | | | | provided. Added casting database port to int for input sanitation in pgsql and oci connections.
* Added occ install option for database-port.Thomas Pulzer2016-07-061-0/+3
| | | | | Extended the database setup to store the database port. Changed the PostgreSQL connection error message for clarification.
* Allow empty host when installing on oracle via CLI (#25034)Jörn Friedrich Dreyer2016-06-101-1/+6
|
* Update license headersLukas Reschke2016-05-262-1/+2
|
* Do not automatically try to enable index.php-less URLs (#24539)Lukas Reschke2016-05-121-0/+44
| | | | | | | | | | | | | | | | | 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.
* Adding progress to occ maintenance:repairThomas Müller2016-04-281-15/+54
|
* Adding pre- and post-migration repair stepsThomas Müller2016-04-221-6/+22
|
* Add occ command for updating the data-fingerprintRoeland Jago Douma2016-04-181-0/+53
|
* Rename files to be PSR-4 compliantLukas Reschke2016-04-066-0/+648