Georg Ehrke
b25f545c99
Convert various columns in oc_mounts to bigint
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-09 20:40:53 +00:00
Łukasz Buśko
4c8ef504f8
Incorrect integer value: '' for column 'password_invalid' while migrating from pg to mysql #14920
...
Signed-off-by: Łukasz Buśko <busko.lukasz@pm.me>
2019-11-26 13:39:24 +00:00
Roeland Jago Douma
f8a4966544
Convert more columns to bigint
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-20 20:35:23 +00:00
Georg Ehrke
27a9b7f3fa
Fix appid argument for integrity:check-app
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-06-25 19:37:17 +00:00
Temtaime
a2339f71b8
Fix #15042
2019-04-18 13:06:25 +00:00
Joas Schilling
592093079f
Deduplicate index names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 13:32:59 +01:00
Joas Schilling
274658629d
Make sure all tables have named indexes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 13:32:59 +01:00
Joas Schilling
2cc4118629
Merge pull request #14066 from nextcloud/feature/noid/casted-system-values
...
Get typed system values
2019-02-22 11:54:20 +01:00
Joas Schilling
0c77cd21f9
Make sure maintenance mode is always casted to bool
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-22 08:25:41 +01:00
Daniel Kesselberg
1d1068753f
Fix access to groupManager
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-20 18:05:21 +01:00
Daniel Kesselberg
75b7d6ae4e
Add install logic for enable command
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:06 +01:00
Daniel Kesselberg
03d3192638
Disable multiple apps at once
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:05 +01:00
Daniel Kesselberg
08907ee3e9
Enable multiple apps at once
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:00 +01:00
Daniel Kesselberg
0b58b0faf3
Do not run getRepairSteps in register_commands
...
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>
2019-02-13 23:06:46 +01:00
Maxence Lange
8002779200
add support for boolean default
...
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>
2019-01-09 11:21:14 +01:00
Roeland Jago Douma
16cc68a2fe
Add twofactor_providers_uid index
...
Fixes #12943
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 13:03:02 +01:00
Morris Jobke
17b2827bbf
Add setup check for pending bigint conversion
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-05 13:42:31 +01:00
Morris Jobke
f57e334f83
Fix bigint conversion on SQLite
...
* on SQLite primary keys can't be bigint - see https://stackoverflow.com/a/18835967/520507
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-05 00:35:09 +01:00
Morris Jobke
d3b4127164
Show columns to update in CLI interface
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-05 00:35:09 +01:00
Joas Schilling
bb352fb667
Use the defined func()->count() instead of manual counting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-08 15:44:45 +01:00
Morris Jobke
4d20c4272f
Fix index names
...
* see #11527
2018-11-06 15:21:16 +01:00
Morris Jobke
8bfbefa117
Merge pull request #11053 from nextcloud/occ-app-update-command
...
occ app update command
2018-11-02 00:41:59 +01:00
Morris Jobke
290ede1292
Log exception in case an app update fails
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-01 17:13:42 +01:00
Michael Gerber
020a9add07
Add occ app:update command
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-01 17:13:12 +01:00
Morris Jobke
f5a1f4bc1b
Revert "Wait for cron to finish before running upgrade command"
...
This reverts commit 18e9631810
.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-01 15:23:40 +01:00
Morris Jobke
13fe7b6fc1
Merge pull request #11627 from nextcloud/feature/noid/cli-remove-app
...
Add occ app:remove CLI command
2018-10-30 00:35:45 +01:00
Morris Jobke
8177fdb0f6
Merge pull request #11765 from nextcloud/feature/mandatory-2fa-for-groups
...
Mandatory 2FA for groups
2018-10-15 10:58:05 +02:00
Christoph Wurst
83e994c11f
Make it possible to enforce mandatory 2FA for groups
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-15 08:22:52 +02:00
Evgeny Golyshev
ec2f02f4a0
Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-all
...
Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
2018-10-14 15:06:14 +03:00
Patrik Kernstock
6a00521128
Use error styling for exception message
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-10-10 18:28:26 +02:00
Patrik Kernstock
4cd7cf86db
Using Throwable instead of Exception
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-10-10 17:32:50 +02:00
Daniel Kesselberg
311de17730
Rename method to abortIfInterrupted
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-08 13:05:00 +02:00
Daniel Kesselberg
14d802b8f3
Refactor method to throw exception instead of true/false
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-07 18:12:38 +02:00
Patrik Kernstock
1973556346
Log exception using ILogger
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-10-05 21:09:13 +02:00
Patrik Kernstock
f27ce6b5a0
Inject AppManager and Installer, check for shipped app prior removing
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-10-05 19:51:50 +02:00
Patrik Kernstock
f8771d3d81
Run uninstall tasks by default, added '--keep-data' parameter
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-10-05 12:49:34 +02:00
Patrik Kernstock
d9469a6b72
Add occ app:remove CLI command
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-10-05 03:08:03 +02:00
Daniel Kesselberg
a4eb3ee508
Validate email in occ command
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-02 22:24:30 +02:00
Daniel Kesselberg
6c805ec9ba
Add --admin-email to cli installer
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-02 22:24:30 +02:00
Roeland Jago Douma
b82cbe04df
Add uid_owner and uid_initiator share tabe indices
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-01 23:59:36 +02:00
Christoph Wurst
259c0ce11d
Add mandatory 2FA service/class
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-30 11:47:29 +02:00
Christoph Wurst
7586b19e52
Only allow 2FA state changs if providers support the operation
...
Ref https://github.com/nextcloud/server/issues/11019 .
Add `twofactorauth:cleanup` command
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-25 09:54:20 +02:00
Christoph Wurst
c5cd8d9166
Improve class import and strict typing for generated migration class
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-07 09:22:57 +02:00
Denis Mosolov
a0b84bc0fc
Merge pull request #10334 from denismosolov/group-add
...
Add options to create/remove groups via occ
2018-08-24 13:46:16 +03:00
Christoph Wurst
eada4cccfc
Fix generated migration class code
...
The `@since` documentation is out of place here.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-08-21 07:50:12 +02:00
Denis Mosolov
0b18e2c75d
Add an options to create and remove groups via occ
...
Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
2018-08-16 10:31:20 +03:00
Morris Jobke
7da815bb04
Merge pull request #10298 from nextcloud/bugfix/talk-714/only-migrate-the-schema-when-moving-database
...
Only create the schema when moving between databases
2018-07-24 16:14:05 +02:00
Robin Appelman
91d3e48ab3
Add filecache index on mtime
...
Gives searching by mtime and "recent" a proper index to use
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-07-19 17:43:20 +02:00
Joas Schilling
891de38080
Only create the schema when moving between databases
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-19 15:32:36 +02:00
Joas Schilling
1ca075a113
Correctly handle users with numeric user ids
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-09 14:22:10 +02:00