summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* 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: make sure we process mime extensions as stringskjnldsv2025-02-062-0/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(ConvertType): Read dbtype in createConnectionParams and remove safeguardbackport/50530/stable30Nils Wenninghoff2025-01-301-8/+1
| | | | Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
* fix: `user:settings` command when user is not availablebackport/47889/stable30Ferdinand Thiessen2025-01-281-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(maintenance): Show a success message on data-fingerprint commandbackport/49587/stable30Joas Schilling2024-12-021-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* ci: Fix psalm by typing the QuestionHelperJoas Schilling2024-10-216-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(command): Make method compatible with upstream class (backportable)Joas Schilling2024-10-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: optimise getWrongShareOwnership queryHamza Mahjoubi2024-08-291-1/+1
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* feat: Improve encryption mode detection in occ info:fileLouis Chemineau2024-08-281-2/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* 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>
* 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>
* | occ: Improve timestamps for user:info.Jore2024-08-071-1/+1
| | | | | | | | Signed-off-by: Jore <contact@jore.cc>
* | occ: Improve timestamps for user:lastseen.Jore2024-08-071-2/+2
|/ | | | Signed-off-by: Jore <contact@jore.cc>
* Merge pull request #45879 from nextcloud/export-certificate-bundleAndy Scherzinger2024-08-061-0/+35
|\ | | | | feat: add command to export certificate bundle
| * feat: add command to export certificate bundleRobin Appelman2024-08-011-0/+35
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(occ)!: Adding the `displayName` to the output of the `occ group:list ↵Thibaut2024-08-061-0/+1
| | | | | | | | | | | | | | --info` command Signed-off-by: ThibautPlg <17176051+ThibautPlg@users.noreply.github.com> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | fix(occ): Fix compatibility with PHP<8.2Côme Chilliet2024-08-061-2/+4
| | | | | | | | | | | | iterator_to_array cannot take an array parameter prior to 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(occ): Add support for iterable in Base and use in in group:list and ↵Côme Chilliet2024-08-063-31/+20
|/ | | | | | user:list Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(migration-attributes): privatizing AttributeExceptionMaxence Lange2024-07-292-3/+7
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(upgrade): release metadataMaxence Lange2024-07-292-124/+37
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(upgrade): migration attributesMaxence Lange2024-07-292-0/+268
| | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com> f Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(taskprocessing): add appId filter to taskprocessing occ commandsJulien Veyssier2024-07-232-2/+16
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add stats about input/output sizesJulien Veyssier2024-07-231-6/+47
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add occ commands to list tasks and compute statsJulien Veyssier2024-07-232-0/+229
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵Joas Schilling2024-07-192-4/+3
| | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(db): Use `createSchemaManager()` method as `getSchemaManager()` is ↵Joas Schilling2024-07-191-2/+2
| | | | | | deprecated Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #46194 from nextcloud/schema-export-cmndRobin Appelman2024-07-023-0/+227
|\ | | | | feat: add commands for exporting current and expected database schema
| * 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>