Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-24Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13Check style updateCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-23Fix Encryption tests on PHP 8.1Côme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-03-19Log and continue when failing to update encryption keys during for ↵Julius Härtl
individual files Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-20New SSE key formatRoeland Jago Douma
* 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>
2020-08-12Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke
\PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
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>
2020-04-09Unify function spacing to PSR2 recommendationChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Use exactly one empty line after the namespace declarationChristoph Wurst
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-27Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst
Remove unused imports
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Use the shorter phpunit syntax for mocked return valuesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Remove unused importsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-27Mode to modern phpunitRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27Make phpunit8 compatibleRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-22Some php-cs fixesRoeland Jago Douma
* 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>
2018-11-29update encryption wrapper testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-24skip already decrypted files on decrypt all commandBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-01-25Class "ProgressBar" is declared "final" and cannot be mocked.Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-24Fix "Undefined method setExpectedException()"Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-26Use ::class in test mocks of encryption appMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-26Use ::class in test mocks of dav appMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-24Use ::class in test mocksMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-20Don't use deprecated getMock() anymoreJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-19Fix translationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-01-10create new encryption keys on password reset and backup the old oneBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2016-10-20Fix shared storage namespace in DecryptAll classVincent Petry
2016-10-20Move OC\Files\Storage\Shared to the right namespaceJoas Schilling
2016-09-13Fix getMock DecryptAllTestRoeland Jago Douma
2016-09-07Fix getMock EncryptionRoeland Jago Douma
2016-07-27skip shared files, if files get decrypted only for a specific user we ↵Bjoern Schiessle
shouldn't touch files owned by a different user.
2016-06-07Allow to decrypt user '0' files onlyJoas Schilling
2016-05-30fix unit testsBjörn Schießle
2016-05-20Move tests/ to PSR-4 (#24731)Joas Schilling
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader