Commit Graph

499 Commits (ddb65be58f718f448387fe011a2541ff3eeeff84)

Author SHA1 Message Date
Louis 358ce60b10
Merge pull request #38762 from fsamapoor/constructor_property_promotion_in_core_command_part1
Uses PHP8's constructor property promotion in core/Command/Encryption
2023-06-20 18:56:39 +07:00
Louis 6d33356ede
Merge pull request #38768 from fsamapoor/constructor_property_promotion_in_core_command_part5
Uses PHP8's constructor property promotion in core/Command/Config and Group
2023-06-20 17:49:32 +07:00
Faraz Samapoor 90035e98c1 Update core/Command/Encryption/DecryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 16:24:46 +07:00
Faraz Samapoor 9c2abae59c Update core/Command/Encryption/EncryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 16:24:46 +07:00
Faraz Samapoor bcfbcbb91c 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 16:24:46 +07:00
Faraz Samapoor 2ace19fc54 Fixes php-cs error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +07:00
Faraz Samapoor f9a9ad50c3 Uses PHP8's constructor property promotion in core/Command/Encryption classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +07:00
Côme Chilliet 5063bf37ed
Merge pull request #38774 from fsamapoor/constructor_property_promotion_in_core_command_part8
Uses PHP8's constructor property promotion in core/Command/Log, /Security, and /SystemTag
2023-06-20 10:12:52 +07:00
Faraz Samapoor 51aae7866c 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:29:50 +07:00
Faraz Samapoor 3519689d50 Uses PHP8's constructor property promotion in core/Command/Config and core/Command/Group classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:29:50 +07:00
Louis d9bf410762
Merge pull request #38769 from fsamapoor/constructor_property_promotion_in_core_command_part6
Uses PHP8's constructor property promotion core/Command/App,/Background, and /Broadcast
2023-06-19 21:09:24 +07:00
Faraz Samapoor f63c52a396 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-19 17:44:48 +07:00
Faraz Samapoor d83944fd10 Uses PHP8's constructor property promotion.
in core/Command/Log, /Security, and /SystemTag classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 17:44:48 +07:00
Louis 81bb3362b2
Merge pull request #38767 from fsamapoor/constructor_property_promotion_in_core_command_part4
Uses PHP8's constructor property promotion in core/Command/Maintenance
2023-06-19 17:43:12 +07:00
Louis 98ea74bb40
Merge pull request #38764 from fsamapoor/constructor_property_promotion_in_core_command_part2
Uses PHP8's constructor property promotion in core/Command/Db classes.
2023-06-19 17:27:10 +07:00
Faraz Samapoor cda0f74e0b 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-19 12:55:27 +07:00
Faraz Samapoor ea844ca5fb Uses PHP8's constructor property promotion.
in core/Command/App, /Background, and /Broadcast classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:27 +07:00
Faraz Samapoor d60bedfeee 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-19 12:55:22 +07:00
Faraz Samapoor ec63264153 Uses PHP8's constructor property promotion in core/Command/Maintenance classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:22 +07:00
Faraz Samapoor 1e8ec53b8c Update core/Command/Db/ConvertType.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +07:00
Faraz Samapoor 73d7c45ae1 Update core/Command/Db/ConvertFilecacheBigInt.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +07:00
Faraz Samapoor d34cafc58c Update core/Command/Db/Migrations/MigrateCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +07:00
Faraz Samapoor f1a19a10fc Update core/Command/Db/Migrations/StatusCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +07:00
Faraz Samapoor b5cbba7fc1 Uses PHP8's constructor property promotion in core/Command/Db classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:15 +07:00
Faraz Samapoor 9dc4efc52a 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-19 12:55:10 +07:00
Faraz Samapoor 99f117146d Uses PHP8's constructor property promotion in core/Command/User classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:10 +07:00
Christoph Wurst cf6e2fa1b7
chore: Drop \OC_App::getAppVersion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:26 +07:00
Arthur Schiwon 0fca8238dd
Merge pull request #37665 from fsamapoor/patch-2
Refactors Command/Encryption/Enable.php to improve code readability.
2023-05-23 20:56:18 +07: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 +07:00
John Molakvoæ 0048071438
Merge pull request #38069 from nextcloud/list-supported-db 2023-05-09 17:16:26 +07: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 +07: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 +07: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 +07:00
Robin Appelman 2b4bd02be9
add command to summarize space usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:25 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Faraz Samapoor 8f4b20aaa1
Refactors core/Command/Encryption/Enable.php to improve code readability.
Improves the readability of the "execute" method by using early returns and reducing the code indentation.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-04-11 09:29:44 +07: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 +07: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 +07:00
Louis Chemineau bda66f9fb6 Add parent index on filecache
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-20 15:02:23 +07: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 +07: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 +07: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 +07: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 +07:00
sodimel 5e18ffa89d FIX: This fill finish -> This will finish
Signed-off-by: sodimel <corentin@244466666.xyz>
2023-01-26 21:05:01 +07:00
Côme Chilliet 3f231d68d7
Merge pull request #36271 from nextcloud/fix/fix-codestyle
Fix codestyle using codesniffer
2023-01-20 15:26:17 +07:00