summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/mountconfig.php
Commit message (Collapse)AuthorAgeFilesLines
* 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-051-2/+0
| | | | | | 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.
* external storages: allow to mount a folder called "Shared", it is no longer ↵Bjoern Schiessle2014-04-231-4/+1
| | | | a reserved name
* 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)
* Added extra checks for ext storage classVincent Petry2014-02-201-0/+25
|
* 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