43 Commits (16f70e8647adeb2ab558a603dd79e1d75e5e0dce)

Author SHA1 Message Date
alanmeeson 16f70e8647 Add type hint to fread_block $blockSize param & apply cs:fix. 4 years ago
Alan Meeson 44c332a46e Fix truncation of files upon read when using object store and encryption. 4 years ago
Daniel Kesselberg be3f4edf1f
explicitly close source stream on encryption storage 4 years ago
acsfer 9324a74bba Handle files with is_file instead of file_exists 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 4 years ago
Robin Appelman b844293536 catch notfound and forbidden exception in smb::getmetadata 5 years ago
Jasper Knockaert 40fde94b4d
fix even more brackets 5 years ago
Jasper Knockaert 252d1ae512
fix brakcets 5 years ago
Jasper Knockaert f9a0380eb1
consolidation of boolean expression 5 years ago
Jasper Knockaert 81e3ae4753
avoid fread on directories and unencrypted files 5 years ago
Christoph Wurst 9ce3ea3368
Update license headers 5 years ago
Tigran Mkrtchyan 4f2dc18f58 storage: update IStorage#file_put_contents docs to match usage 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
J0WI 68ce17e59b Unify links to php.net 5 years ago
Morris Jobke 063ac9d353
Do not fetch the normalized full path again if it is already available 5 years ago
Roeland Jago Douma 2bbb848c31
Add legacy scanning command 5 years ago
Robin Appelman 9735b5d61f
Add method to storage backends to get directory content with metadata 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Florian Schunk c2f8df0573 don't close input stream when writing in encrypted file 7 years ago
Robin Appelman c6a48110bf
allways fall back to fopen for encryption wrapper 7 years ago
Bjoern Schiessle 5d0fa12e12
allow to disable encryption 7 years ago
Arthur Schiwon 38a90130ce
move log constants to ILogger 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
Morris Jobke e2974f1133
Simplify return statement 8 years ago
Morris Jobke 6bbea33133
Simplify ternary operator statements 8 years ago
Morris Jobke 2a38605545
Properly log the full exception instead of only the message 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke dfd8125aeb
Replace wrong PHPDocs 8 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
Joas Schilling 0215b004da
Update with robin 9 years ago
Joas Schilling ba87db3fcc
Fix others 9 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Roeland Jago Douma dedf392751
Move \OC\Files to PSR-4 10 years ago
Björn Schießle 4f438eee56
preserve information if it is a rename operation or not 10 years ago
Bjoern Schiessle e4b451491b make sure that we always remove the file again from the cache after the version was created 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
Bjoern Schiessle 7b9d53b7ea no need to calculate the header size, if the first block contain a header we already know the size 10 years ago
Lukas Reschke 676041ba7e Ensure that stored version is at least 1 for cross-storage copy 10 years ago
Lukas Reschke 72c8187cbb Keep "encryptedVersion" when calling `\OC\Files\View::copy` 10 years ago
Lukas Reschke 933f60e314 Update author information 10 years ago
Bjoern Schiessle 834b51b83b recalculate unencrypted size if we assume that the size stored in the db is not correct 10 years ago
Vincent Petry a9e0cfad8b Check delete permission before attemping copy+delete 10 years ago
Bjoern Schiessle 9dc759b4dc remember signature version and only set it on update to make sure that other 10 years ago