summaryrefslogtreecommitdiffstats
path: root/core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #39396 from nextcloud/backport/39389/stable27Julius Härtl2023-07-171-2/+32
|\
| * feat: Add public event for missing indicesJulius Härtl2023-07-141-2/+32
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix(db): no hardcoded table prefix is expectedArthur Schiwon2023-07-141-2/+2
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix(systemtags): Add missing systemtags indexMarcel Klehr2023-07-101-0/+13
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Merge pull request #38148 from nextcloud/file-info-etagRobin Appelman2023-05-111-0/+1
|\ | | | | also show file etag in file info
| * also show file etag in file infoRobin Appelman2023-05-091-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #38069 from nextcloud/list-supported-dbJohn Molakvoæ2023-05-091-1/+1
|\ \ | |/ |/|
| * list supported databases when provided db isn't supportedRobin Appelman2023-05-041-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add option to list all files instead of limitingRobin Appelman2023-05-043-19/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add command to summarize space usageRobin Appelman2023-05-043-129/+322
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #32866 from ↵Côme Chilliet2023-05-021-1/+1
|\ | | | | | | | | nextcloud/performance/searchInGroup-displayname-cache Optimize retrieving display name when searching for users in a group
| * Use the searchDisplayName recommended method in user:listCôme Chilliet2023-04-271-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | add new index in repair step instead of on-migrateRobin Appelman2023-04-281-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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