files: storage: rename should check parent directories of old and new files

as described by POSIX.1-2008
(see http://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html)

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Add unit test for multi-user configuration loading
Fix #9590. Fix #9612.
For external storage with lots of parameter settings (>4), wrap the content of the cell to let a full view of the parameters.
The rows of the table are now always visible until the end (the trash icon is accessible).
(Note : A strange 3px margin forces me to add a class on the row added by javascript, to be able to align them with the rows rendered by the server.)
Reenable proxies if a test failed to restore it
Correctly return the owner display name for children of shares
make sure that the crypt library is loaded
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>
introduce some encryption exceptions and catch additional error cases
Removed legacy encryption tests
Merge pull request #9661 from owncloud/share-ownerdisplaynamefix

Correctly return the owner display name for children of shares
fix CSS coding style
Merge pull request #9664 from owncloud/enc-removelegacytests

[OC8] Removed legacy encryption tests
Merge pull request #9647 from owncloud/files_external_multiuser_tests

Add unit test for multi-user configuration loading
Merge pull request #9662 from owncloud/enc_error_handling_master

[encryption] improved error handling
Merge pull request #9550 from kofemann/dcache-fixes-for-upstream

storage: do not check file mode on rename
Merge pull request #9653 from owncloud/fix-9590

external storage table layout fixes
Merge pull request #9654 from owncloud/enctest-fileproxydisabledfix

Reenable proxies if a test failed to restore it
kill OC::$session
maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession