Michael Gapczynski
6524f6ad30
Only call OC_FileCache::get('/Shared') if it exists in the file cache, prevents premature addition of the Shared folder to the file cache
2012-06-20 19:24:45 -04:00
Bjoern Schiessle
1b142a1155
quota calculation fixed
2012-06-19 09:36:50 +02:00
Bjoern Schiessle
92bb59c95d
fixed broken function call
2012-06-18 17:30:21 +02:00
Bjoern Schiessle
814cab97cf
ignore "Shared"-directory when calculating free space
...
Conflicts:
lib/fileproxy/quota.php
2012-06-18 17:27:42 +02:00
Robin Appelman
9f5bce81b0
add a default user quota
2012-02-24 23:54:38 +01:00
Robin Appelman
835d6a9b6e
save quota in human readable format (42 MB), should prevent some of the overflow related problems
2011-12-14 01:16:14 +01:00
Robin Appelman
57bffdb46a
fix uploading files using webdav
2011-09-25 01:20:43 +02:00
Florian Pritz
36c31b0e83
fix warning when uploading file using webdav
...
When uploading a file using davfs php warned about a missing argument to
OC_FileProxy_Quota::preFile_put_contents(). Since we get a resource from
OC_Connector_Sabre_File->put(), we have to convert that before running
strlen because it expects a string.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:42:01 +02:00
Robin Appelman
6173c0fbc2
a bit of refactoring for oc_filesystem and implement user quota
2011-08-15 21:09:13 +02:00