summaryrefslogtreecommitdiffstats
path: root/lib/private/group.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersJenkins for ownCloud2015-03-261-12/+25
|
* Revert "Updating license headers"Morris Jobke2015-02-261-25/+26
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #11555 from goodkiller/patch-1Joas Schilling2015-02-241-1/+2
|\ | | | | Update group.php
| * Update group.phpgoodkiller2014-10-141-1/+2
| | | | | | Here is fox for my LDAP users OW 7.0.2
* | Updating license headersJenkins for ownCloud2015-02-231-26/+25
| |
* | Add REST route for user & group managementLukas Reschke2014-12-081-13/+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.
* Add group management to the public apiRobin Appelman2014-07-161-18/+11
|
* drastic speedup for nested ldap groupsmacjohnny2014-06-131-6/+1
| | | | | | | | | | | | | add a function getUserGroupIds for retrieving group ids instead of group objects. this significantly improves performance when using many (nested) groups. Changes a function call in getUserGroups to only retrieve group ids instead of objects. this change significantly improves performance when using owncloud with many groups, e.g. nested ldap hierarchy (1.2.840.113556.1.4.1941), since getUserGroups gets called in oc_share::getItems, which is needed for every page request. in my particular case, it took more than 10s to load the calendar page and more than 6s to load the file page. this was in an environment with 100 user groups (nested) per user. The performance was bad due to the following call stack: self::getManager()->getUserGroups($user) - getGroupObject() (executed for every group!) - groupExists() (resulting in many ldap-requests) since the groups are loaded from ldap, it is unnecessary to check whether the group exists or not.
* Revert "Merge pull request #8998 from macjohnny/master"Morris Jobke2014-06-121-1/+6
| | | | | This reverts commit 482eded8b31b257dfed7761c7cb43f35ddcd3408, reversing changes made to 354cace14ae01e7ff34af3c8a4a3335b89596da3.
* Update group.phpmacjohnny2014-06-121-6/+0
|
* drastic speedup for nested ldap groupsmacjohnny2014-06-121-2/+3
| | | | | | | | | | Changes a function call in getUserGroups to only retrieve group ids instead of objects. this change significantly improves performance when using owncloud with many groups, e.g. nested ldap hierarchy (1.2.840.113556.1.4.1941), since getUserGroups gets called in oc_share::getItems, which is needed for every page request. in my particular case, it took more than 10s to load the calendar page and more than 6s to load the file page. this was in an environment with 100 user groups (nested) per user. The performance was bad due to the following call stack: self::getManager()->getUserGroups($user) - getGroupObject() (executed for every group!) - groupExists() (resulting in many ldap-requests) since the groups are loaded from ldap, it is unnecessary to check whether the group exists or not.
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-12/+12
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-1/+1
|
* Fix @return array PHPDocs, in /libRobin McCorkell2014-05-131-6/+6
|
* Replace @returns with @return, in /libRobin McCorkell2014-05-131-3/+3
|
* Group Database backend must not gather user details itself but ask userArthur Schiwon2014-04-281-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Some more PHPDoc fixesLukas Reschke2014-04-211-0/+11
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-1/+1
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* dispayNamesInGroup(s) should always return uid as key in the result attr, ↵Arthur Schiwon2013-10-201-1/+1
| | | | fixes #5209
* find users which are in the same groupBjoern Schiessle2013-10-081-1/+1
|
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+301
Conflicts: lib/private/vcategories.php