recreate an etag within the scanner if the cache contains an empty etag
Merge branch 'master' into fixing-4866-master
etag changes are now propagated up the file tree
when storing back the data field 'encrypted' it is necessary to cast the boolean to an integer to make pg happy
Use update() instead of put().
Only update the etag. Do not re-submit any other unchanged data.
Do not convert boolean to integer in tests. put() already does this.
Move bool to int conversion to buildParts(), so it also happens for update().
Merge remote-tracking branch 'owncloud/master' into fixing-4866-master

* owncloud/master: (98 commits)
  [tx-robot] updated from transifex
  files: when filtering search results, ensure results are children of the fakeroot not just path starting the same
  setting a default on filecache column unencrypted_size
  [tx-robot] updated from transifex
  remove unneccessary lib in namespace
  namespaces use upcasefirst parts when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app its magic!
  initialize variable
  calculate correct permissions while toggle the password protection
  make sure that both $permissions and $oldPermissions have the same type
  Add copyright, remove starting blank line
  update inherit docs comment
  Fix insert/update/delete helper functions for oracle
  Add missing return true statements to legacy preferences functions
  Add missing static
  Convert OC_Preference to object interface
  fix race condition in lazy preview loading
  use {count} instead of 'One' for more versatile translation
  fix double translation of error message
  use n to translate title
  fixing typos and l10n
  ...

Conflicts:
	tests/lib/files/cache/scanner.php
Move setUp() and tearDown() up in tests/lib/files/cache/scanner.php.
Merge pull request #4869 from owncloud/fixing-4866-master

recreate an etag within the scanner if the cache contains an empty etag