Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:46:42 +01:00
Daniel
1f6d0f0eb6
Merge pull request #49407 from nextcloud/feat/occ-files-cleanup-help
...
feat(files): Add help to / update description of `files:cleanup`
2024-11-21 11:00:31 +01:00
Josh
b9cc4bab4d
refactor(files): Use functions for all in occ files:cleanup
...
Tidying.
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-20 14:43:20 -05:00
Josh
aa2b9b5ef2
feat(occ): Add help and update description for files:cleanup
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-20 12:35:21 -05:00
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +02:00
Git'Fellow
c254855222
chore(db): Correctly apply query types
...
fix: psalm
fix: error
fix: add batch
fix: fatal error
fix: add batch
chore: add batch
chore: add batch
fix: psalm
fix: typo
fix: psalm
fix: return bool
fix: revert Manager
2024-10-17 09:21:07 +02:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +02:00
Côme Chilliet
1a4978c4ea
chore: Apply rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +02: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
Anna Larch
8af7ecb257
chore: adjust code to adhere to coding standard
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +02:00
Robin Appelman
b21a399d1a
fix: implement sharding compatible cleanup for various bits
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +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
5b7dcc1427
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-29 08:58:16 +02:00
Robin Appelman
1d34f0a824
feat: cleanup filecache_extended items by default
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-04-15 20:30:57 +02:00
Daniel Kesselberg
2f6cc92491
feat: remove orphaned entries from filecache_extended
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-04-15 20:30:57 +02:00
Robin Appelman
572faa1224
use correct mode constant of files:scan's --path option
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-24 11:39:05 +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
Maxence Lange
22d6c8dcd4
add named metadata event
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 -01:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Maxence Lange
e62e9e3dbf
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Faraz Samapoor
b353b3f425
Merge branch 'master' into refactor_files_app_commands
...
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-08-01 12:39:10 +03:30
Robin Appelman
c912a3f0f6
Merge pull request #38860 from nextcloud/scanner-change-summary
...
add summary of detected changes to files:scan output
2023-07-20 18:37:07 +02:00
Faraz Samapoor
270035ff44
Fixes Psalm's "InvalidArgument" error.
...
I just removed the return type from the "exceptionErrorHandler". There is in fact a hacky solution, that I didn't like:
https://github.com/vimeo/psalm/issues/3571
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor
b8870658fb
Fixes Psalm's "LessSpecificReturnStatement" error.
...
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor
5d242aa2f8
Refactors files app commands.
...
To improve code readability.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Robin Appelman
38640bf816
add commands to copy/move files
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-12 15:01:29 +02:00
Robin Appelman
292c0e53f8
add summary of detected changes to files:scan output
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-16 17:56:34 +02:00
Robin Appelman
ea88ec1350
add utility command for object store objects
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-09 18:08:18 +02:00
Robin Appelman
4822f104f7
Merge pull request #37971 from nextcloud/info-file-get
...
Add commands for basic file actions
2023-05-10 13:40:06 +02:00
Robin Appelman
ddc53a9046
minor fixes for get/put
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 17:38:43 +02:00
Robin Appelman
36221a8865
add command to write a file
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +02:00
Robin Appelman
f9fb102f0b
move get/delete commands to files namespace, make get take the output as argument instead of option
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +02:00
Côme Chilliet
88405d320e
Add an error counter
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:06:46 +02:00
Côme Chilliet
2ffa9fc797
Only show error stack trace on very verbose level
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 10:01:38 +02:00
Côme Chilliet
1f83979699
Do not stop at the first PHP error/warning in files:scan
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 10:46:37 +02:00
Robin Appelman
54f61352f0
better error messages if the users home is not writable during scanning
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 13:21:30 +02:00
EWouters
3a9173cbac
[Fix]: scan-app-data conversion
...
Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935 .
See https://github.com/nextcloud/server/issues/34283#issuecomment-1288075064
and https://github.com/nextcloud/server/pull/35935#discussion_r1059905594 .
Closes #34283 .
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
2023-01-03 13:52:34 +01:00
Markus Zeller
15289f9737
Cast to int #32837
...
Signed-off-by: Markus Zeller <git@markuszeller.com>
2022-11-07 16:44:47 +01:00
Carl Schwan
54b6d0708b
Allow scanning for metadata with occ scan:file --generate-metadata
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-11 10:41:17 +02:00
luz paz
9d26671f05
Fix typos in apps/ subdirectory
...
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-05 12:59:54 +00:00
Simon L
de82d4f67c
Merge pull request #32874 from bill-mcgonigle/patch-1
...
Mention missing files subdir
2022-06-17 12:12:25 +02:00
Côme Chilliet
c54fb5f9e6
Use {$var} instead of ${var} for PHP 8.2 compatibility
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 15:12:28 +02:00
Bill McGonigle
ad60b3b479
Mention missing files subdir
...
Many users are getting confused by the inaccurate error message "Home storage for user $user not writable" because the storage *is* writable. The actual issue is a missing files/ subdirectory. cf. https://help.nextcloud.com/t/home-storage-for-user-not-writable/10831/7
By mentioning the possible cause in the error message, users are going to be able to rapidly solve their problem rather than bang their heads against the screen, Google, and eventually forums to find out that the error message is wrong in their case.
Yes, it would be better to detect and precisely describe the fault, or fix the problem automatically, but until then, be kind to the users for the next however many years.
2022-06-14 07:10:29 -04:00
cld4h
553239c083
Fix issue #31692 of occ files:scan
...
occ files:scan reports error "Implicit conversion from float XXX to int loses precision"
Signed-off-by: cld4h <20869428+cld4h@users.noreply.github.com>
2022-04-26 14:22:41 +08:00
Côme Chilliet
ea23523c70
Adapt more code to migration to LoggerInterface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:25 +01:00
Vincent Petry
67ebe75d0e
Move storage encoding compatibility warning logic
...
The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.
The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-17 09:24:13 +01:00
Immanuel Pasanec
1f42657bb9
Added support for transfering incoming file shares.
...
- new option --transfer-incoming-shares=1 | 0
- new config.php option 'transfer-incoming-shares' => true | false
The command line option overrules the config.php option.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-27 17:55:58 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +01:00
Robin Appelman
1ecc02946f
cast ints
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-27 18:08:10 +01:00