CRON call ends in null exception


[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message
: PHP Fatal error:  Call to a member function execute() on null in /var/www/ownc
loud/cron.php on line 125" while reading response header from upstream, client:
217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre
am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: "
https://cloud.mycloud.com/"
Update cron.php
Allow specifying the item source in unshareFromSelf().
Log unsuccessful temp file creation and return false
Only load personal external storages for allowed backends
add utf8 folder test
Remove no longer existing files from the cache when scanning external storage
Return whole file if range request cannot be granted due to encryption

Whenenver range headers are set and encryption is enabled, it is not
possible to automatically fseek() to the proper position.

To avoid returning corrupt/invalid data or causing a decryption error,
the range headers are stripped so that the SabreDAV code in httpGet()
returns the whole file.
add unit test for #8325
use S3Client::encodeKey(), fixes #8325
Fix STORAGE_* constants usage by moving those constants into \OC\Files\Filesystem.

As constants not defined within a class cannot be automatically found by the
autoloader moving those constants into a class makes them accessible to
code which uses them.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
Use tabs for indentation.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
move to public namespace
Remove loadAppScriptFile
Use proper routes for files
Add routing to files_sharing
Add routing to files_encryption
Add routing to files_trashbin
Add routing to files_versions
Add routing to user_ldap