finally fix the paths for the OCS Share API
Added warning for trusted_domains after CLI upgrade

If trusted_domains is not set after a CLI upgrade, show a warning in the
output.

Backport of 1a11682 from master
Display admin option for public upload with encryption enabled

Now that public upload works with encryption, the admin option to toggle
it must be made visible.

Backport of b75ca9f from master
Fix smb4php to work with home shares

Stat'ing a share with url_stat now checks if the user can run 'ls' in that share rather than checking if the share is listed by the server. This means that OwnCloud can now mount user home shares, which are never listed by the server.
Added .ocdata file to check for data folder validity

In environments where the data folder is mount from another partition,
it is important to check that the data folder we see is actually the
real one. If the mount failed for some reasons, this fix will make
ownCloud temporarily unavailable instead of causing unpredictable
behavior.

Backport of 3c46dcd from master
Return 503 when a config/data dir error exists

Backport of b619ff6 from master
Increase version to trigger upgrade related to .ocdata
Merge pull request #7819 from owncloud/stable6-datafolderexistence

[stable6] [backport] Added .ocdata file to check for data folder validity
Propagate unencrypted_size up to the file cache root
Return unencrypted_size of folder when queried

This fixes the "used space" to be based on the unencrypted size, not
encrypted size, to be consistent with how quota/space is handled when
encryption is enabled
Still return quota value when free space is unknown

Fixed the quota storage wrapper to correctly return the quota value
when the free space is not known (which usually happens when the
disk_free_space function is disabled)

Backport of 66bc0f0 from master
Add FreeIPA UUID compatibility, fixes #7796

Ability to use ipauniqueid for the UUID of a user
Fix duplicate ipauniqueid
fixing wrong html close tags
Merge pull request #7834 from owncloud/stable6-quota-usequotaevenwhenfreespaceunknown

[stable6] [backport] Still return quota value when free space is unknown
Merge pull request #7840 from owncloud/fix/7839

fixing wrong html close tags
Fixed warning when browsing Shared folder

The virtual "Shared" folder doesn't have an unencrypted_size field.
This fix adds a check to prevent warnings in the log.

Backport of 022d76c from master
On clone create a new instance of the Configuration

To avide effects on the original instance of Connection when the clone
is modified, for instance on authentication checks.
Use array_key_exists instead of isset, because the latter returns false if the assigned value is null
add test for cloning and keeping configuration seperate