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>
5年前
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
8年前
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年前