calculate free space for versions
add size to versions array
update files history according the given intervals
remove blacklist
personal settings removed, there is no need to expire versions manually
expire all operation no longer needed; delete oldest versions if limit of empty space is reached
don't check for min interval, no longer needed
get timestamp from file instead from time(); typo fixed
add missing bracket
remove DEFAULTMAXFILESIZE limit and make percentage of available space for versions configurable
debug output removed
use limits defined in issue https://github.com/owncloud/core/issues/860
adjust timestamp of the file copied from the version history
every 1000s run reduce the number of versions for all files, not only for the currently edited file
add complete size of versions to array
keep track of the size of the versions directory
some code clean-up
some more clean-up, isVersioned() is no longer needed; rename hook fixed if a complete folder gets renamed
function description fixed
- code clean-up
- some more code comments
- fixed bug in the expire function, cleanup all_versions array during run. Otherwise it could happen that we try to delete already deleted versions