summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Show version from appinfo on occ app:listJulius Härtl2022-11-111-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix repairing non user shares when repairing all sharesRobin Appelman2022-11-081-10/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* split repairing into two stages to prevent long open transactionRobin Appelman2022-11-081-32/+66
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update shares directly in dbRobin Appelman2022-11-081-13/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* More verbose output for repair share ownership cmdVincent Petry2022-11-081-2/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* move share owner repair to occ commandRobin Appelman2022-11-081-0/+134
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #32859 from nextcloud/bug/31973/array-key-might-be-emptyLouis2022-10-111-7/+5
|\ | | | | Fix Uninitialized string offset 0 at GenerateMimetypeFileBuilder.php#39
| * Fix Uninitialized string offset 0 at GenerateMimetypeFileBuilder.php#39Daniel Kesselberg2022-06-281-7/+5
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | properly typehint generated migrationsRoeland Jago Douma2022-10-091-4/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Update ConvertFilecacheBigInt.phptimm2k2022-09-141-0/+1
| | | | | | Signed-off-by: timm2k <timm2k@gmx.de>
* | Parameter of RepairAdvanceEvent is actually an increment, not a step idCôme Chilliet2022-08-252-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Surround cli output with appropriate xml tagsCôme Chilliet2022-08-251-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add void return types to callablesCôme Chilliet2022-08-251-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Migrate Repair events to OCP\EventDispatcher\EventCôme Chilliet2022-08-252-90/+80
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Migrate Migrator::executeSql to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-23/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Remove listeners of \OC\DB\Migrator::checkTable which is never emittedCôme Chilliet2022-08-251-1/+0
| | | | | | | | | | | | See commit a2f3077ee802b4b291ba4f846bfceb69ec0f225f from PR #24384 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Moving to string key for arguments of GenericEvent in RepairCôme Chilliet2022-08-252-14/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Switch to string keys for argument of GenericEvent for OC\DB\MigratorCôme Chilliet2022-08-251-4/+4
| | | | | | | | | | | | It seems checkTable is actually never dispatched? Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classesCarl Schwan2022-08-082-4/+7
|\ \ | | | | | | Remove OCP\App and OCP\BackgroundJob
| * | Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-012-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | DB mounts table: Add index for mount_provider_classMarcel Klehr2022-08-011-0/+13
|/ / | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Fix background-job:execute command for QueuedJob instancesCôme Chilliet2022-07-111-1/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Format the datetime for last run in ATOM formatCôme Chilliet2022-07-111-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use symfony console table to render the job list properlyCôme Chilliet2022-07-112-3/+24
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Code cleaning of Background/ListCommandCôme Chilliet2022-07-111-14/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add command to list jobsCôme Chilliet2022-07-111-0/+95
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix undefined when no tagsDaniel Kesselberg2022-06-281-2/+4
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix importing float valueCarl Schwan2022-06-231-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update core to PHP 7.4 standardCarl Schwan2022-05-2087-714/+240
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #32196 from nextcloud/bugfix/noid/fix-strict-comparisonJoas Schilling2022-05-021-1/+1
|\ | | | | Fix strict comparison
| * Fix strict comparisonJoas Schilling2022-04-271-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove deprecated occ app:check-code commandCôme Chilliet2022-04-281-72/+0
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix type fixingJoas Schilling2022-04-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Give hints on correct migration versioningJoas Schilling2022-04-251-0/+32
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Additional index on oc_preferences to make sure that gettingh values without ↵Julius Härtl2022-04-191-0/+13
| | | | | | a user filter is fast Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to autocomplete user and group ids in commandsJoas Schilling2022-04-0811-10/+205
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31661 from ↵blizzz2022-04-051-1/+1
|\ | | | | | | | | nextcloud/enh/user_ldap-add-command-to-unmap-groups Add ldap:reset-group command to unmap groups from LDAP
| * Add ldap:reset-group command to unmap groups from LDAPCôme Chilliet2022-04-011-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #31687 from nextcloud/enhancement/passwordless-app-passwordsChristoph Wurst2022-04-041-10/+12
|\ \ | |/ |/| Allow app passwords without login password for occ user:add-app-password
| * Allow app passwords without login password for occ user:add-app-passwordChristoph Wurst2022-03-231-10/+12
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #31735 from nextcloud/fix/noid/mig-generator-copyrightCôme Chilliet2022-03-291-0/+24
|\ \ | | | | | | migration generator also includes copyright section
| * | migration generator also includes copyright sectionArthur Schiwon2022-03-281-0/+24
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #31609 from nextcloud/fix/migrate-away-from-iloggerCôme Chilliet2022-03-291-10/+8
|\ \ \ | |/ / |/| | Migrate from ILogger to LoggerInterface in lib/private
| * | Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-10/+8
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / Don't create cards_abiduri it if already existsLouis Chemineau2022-03-241-5/+9
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Allow creating app passwords without validating the user's password againJoas Schilling2022-03-141-4/+1
| | | | | | Aparently the idea behind the command was exactly to do this. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31511 from ↵Joas Schilling2022-03-111-1/+7
|\ | | | | | | | | nextcloud/bugfix/noid/allow-installing-unstable-versions Allow installing unstable app versions based on channel and with `--allow-unstable` just like on updates
| * Allow installing unstable versionsJoas Schilling2022-03-101-1/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Validate the password before generating an apptokenJoas Schilling2022-03-101-2/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Trigger an event to log an activity when an administrator generates an app ↵Joas Schilling2022-03-101-6/+11
|/ | | | | | password Signed-off-by: Joas Schilling <coding@schilljs.com>