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>
use correct IUser in interface
use UserSession service to resolve user id
make sure that 'OC_Theme' exists before checking if the method exists
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
Merge pull request #9644 from owncloud/fix_user_api

Fix user api
[tx-robot] updated from transifex
Merge pull request #9640 from owncloud/fix_9627

make sure that 'OC_Theme' exists before checking if the method exists
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