summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-101-1/+0
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Looks like ceph requires more time to come up ....Thomas Müller2015-12-092-4/+283
| | | | | | Use sed - not replace apply btrfs hack
* Use default timeout on connection testThomas Müller2015-12-091-1/+1
|
* Merge pull request #21003 from owncloud/personal-mount-mountidThomas Müller2015-12-091-0/+50
|\ | | | | Dont set the string storage id to the numeric storage id for personal mounts
| * Add testsRobin Appelman2015-12-081-0/+50
| |
* | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-073-0/+14
|/ | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* db config backend for files_externalRobin Appelman2015-12-045-457/+350
|
* remove old propagation logicRobin Appelman2015-12-011-350/+0
|
* Add DB group to some files_external testsThomas Müller2015-11-303-0/+21
| | | | | | | | | | Adding group Db to federation tests and ldap tests Add group DB to Test_UrlGenerator Adding group DB to trashbin and versions tests Adding group DB to Test_Util_CheckServer for pg
* External storage tests require DB as wellThomas Müller2015-11-3010-0/+70
|
* Replace shitty netcat use with dedicated PHP scriptRobin McCorkell2015-11-248-81/+71
|
* Merge pull request #18999 from owncloud/ext-config-listadminThomas Müller2015-11-241-2/+5
|\ | | | | Improvements to external storages list rendering
| * Fix JS unit testsRobin McCorkell2015-11-211-2/+5
| |
* | webdav docker tests - wait at least 5 seconds after the full startupMorris Jobke2015-11-231-1/+3
|/
* Merge pull request #14077 from owncloud/autotest-external-swiftThomas Müller2015-11-209-33/+236
|\ | | | | [files_external] swift tests
| * fix ip detection for swift-cephRobin Appelman2015-11-161-1/+1
| |
| * Skip Swift stat testRobin McCorkell2015-10-201-0/+4
| |
| * Don't attempt to run tests unless start file is successfulRobin McCorkell2015-10-201-0/+6
| |
| * Detect Docker initialization properlyRobin McCorkell2015-10-206-24/+96
| | | | | | | | | | Use netcat to check when the port opens, rather than an arbitrary timeout. Hard limit of 60 seconds in case something breaks
| * Make Swift test robust if container didn't existRobin McCorkell2015-10-201-9/+13
| |
| * Replace Swift Docker test with Ceph imageRobin McCorkell2015-10-202-22/+38
| |
| * [files_external] swift testsMorris Jobke2015-10-203-5/+106
| |
* | Fix parsing of sftp hosts when using ipv6Robin Appelman2015-11-161-0/+38
| |
* | Use proper statement to retrieve the IP of an docker instanceMorris Jobke2015-10-304-4/+4
| |
* | Update license headersLukas Reschke2015-10-261-0/+1
|/
* Fix testDeleteStorage signature to match the one from the base classVincent Petry2015-10-131-2/+3
| | | | Prevents Strict warning when running autotest-external.sh
* Remove oc_storages entries after removing ext storagesVincent Petry2015-10-062-4/+53
| | | | | | | | | When removing external storages, either system-wide or user-wide, automatically remove the matching oc_storages and oc_filecache entries. This can only work if the backend configuration doesn't contain any substitution variable $user in which case the storage id cannot be computed, so this case is ignored for now.
* deduplicate @xenopathicMorris Jobke2015-10-0616-16/+16
|
* update licence headers via scriptMorris Jobke2015-10-059-3/+9
|
* Use a universal shebangOlivier Paroz2015-09-2712-12/+12
| | | | Fixes #15037
* Unit tests for storage validation in serviceRobin McCorkell2015-09-232-0/+56
|
* Perform visibility checks on storagesRobin McCorkell2015-09-233-0/+11
| | | | | | | | StoragesService::getStorages() will check the visibility of the backend and auth mechanism for the storage, and if either are not visible to the user (aka disabled by admin) then the storage will be filtered out. The original method StoragesService::getAllStorages() still exists in case such storages need to be detected, but its use is discouraged.
* Revert "Implement more fine-grained external storage permissions model"Robin McCorkell2015-09-233-23/+15
| | | | | | This reverts commit 0b97a05e7bd631d66de1c2aee115113ada8a5f63. This reverts commit d2e3c17c0000bc0020f1ff641190452f370434de. This reverts commit cc88c5f4b84da57c425cbdb7dc8b391b1942b503.
* Merge pull request #19069 from owncloud/ext-s3-cephThomas Müller2015-09-183-3/+120
|\ | | | | AmazonS3 automatic tests
| * AmazonS3 Ceph testsRobin McCorkell2015-09-163-3/+120
| |
* | Unit tests for UserGlobalStoragesService::getUniqueStorages()Robin McCorkell2015-09-161-2/+78
|/
* Merge pull request #18441 from owncloud/ext-backends.advancedRobin McCorkell2015-09-133-33/+27
|\ | | | | Migrate advanced external storage backends to new registration API [part 3]
| * Introduce MODIFY permission for external storagesRobin McCorkell2015-08-281-3/+11
| |
| * Validate permissions for created admin storages, auth mechanismRobin McCorkell2015-08-282-1/+9
| | | | | | | | | | Backend and auth mechanism permissions are checked on storage creation, both for personal storages and for admin storages
| * Implement more fine-grained external storage permissions modelRobin McCorkell2015-08-283-31/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | VisibilityTrait -> PermissionsTrait PermissionsTrait stores two sets of data, $permissions and $allowedPermissions (analogous to $visibility and $allowedVisibility of VisibilityTrait). Each set is a map of user type ('admin' or 'personal') to permissions (mounting permission, create permission). The result is that a backend can now be restricted for creation, while still allowing it to be mounted. This is useful for deprecating backends or auth mechanisms, preventing new storages being created, while still allowing existing storages to be mounted.
* | Test legacy backend with no dependency checkRobin McCorkell2015-09-011-0/+18
| |
* | Make checkDependencies a real methodRobin McCorkell2015-09-012-11/+32
| | | | | | | | | | Replace ->setDependencyCheck(callable) with a real method checkDependencies(). A polyfill is available for legacy storages.
* | Unit test storages with an empty mount pointRobin McCorkell2015-08-312-0/+33
|/
* Merge pull request #18445 from owncloud/ext-only-setuservars-stringMorris Jobke2015-08-253-4/+50
|\ | | | | setUserVars() should only attempt substitution with strings
| * Convert string booleans to real booleansRobin McCorkell2015-08-203-4/+50
| | | | | | | | | | Legacy compatibility, from the days in stable8 when checkbox boolean values were stored as the strings 'true' and 'false'.
* | Use OCP classes as much as possible in files_externalRobin McCorkell2015-08-191-1/+7
|/
* Make Application a singletonRobin McCorkell2015-08-191-1/+6
| | | | | The same Application must be used in the settings templates and in routes, so that any registered backends are correctly seen
* Compatibility shims for OC_Mount_ConfigRobin McCorkell2015-08-192-1159/+2
| | | | | | | | | | | | | | | | | | The following functions have been removed: - addMountPoint() - removeMountPoint() - movePersonalMountPoint() registerBackend() has been rewritten as a shim around BackendService, allowing legacy code to interact with the new API seamlessly addMountPoint() was already disconnected from all production code, so this commit completes the job and removes the function itself, along with disconnecting and removing related functions. Unit tests have likewise been removed. getAbsoluteMountPoints(), getSystemMountPoints() and getPersonalMountPoints() have been rewritten to use the StoragesServices
* Unit tests for new backend APIRobin McCorkell2015-08-1911-0/+977
|
* Split backend identifiers from the class nameRobin McCorkell2015-08-195-61/+118
| | | | | | | | | | | | | Prior to this, the storage class name was stored in mount.json under the "class" parameter, and the auth mechanism class name under the "authMechanism" parameter. This decouples the class name from the identifier used to retrieve the backend or auth mechanism. Now, backends/auth mechanisms have a unique identifier, which is saved in the "backend" or "authMechanism" parameter in mount.json respectively. An identifier is considered unique for the object it references, but the underlying class may change (e.g. files_external gets pulled into core and namespaces are modified).