Merge branch 'master' into fix-language-detection
Merge pull request #5528 from frisco82/changeUpadateNotification

Changed update message to be more instructive
Add `occ upgrade` command.
LDAP: don't validate unconfigured (new) LDAP server configs, fixes #5518
Merge pull request #5532 from owncloud/ldap_fixes

Ldap fixes
make sure the shared ldap connection is rebound to the configured user after being used for password checking.
Added syntax help for autotest.sh

autotest.sh now checks for the validity of the db config name argument.
If the db config name is not known, it show syntax info.

This should save some time to people to understand how to use this
script. Before this fix, an invalid argument would return a big HTML
page in the output.
Fixed quota stream's fseek method

- Added missing return statement
- Added missing support for SEEK_END
- Fixes #5524
Fixed quota stream to not wrap read-only fopen calls
adding storage_mtime handling to SharedCache
cast storage_mtime to int
using array_diff_assoc to detect diffs in values as well
switch instance id and file id
add header 'OC-FileId' on PUT
Port PR #5457 to master
When updating an appstore app, execute a database update

See #5202
Fixed encryption migration when entry is missing in DB

When resetting the DB and some users still have encrypted files, the
migration state isn't read properly becaue the migration entries are
missing. This causes the wrong file size to be returned.

This fix inserts the missing migration entry when this condition is met.

Fixes #5541
'Update to' is shown when there is no update

See #4716
Added comment for clarification about fseek() call in quota.php
Merge pull request #5542 from owncloud/quotastream-fseektoendfix

Fixes for quota stream fseek