Côme Chilliet
c1d67cc614
chore: Fix DI for Encryption\DecryptAll command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months ago
Côme Chilliet
f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
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 years ago
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
sammo2828
bb0c69524b
Keep the modification time during decryptFile
4 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
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 years ago
Bjoern Schiessle
a2eaf48f6f
list files which could not be decrypted
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
5 years ago
Bjoern Schiessle
d76a87f3b0
skip already decrypted files on decrypt all command
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
5 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Vincent Petry
fca8bd44ab
Fix shared storage namespace in DecryptAll class
7 years ago
Bjoern Schiessle
351cab6bce
skip shared files, if files get decrypted only for a specific user we shouldn't touch files owned by a different user.
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
8 years ago
Joas Schilling
4f27c2c433
Allow to decrypt user '0' files only
8 years ago
Joas Schilling
d4ba982131
Allow to decrypt user '0' files only
8 years ago
Vincent Petry
1423cf1d9d
Use isEncrpyted() instead
8 years ago
Christian Jürges
fd4f9091fd
Respect oc coding style guide.
8 years ago
Christian Jürges
b996c1f43f
Check if file needs to decrypted or not for speed up large oc setups.
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Roeland Jago Douma
d379157289
Move \OC\Encryption to PSR-4
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Bjoern Schiessle
bf82015254
add some output to explain the pre-conditions for decrypt-all
8 years ago
Bjoern Schiessle
d697ea58a4
only check if the user exists if a user was added as parameter
8 years ago
Bjoern Schiessle
d2e90b6050
improved error message if user doesn't exists
8 years ago
Bjoern Schiessle
9bd4f2d41e
occ script to disable encryption and to decrypt all files again
8 years ago