aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8968 from owncloud/scanner-parent-repairVincent Petry2014-06-121-2/+49
|\ | | | | Repair broken parent link in the scanner
| * Repair broken parent link in the scannerRobin Appelman2014-06-101-2/+49
| |
* | Use assertNotSame when checking etagsVincent Petry2014-06-111-3/+3
|/ | | | | Sometimes etags contain a "e" character which makes PHP believe it's a number and make the tests fail
* Added hacky fix for long path cleanup routineVincent Petry2014-06-061-4/+9
|
* use system function to recursive remove the directory used by temporary storageThomas Müller2014-06-061-1/+3
|
* Merge pull request #8889 from owncloud/mtime-reuseThomas Müller2014-06-051-2/+2
|\ | | | | Don't update the mtime if the storage mtime hasn't changed
| * Fix uit testsRobin Appelman2014-06-051-2/+2
| |
* | Merge pull request #8852 from owncloud/kill-permissions-masterThomas Müller2014-06-056-120/+0
|\ \ | |/ |/| Kill permissions table
| * - drop permissions table and related codeThomas Müller2014-06-056-120/+0
| | | | | | | | | | | | - the file/folder's permission is now stored in the file cache - BackGroundWatcher has been removed - this has meanwhile be replaced by occ files:scan which can be executed in a cron jobs - increase version to trigger database migration
* | Merge pull request #8822 from owncloud/cache-change-propagatorVincent Petry2014-06-044-21/+153
|\ \ | |/ |/| [WIP] Improved propagation of cache changes
| * Fix unit testsRobin Appelman2014-06-042-12/+10
| |
| * Fix unit testsRobin Appelman2014-06-032-13/+19
| |
| * propagate changes in the scannerRobin Appelman2014-06-021-0/+56
| |
| * Add a change propagator class to handle propagating etag and mtime changesRobin Appelman2014-06-021-0/+72
| |
* | Can't use assertInstanceOf on wrapped storage; use ↵ringmaster2014-06-041-5/+5
| | | | | | | | assertTrue(instanceOfStorage() instead.
* | fix unit test after adding the additional parameter to addStorageWrapper()Bjoern Schiessle2014-06-041-1/+1
|/
* Add $storage->instanceOfStorage to handle instanceof for storage wrappersRobin Appelman2014-05-293-0/+17
|
* Merge pull request #3908 from owncloud/storage-folder-copy-renameicewind19912014-05-292-1/+120
|\ | | | | Recursive copy and remove for local storage backends
| * fix illegal usage of unlink in test caseRobin Appelman2014-05-281-1/+1
| |
| * add recursive copy to local storage backendRobin Appelman2014-05-281-1/+64
| |
| * fix recursive rename for local storage backendRobin Appelman2014-05-281-0/+16
| |
| * aditional test cases for copy and renameRobin Appelman2014-05-281-0/+40
| |
* | # This is a combination of 2 commits.Thomas Müller2014-05-281-0/+121
|/ | | | | | | | | | | | | # The first commit's message is: adding tests for long paths increment path field in database up to 4000 (maximum for Oracle - otherwise we could use php's 4096) increment version to trigger database migration adding unit test for too long path # This is the 2nd commit message: fix too long path
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-2/+2
| | | | * test case added to avoid adding them later
* Add tests for other types that PHP might castLukas Reschke2014-05-131-0/+2
| | | Addition to https://github.com/owncloud/core/pull/8572
* Fixed getAbsolutePath case when path is "0"Vincent Petry2014-05-131-0/+18
| | | | | Make sure to correctly check for string emptiness when the passed path is "0".
* Remove unneccessary statement from testJoas Schilling2014-04-291-2/+0
|
* Update tests to test for create and update aswellJoas Schilling2014-04-291-13/+35
|
* Merge pull request #7970 from owncloud/webdav-upload-hashThomas Müller2014-04-031-1/+20
|\ | | | | Fix uploading files containing a # in the path for webdav
| * Fix uploading files containing a # in the path for webdavRobin Appelman2014-03-311-1/+20
| |
* | Correctly read the full stream in file_get_contentsVincent Petry2014-04-011-2/+13
|/ | | | | | | | | | | When using user-defined stream wrappers, PHP will return a maximum of 8192 bytes even if more was requested. This fix uses stream_get_contents to make sure the full stream is read and not only the first 8 KB. Added unit test with a bigger test file to cover this case.
* Merge pull request #7824 from owncloud/hash-parameter-orderThomas Müller2014-03-281-15/+32
|\ | | | | Fix parameter order for Storage\Local::hash
| * Fix parameter order for Storage\Local::hashRobin Appelman2014-03-201-15/+32
| |
* | Merge pull request #7829 from owncloud/cachefolderlocationVincent Petry2014-03-281-0/+51
|\ \ | | | | | | Cache folder is now configurable
| * | Added unit tests for external cache folderVincent Petry2014-03-241-0/+51
| | |
* | | Merge pull request #7420 from owncloud/cachehooks-firstThomas Müller2014-03-251-5/+0
|\ \ \ | | | | | | | | Manually triger the filecache update hooks before any other hook
| * \ \ Merge branch 'master' into cachehooks-firstRobin Appelman2014-03-135-31/+104
| |\ \ \ | | | |/ | | |/|
| * | | Manually triger the filecache update hooks before any other hookRobin Appelman2014-02-261-5/+0
| | | |
* | | | Merge pull request #7477 from owncloud/foldersize-reuseThomas Müller2014-03-251-1/+0
|\ \ \ \ | |_|_|/ |/| | | Allow re-using already known fileinfo when calculating folder sizes
| * | | Merge branch 'master' into foldersize-reuseRobin Appelman2014-03-111-0/+16
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: lib/private/files/cache/homecache.php
| * | | Remove assert since the root size of the home storage is no longer calculatedRobin Appelman2014-03-031-1/+0
| | | |
* | | | Still return quota value when free space is unknownVincent Petry2014-03-191-0/+18
| |/ / |/| | | | | | | | | | | | | | Fixed the quota storage wrapper to correctly return the quota value when the free space is not known (which usually happens when the disk_free_space function is disabled)
* | | Return unencrypted_size of folder when queriedVincent Petry2014-03-071-0/+16
|/ / | | | | | | | | | | This fixes the "used space" to be based on the unencrypted size, not encrypted size, to be consistent with how quota/space is handled when encryption is enabled
* | initialize etags of temporary storageJörn Friedrich Dreyer2014-02-271-0/+1
| |
* | use assertInternalType for typecheckingJörn Friedrich Dreyer2014-02-272-29/+71
| |
* | use assertSame and assertNotSame for etag checksJörn Friedrich Dreyer2014-02-273-10/+24
|/
* Merge pull request #6962 from owncloud/quota-space-rootThomas Müller2014-02-201-3/+22
|\ | | | | Allow passing a root folder to get the used space from in the quota wrapper
| * Add unit test for quote wrapper size rootRobin Appelman2014-02-041-3/+22
| |
* | Fixed ext storage webdav path encodingVincent Petry2014-02-191-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-1Morris Jobke2014-02-197-4/+18
|\ \ | | | | | | Scrutinizer Auto-Fixes