aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* fix: optimize FileUtils::getFilesByUserRobin Appelman2025-03-101-7/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #50999 from nextcloud/fix/move-away-from-oc-appCôme Chilliet2025-02-271-1/+1
|\ | | | | fix: Replace OC_App calls by IAppManager
| * fix: Replace OC_App calls by IAppManagerCôme Chilliet2025-02-241-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(l10n): Improve english source stringsJoas Schilling2025-02-261-1/+1
|/ | | | | | | - No leading/trailing whitespace - Use asci single quote Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methodsCôme Chilliet2025-02-132-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-136-16/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: make sure we process mime extensions as stringskjnldsv2025-02-052-0/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #49016 from Keeper-of-the-Keys/occ-groups-list-single-groupStephan Orbaugh2025-02-031-1/+8
|\ | | | | Add the option to provide a groupname and only see its' members in occ group:list
| * fix: Clearly document that the argument is a search string Côme Chilliet2025-02-031-3/+3
| | | | | | | | | | It is not an exact match on the group id Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * Add the option to provide a groupname and only see its' members.E.S. Rosenberg a.k.a. Keeper of the Keys2025-01-081-1/+8
| | | | | | | | | | | | | | | | Improvements/TODO: 1. Fail/return error if group doesn't exist 2. Only print the members and not the groupname Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
* | fix(ConvertType): Read hostname from arguments and not optionsfix/convert-typeprovokateurin2025-01-301-1/+1
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(ConvertType): Read dbtype in createConnectionParams and remove safeguardNils Wenninghoff2025-01-301-8/+1
| | | | | | | | Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
* | fix: `user:settings` command when user is not availablefix/settings-commandFerdinand Thiessen2025-01-271-2/+5
| | | | | | | | | | | | | | If `ignore-missing-user` all sub commands work, except listing all settings for a user like `occ user:settings --ignore-missing-user user core`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(occ): hide sensitive data while config:app:setMisha M.-Kupriyanov2025-01-251-1/+1
| | | | | | | | | | | | in order to hide sensitive data from logs Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
* | Merge pull request #49967 from nextcloud/jtr/occ-maintenance-mode-descAndy Scherzinger2025-01-131-1/+2
|\ \ | |/ |/| fix: Make `maintenance:mode` description more accurate + add help
| * fix: Make `maintenance:mode` description more accurate + add helpjtr/occ-maintenance-mode-descJosh2025-01-011-1/+2
| | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | feat(occ): Show first_seen in output of user:list --infoCôme Chilliet2025-01-072-19/+24
| | | | | | | | | | | | Also format unknown and never in a better way. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(users): Use -1 for unknown firstLogin instead of setting it to current dateCôme Chilliet2025-01-071-2/+18
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat: Add first login timestamp of each user to oc_preferences and user:info ↵Côme Chilliet2025-01-071-0/+1
| | | | | | | | | | | | output Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: improve wording of occ:upgrade command when no upgrade is requiredocc-upgrade-wordingRobin Appelman2025-01-031-1/+7
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: error handling for wrong json valuesJana Peper2024-12-181-9/+14
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* feat: add occ command for task type togglingJana Peper2024-12-181-7/+3
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* feat: add occ command for task type togglingJana Peper2024-12-181-0/+60
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* Merge pull request #49577 from ehfd/17801Joas Schilling2024-12-181-6/+20
|\ | | | | fix(occ): `occ integrity:check-app` and Admin panel "rescan" deliver inconsistent results
| * fix(occ): Revise output conditionSeungmin Kim2024-12-171-1/+1
| | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
| * fix(occ): Cosmetic editsSeungmin Kim2024-12-171-1/+1
| | | | | | | | Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
| * fix(occ): Modify IAppManagerSeungmin Kim2024-12-171-1/+1
| | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
| * fix(occ): Add condition for isShippedSeungmin Kim2024-12-171-1/+3
| | | | | | | | Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
| * fix(occ): Fix linting issuesSeungmin Kim2024-12-171-1/+4
| | | | | | | | Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
| * fix(occ): Fix `occ integrity:check-app` and Admin panel "rescan" deliver ↵Seungmin Kim2024-12-171-7/+16
| | | | | | | | | | | | inconsistent results Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
* | feat(systemtags): allow setting color with occskjnldsv2024-12-061-2/+23
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix: Show errors in encryption:migrate-key-storage-format and continue to ↵Côme Chilliet2024-12-041-10/+20
| | | | | | | | | | | | other files Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Improve typing in core/Command/Encryption/MigrateKeyStorage.phpCôme Chilliet2024-12-041-17/+7
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Correct wording when attempting to remove a disabled appChristopher Ng2024-12-031-2/+2
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(maintenance): Show a success message on data-fingerprint commandJoas Schilling2024-12-021-1/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat: Warn about maintenance in EncryptAll commandartonge/feat/maintenance_warn_encrypt_allLouis Chemineau2024-11-251-5/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-191-1/+1
| | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-171-2/+2
| | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* chore(db): Correctly apply query typesGit'Fellow2024-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* Merge pull request #48537 from nextcloud/add-command-to-cleanup-previewKate2024-10-141-0/+88
|\
| * feat(preview): add command to cleanup preview folderadd-command-to-cleanup-previewThomas Citharel2024-10-031-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | When changing preview parameters (size, format, …), one can simply delete the preview folder and run files:scan-app-data in order to retrigger updated preview recreation because files are absent. However, that's not possible when using ObjectStorage as primary storage, as there's no concept of "preview folder". This command allows to simply delete and recreate the preview folder properly from Nextcloud, so that the abstraction levels handle all the subfolder & file deleting part. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | ci: Fix psalm by typing the QuestionHelperJoas Schilling2024-10-076-0/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(command): Make method compatible with upstream class (backportable)Joas Schilling2024-10-071-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(taskprocessing): new command to get a task from a task ID, include ↵enh/noid/taskprocessing-commands-task-errorsJulien Veyssier2024-10-012-1/+46
| | | | | | error_message in list and get commands Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-201-3/+4
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1920-44/+44
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: Add OCP interface to format richtext into stringCôme Chilliet2024-09-171-24/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace OC_App::getAllApps with a method in AppManagerCôme Chilliet2024-09-136-13/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-131-1/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-2/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>