summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugs in ownCloud external storageRobin McCorkell2015-03-271-0/+8
|
* test files external amazon s3 storage id migrationJörn Friedrich Dreyer2014-10-271-0/+117
|
* Allow specifying protocol in ext storage OC configVincent Petry2014-10-151-0/+83
| | | | | | Allow specifying a protocol in the host field when mounting another ownCloud instance. Note that this was already possible with the WebDAV config but this bug made it inconsistent.
* Add EtagPropagator to handle etag changes when external storages are changedRobin Appelman2014-10-091-0/+328
|
* Fix add/remove mountpoint hooksRobin Appelman2014-10-091-4/+4
|
* Added failing unit tests for mount config hooksVincent Petry2014-10-091-0/+134
|
* Skip test for unsuported feature for amazon s3Robin Appelman2014-10-011-0/+4
|
* Fix AmazonS3 rmdir on the rootRobin Appelman2014-10-011-23/+1
|
* Load apps in test situationsRobin McCorkell2014-09-221-2/+0
|
* Add unit test for multi-user configuration loadingRobin McCorkell2014-07-161-0/+37
|
* Merge pull request #8383 from owncloud/object_storageVincent Petry2014-06-271-5/+6
|\ | | | | Object storage
| * update files_external swift to php-opencloud v1.9.2Jörn Friedrich Dreyer2014-06-251-5/+6
| |
* | Sync file list with file actionsVincent Petry2014-06-272-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever file actions are registered later, now the file lists are automatically notified. Added FileActions.addUpdateListener() to be able to receive such notifications. This removes the need for apps to manually call FileActions.display() after registering new actions. This fixes issues with race conditions when file actions are registered after the file list was already rendered.
* | Added JS unit tests for ext storageVincent Petry2014-06-172-0/+253
|/ | | | Added JS unit tests for the external storage file list extension.
* Fix priority merging logic and add unit testRobin McCorkell2014-05-211-0/+48
|
* Add unit testsRobin McCorkell2014-05-211-0/+117
|
* Added ext storage app in autotest unit test runVincent Petry2014-05-053-5/+1
| | | | | | To make sure that the dynamic mount config and config classes from external storages are tested, these are now added into the autotest.sh test run by enabling the app.
* drop files_irods from apps_externalThomas Müller2014-04-281-32/+0
|
* external storages: allow to mount a folder called "Shared", it is no longer ↵Bjoern Schiessle2014-04-231-4/+1
| | | | a reserved name
* unit tests for dynamic backend registrationThomas Müller2014-04-071-0/+103
|
* 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