summaryrefslogtreecommitdiffstats
path: root/tests/lib/user
Commit message (Collapse)AuthorAgeFilesLines
* Fix endless recursionThomas Müller2015-12-021-1/+1
|
* Fix getCloudIdThomas Müller2015-12-021-1/+7
|
* Adding unit test for User::getCloudId()Thomas Müller2015-12-021-0/+18
|
* Adding more test suites to group DBThomas Müller2015-11-301-2/+23
|
* Apply DB group annotation ...Thomas Müller2015-11-301-0/+5
|
* Move dummy backend to Tests namespaceLukas Reschke2015-09-225-71/+71
|
* introduce names for user backends - IUserBackendMorris Jobke2014-12-192-2/+12
| | | | * LDAP with multiple servers also proved backendName
* fix testsBernhard Posselt2014-12-171-4/+2
|
* use two tests instead of oneBernhard Posselt2014-12-171-4/+18
|
* add a isLoggedIn method to the usersession and deprecate the isLoggedIn ↵Bernhard Posselt2014-12-171-0/+28
| | | | method on the api
* Add filter for 'backend' to user REST routeLukas Reschke2014-12-101-0/+11
| | | | | | | | 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
* Merge pull request #12711 from owncloud/add-backend-to-rest-indexLukas Reschke2014-12-101-0/+7
|\ | | | | Expose backend type via REST API
| * Expose backend type via REST APILukas Reschke2014-12-091-0/+7
| | | | | | | | | | | | | | | | | | 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"}] ```
* | reduce OC_Preferences, OC_Config and \OCP\Config usageMorris Jobke2014-12-081-3/+3
| | | | | | | | | | | | | | | | | | | | * files_encryption * files_versions * files_trashbin * tests * status.php * core * server container
* | migrate \OC\AllConfig to \OCP\IConfigMorris Jobke2014-12-081-2/+1
| |
* | Extract interaction with config.php into SystemConfigMorris Jobke2014-12-081-2/+11
|/ | | | | | * introduce SystemConfig to avoid DI circle (used by database connection which is itself needed by AllConfig that itself contains the methods to access the config.php which then would need the database connection - did you get it? ;)) * use DI container and use that method in legacy code paths (for easier refactoring later) * create and use getSystemConfig instead of query() in DI container
* Make remaining files extend the test baseJoas Schilling2014-11-193-3/+3
|
* Merge pull request #12218 from owncloud/issue/10991-fixesMorris Jobke2014-11-173-16/+21
|\ | | | | Issue/10991 Make unit tests pass on windows
| * Do not use uniqid in Group and User tests as it is not unique on windowsJoas Schilling2014-11-063-16/+21
| |
* | Remove confusingly names \OC\User\Manager::delete and fix the automatic ↵Robin Appelman2014-11-051-1/+12
|/ | | | cache cleanup instead
* strip whitespace from the beginning and end of the display name to avoid ↵Bjoern Schiessle2014-10-151-0/+46
| | | | empty display names
* Add unit testRobin Appelman2014-10-131-33/+63
|
* add testsArthur Schiwon2014-06-232-0/+20
|
* increase scrutinizer happyiness by removing minor/informational issuesArthur Schiwon2014-05-231-2/+0
|
* clean up here is superflous, will already be removed by user sessionArthur Schiwon2014-05-231-6/+0
|
* test hooks also on loginArthur Schiwon2014-05-231-3/+39
|
* also test whether hooks workArthur Schiwon2014-05-231-5/+39
|
* unit tests for loginWithCookie()Arthur Schiwon2014-05-231-0/+114
|
* Group Database backend must not gather user details itself but ask userArthur Schiwon2014-04-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backends. This is a port to master from PR #7745 remove OC_GROUP_BACKEND_GET_DISPLAYNAME option for group backends Conflicts: lib/private/group/backend.php LDAP: getDisplayNamesInGroup is not an option for group backends anymore Conflicts: apps/user_ldap/group_ldap.php apps/user_ldap/group_proxy.php clean up group backends Conflicts: lib/private/group/database.php remove now unnecessary test implement getDisplayNames in group manager adjust user manager tests test for group manager's displayNamesInGroup trim must not be used in empty in PHP < 5.5 keep the constant to not provoke PHP warnings Conflicts: lib/private/group/backend.php
* adjust tests accordinglyArthur Schiwon2014-04-151-1/+1
|
* add tests for user countingArthur Schiwon2014-01-081-0/+72
|
* Pass config object in testGetHomeNotSupportedRobin Appelman2013-12-201-1/+4
|
* adjust testArthur Schiwon2013-12-131-2/+13
|
* Enable user backends to provide avatar imagesArthur Schiwon2013-11-222-0/+96
|
* Adjust return value tests for checkPassword() to what OC_User_Example says.Andreas Fischer2013-10-081-3/+3
|
* Use parent:: in Test_User_Database::getUser().Andreas Fischer2013-10-081-6/+1
|
* Test_User_Backend::getUser() does not return an array, it returns a string.Andreas Fischer2013-10-081-1/+1
|
* Test OC_User_Database in Test_User_Database instead of OC_User_Dummy.Andreas Fischer2013-10-081-1/+1
|
* Adjust Tests and satisfy themArthur Schiwon2013-09-242-40/+45
|
* User: move checkPassword from User to Manager to not break APIArthur Schiwon2013-09-241-22/+10
|
* New user management classesRobin Appelman2013-05-296-0/+993
|
* didn't mean to commit this yetRobin Appelman2013-05-285-670/+0
|
* implement ArrayInterface with SessionRobin Appelman2013-05-282-0/+500
|
* drop SimpleTest compatibilityThomas Mueller2013-01-241-4/+4
|
* Style: Remove all the dangling white spacesFelix Moeller2012-11-041-2/+2
|
* Checkstyle fixes: NoSpaceAfterCommaFelix Moeller2012-11-041-14/+14
|
* Checkstyle: many fixesFelix Moeller2012-11-021-9/+9
|
* adding space between) and {Thomas Mueller2012-09-073-8/+8
|
* remove unused variablesRobin Appelman2012-07-201-1/+0
|
* Added class comment blockSam Tuke2012-06-011-0/+10
|