aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
...
| * feat: add commands for exporting current and expected database schemaRobin Appelman2024-07-023-0/+227
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | refactor: simplify background commandsDaniel Kesselberg2024-07-015-85/+46
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #46199 from nextcloud/debt/noid/spdx-migrations-templateDaniel2024-06-291-19/+2
|\ \ | | | | | | chore: use spdx for migrations generator
| * | chore: use spdx for migrations generatorDaniel Kesselberg2024-06-281-19/+2
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / refactor: Use `IAppConfig` for setting cron typeFerdinand Thiessen2024-06-281-6/+5
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-26109-2251/+318
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(db): cs-fix spacingJosh2024-05-181-1/+1
| | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* fix(db): Prevent data loss by temporarily disabling `db:convert-type`Josh2024-05-171-0/+7
| | | | | Needed until #45257 is addressed to prevent data loss Signed-off-by: Josh <josh.t.richards@gmail.com>
* fix: getMountsForFileId may return an unordered listDaniel Kesselberg2024-05-101-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-105-89/+12
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(bg-jobs): support multiple arguments in cron.php and ↵Julien Veyssier2024-05-021-21/+7
| | | | | | occ:background-job:worker for the job class list Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(bg-jobs): review adjustmentsJulien Veyssier2024-05-022-10/+23
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(bg-jobs): allow setting a job class list instead of a single class in ↵Julien Veyssier2024-05-022-10/+32
| | | | | | cron.php and the job worker occ command Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* chore(bg-jobs): more output in verbose mode in the bg job workerJulien Veyssier2024-05-021-3/+7
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(bg-jobs): cs:fixMarcel Klehr2024-05-021-4/+0
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(bg-jobs): fix psalm issuesMarcel Klehr2024-05-022-5/+10
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(bg-jobs): Remove interval bookkeepingMarcel Klehr2024-05-021-36/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(bg-jobs): fix minor issuesMarcel Klehr2024-05-021-7/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(bg-jobs): Fix running once when no job was scheduledJulius Härtl2024-05-023-206/+266
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(bg-jobs): Add background worker occ commandJulius Härtl2024-05-021-0/+206
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #44829 from nextcloud/feat/add-storage-tree-to-info-fileCôme Chilliet2024-04-301-3/+14
|\ | | | | feat(occ): Add --storage-tree option to info:file to help debug storages
| * feat(occ): Add --storage-tree option to info:file to help debug storagesCôme Chilliet2024-04-151-3/+14
| | | | | | | | | | | | Wrapping can get kind of crazy and this helps understanding the situation Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Improve typing of mimetype aliasesCôme Chilliet2024-04-301-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Fix newly spotted psalm issues, add exhaustive typed magic properties ↵Côme Chilliet2024-04-301-2/+2
| | | | | | | | | | | | for LDAP classes Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Revert to OC_App in places where we need all apps even disabled onesCôme Chilliet2024-04-222-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: use DI to build main Application class in console.phpCôme Chilliet2024-04-221-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Migrate away from OC_App toward the IAppManagerCôme Chilliet2024-04-226-30/+58
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: add missing ClearGeneratedAvatarCacheCommand.php in autoload_static.php ↵yemkareems2024-04-181-0/+3
| | | | | | | | and declare strict_types for the new file as suggested
* | fix(appconfig): returns correct value on detailsMaxence Lange2024-04-171-2/+2
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat: wordings corrected as suggestedyemkareems2024-04-161-2/+2
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | feat: license wordings, minor php warnings correctedyemkareems2024-04-161-6/+5
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* | feat: command added to clear avatar cache manuallyyemkareems2024-04-151-0/+49
|/ | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* feat(occ): Add --disabled option to occ user:listCôme Chilliet2024-04-091-1/+10
| | | | | | Allows to easily list disabled users from cli in a efficient way Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-023-6/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: Fixed style from composer cs:fixAdam Blakey2024-03-181-2/+2
| | | | Signed-off-by: Adam Blakey <adam@blakey.family>
* Update core/Command/App/ListApps.phpAdam Blakey2024-03-181-16/+2
| | | | | | refactor: changed overcomplicated if statement into two shorter lines Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Adam Blakey <adam@blakey.family>
* Merge branch 'master' into show-enabled-and-disabled-appsJohn Molakvoæ2024-03-15108-1338/+2706
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * fix: Use IUserManager::callForAllUsers() to save memoryJoas Schilling2024-03-141-5/+26
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat(occ): Add --all option for occ user:lastseenJordan Brown2024-03-131-18/+24
| | | | | | | | Signed-off-by: Jordan Brown <code@jore.cc>
| * fix: Suppress psalm errors about deprecated execute method, we have to use ↵Côme Chilliet2024-03-121-1/+1
| | | | | | | | | | | | it for now Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Call execute until it is removed for Job classCôme Chilliet2024-03-121-1/+2
| | | | | | | | | | | | | | Because if an application extends execute it will change behavior without warning otherwise. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Merge pull request #43824 from nextcloud/fix/db/occ-db-convert-disabled-appsJosh2024-03-071-1/+1
| |\ | | | | | | fix(db): db-convert supports disabled apps but not removed ones
| | * fix(db): db-convert supports disabled apps but not removed onesJosh2024-02-251-1/+1
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
| * | Merge pull request #43998 from ↵Joas Schilling2024-03-061-3/+3
| |\ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/add-fixme-to-migration-files-to-help-developers fix(migrations): Help developers to add description and copyright info
| | * | fix(migrations): Help developers to add description and copyright infoJoas Schilling2024-03-051-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-043-13/+5
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Merge pull request #29988 from ↵John Molakvoæ2024-02-291-2/+5
| |\ \ | | | | | | | | | | | | nextcloud/enh/hide-overwrites-from-disabled-apps-list
| | * | feat(updater): hide overwrites from disabled apps list on upgradeMichaIng2024-02-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an incompatible app is enabled manually, it is added to the "app_install_overwrite" array in config.php. Nextcloud upgrades won't disable any app in this array, but they were still shown on the upgrade page and logs as being disabled. This commit assures that only apps which are really disabled, i.e. which are not in the "app_install_overwrite" array, are shown and logged as disabled during upgrades. Signed-off-by: MichaIng <micha@dietpi.com>
| * | | Merge pull request #43646 from nextcloud/feat/noid/occ-keys-test-commandJoas Schilling2024-02-281-0/+100
| |\ \ \ | | | | | | | | | | Add user:keys:verify command
| | * | | feat(occ): Add user:keys:test commandMarcel Müller2024-02-271-0/+100
| | |/ / | | | | | | | | | | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>