aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* feat(occ): Show first_seen in output of user:list --infoCôme Chilliet46 hours2-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 Chilliet46 hours1-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 Chilliet46 hours1-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 Appelman6 days1-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>
* Merge pull request #39242 from joshtrichards/db-convert-type-mysql-socket-no-pwJohn Molakvoæ2024-09-041-1/+19
|\
| * fix(occ): Add support for UNIX sockets to `db:convert-type`Josh Richards2024-08-161-1/+19
| | | | | | | | | | | | | | | | Fixes #31998 Adds support to `occ db:convert-type` to support UNIX socket connections via MySQL/MariaDB. Uses same `dbhost` / `hostname` parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | Merge pull request #47525 from ↵Hamza2024-08-281-1/+1
|\ \ | | | | | | | | | | | | nextcloud/fix/optimize-getWrongShareOwnership-query fix: optimise `getWrongShareOwnership` query
| * | fix: optimise getWrongShareOwnership queryHamza Mahjoubi2024-08-271-1/+1
| | | | | | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | | feat: Improve encryption mode detection in occ info:fileLouis Chemineau2024-08-261-2/+9
|/ / | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2547-213/+213
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | feat: add command to send raw commands to redisRobin Appelman2024-08-231-0/+56
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(occ): add 'stop_after' option to stop the worker after some timeJulien Veyssier2024-08-161-0/+36
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | fix: copyright headerJohn Molakvoæ2024-08-161-20/+2
| | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* | feat: Add user:welcome commandFedericoHeichou2024-08-161-0/+104
|/ | | | Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
* Merge pull request #47069 from ↵Maxence Lange2024-08-071-0/+9
|\ | | | | | | | | nextcloud/fix/noid/display-message-on-no-migration-attributes fix(migration-preview): display a message if no attributes set
| * fix(migration-preview): display a message if no attributes setMaxence Lange2024-08-061-0/+9
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | occ: Revert all changes to Info.phpnooblag2024-08-071-10/+1
| | | | | | | | Signed-off-by: Jore <contact@jore.cc>
* | occ: Remove timezone changes.Jore2024-08-072-7/+0
| | | | | | | | Signed-off-by: Jore <contact@jore.cc>
* | occ: Add locale setting timezone to timestamps.Jore2024-08-072-0/+12
| | | | | | | | Signed-off-by: Jore <contact@jore.cc>
* | occ: Add check for never logged in for user:info.Jore2024-08-071-1/+6
| | | | | | | | Signed-off-by: Jore <contact@jore.cc>