Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #6962 from owncloud/quota-space-root | Thomas Müller | 2014-02-20 | 1 | -3/+22 |
|\ | | | | | Allow passing a root folder to get the used space from in the quota wrapper | ||||
| * | Add unit test for quote wrapper size root | Robin Appelman | 2014-02-04 | 1 | -3/+22 |
| | | |||||
* | | Fixed ext storage webdav path encoding | Vincent Petry | 2014-02-19 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Some WebDAV servers like lighttpd need paths in URLs to be properly encoded - Added error log output when curl connection failed - Added check for 'resourcetype' in case the WebDAV server doesn't support/return it - Fixed touch() to return false if the server doesn't implement PROPPATCH - Added optional delay in WebDAV unit tests to use when testing against lighttpd's WebDAV | ||||
* | | Merge pull request #7274 from owncloud/scrutinizer-patch-1 | Morris Jobke | 2014-02-19 | 7 | -4/+18 |
|\ \ | | | | | | | Scrutinizer Auto-Fixes | ||||
| * | | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2014-02-19 | 7 | -4/+18 |
| |/ | | | | | | | | | | | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend | ||||
* | | add unit tests for watcher policies | Robin Appelman | 2014-02-19 | 1 | -1/+55 |
| | | |||||
* | | Allow setting the frequency of which the file watcher checks for updates | Robin Appelman | 2014-02-18 | 1 | -0/+3 |
|/ | |||||
* | Fixed quota wrapper to not wrap failed fopen streams | Vincent Petry | 2014-01-19 | 1 | -0/+19 |
| | | | | | | | | | | | | When calling fopen() on some storage types, these return false instead of throwing an exception. This fix makes sure that in case the stream wasn't opened (for example when a file doesn't exist any more) the stream isn't wrapped. Also added 'rb' as another case that doesn't need to be wrapped. Fixes #6832 | ||||
* | Fix array access syntax for older PHP | Vincent Petry | 2014-01-17 | 1 | -2/+3 |
| | | | | There was a syntax error when running tests in PHP 5.3.10. | ||||
* | Merge pull request #6768 from owncloud/scanner-use-storage-mtime | Vincent Petry | 2014-01-15 | 3 | -2/+19 |
|\ | | | | | Use storage_mtime when determining if we can reuse cached data while scanning | ||||
| * | update another test | Robin Appelman | 2014-01-14 | 1 | -1/+1 |
| | | |||||
| * | use different value for mtime and storage_mtime in test | Robin Appelman | 2014-01-14 | 1 | -1/+1 |
| | | |||||
| * | remove duplicate test class | Robin Appelman | 2014-01-14 | 2 | -23/+17 |
| | | |||||
| * | Use storage_mtime when determining if we can reuse cached data while scanning | Robin Appelman | 2014-01-14 | 2 | -1/+24 |
| | | |||||
* | | Fix calculated folder size to use unencrypted size | Vincent Petry | 2014-01-09 | 1 | -0/+45 |
|/ | | | | | | The encrypted size was used when calculating folder sizes. This fix now also sums up the unencrypted size and shows that one when available. | ||||
* | Prevent deleting storage root | Vincent Petry | 2014-01-08 | 1 | -0/+42 |
| | | | | | | | | Storage mount points are not deletable, so make sure that the unlink operation and its hooks aren't run in such cases. Note that some storages might recursively delete their contents when calling unlink on their root. This fix prevents that as well. | ||||
* | Now also preventing to override "files" dir size with -1 | Vincent Petry | 2014-01-07 | 1 | -6/+12 |
| | | | | Fixes #6526 | ||||
* | remove unneeded ; in comment | Robin Appelman | 2013-12-12 | 1 | -1/+1 |
| | |||||
* | Add test for having utf8 filenames in the cache | Robin Appelman | 2013-12-12 | 1 | -1/+31 |
| | |||||
* | get rid of failing test that don't cause additional downloads | Robin Appelman | 2013-12-06 | 2 | -25/+25 |
| | |||||
* | extend test case for etag preservation | Robin Appelman | 2013-12-06 | 1 | -2/+2 |
| | |||||
* | reuse etags when doing a background scan | Robin Appelman | 2013-12-05 | 1 | -0/+79 |
| | |||||
* | Added unit test for the test() method | Vincent Petry | 2013-12-03 | 1 | -0/+7 |
| | | | | This is to make sure that method isn't broken | ||||
* | Fixed FTP and SMB to use rmdir() when deleting folders | Vincent Petry | 2013-11-29 | 1 | -1/+13 |
| | | | | | | | | | | | Some storages need to use different calls for deleting files or folders, usually unlink() and rmdir(). Fixes #4532 (SMB dir deletion) Fixes #5941 (FTP dir deletion) Note that the extra is_dir() should be fast because it's read from the stat cache. | ||||
* | Redetect mime type whenever extension is renamed | Vincent Petry | 2013-11-27 | 1 | -0/+8 |
| | |||||
* | Merge pull request #6008 from owncloud/extstorage-smb-webdav-renamefix | Vincent Petry | 2013-11-26 | 1 | -1/+9 |
|\ | | | | | Fixed SMB rename function to overwrite target file | ||||
| * | Improved unit test for "overwrite on move" | Vincent Petry | 2013-11-25 | 1 | -3/+5 |
| | | | | | | | | Now using a different content to make sure the file was overwritten. | ||||
| * | Added unit test for "overwrite file on rename/move" | Vincent Petry | 2013-11-25 | 1 | -0/+6 |
| | | | | | | | | | | Also fixed "rename" unit test that was ready the result out of the wrong file. | ||||
* | | Updated unit tests for SMB | Vincent Petry | 2013-11-26 | 1 | -1/+2 |
|/ | | | | | - coverage for touch return value - fixed directory provider to exclude unsupported cases | ||||
* | Fixed SMB file deletion success detection | Vincent Petry | 2013-11-19 | 1 | -2/+14 |
| | | | | | | | Since unlink() smb4php doesn't return true on deletion success, we need to check whether the file was deleted to confirm success. Fixes #5866 | ||||
* | Merge pull request #5927 from owncloud/quota-excludeextstorage | Morris Jobke | 2013-11-18 | 1 | -0/+5 |
|\ | | | | | External storage space is now not counted in total space | ||||
| * | External storage space is now not counted in total space | Vincent Petry | 2013-11-18 | 1 | -0/+5 |
| | | | | | | | | | | | | | | Added argument to getFileInfo() to disable adding the size of mountpoints to a directory's size. Fixes #5924 | ||||
* | | Root size for home storage is now size of "files" subdir | Vincent Petry | 2013-11-18 | 1 | -0/+26 |
|/ | | | | Fixes #4593 | ||||
* | Added missing test with leading backslash | Vincent Petry | 2013-11-14 | 1 | -0/+2 |
| | |||||
* | Fixed normalizePath() to strip out single dot dirs | Vincent Petry | 2013-11-14 | 1 | -1/+54 |
| | | | | Now removing "/./" and trailing "/." from the paths when normalizing. | ||||
* | Now using HomeStorage for legacy home storage ids | Vincent Petry | 2013-11-12 | 2 | -2/+91 |
| | | | | | Legacy home storage ids with the format "local://path/to/datadir/user1" are now also wrapped by the HomeStorage. | ||||
* | Do not use -1 as the size for the root folder of the home storage | Robin Appelman | 2013-11-12 | 2 | -14/+136 |
| | |||||
* | Fixed filesize issue in watchr test | Vincent Petry | 2013-11-05 | 1 | -0/+3 |
| | | | | | | | Added clearstatcache to make sure we get the correct file size after re-writing into the same file. This failed on openSUSE 12.3 x86_64 | ||||
* | Merge pull request #5652 from owncloud/front-port-5647-master | Thomas Müller | 2013-11-01 | 1 | -15/+26 |
|\ | | | | | [WIP] extend unit test to directories starting or ending in whitespace | ||||
| * | extend unit test to directories starting or ending in whitespace | Jörn Friedrich Dreyer | 2013-10-31 | 1 | -15/+26 |
| | | |||||
* | | Merge branch 'master' into home-storage | Thomas Müller | 2013-10-30 | 1 | -2/+50 |
|\| | |||||
| * | Merge branch 'master' into update-parent-storage-mtime | Robin Appelman | 2013-10-30 | 1 | -0/+18 |
| |\ | | | | | | | | | | | | | Conflicts: lib/private/files/cache/updater.php | ||||
| | * | backport of https://github.com/owncloud/core/pull/5513 | Bjoern Schiessle | 2013-10-29 | 1 | -0/+18 |
| | | | |||||
| * | | update touch tests for updated behaviour | Robin Appelman | 2013-10-29 | 1 | -2/+0 |
| | | | |||||
| * | | Update the parent folders storage_mtime on write and delete to prevent rescans | Robin Appelman | 2013-10-29 | 1 | -0/+32 |
| |/ | |||||
* / | add specialized storage backend for home folders | Robin Appelman | 2013-10-29 | 1 | -0/+71 |
|/ | |||||
* | Fixed quota stream to not wrap read-only fopen calls | Vincent Petry | 2013-10-25 | 1 | -0/+22 |
| | |||||
* | Fixed quota stream's fseek method | Vincent Petry | 2013-10-25 | 1 | -0/+72 |
| | | | | | | - Added missing return statement - Added missing support for SEEK_END - Fixes #5524 | ||||
* | Merge pull request #5263 from owncloud/fixing-5255-master | VicDeo | 2013-10-10 | 1 | -0/+34 |
|\ | | | | | Proper behavior of resolvePath() | ||||
| * | the path need to be normalized before putting it into resolvePath() | Thomas Müller | 2013-10-10 | 1 | -0/+34 |
| | | | | | | | | otherwise the returned internalPath will not match followup calls to e.g. Cache::getID() |