Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 3 година
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 3 година
Joas Schilling
d7c0b9cced
Also always return in app commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
пре 3 година
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
42625a46be
Remove spaces after method or function call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
1b46621cd3
Update license headers for 18
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
b81b824da1
Add typed events for the filesystem/scanner
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
пре 4 година
Joel S
27aafa77db
Fix occ files:scan-app-data elapsed time
Signed-off-by: Joel S <joel.devbox@protonmail.com>
пре 5 година
Joel S
f29b092a76
Fix-13911-occ-files-scan-elapsed-time
Signed-off-by: Joel S <joel.devbox@protonmail.com>
пре 5 година
Daniel Kesselberg
1177ad7bb9
Remove quiet and verbose from Command/Scan
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
пре 5 година
Daniel Kesselberg
816fbf9b9f
Replace $verbose with VERBOSITY_VERBOSE for scanFiles method
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
пре 5 година
Daniel Kesselberg
311de17730
Rename method to abortIfInterrupted
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
пре 5 година
Daniel Kesselberg
752f637207
Adjust code for changed method signature
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
пре 5 година
Robin Appelman
b9e685236f
Add option to only scan the home storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
пре 6 година
Blaok
21b9ad3978
feat: allow files:scan --shallow
Signed-off-by: Yuze Chi <i@blaok.me>
пре 6 година
Morris Jobke
a661f043e1
Remove unneeded semicolon and parentheses
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
пре 6 година
Morris Jobke
5445b1ff17
Remove unused variables
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
пре 6 година
Robin Appelman
ce2dba0796
show error when trying to scan non existing path
Signed-off-by: Robin Appelman <robin@icewind.nl>
пре 7 година
Vincent Petry
b8a8f43fce
Log files:scan exception, add InterruptedException
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
пре 7 година
Thomas Müller
a4cf4a53f3
Before a user is getting scanned the database connection is re-established
пре 7 година
Joas Schilling
0215b004da
Update with robin
пре 7 година
Joas Schilling
813f0a0f40
Fix apps/
пре 7 година
Lukas Reschke
aba539703c
Update license headers
пре 8 година
Robin Appelman
f313105dbd
add "unscanned" option to files:scan to triger a background scan
пре 8 година
Joas Schilling
b34bacd071
Move Files app to PSR-4 (#24569)
* Move lib/ of Files app to PSR-4
* Move tests to PSR-4
пре 8 година
Vincent Petry
61203eee04
Add files:scan warning when NFD or incompatible encoding found
пре 8 година
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
пре 8 година
Thomas Müller
0202acb926
Move signal handling to the base class to allow other commands to reuse this feature
пре 8 година
martin.mattel@diemattels.at
e05592d797
occ scan:files Adding more details in the base print out (II)
Use proper method name
Fixed the interruption logic
Checks the availability of the pcntl_signal function
Fixed typo crtl-c --> ctrl-c
one overseen crtl-c typo
пре 8 година
Thomas Müller
682821c71e
Happy new year!
пре 8 година
martin.mattel@diemattels.at
b7e8258d99
Statistics output for ./occ files:scan
пре 8 година
Robin Appelman
ae71f80f4a
Skip unavailable storages in scanner
пре 8 година
Robin Appelman
23d1cf26b9
Lock scanner to the given user
пре 9 година
Jenkins for ownCloud
b585d87d9d
Update license headers
пре 9 година
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
пре 9 година
Jenkins for ownCloud
6a1a4880f0
Updating license headers
пре 9 година
Robin Appelman
5f6da758b7
Fix check if a path argument is passed to occ files:scan
пре 9 година
Jörn Friedrich Dreyer
0f17486c1d
make path absolute
пре 9 година
Jörn Friedrich Dreyer
3cdaa4094f
add quiet option, ref #8794
пре 9 година
Jörn Friedrich Dreyer
7ef6df04da
remove triggerupdate, ref #11872
пре 9 година
Robin Appelman
e8280c80da
Show a proper error message when trying to scan the filesystem for a non existing user
пре 9 година
Robin Appelman
644755df66
Use bigger transactions when doing explicit file system scans
пре 9 година
Vincent Petry
fd04b3070f
Add error message when no users specified to files:scan command
пре 10 година
Robin Appelman
9a2ed86672
Prevent running the files:scan command as the wrong user
пре 10 година
Thomas Müller
f9279ac77a
killing some more calls to OC_App::loadApps(); - because we load all apps in handleRequest()
пре 10 година
Thomas Müller
9d9f360b77
Load authentication apps to get users from all backends - fixes #7019
пре 10 година