server/lib/private
Stephan Peijnik 4d74aa09bf Port of #9584
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>
2014-07-16 12:23:26 +02:00
..
appframework Merge pull request #9228 from owncloud/remove-routing-singular-issues 2014-07-14 17:10:07 +02:00
archive Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
backgroundjob Fix check if class exists 2014-06-27 00:52:37 +02:00
cache Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
connector/sabre Upload abortion is now detected within the OC_Connector_Sabre_File::put() 2014-07-08 11:09:59 +02:00
db - Added test to trigger index id error 2014-07-14 16:20:09 +02:00
fileproxy
files Use the correct path when building the FileInfo for the search result 2014-07-14 18:32:45 +02:00
group Port of #9584 2014-07-16 12:23:26 +02:00
hooks
l10n Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
legacy deprecate OC_Search_Provider in favor of \OCP\Search\Provider 2014-07-03 16:03:09 +02:00
log Don't error out on console. 2014-06-04 07:55:45 +02:00
memcache Memcached hasKey should test for success, the get can fail for other reasons. 2014-05-08 18:11:29 +02:00
migration Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
ocs Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
preview Merge pull request #8978 from owncloud/movie_preview_improvements 2014-06-14 01:01:59 +02:00
route introduce and use getCurrentConnection() 2014-07-01 16:45:00 +02:00
search mkae getRelativePath of file search results overwriteable in subclasses 2014-07-14 19:27:10 +02:00
session redefine reopen() in class \OC\Session\Internal to avoid accidental calls in productive code 2014-03-18 11:44:22 +01:00
setup Add repair step to set MySQL collation to utf8_bin 2014-07-08 15:12:07 +02:00
share Merge pull request #9561 from libasys/patch-3 2014-07-15 16:54:57 +02:00
template Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
user Add public interfaces for User, UserManager and UserSession 2014-07-14 15:10:51 +02:00
vobject
activitymanager.php Adding new interface \OCP\Activity\IExtentsion 2014-07-08 09:04:37 +02:00
allconfig.php
api.php introduce and use getCurrentConnection() 2014-07-01 16:45:00 +02:00
app.php Merge pull request #9571 from owncloud/fix_appstore_update_issue 2014-07-14 10:00:39 +02:00
appconfig.php port of #9500 2014-07-08 16:32:01 +02:00
apphelper.php
archive.php Some more PHPDoc fixes 2014-04-21 15:44:54 +02:00
arrayparser.php Some more PHPDoc fixes 2014-04-21 15:44:54 +02:00
avatar.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
avatarmanager.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
backgroundjob.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
cache.php
config.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
contactsmanager.php Merge branch 'master' into contactsmanager-register 2014-05-19 21:35:13 +02:00
davclient.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
db.php - Added test to trigger index id error 2014-07-14 16:20:09 +02:00
defaults.php make sure that 'OC_Theme' exists before checking if the method exists 2014-07-15 17:48:25 +02:00
eventsource.php sanitize fallbackId 2014-03-12 00:18:51 +01:00
filechunking.php Fix PHPdoc in lib/private 2014-04-15 22:55:20 +02:00
fileproxy.php Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
files.php drop allowZIPdownload and maxZIPSize as options 2014-06-02 16:29:03 +02:00
forbiddenexception.php Cache folder is now configurable 2014-03-24 12:57:11 +01:00
geo.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
group.php drastic speedup for nested ldap groups 2014-06-13 00:04:06 +02:00
helper.php update PHPDoc $fileInfo is a SplFileInfo 2014-06-23 23:15:30 +02:00
hintexception.php
hook.php Dont connect hooks twice 2014-06-06 09:56:02 +02:00
image.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
installer.php Merge pull request #9598 from owncloud/fix-app-installation-master 2014-07-14 17:05:36 +02:00
json.php Add machine readable error messages to OC\JSON 2014-07-04 16:20:27 +02:00
l10n.php Adding new interface \OCP\Activity\IExtentsion 2014-07-08 09:04:37 +02:00
largefilehelper.php Document exceptions thrown by \OC\LargeFileHelper. 2014-05-29 16:26:02 +02:00
log.php fix logger implementation and test 2014-07-15 10:10:16 +02:00
mail.php upgraded phpmailer into v5.2.8 via composer 2014-05-27 23:33:18 +02:00
migrate.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
mimetypes.list.php add new keynote mimetype 2014-06-16 16:25:12 +02:00
navigationmanager.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
notsquareexception.php
ocs.php Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
ocsclient.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
preferences.php port of #9500 2014-07-08 16:32:01 +02:00
preview.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
previewmanager.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
repair.php Add repair step to set MySQL collation to utf8_bin 2014-07-08 15:12:07 +02:00
repairstep.php Added RepairStep interface and default repair step lists 2014-06-12 17:38:26 +02:00
request.php Only overwrite serverHost when in unit tests 2014-07-07 15:08:45 +02:00
response.php Merge branch 'master' into cleanup-list-code 2014-05-19 20:52:25 +02:00
search.php make search non-static, add ISearch to server container, make legacy a static wrapper for it, move provider and result to public api 2014-06-06 01:17:02 +02:00
server.php use UserSession service to resolve user id 2014-07-15 17:42:17 +02:00
setup.php trusted domains shall not be ignored on autosetup 2014-06-23 10:33:15 +02:00
subadmin.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
tagmanager.php
tags.php Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00
template.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
templatelayout.php Now settings CSS class with appid in content DIV 2014-05-15 17:51:04 +02:00
updater.php Added RepairStep interface and default repair step lists 2014-06-12 17:38:26 +02:00
urlgenerator.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
user.php Merge pull request #8443 from owncloud/csrf-on-login-and-logout 2014-06-02 11:27:20 +02:00
util.php Remove forgotten debug log 2014-07-03 12:26:17 +02:00
vobject.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00