Commit graph

702 commits

Author SHA1 Message Date
Arthur Schiwon
5ad84c138a
Merge pull request #55065 from nextcloud/fix/noid/return-actually-installed-apps-stable30
[stable30] fix(Apps): fix install command check on existing apps
2025-09-29 10:35:38 +02:00
Arthur Schiwon
ac6653ec5b
fix(Apps): fix install command check on existing apps
- AppManager::isInstalled() is misleading, as it checks only whether it is
  enabled. But an app might not be present in some edge cases.
- AppManager::getAppPath() does however only check whether an app dir is
  present, independent of the enabled-state.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-09-12 11:48:47 +02:00
Robin Appelman
d53c3f61cb fix: don't show object size warning if we can't determine the object size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-11 21:31:54 +02:00
yemkareems
d66c29ab9f
fix: composer run cs:fix
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-08-26 10:13:10 +05:30
Robin Appelman
38842ba455 feat: add command to clear memcache
Signed-off-by: Robin Appelman <robin@icewind.nl>

[skip ci]
2025-08-26 04:21:25 +00:00
Robin Appelman
0b6d5dcdc8 feat: add command to delete memcache key
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 04:21:25 +00:00
Robin Appelman
b56bf963c1 feat: add commands to get and set memcache values
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 04:21:25 +00:00
Robin Appelman
9cef07386d refactor: split off value casting out of config:system:set command
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 04:21:24 +00:00
skjnldsv
9cbf2edf97 fix: force lowercase emails
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 09:05:27 +02:00
provokateurin
76d375d7c7 fix(core): Make --password-from-env work with NC_PASS everywhere
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-20 10:38:04 +00:00
provokateurin
cc11437a1e fix(core): Make OC_PASS actually work for occ user:auth-tokens:add --password-from-env
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-20 10:38:04 +00:00
Robin Appelman
09e1ecd15b
Merge pull request #52867 from nextcloud/backport/51603/stable30
[stable30] Add command to list orphan objects
2025-05-16 21:36:28 +02:00
Robin Appelman
32ace67e7d feat: move streaming output helps to command base class
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:13:06 +02:00
Robin Appelman
88655a8717
Merge pull request #52766 from nextcloud/backport/52693/stable30
[stable30] feat: allow setting system config values with json value
2025-05-15 14:07:14 +02:00
Robin Appelman
da08aee2cb feat: allow setting system config values with json value
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:47 +00:00
Robin Appelman
0fe56ce669 feat: add more encryption checks to info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:29 +00:00
Ferdinand Thiessen
832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02:00
Joas Schilling
f0927e1356
fix(occ): Fix autocompletion of config:app:* commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 15:01:54 +02:00
Christoph Wurst
f0c508384a fix(db): Create replacement index where original index is missing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-23 22:49:35 +00:00
John Molakvoæ
1ab595525d fix: copyright header
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-26 15:53:58 +00:00
FedericoHeichou
67bf779bb2 feat: Add user:welcome command
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2025-03-26 15:53:57 +00:00
Joas Schilling
a5e6f46eb0
fix(l10n): Improve english source strings
- No leading/trailing whitespace
- Use asci single quote

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-26 15:06:47 +01:00
skjnldsv
80a4cb586f fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:15:41 +00:00
Nils Wenninghoff
b21070090b
fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
2025-01-30 12:19:39 +01:00
Ferdinand Thiessen
48a13be4da fix: user:settings command when user is not available
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>
2025-01-28 08:39:28 +00:00
Joas Schilling
590e76501e fix(maintenance): Show a success message on data-fingerprint command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-02 08:22:25 +00:00
Joas Schilling
91b9562bdd
ci: Fix psalm by typing the QuestionHelper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:53 +02:00
Joas Schilling
dbb669d03d
fix(command): Make method compatible with upstream class (backportable)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:51 +02:00
Hamza Mahjoubi
6bc88231d6 fix: optimise getWrongShareOwnership query
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-29 11:16:22 +02:00
Louis Chemineau
1c5eadba01
feat: Improve encryption mode detection in occ info:file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 11:25:33 +02:00
Julien Veyssier
0a9b26f442 feat(occ): add 'stop_after' option to stop the worker after some time
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-16 22:29:30 +00:00
Maxence Lange
3ffcfb1dab
Merge pull request #47069 from nextcloud/fix/noid/display-message-on-no-migration-attributes
fix(migration-preview): display a message if no attributes set
2024-08-07 11:48:20 -01:00
nooblag
5ec3a7fcef occ: Revert all changes to Info.php
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore
96638fd6b2 occ: Remove timezone changes.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore
a0566f881d occ: Add locale setting timezone to timestamps.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore
e16e16c972 occ: Add check for never logged in for user:info.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore
bd81967fa1 occ: Improve timestamps for user:info.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore
3e69668c9e occ: Improve timestamps for user:lastseen.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:08 +02:00
Maxence Lange
6ad6fa6425 fix(migration-preview): display a message if no attributes set
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 22:23:12 -01:00
Andy Scherzinger
f0260246d9
Merge pull request #45879 from nextcloud/export-certificate-bundle
feat: add command to export certificate bundle
2024-08-06 23:37:39 +02:00
Thibaut
825347f262
feat(occ)!: Adding the displayName to the output of the occ group:list --info command
Signed-off-by: ThibautPlg <17176051+ThibautPlg@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-06 19:30:59 +02:00
Côme Chilliet
bb94da69a6 fix(occ): Fix compatibility with PHP<8.2
iterator_to_array cannot take an array parameter prior to 8.2

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:13:26 +02:00
Côme Chilliet
db16a32ac3 feat(occ): Add support for iterable in Base and use in in group:list and user:list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:13:26 +02:00
Robin Appelman
9a06931175 feat: add command to export certificate bundle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-01 10:06:50 +02:00
Maxence Lange
7c1ee524be fix(migration-attributes): privatizing AttributeException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange
79e6014879 feat(upgrade): release metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange
88cfab4f32 feat(upgrade): migration attributes
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>
2024-07-29 12:44:52 -01:00
Julien Veyssier
df11aa9efc
feat(taskprocessing): add appId filter to taskprocessing occ commands
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Julien Veyssier
af21f7dbd9
feat(taskprocessing): add stats about input/output sizes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Julien Veyssier
c120a64ba2
feat(taskprocessing): add occ commands to list tasks and compute stats
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00