Commit graph

32 commits

Author SHA1 Message Date
Carl Schwan
4d47fdaa85 chore: Run rector with new rules for fetch
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-18 17:45:57 +01:00
Daniel
4d23a952c1
Merge pull request #55485 from nextcloud/info-no-suggest-object-scan
fix: don't suggest files:scan with object store in info:file
2025-11-14 12:03:40 +01:00
Carl Schwan
104aef324d refactor(core/Command): Port away from View
Use IRootFolder instead.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-07 10:11:01 +02:00
Robin Appelman
0a499300c4 fix: don't suggest files:scan with object store in info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-10-01 17:36:36 +02:00
Kate
da73cc8950
Merge pull request #54919 from nextcloud/info-file-size-warning-false 2025-09-10 07:50:43 +02:00
Robin Appelman
29cb19da80
feat: show object store instance in info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-05 18:39:38 +02:00
Robin Appelman
7e01665f93
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-05 18:01:43 +02:00
Robin Appelman
cfc4196038 feat: add mount id to info:storage(s)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 11:49:09 +02:00
Robin Appelman
6927edc9ff feat: add command to get basic storage info
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 11:48:28 +02:00
provokateurin
82fb8f8508
refactor: Extend rector to core/
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 00:16:54 +02:00
Robin Appelman
d9c53ef748
feat: add more encryption checks to info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-09 16:35:31 +02:00
Robin Appelman
f436ab066e feat: show permissions in info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-31 15:38:33 +02:00
Robin Appelman
c5dc90dde9
fix: optimize FileUtils::getFilesByUser
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-10 18:19:18 +01:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
Louis Chemineau
fffe826d90
feat: Improve encryption mode detection in occ info:file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-26 19:28:44 +02:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +02:00
Andy Scherzinger
5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-26 20:05:04 +02:00
Daniel Kesselberg
69883ac0cc fix: getMountsForFileId may return an unordered list
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-10 22:49:28 +02:00
Andy Scherzinger
1df96b0417
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-10 11:07:50 +02:00
Côme Chilliet
38e809e635
feat(occ): Add --storage-tree option to info:file to help debug storages
Wrapping can get kind of crazy and this helps understanding the situation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-15 11:35:51 +02:00
Robin Appelman
e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
Robin Appelman
edaa436345
add key location to info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-01 15:32:33 +01:00
Robin Appelman
0492e0f1d4
Revert "add key location to info:file output"
This reverts commit 7bf82fc312.
2024-01-17 17:53:37 +01:00
Robin Appelman
7bf82fc312
add key location to info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-17 17:47:01 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Faraz Samapoor
b590059c26 Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:30:21 +02:00
Faraz Samapoor
c0a5bdea5e Uses PHP8's constructor property promotion.
in core/Command/Info, /Integrity, and /Preview classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:30:21 +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
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
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