Thomas Mueller
3829460ab8
adding space between) and {
13 years ago
Bart Visscher
52f2e7112e
Whitespace fixes in lib
13 years ago
Robin Appelman
154ce0f68d
also add getLocalFolder to OC_Filsystem and OC_FilesystemView
13 years ago
Robin Appelman
53a888cc81
more path normalization
13 years ago
Robin Appelman
1522f7f211
fix some minor problems with path noramlization
13 years ago
Robin Appelman
0c8ce0bb32
some basic path normalization
13 years ago
Michael Gapczynski
6b83470c96
Fix incorrect copy/paste for file_put_contents()
13 years ago
Michael Gapczynski
93c75f46e5
Forgot data parameter for file_put_contents() streams pre proxies
13 years ago
Michael Gapczynski
ea18d70c60
Run pre and post proxies for file_put_contents() streams
...
Conflicts:
lib/filesystemview.php
13 years ago
Michael Gapczynski
f328f53ec1
Fix filesystem hash, no longer using basicOperation()
...
Conflicts:
lib/filesystemview.php
13 years ago
Michael Gapczynski
4c822df28d
Fix incorrect copy/paste for file_put_contents()
13 years ago
Michael Gapczynski
ea2e76eecc
Forgot data parameter for file_put_contents() streams pre proxies
13 years ago
Michael Gapczynski
d006a551f4
Run pre and post proxies for file_put_contents() streams
13 years ago
Michael Gapczynski
f25ccaff59
Fix filesystem hash, no longer using basicOperation()
13 years ago
Michael Gapczynski
f7b89f0475
Add CRUDS permissions calls to filesystem, deprecate is_readable() and is_writable()
13 years ago
Thomas Tanghus
0eade1b0d5
Code style. One down...
13 years ago
Robin Appelman
48306a3c4f
fix unused variables
13 years ago
Bjoern Schiessle
aec6eea235
use filesystem abstraction layer to copy file versions
13 years ago
Bjoern Schiessle
4bc9e4e012
wrong var name fixed
13 years ago
Sam Tuke
a9a913c273
Implemented deleteAll() method in OC_FilesystemView (interface) and OC_Filestorage_Common (logic)
...
Made OC_Filestorage_Local and OC_Filestorage_Shared extend OC_Filestorage_Common
Set searchInDir() to protected instead of private in OC_Filestorage_Local and OC_Filestorage_Shared
Added class documentation to OC_Filestorage_Common
Cleaned up OCA_Versions::expireAll()
13 years ago
Robin Appelman
9ba467d629
fix encryption for binary files
13 years ago
Robin Appelman
e3f1507374
use absolute path for file proxies
13 years ago
Bart Visscher
cff1b6e699
Don't use substr to get first char of string
13 years ago
Bart Visscher
598a090db4
Add cache for getStorage and getInternalPath functions.
...
These are called for almost every file operation.
13 years ago
Sam Tuke
28a72e0e3c
Fixed deleteAll function for deleting all old versions of files (expireAll)
...
Added new readdir() method to all storage classes and handlers (only working implementation in local.php)
13 years ago
Robin Appelman
a9a424a519
also add hasUpdated to oc_filesystem and oc_filesystemview
13 years ago
Robin Appelman
601bac746d
use absolute path for file proxies
13 years ago
Bart Visscher
ac36512102
Don't use substr to get first char of string
13 years ago
Bart Visscher
6af980c20c
Add cache for getStorage and getInternalPath functions.
...
These are called for almost every file operation.
13 years ago
Sam Tuke
ec0c0f3907
Added & improved documentation
13 years ago
Sam Tuke
6b3df8ae9c
Improved class comment block
13 years ago
Sam Tuke
8744b09959
added extensive class comment based on icewind's January list email
13 years ago
Sam Tuke
fc400e06c3
fixed typos in var names
13 years ago
Sam Tuke
43fcae0409
clarified comment
13 years ago
Frank Karlitschek
a945fa10a6
update copyright
13 years ago
Robin Appelman
c0e67fa24a
fix opening encrypted files from the browser
13 years ago
Robin Appelman
9015c46e31
emit the correct hooks for file_put_contents and some readfile improvements
13 years ago
Arthur Schiwon
9ef34cd831
typo
13 years ago
Arthur Schiwon
74f0bebfc8
don't fail on missing extension
13 years ago
Michael Gapczynski
ff4b0c4d7f
Move writable check into local filestorage so shared files can be renamed
13 years ago
Michael Gapczynski
6bb48b2731
Check file handle exists before trying to read file
13 years ago
Arthur Schiwon
c92fc9bf65
return path of tmp file like filestorage/common does. Fixes broken folder-/multifile-download.
13 years ago
Robin Appelman
2e365658c8
better handeling of files that can behave like folder (e.g. archives)
13 years ago
Robin Appelman
e76e4e7540
add touch() to all storage backands, and make parameter optional
13 years ago
Robin Appelman
3e0bb3e7c4
use temporary file managment
13 years ago
Robin Appelman
d8d4420f22
some cleanup in filestorage
13 years ago
Robin Appelman
cef230c141
extend filestorage common and provide test implementation
13 years ago
Robin Appelman
857535403c
add more valid fopen modes
13 years ago
Robin Appelman
c8c3b8a63e
chunked implementation for readfile
...
prevents memory issues when downloading large files
13 years ago
Robin Appelman
c20319d377
fix incorrect information in the filecache when using encryption
13 years ago