Commit Graph

188 Commits (ebd73aee8ff96f7252fab65ab4dc7230d2eb551c)

Author SHA1 Message Date
Bjoern Schiessle f2f5769df7 catch errors during decryption 13 years ago
Bjoern Schiessle 2933668355 fileinfo is no longer a array 13 years ago
Robin Appelman 181bbd4325 Remove usage of legacy OC_Appconfig 13 years ago
Bjoern Schiessle 91254c304d name users after test 13 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 13 years ago
Bjoern Schiessle 97921d0c25 add function to extract filename from sharekey name + tests 13 years ago
Bjoern Schiessle fe5f512272 added tests for the delete hooks if the trash bin is disabled 13 years ago
Vincent Petry f09c19c316 Replaced time() with uniqid() to make sure the file name is unique 13 years ago
Robin Appelman 299bb4d99d remove more is_array from encryption 13 years ago
Bjoern Schiessle 517a55a437 tests added 13 years ago
Bjoern Schiessle df0c1fe7f3 add test for the stream wrapper to read encrypted files from the system folder /tmp 13 years ago
Bjoern Schiessle f9ec3a7124 test for isEncryptedPath() 13 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 13 years ago
Bjoern Schiessle 6d489e0474 call set password hook because it doesn't get triggered during test execution and fix paths 13 years ago
Bjoern Schiessle b919a65432 enable more tests 13 years ago
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 13 years ago
Bjoern Schiessle b27fc42e1f public upload now also works with encryption enabled 13 years ago
Bjoern Schiessle 318db64b2d adapt tests to the new code 13 years ago
Bjoern Schiessle 0c24c7c420 only check if the key file exists to decide if it is an encrypted file or not. 13 years ago
Bjoern Schiessle f36ee69855 tests added 13 years ago
Bjoern Schiessle 2624a6cb32 remove debug output 13 years ago
Bjoern Schiessle 2df3763675 test encryptAll() and decryptAll() to make sure that mtime and etag stay the same 13 years ago
Bjoern Schiessle 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 13 years ago
Bjoern Schiessle fcbb5d6cb3 missed some replacements... now tests should work 13 years ago
Bjoern Schiessle 9f10f15fd4 fixing tests for the new part file handling 13 years ago
Markus Goetz af58360434 files_encryption: Fix getFileSize() 13 years ago
Bjoern Schiessle beaed2195d fix comment 13 years ago
Bjoern Schiessle 0d4117f6d5 added simple test for getFileSize proxy 13 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
Morris Jobke f54f203e56 mark test as incomplete because I can't reproduce jenkins failure 13 years ago
Thomas Müller 20ee9945d1 don't rely on admin user but create a test user for Test_Encryption_Keymanager 13 years ago
Björn Schießle ec6350079f fix getUidAndFilename() test 13 years ago
Björn Schießle 2f1005f05f LegacyKeyRecryptKeyfileEncrypt() no longer exists, so test can be removed 13 years ago
Björn Schießle 6394fedb33 add comment to explain the helper function 13 years ago
Björn Schießle df78085171 adapt test to the code changes 13 years ago
Jörn Friedrich Dreyer c70a0f791d allow 30 sec for testDeleteFile 13 years ago
Jörn Friedrich Dreyer b6f8d2b859 raise failed tests from first commit to size @medium 13 years ago
Jörn Friedrich Dreyer 73fb722a9e add timeouts 3/30/90 to phpunit tests 13 years ago
Florin Peter dc8bcf0688 reformat code 13 years ago