Robin Appelman
53a888cc81
more path normalization
2012-08-17 01:22:54 +02:00
Robin Appelman
1522f7f211
fix some minor problems with path noramlization
2012-08-14 03:07:14 +02:00
Robin Appelman
0c8ce0bb32
some basic path normalization
2012-08-14 02:44:45 +02:00
Michael Gapczynski
4c822df28d
Fix incorrect copy/paste for file_put_contents()
2012-07-27 09:37:47 -04:00
Michael Gapczynski
ea2e76eecc
Forgot data parameter for file_put_contents() streams pre proxies
2012-07-26 23:10:21 -04:00
Michael Gapczynski
d006a551f4
Run pre and post proxies for file_put_contents() streams
2012-07-26 22:53:55 -04:00
Michael Gapczynski
f25ccaff59
Fix filesystem hash, no longer using basicOperation()
2012-07-25 16:55:01 -04:00
Thomas Tanghus
0eade1b0d5
Code style. One down...
2012-07-21 22:00:27 +02:00
Robin Appelman
48306a3c4f
fix unused variables
2012-07-20 17:58:05 +02:00
Bjoern Schiessle
aec6eea235
use filesystem abstraction layer to copy file versions
2012-07-03 18:25:49 +02:00
Bjoern Schiessle
4bc9e4e012
wrong var name fixed
2012-07-03 16:43:57 +02:00
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()
2012-06-21 18:15:22 +01:00
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)
2012-06-19 19:42:40 +01:00
Robin Appelman
a9a424a519
also add hasUpdated to oc_filesystem and oc_filesystemview
2012-06-15 17:42:39 +02:00
Robin Appelman
601bac746d
use absolute path for file proxies
2012-06-09 17:34:13 +02:00
Bart Visscher
ac36512102
Don't use substr to get first char of string
2012-06-08 21:38:10 +02:00
Bart Visscher
6af980c20c
Add cache for getStorage and getInternalPath functions.
...
These are called for almost every file operation.
2012-06-08 21:38:10 +02:00
Sam Tuke
ec0c0f3907
Added & improved documentation
2012-05-31 17:57:34 +01:00
Sam Tuke
6b3df8ae9c
Improved class comment block
2012-05-31 17:32:34 +01:00
Sam Tuke
8744b09959
added extensive class comment based on icewind's January list email
2012-05-31 17:02:35 +01:00
Sam Tuke
fc400e06c3
fixed typos in var names
2012-05-31 14:53:52 +01:00
Sam Tuke
43fcae0409
clarified comment
2012-05-31 14:50:41 +01:00
Frank Karlitschek
a945fa10a6
update copyright
2012-05-26 19:14:24 +02:00
Robin Appelman
c0e67fa24a
fix opening encrypted files from the browser
2012-05-05 16:49:48 +02:00
Robin Appelman
9015c46e31
emit the correct hooks for file_put_contents and some readfile improvements
2012-04-25 00:12:12 +02:00
Arthur Schiwon
9ef34cd831
typo
2012-04-13 23:02:42 +02:00
Arthur Schiwon
74f0bebfc8
don't fail on missing extension
2012-04-13 23:02:42 +02:00
Michael Gapczynski
ff4b0c4d7f
Move writable check into local filestorage so shared files can be renamed
2012-04-01 13:30:41 -04:00
Michael Gapczynski
6bb48b2731
Check file handle exists before trying to read file
2012-04-01 02:38:26 -04:00
Arthur Schiwon
c92fc9bf65
return path of tmp file like filestorage/common does. Fixes broken folder-/multifile-download.
2012-03-27 02:24:52 +02:00
Robin Appelman
2e365658c8
better handeling of files that can behave like folder (e.g. archives)
2012-03-03 21:23:35 +01:00
Robin Appelman
e76e4e7540
add touch() to all storage backands, and make parameter optional
2012-02-29 23:44:05 +01:00
Robin Appelman
3e0bb3e7c4
use temporary file managment
2012-02-28 11:33:59 +01:00
Robin Appelman
d8d4420f22
some cleanup in filestorage
2012-02-27 12:20:37 +01:00
Robin Appelman
cef230c141
extend filestorage common and provide test implementation
2012-02-27 12:04:42 +01:00
Robin Appelman
857535403c
add more valid fopen modes
2012-02-26 15:32:58 +01:00
Robin Appelman
d4d09b06f8
merge master into encryption
2012-02-26 14:21:06 +01:00
Robin Appelman
c8c3b8a63e
chunked implementation for readfile
...
prevents memory issues when downloading large files
2012-02-26 03:54:21 +01:00
Robin Appelman
c20319d377
fix incorrect information in the filecache when using encryption
2012-02-21 20:48:49 +01:00
Robin Appelman
c121a1a1e7
implement file_put_contents with stream data using fopen
2012-02-21 20:48:48 +01:00
Robin Appelman
1cffeefa06
move implementation of from/toTmpFile from the file storage to the filesystem
2012-02-21 20:48:48 +01:00
Robin Appelman
b3a974d8bb
only trigger hooks for the default filesystem view
2012-02-21 20:48:48 +01:00
Robin Appelman
fd4b30ac6f
no post hooks for fopen
2012-02-21 20:48:48 +01:00
Robin Appelman
e9af218562
use streams instead of temporary files for cross-storage copy and rename
2012-02-21 20:48:48 +01:00
Robin Appelman
3d67cd51c2
encryption proxy wip
2012-02-21 20:48:47 +01:00
Klaas Freitag
60a03580ff
allow to set a files mtime through a PROPPATCH request on resource
...
'lastmodified'. Needed for syncing algorithms.
2012-02-14 09:59:54 +01:00
Klaas Freitag
85853f9ec2
- Added the ability to change a files mtime via webdavs propset.
...
- Added some minor debug help to fscache
2012-02-10 11:30:38 +01:00
Robin Appelman
30673e4786
writable not writeable
2012-02-05 14:03:44 +01:00
Robin Appelman
c46f701771
use filesystem cache for searching
2012-01-31 16:12:49 +01:00
Robin Appelman
11c848b221
initial work on filesystemview
2012-01-20 00:48:00 +01:00