summaryrefslogtreecommitdiffstats
path: root/tests/settings
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12726 from owncloud/add-filter-for-backend-to-rest-indexMorris Jobke2014-12-131-3/+86
|\ | | | | Add filter for backend to rest index
| * Use array key instead of valueLukas Reschke2014-12-121-3/+14
| |
| * Add test for user without backendLukas Reschke2014-12-121-0/+16
| |
| * Add filter for 'backend' to user REST routeLukas Reschke2014-12-101-0/+56
| | | | | | | | | | | | | | | | This adds a "backend" type filter to the index REST route which is a pre-requisite for https://github.com/owncloud/core/issues/12620 For example when calling `index.php/settings/users/users?offset=0&limit=10&gid=&pattern=&backend=OC_User_Database` only users within the backend `OC_User_Database` would be shown. (requires sending a CSRF token as well) Depends upon https://github.com/owncloud/core/pull/12711
* | Show user backend in user managementMorris Jobke2014-12-121-2/+12
|/ | | | | | | * add switch to settings to show user backend * user classes for headers and rows to unify the show/hide statement * add user backend to response of user create request * proper markup in settings area
* Expose backend type via REST APILukas Reschke2014-12-091-38/+77
| | | | | | | | | This change will expose the user backend via the REST API which is a pre-requisite for https://github.com/owncloud/core/issues/12620. For example: ````json [{"name":"9707A09E-CA9A-4ABE-A66A-3F632F16C409","displayname":"Document Conversion User Account","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/9707A09E-CA9A-4ABE-A66A-3F632F16C409","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"ED86733E-745C-4E4D-90CB-278A9737DB3C","displayname":"Hacker","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/ED86733E-745C-4E4D-90CB-278A9737DB3C","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"71CDF45B-E125-450D-983C-D9192F36EC88","displayname":"admin","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/71CDF45B-E125-450D-983C-D9192F36EC88","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"admin","displayname":"admin","groups":["admin"],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/admin","lastLogin":"1418057287","backend":"OC_User_Database"},{"name":"test","displayname":"test","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/test","lastLogin":0,"backend":"OC_User_Database"}] ```
* React on other statuscodes than 200Lukas Reschke2014-12-082-22/+9
|
* Add statuscodesLukas Reschke2014-12-082-10/+86
|
* Add REST route for user & group managementLukas Reschke2014-12-083-0/+618
| | | | First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
* Make root tests extend the \Test\TestCaseJoas Schilling2014-11-191-1/+3
|
* Warn for password reset when files_encryption is enabledLukas Reschke2014-11-171-1/+1
| | | | | | | | This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password. Furthermore I updated the code to use our new classes and added some unit tests for it :dancers: Fixes https://github.com/owncloud/core/issues/11438
* Fail...Lukas Reschke2014-11-141-1/+1
|
* Mark skipped until #12085 is mergedLukas Reschke2014-11-141-0/+6
| | | See https://github.com/owncloud/core/pull/12175#issuecomment-63054620
* Migrate "setsecurity.php" to the AppFrameworkLukas Reschke2014-11-031-0/+138
| | | | | | | | | | | | Add switch to enforce SSL for subdomains Add unit tests Add test for boolean values Camel-case Fix ugly JS
* Fix unit testLukas Reschke2014-10-161-3/+3
| | | Regression introduced with https://github.com/owncloud/core/pull/11615
* Refactor MailSettings controllerLukas Reschke2014-10-141-0/+196
- Do not store the password (fixes https://github.com/owncloud/core/issues/11385) - Refactor to AppFramework - Add unit tests Conflicts: settings/admin/controller.php