summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Mimetype list integrity check should not fail if it's changed (#15810)John Molakvoæ2019-07-072-72/+108
|\ | | | | Mimetype list integrity check should not fail if it's changed
| * 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 appid argument for integrity:check-appGeorg Ehrke2019-06-251-2/+2
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Stop decryption when maintenance mode is enabled, fixes #8311Ruben Homs2019-05-213-2/+43
| | | | Signed-off-by: Ruben Homs <ruben@homs.codes>
* Fix #15042Temtaime2019-04-181-0/+1
|
* Deduplicate index namesJoas Schilling2019-03-271-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure all tables have named indexesJoas Schilling2019-03-271-0/+81
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #14066 from nextcloud/feature/noid/casted-system-valuesJoas Schilling2019-02-225-6/+6
|\ | | | | Get typed system values
| * Make sure maintenance mode is always casted to boolJoas Schilling2019-02-225-6/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix access to groupManagerDaniel Kesselberg2019-02-201-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add install logic for enable commandDaniel Kesselberg2019-02-191-0/+11
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Disable multiple apps at onceDaniel Kesselberg2019-02-191-17/+30
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Enable multiple apps at onceDaniel Kesselberg2019-02-191-21/+63
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* add support for boolean defaultMaxence Lange2019-01-091-1/+5
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> code cleaning Signed-off-by: Maxence Lange <maxence@artificial-owl.com> code cleaning Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Add twofactor_providers_uid indexRoeland Jago Douma2018-12-211-2/+15
| | | | | | Fixes #12943 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add setup check for pending bigint conversionMorris Jobke2018-12-051-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix bigint conversion on SQLiteMorris Jobke2018-12-051-1/+5
| | | | | | * on SQLite primary keys can't be bigint - see https://stackoverflow.com/a/18835967/520507 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show columns to update in CLI interfaceMorris Jobke2018-12-051-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the defined func()->count() instead of manual countingJoas Schilling2018-11-081-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix index namesMorris Jobke2018-11-061-2/+2
| | | | * see #11527
* Merge pull request #11053 from nextcloud/occ-app-update-commandMorris Jobke2018-11-021-0/+125
|\ | | | | occ app update command
| * Log exception in case an app update failsMorris Jobke2018-11-011-1/+7
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Add occ app:update commandMichael Gerber2018-11-011-0/+119
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Revert "Wait for cron to finish before running upgrade command"Morris Jobke2018-11-011-5/+1
|/ | | | | | This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #11627 from nextcloud/feature/noid/cli-remove-appMorris Jobke2018-10-301-0/+149
|\ | | | | Add occ app:remove CLI command
| * Use error styling for exception messagePatrik Kernstock2018-10-101-2/+2
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * Using Throwable instead of ExceptionPatrik Kernstock2018-10-101-2/+3
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * Log exception using ILoggerPatrik Kernstock2018-10-051-1/+14
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * Inject AppManager and Installer, check for shipped app prior removingPatrik Kernstock2018-10-051-6/+29
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * Run uninstall tasks by default, added '--keep-data' parameterPatrik Kernstock2018-10-051-0/+19
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * Add occ app:remove CLI commandPatrik Kernstock2018-10-051-0/+93
| | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* | Merge pull request #11765 from nextcloud/feature/mandatory-2fa-for-groupsMorris Jobke2018-10-151-6/+31
|\ \ | | | | | | Mandatory 2FA for groups
| * | Make it possible to enforce mandatory 2FA for groupsChristoph Wurst2018-10-151-6/+31
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-allEvgeny Golyshev2018-10-142-0/+16
|/ / | | | | | | Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
* | Rename method to abortIfInterruptedDaniel Kesselberg2018-10-081-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Refactor method to throw exception instead of true/falseDaniel Kesselberg2018-10-071-7/+11
|/ | | | 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>
* Add uid_owner and uid_initiator share tabe indicesRoeland Jago Douma2018-10-011-0/+16
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add mandatory 2FA service/classChristoph Wurst2018-09-301-0/+91
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only allow 2FA state changs if providers support the operationChristoph Wurst2018-09-254-14/+92
| | | | | | | | Ref https://github.com/nextcloud/server/issues/11019. Add `twofactorauth:cleanup` command Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Improve class import and strict typing for generated migration classChristoph Wurst2018-09-071-6/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #10334 from denismosolov/group-addDenis Mosolov2018-08-242-0/+141
|\ | | | | Add options to create/remove groups via occ
| * Add an options to create and remove groups via occDenis Mosolov2018-08-162-0/+141
| | | | | | | | Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
* | Fix generated migration class codeChristoph Wurst2018-08-211-3/+0
|/ | | | | | The `@since` documentation is out of place here. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #10298 from ↵Morris Jobke2018-07-241-1/+1
|\ | | | | | | | | nextcloud/bugfix/talk-714/only-migrate-the-schema-when-moving-database Only create the schema when moving between databases
| * Only create the schema when moving between databasesJoas Schilling2018-07-191-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add filecache index on mtimeRobin Appelman2018-07-191-0/+11
|/ | | | | | Gives searching by mtime and "recent" a proper index to use Signed-off-by: Robin Appelman <robin@icewind.nl>