Commit Graph

96 Commits (dd08f9320249d8ac7bf96f338a5be70d60af1dce)

Author SHA1 Message Date
Dennis Verspuij 181aecad4c fix: Release directory iterator and thereby its potential directory lock prior to deleting a directory, to avoid e.g. "Text file busy" error with VirtualBox shared folder storage 1 year ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Côme Chilliet 672923f0a6
fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes 2 years ago
Joas Schilling 64d32abb48
fix(CI): Suppress psalm UndefinedClass 2 years ago
Joas Schilling 050408c9de
fix(files): Also skip cross storage move with access control 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Benjamin Gaussorgues 5158bbf09b
fix: avoid scanning a non existing directory 2 years ago
Robin Appelman 8418fcfedf
add some support for rename on case insensitive local filesystems 2 years ago
Vincent Petry 8d1a3daa3f Allow ext storage Local to go unavailable 2 years ago
Daniel Kesselberg f1d4f7c7e4
fix: copy-and-delete fallback should use unlink 2 years ago
Daniel Kesselberg b4ff557b8c fix(storage): fallback to copy and unlink when rename fails 2 years ago
Hamid Dehnavi d0b20534b9 Refactor "substr" calls to improve code readability 3 years ago
Lorenzo Tanganelli 6b55e92e33
invert elseif on rmdir for local storage 3 years ago
Côme Chilliet a90581b405
Get rid of more int casts in file size manipulations 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Côme Chilliet 4393b96542
Remove unused method getLocalFolder 3 years ago
Côme Chilliet 8104d9f5d8
Remove useless coalescing operator on non-null return value 3 years ago
Côme Chilliet 3f84d41226
Silence a warning from psalm with explanation 3 years ago
Git'Fellow 28231ae515
Add function_exists() check 3 years ago
Git'Fellow 9ac065fb92
Fix free space problems 3 years ago
Côme Chilliet 308fcf4526
Respect OCP interface in private classes 3 years ago
Côme Chilliet ff776a90b1
Strong type filesize related methods to ease 32bits problem findings 3 years ago
Côme Chilliet e156f8339c
Revert "remove 32-bit workarounds" 3 years ago
Robin Appelman 33b90d28f8 fix moving files of encrypted local storage to unencrypted local storage 3 years ago
szaimen 3f7c620f26 fix psalm 3 years ago
szaimen dd8774389e remove 32-bit workarounds 3 years ago
Carl Schwan a5ea677370 Rename file1 and file2 to source and target in Storage abstraction 3 years ago
Robin Appelman cb51564356 trigger a rescan when trying to fopen a file that exists in cache but not on disk 3 years ago
Tigran Mkrtchyan f41209a061 config: add a switch to control truncate before update 3 years ago
Tigran Mkrtchyan 8fc4cf67f1 files: remove destination file before copying new content (WORM) 3 years ago
Tigran Mkrtchyan b6065a236f files: make OC\Files\Storage\Local WORM friendly 3 years ago
Martin Brugnara 7409569994
Expose umask override value as config parameter: localstorage.umask 4 years ago
Côme Chilliet 23f7a37c03
Remove ILogger usages in lib/private/Files/Storage 4 years ago
Robin Appelman 468d6a9cf1
ignore forbidden files while scanning local storage 4 years ago
Robin Appelman 84f464550a
some file scanner performance improvements 4 years ago
acsfer 152e2bfdaa
Check for `disk_free_space` 4 years ago
Carl Schwan 9408f8ae69
Fix security issues when copying groupfolder with advanced ACL 4 years ago
acsfer 98eac0fc05
Simplify :) 4 years ago
acsfer 8a8df49bc0
Replace `file_exists()` method by `is_file()` 4 years ago
acsfer 3a25183b66 Get `filesize()` if `file_exists()` 4 years ago
Daniel Kesselberg e60a829b42
explicitly close source stream on local storage 4 years ago
Rid 0469acfb20 Fix scanner mistaking socket files for directories 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Robin Appelman aee4caed07
show better error messages when a file with a forbidden path is encountered 5 years ago
Robin Appelman e5dc1a8085
Set umask before operations that create local files 5 years ago
Robin Appelman d182043e83
explicitly set permissions on newly created folders 5 years ago
Johannes Leuker ac88bcbd5f Add 'allow Symlinks' as an option to config.php 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Tigran Mkrtchyan f3513f3fe4 files: Local#writeStream should use it's own file_put_contents 5 years ago
aler9 ac0c7a8fe0 Fix file size computation on 32bit platforms 5 years ago