Commit Graph

203 Commits (a7ae2e874a28aed2c190840634db50a19ab1d2e7)

Author SHA1 Message Date
Bjoern Schiessle a9ac11718e backup the encryption key after the encryption was disabled so that the user 12 years ago
Thomas Müller e0dd69e4e6 remove legacy aka deprecated code: OC_FilesystemView 12 years ago
Bjoern Schiessle 73a2d87ab4 fix shouldEncrypt() method and improved decryptAll() unit tests 12 years ago
Bjoern Schiessle a86d97295e fix encryption tests after the removal of the shared folder 12 years ago
Robin Appelman b42ce6c30a Prevent error if previously cached data doesn't have an etag 12 years ago
Bart Visscher f37a76c396 Remember before change works better 12 years ago
Vincent Petry 48d63a6278 Return unencrypted_size of folder when queried 12 years ago
Robin Appelman a687498547 Fix encryption webdav tests 12 years ago
Jörn Friedrich Dreyer 39f2f564a9 use assertSame and assertNotSame for etag checks 12 years ago
Bjoern Schiessle d3a24e945b add test case if a file gets moved out from the shared folder 12 years ago
Bjoern Schiessle f2f5769df7 catch errors during decryption 12 years ago
Bjoern Schiessle 2933668355 fileinfo is no longer a array 12 years ago
Robin Appelman 181bbd4325 Remove usage of legacy OC_Appconfig 12 years ago
Bjoern Schiessle 91254c304d name users after test 12 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 12 years ago
Bjoern Schiessle 97921d0c25 add function to extract filename from sharekey name + tests 12 years ago
Bjoern Schiessle fe5f512272 added tests for the delete hooks if the trash bin is disabled 12 years ago
Vincent Petry f09c19c316 Replaced time() with uniqid() to make sure the file name is unique 12 years ago
Robin Appelman 299bb4d99d remove more is_array from encryption 12 years ago
Bjoern Schiessle 517a55a437 tests added 12 years ago
Bjoern Schiessle df0c1fe7f3 add test for the stream wrapper to read encrypted files from the system folder /tmp 12 years ago
Bjoern Schiessle f9ec3a7124 test for isEncryptedPath() 12 years ago
Bjoern Schiessle cdd816c930 only remove encryption keys if a real file gets deleted, skip this method if a file outside of /data/user/files was deleted 12 years ago
Bjoern Schiessle 6d489e0474 call set password hook because it doesn't get triggered during test execution and fix paths 12 years ago
Bjoern Schiessle b919a65432 enable more tests 12 years ago
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 12 years ago
Bjoern Schiessle b27fc42e1f public upload now also works with encryption enabled 12 years ago
Bjoern Schiessle 318db64b2d adapt tests to the new code 12 years ago
Bjoern Schiessle 0c24c7c420 only check if the key file exists to decide if it is an encrypted file or not. 12 years ago
Bjoern Schiessle f36ee69855 tests added 12 years ago
Bjoern Schiessle 2624a6cb32 remove debug output 12 years ago
Bjoern Schiessle 2df3763675 test encryptAll() and decryptAll() to make sure that mtime and etag stay the same 12 years ago
Bjoern Schiessle 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 12 years ago
Bjoern Schiessle fcbb5d6cb3 missed some replacements... now tests should work 12 years ago
Bjoern Schiessle 9f10f15fd4 fixing tests for the new part file handling 12 years ago
Markus Goetz af58360434 files_encryption: Fix getFileSize() 12 years ago
Bjoern Schiessle beaed2195d fix comment 12 years ago
Bjoern Schiessle 0d4117f6d5 added simple test for getFileSize proxy 12 years ago
Andreas Fischer 83afb46205 Use __DIR__ instead of dirname(__FILE__). 13 years ago
Andreas Fischer 85ac9572ce Also remove other unnecessary realpath() calls. 13 years ago
Andreas Fischer 9753e44ac2 Do not use realpath() on includes. 13 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 13 years ago
Thomas Müller c458e785a1 fixing typos and PHPDoc 13 years ago
Bjoern Schiessle 023121aed0 adapt tests to the changes in crypt.php 13 years ago
Bjoern Schiessle 69173c2a6b fix test and make warning translatable 13 years ago
Bjoern Schiessle d7dd2ee465 don't know why it works locally but not on the build server... let's keep it out for the moment 13 years ago
Bjoern Schiessle fe2937e3cd this hopefully fixes testRecoveryForUser(), works locally 13 years ago
Bjoern Schiessle 58233033c1 this test works locally, let's see what out build server says... 13 years ago
Bjoern Schiessle 6c96a5273b fixing some unit tests 13 years ago
Bjoern Schiessle aca7fbe2c8 adapt unit tests to the modified stream wrapper 13 years ago