summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Ensure memcached extension is there before attempting to create an instance.Andreas Fischer2013-12-091-4/+3
|
* Only run memcached tests if server is available.Andreas Fischer2013-12-091-0/+7
|
* Merge pull request #6150 from owncloud/backgroundjob-log-exceptionblizzz2013-12-064-38/+105
|\ | | | | Remove background jobs that are giving errors
| * add test case for removing background jobs that are throwing exceptionsRobin Appelman2013-12-052-3/+59
| |
| * Dont use exceptions for the backgroundjob test casesRobin Appelman2013-12-042-35/+46
| |
* | get rid of failing test that don't cause additional downloadsRobin Appelman2013-12-062-25/+25
| |
* | extend test case for etag preservationRobin Appelman2013-12-061-2/+2
| |
* | reuse etags when doing a background scanRobin Appelman2013-12-051-0/+79
| |
* | Added unit test for the test() methodVincent Petry2013-12-031-0/+7
|/ | | | This is to make sure that method isn't broken
* Merge pull request #6052 from owncloud/datetime-doctrineThomas Müller2013-12-011-38/+0
|\ | | | | Get rid of date strings for DB. Completely use Doctrine and DateTime.
| * Timestamp test is no longer necessary as we rely on Doctrine and DateTime.Andreas Fischer2013-11-261-38/+0
| |
* | Fixed FTP and SMB to use rmdir() when deleting foldersVincent Petry2013-11-291-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 renamedVincent Petry2013-11-271-0/+8
| |
* | Merge pull request #6058 from owncloud/ldap2avatarblizzz2013-11-262-0/+96
|\ \ | | | | | | Set Avatar for LDAP users automatically (if a picture is available)
| * | Enable user backends to provide avatar imagesArthur Schiwon2013-11-222-0/+96
| | |
* | | Merge pull request #6060 from owncloud/fix-6050-oc6Björn Schießle2013-11-261-3/+8
|\ \ \ | | | | | | | | fixing getRawPathInfo() once more
| * | | fixes #6050Thomas Müller2013-11-261-3/+8
| | |/ | |/|
* | | Merge pull request #6008 from owncloud/extstorage-smb-webdav-renamefixVincent Petry2013-11-261-1/+9
|\ \ \ | | | | | | | | Fixed SMB rename function to overwrite target file
| * | | Improved unit test for "overwrite on move"Vincent Petry2013-11-251-3/+5
| | | | | | | | | | | | | | | | Now using a different content to make sure the file was overwritten.
| * | | Added unit test for "overwrite file on rename/move"Vincent Petry2013-11-251-0/+6
| | | | | | | | | | | | | | | | | | | | Also fixed "rename" unit test that was ready the result out of the wrong file.
* | | | Updated unit tests for SMBVincent Petry2013-11-261-1/+2
| |/ / |/| | | | | | | | | | | - coverage for touch return value - fixed directory provider to exclude unsupported cases
* | | in case uri and script name don't match we better throw an exceptionThomas Müller2013-11-251-0/+22
| | |
* | | handle duplicate slashes in case of reverse proxy configurationThomas Müller2013-11-251-0/+20
|/ /
* / adding simple unit test to test scriptName() under overwrite conditionThomas Mueller2013-11-241-0/+26
|/
* Merge pull request #5040 from owncloud/public_api_avatar_masterblizzz2013-11-221-0/+15
|\ | | | | Add public API for \OC\Avatar
| * Round out Avatar Public APIArthur Schiwon2013-11-211-0/+15
| |
* | Quota storage wrapper is now used for all users in sharing modeVincent Petry2013-11-211-0/+49
| | | | | | | | | | | | | | | | | | When accessing a shared folder, the folder's owner appears as mountpoint but wasn't wrapped by a quota storage wrapper. This fix makes sure that all home storages are wrapped by a quota storage wrapper, if applicable, to make sure quotas are respected when uploading into shared folders.
* | Fixed SMB file deletion success detectionVincent Petry2013-11-191-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-excludeextstorageMorris Jobke2013-11-181-0/+5
|\ \ | | | | | | External storage space is now not counted in total space
| * | External storage space is now not counted in total spaceVincent Petry2013-11-181-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" subdirVincent Petry2013-11-181-0/+26
|/ / | | | | | | Fixes #4593
* | Merge pull request #5813 from owncloud/fix-4736-masterThomas Müller2013-11-151-2/+2
|\ \ | | | | | | Don't set a default value when there isn't a default specified
| * | fix DB schema test - no default valueMorris Jobke2013-11-121-2/+2
| |/
* | Merge pull request #5862 from owncloud/files-singledotdirsThomas Müller2013-11-141-1/+56
|\ \ | | | | | | Files singledotdirs
| * | Added missing test with leading backslashVincent Petry2013-11-141-0/+2
| | |
| * | Fixed normalizePath() to strip out single dot dirsVincent Petry2013-11-141-1/+54
| | | | | | | | | | | | Now removing "/./" and trailing "/." from the paths when normalizing.
* | | make use of data providersThomas Müller2013-11-141-111/+80
| | |
* | | Fix type in unit testtomneedham2013-11-141-1/+1
| | |
* | | Merge branch 'master' into oc_api_teststomneedham2013-11-144-16/+227
|\| |
| * | Now using HomeStorage for legacy home storage idsVincent Petry2013-11-122-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 storageRobin Appelman2013-11-122-14/+136
| | |
* | | Add tests for OC_API::mergeResponses()tomneedham2013-11-141-0/+159
|/ /
* | Merge pull request #5707 from owncloud/fixwrongfilesizeintestsMorris Jobke2013-11-111-0/+3
|\ \ | |/ |/| Fixed filesize issue in watchr test
| * Fixed filesize issue in watchr testVincent Petry2013-11-051-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 #5673 from owncloud/oc6-windows-server-mssql-masterThomas Müller2013-11-051-1/+2
|\ \ | |/ |/| Oc6 windows server mssql master
| * adding test for binary file to test \OC_Helper::streamCopy()Thomas Mueller2013-11-041-0/+1
| |
| * WIN: fixing unit test for testStreamCopy()Thomas Mueller2013-11-021-1/+1
| |
* | Add tests for OCP\Share::unshareAll().Andreas Fischer2013-11-031-10/+33
|/
* Merge pull request #5652 from owncloud/front-port-5647-masterThomas Müller2013-11-011-15/+26
|\ | | | | [WIP] extend unit test to directories starting or ending in whitespace
| * extend unit test to directories starting or ending in whitespaceJörn Friedrich Dreyer2013-10-311-15/+26
| |