Commit Graph

45 Commits (28ef8b2689287656d3e09ec85447b3c0e04a5f76)

Author SHA1 Message Date
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Joas Schilling 5283e9a5e2
test: Cleanup tests/lib/Files/* 8 months ago
Côme Chilliet a79b5dea7c fix(encryption): Improve Update class and event listenening 8 months ago
provokateurin 4412b2b8a8
refactor(Wrapper\Encryption): Migrate to strong types 1 year ago
Louis Chemineau 22d5d29c01 fix(users): Don't crash if disabled user is missing in the database 1 year ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Robin Appelman e704470c79
update tests 2 years ago
Joas Schilling ad12a740cb
fix!: Remove symfony EventDispatcherInterface from User 2 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Robin Appelman 1374cbee3e store unencrypted size in the unencrypted_size column 3 years ago
Robin Appelman 5e375d9092 Revert "store unencrypted size in the unencrypted_size column" 3 years ago
Robin Appelman 8238582e59
store unencrypted size in the unencrypted_size column 4 years ago
Côme Chilliet 1809386862
Fix codestyle 4 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
acsfer dae769d082
Update Tests 4 years ago
acsfer 11169c86f8 Tests update 4 years ago
Joas Schilling 645f83121e
Cache the user backend info for 300s 5 years ago
Jasper Knockaert 261966ace5
Update EncryptionTest.php 5 years ago
Jasper Knockaert 664e74a82e
2nd attempt to fix tests 5 years ago
Jasper Knockaert 87c640193b
attemtp to fix test 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst cc80339b39
Add typed create user events 6 years ago
Roeland Jago Douma ef4b59d341
More fixes 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Julius Härtl 6ee7286b41
Fix tests 7 years ago
Roeland Jago Douma 73e6eea57e
Fix tests 8 years ago
Bjoern Schiessle a0923d9ffb
reset encryptionVersion to '1' if a file was stream copied, because this means that we basically write the file from scratch 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Morris Jobke c733cdaa65
Use ::class in test mocks of encryption app 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Roeland Jago Douma 8b0051eb40
Fix encryption test 9 years ago
Bjoern Schiessle b43f6d295e
update file system tests to take the master key into account 9 years ago
Joas Schilling ec2f2b75be
Make sure we use a new encryption module all the time 9 years ago
Joas Schilling 30817fa319
Simplify the test 9 years ago
Piotr M dc78f1251e
Optimize put - Dont try to fetch filecache for not existing filecache in encription 9 years ago
Bjoern Schiessle 0f8fe77b3a
check if the file should really be encrypted before we update the file cache 9 years ago
Roeland Jago Douma f722640a32
Proper DI of config 9 years ago
Roeland Jago Douma 7656a8fa12
File getMock Files tests 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Thomas Müller 50e20e531e
Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 10 years ago
Bjoern Schiessle 93ed965cbb fix creation of versions of encrypted files on external storages 10 years ago
Lukas Reschke c427bf3b5d Make sure that the encrypted version is set 10 years ago
Lukas Reschke 676041ba7e Ensure that stored version is at least 1 for cross-storage copy 10 years ago