Commit Graph

68 Commits (dd08f9320249d8ac7bf96f338a5be70d60af1dce)

Author SHA1 Message Date
withbest dd08f93202 chore: fix some comments 9 months ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 11 months ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 1 year ago
Julius Härtl 88a96e4db7 fix: Only store unencrypted_size if path should be encrypted 2 years ago
Robin Appelman e4f85226c5
extend fix-key-location to handle cases from broken cross-storage moves 2 years ago
Richard Steinmetz c4eccbb304
fix(sse): don't update uncached files 2 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 2 years ago
Côme Chilliet 546d94c3ec
Fix file_get_content signatures to make it clear it can return false 2 years ago
Robin Appelman 649bed5154
fix unencrypted_size for files when scanning 2 years ago
Robin Appelman 15a6920b07
fix encryption wrapper filesize for non existing files 2 years ago
Côme Chilliet 308fcf4526
Respect OCP interface in private classes 2 years ago
Côme Chilliet d9dbed9105
Fix psalm errors related to filesizes 2 years ago
Côme Chilliet ff776a90b1
Strong type filesize related methods to ease 32bits problem findings 2 years ago
Richard Steinmetz f0a3b77d0f fix(encryption): don't throw on missing file 2 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 2 years ago
Robin Appelman e3a0e64698
clear is-encrypted cache when trying to fix encrypted version 2 years ago
Robin Appelman e9b87c73fa
fix reading newly written encrypted files before their cache entry is written 2 years ago
Carl Schwan a5ea677370 Rename file1 and file2 to source and target in Storage abstraction 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 3 years ago
Côme Chilliet e8c1f75064
Fixing psalm errors 3 years ago
Côme Chilliet 6be7aa112f
Migrate from ILogger to LoggerInterface in lib/private 3 years ago
Jonas Meurer a2f4c62c19
updateEncryptedVersion: cleanup on target if cache already got renamed 3 years ago
Vincent Petry be590df588
Fix fail when keys/files folder already exists 3 years ago
Vincent Petry 6f81e60bce
Check resource before closing in encryption wrapper 3 years ago
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 4 years ago
Jasper Knockaert 40fde94b4d
fix even more brackets 4 years ago
Jasper Knockaert 252d1ae512
fix brakcets 4 years ago
Jasper Knockaert f9a0380eb1
consolidation of boolean expression 4 years ago
Jasper Knockaert 81e3ae4753
avoid fread on directories and unencrypted files 4 years ago
Christoph Wurst 9ce3ea3368
Update license headers 4 years ago
Tigran Mkrtchyan 4f2dc18f58 storage: update IStorage#file_put_contents docs to match usage 4 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 4 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 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 5 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 5 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 5 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 5 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 5 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 6 years ago