summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Correctly handle users with numeric user idsJoas Schilling2018-07-091-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>
* Added a logger for systemd/journaldJohannes Ernst2018-06-291-2/+3
| | | | | | Added a unit test Signed-off-by: Johannes Ernst <jernst@indiecomputing.com>
* Use the correct Base classJoas Schilling2018-06-271-4/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #9632 from nextcloud/enhancement/stateful-2fa-providersMorris Jobke2018-06-251-0/+110
|\ | | | | Stateful 2fa providers
| * Make 2FA providers statefulChristoph Wurst2018-06-201-0/+110
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Use ellipsis instead of triple dotJoas Schilling2018-06-221-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Wait for cron to finish before running upgrade commandMorris Jobke2018-06-191-1/+5
|/ | | | | | * fixes #9562 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add parent index to share tableRoeland Jago Douma2018-06-031-1/+9
| | | | | | Fixes #9327 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add human readable description to migration stepsRobin Appelman2018-05-301-1/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Emit event when running ./occ db:add-missing-indicesRoeland Jago Douma2018-05-241-7/+15
| | | | | | | 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-035-11/+145
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set the default log rotate size to 100 MBMorris Jobke2018-04-111-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* s/ownCloud/NextcloudBjoern Schiessle2018-03-011-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix check and improve error messageBjoern Schiessle2018-03-011-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Anything but true means it failedJoas Schilling2018-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #6481 from nextcloud/occ-app-install-enableMorris Jobke2018-02-261-0/+13
|\ | | | | add enable flag to occ app:install
| * enable app by default after occ app:installsualko2018-02-261-3/+3
| | | | | | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
| * add enable flag to occ app:install (fix #5834)sualko2018-02-261-0/+13
| | | | | | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
* | Add mtime and storage_mtime to db:convert-filecache-bigintAlecks Gates2018-02-171-1/+1
|/
* App manager is not needed anymoreJoas Schilling2018-02-161-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate the info.xml against the appstore schema fileJoas Schilling2018-02-161-50/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #8335 from nextcloud/remove-unused-importMorris Jobke2018-02-1413-26/+0
|\ | | | | Remove unused import statements
| * Remove unused import statementsMorris Jobke2018-02-1413-26/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use non aliased method insteadMorris Jobke2018-02-133-4/+4
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-3/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-265-5/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-261-2/+1
|\ | | | | Return value immediately instead of assigning to a one-time variable
| * Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Implements are not needed because they are already done by base classMorris Jobke2018-01-251-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7354 from nextcloud/refacor-update-page-printblizzz2018-01-221-1/+2
|\ | | | | Refactor method to check if update is needed
| * Refactor method to check if update is neededMorris Jobke2017-11-301-1/+2
| | | | | | | | | | | | There was only one call, that actually needed the parameter to be set to true. So this change moved the print of the page to that location and replaces all other occurences with a direct call to the underlying OCP API. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove not needed 3rdparty app disabling during upgrade for PHP 5.xMorris Jobke2018-01-191-13/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-172-6/+6
| | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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 #7517 from nextcloud/add-index-to-share-tableRoeland Jago Douma2017-12-181-0/+91
|\ \ | | | | | | Add index to share_with column in the share table
| * | make occ command more genericBjoern Schiessle2017-12-181-7/+25
| | | | | | | | | | | | 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/+73
| |/ | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | 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-253-12/+17
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-0631-25/+59
| | | | 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>
* Also update the activity table with thisJoas Schilling2017-10-131-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a command to manually migrate to big intsJoas Schilling2017-10-131-0/+101
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix missing "unsigned" on integer columnsJoas Schilling2017-09-191-0/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>