summaryrefslogtreecommitdiffstats
path: root/lib/private/group
Commit message (Collapse)AuthorAgeFilesLines
* update license headers and authorsMorris Jobke2015-06-252-0/+4
|
* Use proper typeLukas Reschke2015-06-191-1/+1
| | | | This is a string
* Do not return backends but add a method to check for oneJoas Schilling2015-06-161-3/+14
|
* Only sort by group name when LDAP is involvedJoas Schilling2015-06-161-0/+7
|
* Merge pull request #16402 from owncloud/issue-15956-slow-group-usercountThomas Müller2015-06-081-15/+24
|\ | | | | Sort user groups by group name and hide the user count
| * Sort user groups by group name and hide the user countJoas Schilling2015-05-181-15/+24
| |
* | Reduce the complexity of the search queries in the backends to a minimumJoas Schilling2015-05-181-6/+27
|/
* Avoid php message "Invalid argument supplied for foreach()" - refs #15590Thomas Müller2015-04-141-2/+4
|
* Merge pull request #15169 from rullzer/fix_displayNamesInGroupMorris Jobke2015-03-301-1/+1
|\ | | | | Groupmanagers displayNamesInGroup should actually search in displaynames
| * When searching for displayname then search for displaynameRoeland Jago Douma2015-03-241-1/+1
| |
* | Update license headersJenkins for ownCloud2015-03-268-101/+183
|/
* Revert "Updating license headers"Morris Jobke2015-02-268-179/+136
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Clear the local cache when we clear the backendsJoas Schilling2015-02-251-0/+1
|
* Merge pull request #13829 from owncloud/appmanager-listVincent Petry2015-02-231-10/+1
|\ | | | | Better caching for enabled apps
| * better user group cachingRobin Appelman2015-02-171-10/+1
| |
* | Updating license headersJenkins for ownCloud2015-02-238-136/+179
|/
* add isAdmin and isInGroup methods for the group managerBernhard Posselt2014-12-171-2/+28
|
* Add REST route for user & group managementLukas Reschke2014-12-082-3/+9
| | | | 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.
* Merge pull request #12470 from owncloud/jenkins-12447Lukas Reschke2014-11-274-11/+33
|\ | | | | Jenkins 12447
| * Move OC_GROUP_BACKEND_* constants to OC_Group_Backend classJoas Schilling2014-11-274-11/+33
| |
* | Correctly namespace and autoload DatabaseExceptionJoas Schilling2014-11-271-1/+1
|/
* Merge pull request #11479 from owncloud/cleanup-group-admin-on-deleteGroupMorris Jobke2014-11-131-0/+4
|\ | | | | cleanup group admin(s) on deleteGroup
| * cleanup group admin(s) on deleteGroupmichag862014-10-081-0/+4
| |
* | make performance less bad. Still far from good, but at least it worksArthur Schiwon2014-10-171-3/+2
| |
* | with several backends, more than limit can be returnedArthur Schiwon2014-10-171-1/+1
| |
* | Merge pull request #9104 from macjohnny/macjohnny-drastic-ldap-speedupblizzz2014-10-171-5/+12
|\ \ | | | | | | drastic ldap speedup (update)
| * | modified caching mechanism in getUserGroupIdsmacjohnny2014-06-231-25/+6
| | | | | | | | | removed cachedUserGroupIds, instead changed indexing in getUserGroups to groupId
| * | clean up function getUserGroupIdsmacjohnny2014-06-231-7/+4
| | | | | | | | | clean up of function getUserGroupIds and improved caching mechanism of cachedUserGroupIds
| * | Update manager.phpmacjohnny2014-06-211-3/+11
| | |
| * | Update manager.phpmacjohnny2014-06-191-2/+2
| | |
| * | Update manager.phpmacjohnny2014-06-191-9/+25
| | |
| * | Update manager.phpmacjohnny2014-06-191-0/+1
| | | | | | | | | defined $uid in getUserGroupIds
| * | Update manager.phpmacjohnny2014-06-191-1/+2
| | | | | | | | | added description and blank lines in getUserGroupIds
| * | Update manager.phpmacjohnny2014-06-191-1/+4
| | | | | | | | | add caching to getUserGroupIds
* | | fix for issue #10880michag862014-10-071-1/+1
| |/ |/|
* | Revert "fix for issue #10880"Vincent Petry2014-10-071-1/+1
| | | | | | | | This reverts commit 0df070a8e4f6718e3cd86aa4d5a5fc62c53f6eee.
* | fix for issue #10880michag862014-10-071-1/+1
| |
* | Merge pull request #9225 from voxsim/fix_displayNamesInGroupblizzz2014-09-221-11/+29
|\ \ | | | | | | fix in displayNamesInGroup
| * | 1. remove sizeof($filteredUsers) > 0 as conditionvoxsim2014-09-181-2/+2
| | | | | | | | | | | | | | | 2. use count instead of sizeof. Latter is an alias to first one, practically we stick to count everywhere. Having it consistent helps with readability. 3. move whitespace so we have $groupUsers[] = $filteredUser; instead of $groupUsers []= $filteredUser;
| * | add more logic in displayNamesInGroup for big user basesvoxsim2014-09-151-5/+16
| | |
| * | change logic in displayNamesInGroup and add some unit testsvoxsim2014-08-281-10/+17
| | |
| * | fix in displayNamesInGroup: when specified limit N, we did complex search ↵voxsim2014-06-261-1/+1
| |/ | | | | | | only in the first N users
* | retrieve local users, groups and group members in a sorted wayArthur Schiwon2014-08-291-2/+2
| |
* | Merge pull request #10144 from owncloud/issue/9972Thomas Müller2014-08-062-2/+2
|\ \ | | | | | | Issue/9972 Fix issues with group and username `0`
| * | Fix getting group '0' from database backendJoas Schilling2014-08-042-2/+2
| | | | | | | | | | | | Fix #9972
* | | Add group management to the public apiRobin Appelman2014-07-162-2/+5
| | |
* | | Port of #9584Stephan Peijnik2014-07-161-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #9583 lib/private/group/metadata.php: For subadmins also return an array of groups, indexed by their GIDs. settings/users.php: Convert array of arrays to array of GIDs before calling into OC_Group::displayNamesInGroups. Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com> Fix indentation. Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com> Renamed $grp to $group in foreach loop. Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com> Use is_null() instead of empty() when checking the return value of GroupManager::get(). Additionally, $grp was renamed to $group inside \OC\Group\MetaData::fetchGroups(). Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com> Updated code to reflect changes introduced to \OC\Group\MetaData. Now that fetchGroups() does not exist anymore and getGroups() is called directory, the 'groups' property does not exist anymore. Instead, we now generate that array on the fly and return it from getGroups. Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
* | | fixing PHPDocThomas Müller2014-07-141-16/+16
| | |
* | | remove dead codeArthur Schiwon2014-07-141-34/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not filter groups. but update the user count according to the filter improve phpdoc improve metadata runtime cache add metadata tests
* | | extend Dummy user and group implementation to pass testsArthur Schiwon2014-06-251-3/+30
| | |