summaryrefslogtreecommitdiffstats
path: root/core/Command/Encryption/DecryptAll.php
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Stop decryption when maintenance mode is enabled, fixes #8311Ruben Homs2019-05-211-0/+9
| | | | Signed-off-by: Ruben Homs <ruben@homs.codes>
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-allEvgeny Golyshev2018-10-141-0/+8
| | | | Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Clean up single user modeMorris Jobke2017-02-221-11/+11
| | | | | | | | | | | | | | Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* It's NextcloudMarius Blüm2016-11-161-1/+1
| | | | Signed-off-by: Marius Blüm <marius@lineone.io>
* Fix othersJoas Schilling2016-07-211-2/+6
|
* Keep encryption enabled if decrypting for single userVincent Petry2016-06-241-0/+3
| | | | | | | | When decrypting all files of a single user, the admin usually does not intend encryption to be suddenly disabled for everyone. This fix reenables encryption after decrypting for a single user. Decrypting for all users will still disable encryption globally.
* Fix the FIXME (#25022)Joas Schilling2016-06-091-2/+1
|
* Merge pull request #24992 from owncloud/fix_decrypt_messageVincent Petry2016-06-081-1/+10
|\ | | | | Fix Decrypt message via occ
| * Fixed reviewsSergio Bertolín2016-06-071-2/+2
| |
| * Comments fixeddavitol2016-06-061-3/+2
| |
| * Fix Decrypt message via occdavitol2016-06-061-1/+11
| |
* | Allow to decrypt user '0' files onlyJoas Schilling2016-06-071-1/+2
|/
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Rename files to be PSR-4 compliantLukas Reschke2016-04-061-0/+160