aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | 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>