Commit Graph

56 Commits (0fac2e3f3aaaeaddf431f7877ebddb6372a00a42)

Author SHA1 Message Date
Bjoern Schiessle e51fe617d8 copy always file by file to encrypt/decrypt it if needed 11 years ago
Bjoern Schiessle 8c08dd0ac2 occ tool to encrypt all files 11 years ago
Bjoern Schiessle 51a67a54e0 always update file cache, the cache can handle partial data correctly if the file doesn't already exists in the file cache 11 years ago
Joas Schilling 42baeb36dc Add a unit test for the disabled encryption case 11 years ago
Robin McCorkell df19cabb44 Store storage availability in database 11 years ago
Bjoern Schiessle a2e2005e67 make sure that we always detect legacy files correctly 11 years ago
Joas Schilling 9b336765b6 Correctly check if the real file exists, otherwise try the part file 11 years ago
Bjoern Schiessle 95602d4069 make sure that we always read the header from the original file 11 years ago
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Vincent Petry e114d00242 Only use quota stream wrapper on "files" 11 years ago
Bjoern Schiessle c63f2286c0 copy keys before we move a file between storages to make sure that the new target file reuses the old file key, otherwise versions will break 11 years ago
Bjoern Schiessle efa674f10d only try to delete file keys if it is a valid path 11 years ago
Bjoern Schiessle 887be709f5 a new approach to display the error message 11 years ago
Bjoern Schiessle 0d5c7a11e2 use hooks to update encryption keys instead of the storage wrapper if a file gets renamed/restored, as long as we 11 years ago
Joas Schilling aea734aaf1 Fix missing types on doc block and deduplicate the method name 11 years ago
Bjoern Schiessle dc39bda870 move/copy from storage 11 years ago
Bjoern Schiessle 83ed4ee5b6 unit tests 11 years ago
Bjoern Schiessle 7089af96f2 make sure that we keep the correct encrypted-flag and the (unencrypted)size if a file gets copied 11 years ago
Thomas Müller 936d564058 fixes #15848 11 years ago
Joas Schilling 8f61fbb81f Fix new tests 11 years ago
Joas Schilling 411f7893bf Add test "operation on keys failed" 11 years ago
Joas Schilling 781cfff221 Deduplicate data provider and fix method visibility 11 years ago
Bjoern Schiessle 24128d1384 only update share keys if the file was encrypted 11 years ago
Bjoern Schiessle 2646bccb83 update share keys if file gets copied 11 years ago
Bjoern Schiessle 2990b0e07e update share keys if a file is moved to a shared folder 11 years ago
Thomas Müller 225cde2183 pass KeyStorage via ctor 11 years ago
Thomas Müller 987bc138df calling renameKeys() on directory level as well - fixes #15778 11 years ago
Thomas Müller fc4127dd62 add $encryptionModuleId to methods of Keys/IStorage 11 years ago
Bjoern Schiessle b25c06f576 detect system wide mount points correctly 11 years ago
Thomas Müller cbe30f740e remove calculateUnencryptedSize() - not needed 11 years ago
Thomas Müller 06a5a9d0c2 Fix mock object to return proper type 11 years ago
Thomas Müller 2d2cb09715 fixing unit test - expected value change due to different size being stored in cache table 11 years ago
Thomas Müller 268d346b36 fixing unit tests 11 years ago
Thomas Müller fce42a3161 fixing unit test execution - test dummy module was behaving wrong 11 years ago
Thomas Müller 870c53ee37 fixing unit test execution 11 years ago
Thomas Müller 104d11ec4c Fixing encryption storage wrapper tests 11 years ago
Thomas Müller e0ab2c34ea update unit tests after ctor signature change of \OC\Encryption\Util 11 years ago
Bjoern Schiessle 0eee3a2618 remove unencrypted_size from the cache, size will contain the unencrypted size 11 years ago
Thomas Müller a905f641b3 various fixes & start to unit test the encryption storage wrapper 11 years ago
Vincent Petry 20738d287e Properly detect streamCopy errors 11 years ago
Andreas Fischer 48d6724a6f HHVM sets stream meta datum wrapper_type to 'File' instead of 'user-space'. 11 years ago
Robin Appelman 33b64868d7 Add storage and cache wrappers to apply a permissions mask to a storage 11 years ago
Robin Appelman abb6e89c5d Add storage and cache wrappers to jail a storage to a subfolder 11 years ago
Joas Schilling bb540722cd Use base class to reset the file mapper 11 years ago
Robin Appelman 8c5521fdfc Add $storage->instanceOfStorage to handle instanceof for storage wrappers 12 years ago
Vincent Petry 66bc0f0848 Still return quota value when free space is unknown 12 years ago
Vincent Petry 48d63a6278 Return unencrypted_size of folder when queried 12 years ago
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 12 years ago
Robin Appelman 3afdcd85e7 Add unit test for quote wrapper size root 12 years ago
Vincent Petry 1af7dab535 Fixed quota wrapper to not wrap failed fopen streams 12 years ago