aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* small fixesMaxence Lange2024-01-151-1/+1
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fixesMaxence Lange2024-01-152-37/+21
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* lazy AppConfigMaxence Lange2024-01-154-30/+239
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* occ background-job:deleteMaxence Lange2024-01-111-0/+80
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Use match statement in richToParsed implementationCôme Chilliet2024-01-111-7/+5
| | | | | Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add TODO for richToParsed refactorCôme Chilliet2024-01-111-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix psalm issue in SetupChecks commandCôme Chilliet2024-01-111-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add RichObject support for SetupChecks descriptionsCôme Chilliet2024-01-111-0/+28
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(Update): Handle upstream exception scenario cleanlyJosh Richards2023-12-261-0/+1
| | | | | Fixes #42476 Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* Migrate database pending bigint conversions check to new APICôme Chilliet2023-11-281-3/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2314-20/+20
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(db): Print why the migration file could not be createdChristoph Wurst2023-11-221-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* document errorSimon L2023-11-171-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Update core/Command/Background/ListCommand.phpJonas2023-11-141-1/+1
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Jonas <jonas@freesources.org>
* fix(Background): Bump default limit for listing background jobs to 500Jonas2023-11-141-1/+1
| | | | Signed-off-by: Jonas <jonas@freesources.org>
* fix(Background): Show comment about limit at end and conditionallyJonas2023-11-141-4/+5
| | | | | | | | * Only print the comment when job list is truncated * Show the comment at the end so users actually see it * Format the comment as comment Signed-off-by: Jonas <jonas@freesources.org>
* Update core/Command/Background/ListCommand.phpJonas2023-11-141-1/+3
| | | | Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Jonas <jonas@freesources.org>
* (enh) Change occ background-job:list limit default 10->100Josh Richards2023-11-141-1/+2
| | | | | | The default limit of 10 seems too conservative. Nearly all environments >100 and most <10. At the same time, this higher default limit still remains reasonable to avoid problems in really big environments. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* Merge pull request #40761 from nextcloud/enh/noid/files-metadataMaxence Lange2023-11-071-0/+119
|\ | | | | IFilesMetadata
| * IFilesMetadataMaxence Lange2023-11-071-2/+2
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * IFilesMetadataMaxence Lange2023-11-071-0/+119
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Add $name property in SetupResult and improve APICôme Chilliet2023-11-071-3/+3
| | | | | | | | | | | | | | Keys for check results are not locale dependent anymore, the name of the setup check is instead stored in the setup result object. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #41214 from nextcloud/bugfix/noid/make-install-verboseJoas Schilling2023-11-071-1/+12
|\ \ | |/ |/| fix(install): Make installing more verbose
| * fix(install): Make installing more verboseJoas Schilling2023-11-031-1/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use no style for info to make it different from warningCôme Chilliet2023-11-061-3/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix icon for errors to be consistent with the othersCôme Chilliet2023-11-061-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add an emoji for warnings as wellCôme Chilliet2023-11-061-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use constants for SUCCESS/FAILURE and show errors even on quiet levelCôme Chilliet2023-11-061-4/+7
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add a command to run the setup checks from CLICôme Chilliet2023-11-061-0/+88
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge branch 'master' into auth-token-commandsLucas Azevedo2023-08-282-1/+106
|\
| * Merge pull request #38298 from nextcloud/enh/occ-sync-account-dataAnna2023-08-281-0/+105
| |\ | | | | | | feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends
| | * feat: Add occ user:sync-account-data for updating oc_accounts information ↵Julius Härtl2023-06-091-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from user backends This can be useful in cases where the state between user backend and oc_accounts has become inconsistent. Usually the account data is updated once the change on the user backend is detected. Potential leftovers from older bugs (https://github.com/nextcloud/user_saml/pull/582) might though never get updated. This could lead to the contacts menu never showing the correct display name. The contacts menu is read from the system address book, which is only updated from oc_accounts. Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | fix: make cancelOperation publicDaniel Kesselberg2023-08-271-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Format lastActivity and type for plain outputLucas Azevedo2023-08-271-1/+16
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Use table output for list commandLucas Azevedo2023-08-251-4/+10
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Fixes from static analysisLucas Azevedo2023-08-251-3/+3
| | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Add last-used-before optionLucas Azevedo2023-08-251-4/+68
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Namespace user auth token commandsLucas Azevedo2023-08-243-9/+10
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Filter out sensitive fields in user:auth-tokensLucas Azevedo2023-08-241-1/+10
| | | | | | | | | | | | | | | | | | | | | PublicKeyToken::jsonSerialize() already explicitly lists allowed fields, we are adding a second guard here to be on the safe side. Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | Add missing return typesLucas Azevedo2023-08-242-3/+3
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | feat: Add user:delete-auth-token commandLucas Azevedo2023-08-231-0/+56
| | | | | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | | feat: Add user:auth-tokens commandLucas Azevedo2023-08-231-0/+70
|/ / | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | fix: Make bypass function public APIJoas Schilling2023-08-211-7/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(OCC): Add a command to get the bruteforce state of an IPJoas Schilling2023-08-212-5/+94
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db)!: Remove private legacy event because we can not keep itJoas Schilling2023-07-243-27/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db): Move missing core indices to typed eventJoas Schilling2023-07-241-416/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix: Add options to support all used features by coreJoas Schilling2023-07-241-1/+17
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db): Move missing core columns to typed eventJoas Schilling2023-07-241-36/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db): Move missing core primary keys to typed eventJoas Schilling2023-07-241-121/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(dispatcher): Add typed event for "db:add-missing-primary-keys"Joas Schilling2023-07-241-7/+48
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>