summaryrefslogtreecommitdiffstats
path: root/core/Command/Encryption
Commit message (Collapse)AuthorAgeFilesLines
* Update core to PHP 7.4 standardCarl Schwan2022-05-2010-186/+70
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0410-12/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* New SSE key formatRoeland Jago Douma2020-08-201-0/+261
| | | | | | | * Encrypt the keys with the instance secret * Store them as json (so we can add other things if needed) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add return value to all commandsJoas Schilling2020-06-269-16/+32
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-296-0/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-12/+3
| | | | | | | | | | | | | | | 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-103-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-092-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-059-9/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-222-2/+0
| | | | | | | | | | | * 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>
* Stop decryption when maintenance mode is enabled, fixes #8311Ruben Homs2019-05-213-2/+43
| | | | Signed-off-by: Ruben Homs <ruben@homs.codes>
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-222-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-allEvgeny Golyshev2018-10-142-0/+16
| | | | Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
* s/ownCloud/NextcloudBjoern Schiessle2018-03-011-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix check and improve error messageBjoern Schiessle2018-03-011-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Anything but true means it failedJoas Schilling2018-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* ownC -> NextcMorris Jobke2017-03-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the occ:encrypt-all promptMatthew Setter2017-03-191-4/+4
| | | | | | | | The message isn't as clear, nor as succinct, as it could be. Given that, this commit seeks to address both those points. This commit was prompted by https://github.com/owncloud/documentation/pull/2835. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Clean up single user modeMorris Jobke2017-02-222-22/+22
| | | | | | | | | | | | | | 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-219-16/+28
|
* 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-264-4/+4
|
* Rename files to be PSR-4 compliantLukas Reschke2016-04-069-0/+960