Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adjust tests accordingly | Arthur Schiwon | 2014-04-15 | 3 | -3/+3 |
| | |||||
* | add requirements to routing | Bernhard Posselt | 2014-04-10 | 1 | -4/+29 |
| | | | | | Conflicts: tests/lib/appframework/routing/RoutingTest.php | ||||
* | Still return quota value when free space is unknown | Vincent Petry | 2014-03-21 | 1 | -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) Backport of 66bc0f0 from master | ||||
* | Return unencrypted_size of folder when queried | Vincent Petry | 2014-03-21 | 1 | -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 | ||||
* | Added .ocdata file to check for data folder validity | Vincent Petry | 2014-03-20 | 1 | -0/+108 |
| | | | | | | | | | | In environments where the data folder is mount from another partition, it is important to check that the data folder we see is actually the real one. If the mount failed for some reasons, this fix will make ownCloud temporarily unavailable instead of causing unpredictable behavior. Backport of 3c46dcd from master | ||||
* | Added unit tests for serverHost and other related functions | Vincent Petry | 2014-03-05 | 1 | -0/+137 |
| | |||||
* | fix sharing unit tests | Bjoern Schiessle | 2014-02-21 | 2 | -7/+7 |
| | |||||
* | add unit test for \OC\URLGenerator::getAbsoluteURL to verify #6935 | Bjoern Schiessle | 2014-02-21 | 1 | -0/+34 |
| | |||||
* | intendation | Arthur Schiwon | 2014-02-10 | 1 | -5/+5 |
| | |||||
* | Inject logger | Arthur Schiwon | 2014-02-10 | 1 | -0/+7 |
| | |||||
* | test for share dialoge sorter | Arthur Schiwon | 2014-02-10 | 1 | -0/+40 |
| | |||||
* | add test for password remove method | Bjoern Schiessle | 2014-02-04 | 1 | -0/+62 |
| | |||||
* | fixing comment + adding unit test for checkPasswordProtectedShare | Thomas Müller | 2014-01-21 | 1 | -0/+42 |
| | |||||
* | Fixed quota wrapper to not wrap failed fopen streams | Vincent Petry | 2014-01-20 | 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. | ||||
* | updated the unit test for OCP\Share::unshareAll() to verify that shares by ↵ | ben-denham | 2014-01-16 | 1 | -4/+54 |
| | | | | all users are removed for an item. | ||||
* | extended test to also check the status messages | Bjoern Schiessle | 2014-01-15 | 1 | -11/+24 |
| | |||||
* | Use storage_mtime when determining if we can reuse cached data while scanning | Robin Appelman | 2014-01-15 | 3 | -2/+19 |
| | | | | | | | | Backport to stable6 of the following commits, in order: - 203d5d0 - 4113042 - 7e4c80f - 16b898d | ||||
* | Fix calculated folder size to use unencrypted size | Vincent Petry | 2014-01-14 | 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. Backport of 4faba49 to stable6 | ||||
* | Merge pull request #6612 from owncloud/user-no-change-displayname-stable | icewind1991 | 2014-01-14 | 1 | -1/+4 |
|\ | | | | | Backport: Re-add the config options to remove the ability for users to change their displayname | ||||
| * | Pass config object in testGetHomeNotSupported | Robin Appelman | 2014-01-02 | 1 | -1/+4 |
| | | |||||
* | | Prevent deleting storage root | Vincent Petry | 2014-01-10 | 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. Backport of f642ad3 to stable6 | ||||
* | | add tests for user counting | Arthur Schiwon | 2014-01-09 | 1 | -0/+72 |
| | | |||||
* | | Now also preventing to override "files" dir size with -1 | Vincent Petry | 2014-01-08 | 1 | -6/+12 |
| | | | | | | | | | | | | Fixes #6526 Backport of 5be4af9 to stable6 | ||||
* | | Added isUserAgent() method to request | Vincent Petry | 2014-01-07 | 1 | -0/+50 |
| | | | | | | | | | | | | - added isUserAgent() method to OC_Request which makes it possible to test it - OC_Response::setContentDisposition now uses OC_Request::isUserAgent() | ||||
* | | DB: Support DECIMAL(precision,scale) syntax in XML | Oliver Gasser | 2014-01-07 | 3 | -1/+38 |
|/ | | | | | | | | | | Add support for specifying the precision and scale of a decimal data type to the XML description language. Added new unit tests and adapted existing ones. See owncloud/core#6475 Backported from owncloud/core#6476 | ||||
* | Merge pull request #6308 from owncloud/fix_webdav_session_login_user_comparison | blizzz | 2013-12-13 | 1 | -2/+13 |
|\ | | | | | Fix webdav session login user comparison | ||||
| * | adjust test | Arthur Schiwon | 2013-12-13 | 1 | -2/+13 |
| | | |||||
* | | remove unneeded ; in comment | Robin Appelman | 2013-12-13 | 1 | -1/+1 |
| | | |||||
* | | Add test for having utf8 filenames in the cache | Robin Appelman | 2013-12-13 | 1 | -1/+31 |
|/ | |||||
* | add test case for removing background jobs that are throwing exceptions | Robin Appelman | 2013-12-06 | 2 | -3/+59 |
| | |||||
* | Dont use exceptions for the backgroundjob test cases | Robin Appelman | 2013-12-06 | 2 | -35/+46 |
| | |||||
* | 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-06 | 1 | -0/+79 |
| | |||||
* | Added unit test for the test() method | Vincent Petry | 2013-12-04 | 1 | -0/+7 |
| | | | | This is to make sure that method isn't broken | ||||
* | Merge pull request #6052 from owncloud/datetime-doctrine | Thomas Müller | 2013-12-01 | 1 | -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 Fischer | 2013-11-26 | 1 | -38/+0 |
| | | |||||
* | | 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 #6058 from owncloud/ldap2avatar | blizzz | 2013-11-26 | 2 | -0/+96 |
|\ \ | | | | | | | Set Avatar for LDAP users automatically (if a picture is available) | ||||
| * | | Enable user backends to provide avatar images | Arthur Schiwon | 2013-11-22 | 2 | -0/+96 |
| | | | |||||
* | | | Merge pull request #6060 from owncloud/fix-6050-oc6 | Björn Schießle | 2013-11-26 | 1 | -3/+8 |
|\ \ \ | | | | | | | | | fixing getRawPathInfo() once more | ||||
| * | | | fixes #6050 | Thomas Müller | 2013-11-26 | 1 | -3/+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 | ||||
* | | | in case uri and script name don't match we better throw an exception | Thomas Müller | 2013-11-25 | 1 | -0/+22 |
| | | | |||||
* | | | handle duplicate slashes in case of reverse proxy configuration | Thomas Müller | 2013-11-25 | 1 | -0/+20 |
|/ / |