Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/files list occ command #43342

Closed
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
027d692
files:list added as a occ command. filter added based on type and siz…
yemkareems Feb 3, 2024
b9caee2
basic sorting added to list, could be improvised
yemkareems Feb 4, 2024
f90b106
listing files and folders separately as sorting is not working as exp…
yemkareems Feb 4, 2024
1503053
general refactoring to remove unused variables and functions, edge ca…
yemkareems Feb 4, 2024
2b915f3
Update ListFiles.php
yemkareems Feb 7, 2024
7e27fbe
composer run cs:fix
yemkareems Feb 7, 2024
d82b3b3
Update ListFiles.php
yemkareems Feb 7, 2024
a035d41
type hinting
yemkareems Feb 7, 2024
ac4efa8
PR review comments by Louis done
yemkareems Feb 9, 2024
92e5516
path made a argument and user extraction logic based on path changed
yemkareems Feb 9, 2024
d59769e
help doc content changed to start with all first caps
yemkareems Feb 9, 2024
1764794
removed the user loop since only one user is there and copy right aut…
yemkareems Feb 12, 2024
5638ef2
type hinting corrected
yemkareems Feb 12, 2024
79b5410
cs fix ran
yemkareems Feb 13, 2024
4058838
array multisort assigning to var and passing it
yemkareems Feb 13, 2024
90f5d26
userFolder type hint to fix psalm error
yemkareems Feb 13, 2024
351d671
Update apps/files/lib/Command/ListFiles.php
yemkareems Feb 13, 2024
0cfb4dd
updated the description of path
yemkareems Feb 16, 2024
fc20909
making changes to list folders as directory type
yemkareems Feb 18, 2024
14078fc
cs fix run for the file
yemkareems Feb 18, 2024
9b129a6
telling psalm correct path of folder
yemkareems Apr 4, 2024
57752e6
feat: tell psalm the correct type associated with userFolder
yemkareems Apr 4, 2024
e8573aa
feat: tell psalm the correct type associated with userFolder
yemkareems Apr 4, 2024
c5ded86
feat: license wording changed as suggested
yemkareems Apr 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/files/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<commands>
<command>OCA\Files\Command\Scan</command>
<command>OCA\Files\Command\ListFiles</command>
<command>OCA\Files\Command\DeleteOrphanedFiles</command>
<command>OCA\Files\Command\TransferOwnership</command>
<command>OCA\Files\Command\ScanAppData</command>
Expand Down
3 changes: 2 additions & 1 deletion apps/files/composer/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
'OCA\\Files\\Command\\Object\\Put' => $baseDir . '/../lib/Command/Object/Put.php',
'OCA\\Files\\Command\\Put' => $baseDir . '/../lib/Command/Put.php',
'OCA\\Files\\Command\\RepairTree' => $baseDir . '/../lib/Command/RepairTree.php',
'OCA\\Files\\Command\\Scan' => $baseDir . '/../lib/Command/Scan.php',
'OCA\\Files\\Command\\Scan' => $baseDir . '/../lib/Command/Scan.php',
'OCA\\Files\\Command\\ListFiles' => $baseDir . '/../lib/Command/ListFiles.php',
'OCA\\Files\\Command\\ScanAppData' => $baseDir . '/../lib/Command/ScanAppData.php',
'OCA\\Files\\Command\\TransferOwnership' => $baseDir . '/../lib/Command/TransferOwnership.php',
'OCA\\Files\\Controller\\ApiController' => $baseDir . '/../lib/Controller/ApiController.php',
Expand Down
7 changes: 4 additions & 3 deletions apps/files/composer/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
class ComposerStaticInitFiles
{
public static $prefixLengthsPsr4 = array (
'O' =>
'O' =>
array (
'OCA\\Files\\' => 10,
),
);

public static $prefixDirsPsr4 = array (
'OCA\\Files\\' =>
'OCA\\Files\\' =>
array (
0 => __DIR__ . '/..' . '/../lib',
),
Expand Down Expand Up @@ -53,7 +53,8 @@ class ComposerStaticInitFiles
'OCA\\Files\\Command\\Object\\Put' => __DIR__ . '/..' . '/../lib/Command/Object/Put.php',
'OCA\\Files\\Command\\Put' => __DIR__ . '/..' . '/../lib/Command/Put.php',
'OCA\\Files\\Command\\RepairTree' => __DIR__ . '/..' . '/../lib/Command/RepairTree.php',
'OCA\\Files\\Command\\Scan' => __DIR__ . '/..' . '/../lib/Command/Scan.php',
'OCA\\Files\\Command\\Scan' => __DIR__ . '/..' . '/../lib/Command/Scan.php',
'OCA\\Files\\Command\\ListFiles' => __DIR__ . '/..' . '/../lib/Command/ListFiles.php',
'OCA\\Files\\Command\\ScanAppData' => __DIR__ . '/..' . '/../lib/Command/ScanAppData.php',
'OCA\\Files\\Command\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Command/TransferOwnership.php',
'OCA\\Files\\Controller\\ApiController' => __DIR__ . '/..' . '/../lib/Controller/ApiController.php',
Expand Down
Loading