summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #37622 from nextcloud/group-list-numeric-useridRobin Appelman2023-04-241-2/+13
|\ | | | | fix output for group:list command with numeric user ids
| * fix output for group:list command with numeric user idsRobin Appelman2023-04-061-2/+13
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | validate that folder size sums to childrenRobin Appelman2023-04-171-5/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add command for getting fileinfo for debuggingRobin Appelman2023-04-171-0/+249
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add command to generate a preview for a fileRobin Appelman2023-04-031-0/+141
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add parent index on filecacheLouis Chemineau2023-03-201-0/+10
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #36862 from nextcloud/bugfix/typoJoas Schilling2023-02-261-1/+1
|\ | | | | Fix typo that added a letter to migration template
| * Fix typo that added a letter to migration templateVitor Mattos2023-02-251-1/+1
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Fail the repair command when an error happenedJoas Schilling2023-02-231-1/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix computerFileSize when called with a string without unitCôme Chilliet2023-02-071-3/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* FIX: This fill finish -> This will finishsodimel2023-01-261-1/+1
| | | | Signed-off-by: sodimel <corentin@244466666.xyz>
* Merge pull request #36271 from nextcloud/fix/fix-codestyleCôme Chilliet2023-01-204-9/+8
|\ | | | | Fix codestyle using codesniffer
| * composer run cs:fixCôme Chilliet2023-01-204-9/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #36264 from ↵Christoph Wurst2023-01-201-1/+1
|\ \ | |/ |/| | | | | nextcloud/fix/occ/repair-command-comment-formatting fix(occ): Fix comment formatting of maintenance:repair command
| * fix(occ): Fix comment formatting of maintenance:repair commandChristoph Wurst2023-01-201-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Attempt to fix errors in Repair command testsCôme Chilliet2023-01-201-0/+2
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36162 from nextcloud/fix/php82/string-var-interpolationChristoph Wurst2023-01-191-1/+1
|\ | | | | fix(PHP8.2): Fix deprecated string interpolation syntax
| * fix(PHP8.2): Fix deprecated string interpolation syntaxChristoph Wurst2023-01-191-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #36123 from nextcloud/user-settings-normalize-uidVincent Petry2023-01-191-3/+8
|\ \ | |/ |/| normalize userid in user:setting
| * normalize userid in user:settingRobin Appelman2023-01-121-3/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #27492 from ↵Simon L2023-01-181-0/+3
|\ \ | | | | | | | | | | | | cyclops8456/feature/24301-remove-can-install-on-occ-maintenance-install Remove the CAN_INSTALL file when occ maintenance:install is complete
| * | Rename canInstallExists method and add new method for removalAlex Harpin2023-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Rename canInstallExists to shouldRemoveCanInstallFile to cover removal of this file for non-git channels and logging any failure to remove it. Add new method to detect if this file exists during web based installation. Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
| * | Log a warning to CLI install command if CAN_INSTALL is not removedAlex Harpin2023-01-101-0/+3
| |/ | | | | | | | | | | Log a warning for the CLI install command if the CAN_INSTALL file still exists at the end of the installation. This matches the warning logged by the web installer. Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
* | Fix API breakage by using a new method insteadCôme Chilliet2023-01-121-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use a Generator for job list to fix background-job:list commandCôme Chilliet2023-01-101-6/+7
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #35873 from leegarrett/35830_lgarrettJoas Schilling2023-01-041-4/+23
|\ | | | | Implement occ status command via return codes v2 (Fixes: #35704)
| * No output by default when --exit-code is usedJoas Schilling2023-01-031-1/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Print output also with status codeJoas Schilling2023-01-031-9/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Implement occ status command via return codes (Fixes: #35704)Lee Garrett2023-01-031-3/+20
| | | | | | | | | | | | | | | | | | | | Running `./occ status -e` will produce any output. However, it will: exit 0 during normal operation, exit 1 when in maintenance mode, exit 2 when `./occ upgrade` is needed. Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu>
* | Fix psalm issues related to signature changes from PHP 8.0Côme Chilliet2022-12-291-27/+23
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Show version from appinfo on occ app:listJulius Härtl2022-11-111-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix repairing non user shares when repairing all sharesRobin Appelman2022-11-081-10/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* split repairing into two stages to prevent long open transactionRobin Appelman2022-11-081-32/+66
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update shares directly in dbRobin Appelman2022-11-081-13/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* More verbose output for repair share ownership cmdVincent Petry2022-11-081-2/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* move share owner repair to occ commandRobin Appelman2022-11-081-0/+134
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #32859 from nextcloud/bug/31973/array-key-might-be-emptyLouis2022-10-111-7/+5
|\ | | | | Fix Uninitialized string offset 0 at GenerateMimetypeFileBuilder.php#39
| * Fix Uninitialized string offset 0 at GenerateMimetypeFileBuilder.php#39Daniel Kesselberg2022-06-281-7/+5
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | properly typehint generated migrationsRoeland Jago Douma2022-10-091-4/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Update ConvertFilecacheBigInt.phptimm2k2022-09-141-0/+1
| | | | | | Signed-off-by: timm2k <timm2k@gmx.de>
* | Parameter of RepairAdvanceEvent is actually an increment, not a step idCôme Chilliet2022-08-252-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Surround cli output with appropriate xml tagsCôme Chilliet2022-08-251-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add void return types to callablesCôme Chilliet2022-08-251-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Migrate Repair events to OCP\EventDispatcher\EventCôme Chilliet2022-08-252-90/+80
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Migrate Migrator::executeSql to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-23/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Remove listeners of \OC\DB\Migrator::checkTable which is never emittedCôme Chilliet2022-08-251-1/+0
| | | | | | | | | | | | See commit a2f3077ee802b4b291ba4f846bfceb69ec0f225f from PR #24384 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Moving to string key for arguments of GenericEvent in RepairCôme Chilliet2022-08-252-14/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Switch to string keys for argument of GenericEvent for OC\DB\MigratorCôme Chilliet2022-08-251-4/+4
| | | | | | | | | | | | It seems checkTable is actually never dispatched? Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classesCarl Schwan2022-08-082-4/+7
|\ \ | | | | | | Remove OCP\App and OCP\BackgroundJob
| * | Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-012-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>