Joas Schilling
b864f3909f
fix(install): Make installing more verbose
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:46:06 +01:00
Julius Härtl
0d6d088e4e
feat: Add occ user:sync-account-data for updating oc_accounts information 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>
2023-10-05 23:15:48 +02:00
Joas Schilling
759fc11f39
fix: Make bypass function public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:08 +02:00
Joas Schilling
b5dbb4d9f2
feat(OCC): Add a command to get the bruteforce state of an IP
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:07 +02:00
Julius Härtl
83f7ea01cd
Merge pull request #39396 from nextcloud/backport/39389/stable27
2023-07-17 11:26:00 +02:00
Julius Härtl
18db96c304
feat: Add public event for missing indices
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 16:29:37 +02:00
Arthur Schiwon
95c8e5c47b
fix(db): no hardcoded table prefix is expected
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-14 11:29:17 +00:00
Marcel Klehr
a1ced608e4
fix(systemtags): Add missing systemtags index
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-10 18:41:42 +02:00
Robin Appelman
9d2d3d482b
Merge pull request #38148 from nextcloud/file-info-etag
...
also show file etag in file info
2023-05-11 13:21:48 +02:00
John Molakvoæ
0048071438
Merge pull request #38069 from nextcloud/list-supported-db
2023-05-09 17:16:26 +02:00
Robin Appelman
cdcd6f2872
also show file etag in file info
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 14:56:37 +02:00
Robin Appelman
cd3e7fd1b0
list supported databases when provided db isn't supported
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 14:43:48 +02:00
Robin Appelman
5c31c35d40
add option to list all files instead of limiting
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:26 +02:00
Robin Appelman
2b4bd02be9
add command to summarize space usage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:25 +02:00
Côme Chilliet
f7632f2fc4
Merge pull request #32866 from nextcloud/performance/searchInGroup-displayname-cache
...
Optimize retrieving display name when searching for users in a group
2023-05-02 16:42:09 +02:00
Robin Appelman
db43d90387
add new index in repair step instead of on-migrate
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +02:00
Côme Chilliet
876c162df8
Use the searchDisplayName recommended method in user:list
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 15:25:13 +02:00
Robin Appelman
6d9f785afb
Merge pull request #37622 from nextcloud/group-list-numeric-userid
...
fix output for group:list command with numeric user ids
2023-04-24 17:14:11 +02:00
Robin Appelman
c5dfa1cb79
validate that folder size sums to children
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +02:00
Robin Appelman
60cf0c8f5f
add command for getting fileinfo for debugging
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +02:00
Robin Appelman
b89621e8da
fix output for group:list command with numeric user ids
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-06 16:31:39 +02:00
Robin Appelman
013eedabbd
add command to generate a preview for a file
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 17:30:57 +02:00
Louis Chemineau
bda66f9fb6
Add parent index on filecache
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-20 15:02:23 +00:00
Joas Schilling
ff2c397c23
Merge pull request #36862 from nextcloud/bugfix/typo
...
Fix typo that added a letter to migration template
2023-02-26 22:22:33 +01:00
Vitor Mattos
fd4c53f311
Fix typo that added a letter to migration template
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-25 12:48:22 -03:00
Joas Schilling
e0251ea24e
Fail the repair command when an error happened
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:52 +01:00
Côme Chilliet
d00422b812
Fix computerFileSize when called with a string without unit
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +01:00
sodimel
5e18ffa89d
FIX: This fill finish -> This will finish
...
Signed-off-by: sodimel <corentin@244466666.xyz>
2023-01-26 21:05:01 +01:00
Côme Chilliet
3f231d68d7
Merge pull request #36271 from nextcloud/fix/fix-codestyle
...
Fix codestyle using codesniffer
2023-01-20 15:26:17 +01:00
Christoph Wurst
473c546b5c
Merge pull request #36264 from nextcloud/fix/occ/repair-command-comment-formatting
...
fix(occ): Fix comment formatting of maintenance:repair command
2023-01-20 13:12:43 +01:00
Côme Chilliet
f5c361cf44
composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +01:00
Côme Chilliet
90b955b1e9
Attempt to fix errors in Repair command tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Christoph Wurst
a8bad3a98f
fix(occ): Fix comment formatting of maintenance:repair command
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-20 10:00:41 +01:00
Christoph Wurst
d42d8b79e0
Merge pull request #36162 from nextcloud/fix/php82/string-var-interpolation
...
fix(PHP8.2): Fix deprecated string interpolation syntax
2023-01-19 18:05:44 +01:00
Vincent Petry
a25645648e
Merge pull request #36123 from nextcloud/user-settings-normalize-uid
...
normalize userid in user:setting
2023-01-19 17:45:01 +01:00
Christoph Wurst
2e66acfab8
fix(PHP8.2): Fix deprecated string interpolation syntax
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 13:10:02 +01:00
Simon L
06a572ff55
Merge pull request #27492 from cyclops8456/feature/24301-remove-can-install-on-occ-maintenance-install
...
Remove the CAN_INSTALL file when occ maintenance:install is complete
2023-01-18 19:53:02 +01:00
Robin Appelman
975becb22e
normalize userid in user:setting
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-12 17:33:03 +01:00
Côme Chilliet
d74044f634
Fix API breakage by using a new method instead
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:18:59 +01:00
Côme Chilliet
679682c186
Use a Generator for job list to fix background-job:list command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 18:20:31 +01:00
Alex Harpin
644df591b1
Rename canInstallExists method and add new method for removal
...
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>
2023-01-10 11:59:06 +00:00
Alex Harpin
d5b52ddd21
Log a warning to CLI install command if CAN_INSTALL is not removed
...
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>
2023-01-10 11:59:06 +00:00
Joas Schilling
c8160a6150
Merge pull request #35873 from leegarrett/35830_lgarrett
...
Implement occ status command via return codes v2 (Fixes : #35704 )
2023-01-04 09:51:12 +01:00
Joas Schilling
2c1a811e27
No output by default when --exit-code is used
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 15:43:25 +01:00
Joas Schilling
8e1f742355
Print output also with status code
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 12:47:58 +01:00
Lee Garrett
fba906e34a
Implement occ status command via return codes ( Fixes : #35704 )
...
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>
2023-01-03 10:58:07 +01:00
Côme Chilliet
9430899f16
Fix psalm issues related to signature changes from PHP 8.0
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-29 12:36:34 +01:00
Julius Härtl
1da6c21036
Show version from appinfo on occ app:list
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-11 14:45:11 +01:00
Robin Appelman
7dc8e6a014
fix repairing non user shares when repairing all shares
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:52 +01:00
Robin Appelman
b66779711f
split repairing into two stages to prevent long open transaction
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:44 +01:00