summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix merging of external storage configurationsVincent Petry2014-03-261-18/+183
| | | | | | | | | | | | | Merging of configurations is whenever the same config is available for multiple users/groups, in which case the config is considered as a single one by the UI, and shows multiple users/groups selected. Fixed merging logic to make sure that class, mount point and options are the same before merging them. Fixed merging to work correctly when the same mount point path is used for separate users and configs. These are now correctly shows in the UI as separate entries.
* Fixed ext storage password field order issueVincent Petry2014-03-191-2/+6
| | | | | | | The old password field is now preserved in the JSON structure to make sure that the order is preserved. This is a quick fix until the UI is fixed to not rely on the PHP array key order.
* Fixed ext storage unit test for groupsVincent Petry2014-03-191-30/+46
| | | | Now creating real users and groups for testing external storage mounts
* Added tests to check mount point list for a target userVincent Petry2014-03-191-0/+110
|
* Added password obfuscation for external storage configVincent Petry2014-03-191-0/+87
| | | | | Added obfuscation for all "password" options from external storages. Added unit tests for reading/writing the configuration.
* Added ext storage unit tests for writing then reload the mount configVincent Petry2014-03-191-1/+73
|
* Added unit tests for when adding ext storage mount pointsVincent Petry2014-03-181-16/+129
| | | | | | | | | - test config was written correctly (global and local) - test that personal mount points can be added for allowed backends - test that personal mount points cannot be added for disallowed backends - added $skipTest flag to make it possible add mount points without doing an actual check/connection (note: this is necessary because the static class OC_Mount_Config cannot be mocked)
* Merge branch 'master' into extstorage-configclassRobin Appelman2014-02-212-1/+8
|\
| * Revert "Added extra checks for ext storage class"Vincent Petry2014-02-201-24/+0
| | | | | | | | | | | | This reverts commit 9e9a5b9ea1f9b4699cf2d0c621f3f911f3639df9. Unit tests weren't ready, need further tweaking.
| * Merge pull request #7294 from owncloud/extstorage-configclassLukas Reschke2014-02-201-0/+24
| |\ | | | | | | Added extra checks for ext storage class
| | * Added extra checks for ext storage classVincent Petry2014-02-191-0/+24
| | |
| * | Fixed ext storage webdav path encodingVincent Petry2014-02-192-1/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | - 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
* / Added extra checks for ext storage classVincent Petry2014-02-201-0/+25
|/
* Merge pull request #5238 from owncloud/externalstorage-owncloudbackendThomas Müller2014-01-082-0/+38
|\ | | | | Added ownCloud backend for external storage
| * Added ownCloud backend for external storageVincent Petry2013-10-092-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it possible to use the short ownCloud URL (without specifying webdav.php or remote.php), a new backend is available for ownCloud. The user must specify the host + context path in the "Url" field (which is mapped to the "host" parameter) and the subdir to mount in the "Root" field. This is to prevent confusion because some users forget to append webdav.php or remote.php to the WebDAV URL. Fixes #4923
* | Add trailing slash in FTP root path when missingVincent Petry2013-11-281-0/+12
| | | | | | | | Fixes #6093
* | Merge pull request #6054 from owncloud/extstorage-dropboxfixesMorris Jobke2013-11-261-0/+16
|\ \ | | | | | | Fixed various Dropbox issues + unit tests
| * | Fixed various Dropbox issues + unit testsVincent Petry2013-11-261-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed touch function to return true on success - fixed local metadata cache to remove deleted files/directories - fixed getMetaData() to ignore files reported as deleted by Dropbox - fixed "file not found" case to not log as exception - fixed "overwrite on rename" case - fixed unit tests to exclude unsupported cases - added unit test for touch return value - unit tests for Dropbox should all run correctly now
* | | Updated unit tests for SMBVincent Petry2013-11-261-0/+5
|/ / | | | | | | | | - coverage for touch return value - fixed directory provider to exclude unsupported cases
* | Fixed FTP storage unit tests to use the correct classVincent Petry2013-11-251-4/+4
| |
* | Now also preventing the user of "Shared" as mountpointVincent Petry2013-11-221-0/+2
| |
* | Added unit test for root mount point validationVincent Petry2013-11-211-0/+49
| |
* | Removing trailing dot in path that samba doesn't seem to likeVincent Petry2013-11-191-0/+41
| | | | | | | | | | Fixes #5778 Added unit test for getId() and constructUrl()
* | add configuration parameter to manually set the timeout of HTTP requestsChristian Berendt2013-10-241-2/+3
| |
* | adapted existing test casesChristian Berendt2013-10-221-12/+33
| |
* | adjustment of the configuration parametersChristian Berendt2013-10-221-5/+9
| |
* | extend test caseRobin Appelman2013-10-021-0/+1
| |
* | return the correct result when doing an smb renameRobin Appelman2013-10-011-1/+7
|/
* Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
|
* Merge pull request #3392 from owncloud/googledriveBart Visscher2013-07-232-14/+15
|\ | | | | Switch to using Google Drive SDK, closes #2047
| * Remove root option from Google Drive storage, because it is only used for ↵Michael Gapczynski2013-07-231-6/+5
| | | | | | | | testing and we have our own empty Google account for testing
| * Fix 'most' Google Drive testsMichael Gapczynski2013-07-131-8/+10
| |
* | Merge branch 'master' into ext-fs-irods-masterThomas Müller2013-07-222-8/+31
|\ \
| * | rewrote initialisation, added testing workaroundChristian Berendt2013-07-102-5/+5
| | |
| * | minimize waiting timeChristian Berendt2013-07-081-1/+3
| | |
| * | wait methods are probably not working, just waitChristian Berendt2013-07-081-3/+1
| | |
| * | make tests workable with Amazon S3Christian Berendt2013-07-081-9/+16
| | |
| * | added commented new parametersChristian Berendt2013-07-031-1/+6
| | |
| * | reworking testclass for \OC\Files\Storage\AmazonS3Christian Berendt2013-07-031-7/+18
| |/
* | update copy rightThomas Müller2013-07-121-1/+1
| |
* | Merge branch 'master' into ext-fs-irods-masterThomas Mueller2013-06-191-0/+9
|\|
| * Read configuratons for external filesystem test from a private place.Thomas Mueller2013-06-071-0/+9
| | | | | | | | This will help not to accidentially push private data and enable testing on our ci server.
* | Merge branch 'master' into ext-fs-irods-masterThomas Mueller2013-05-154-1/+5
|\|
| * Dont task external storages with creating their own rootRobin Appelman2013-04-264-1/+5
| |
* | adding $backupGlobals = FALSE because iRODS is heavily using $GLOBALSThomas Mueller2013-04-261-0/+2
| |
* | test case for iRODS storage addedThomas Mueller2013-04-231-0/+30
|/
* Merge pull request #1030 from hkjolhede/masterLukas Reschke2013-02-102-0/+50
|\ | | | | SFTP support in files_external app
| * Updated phpseclib from git + requested style changesHenrik Kjölhede2013-02-101-0/+43
| |
| * Added unittestHenrik Kjölhede2013-02-091-0/+7
| |
* | Don't run external storage tests on defaultRobin Appelman2013-02-101-2/+2
|/