Commit Graph

109 Commits (d544a371bfb84f36a3b789d19d44d6694de21c48)

Author SHA1 Message Date
Bjoern Schiessle 853b106bb2 don't create empty versions 13 years ago
Björn Schießle 9394fc5d4a new version drop down 13 years ago
Björn Schießle b16c5a6df7 fix array access and change variable names according to the coding style 13 years ago
Björn Schießle 15f7bb296c continue cleaning-up old versions if availableSpace=0. It's not necessary but gives us some additional free space, especially in the case of a hard quota 13 years ago
Björn Schießle fbf34f3bf6 fix some var names according to our style guide 13 years ago
Björn Schießle 2f0d88cae4 adjust comments 13 years ago
Björn Schießle e7959d3da0 fix typo in comment 13 years ago
Björn Schießle e8760d7284 also expire versions on rename, to update the history more regularly 13 years ago
Björn Schießle d6c1e5490d it is enough to call the expire function once 13 years ago
Björn Schießle e159143165 call expire function before writing the new version to make sure to have enough free space 13 years ago
Björn Schießle efb026c664 don't normalize absolute local path 13 years ago
Björn Schießle f91b02e9b6 only escape glob pattern 13 years ago
Florin Peter b3834b49c3 prevent files_versions from calling file proxy which calls files_encryption and do unnecessary load and file operations 13 years ago
Björn Schießle bda8187f3b rename a file if it gets restored so that it no longer exists as a version. Otherwise it can happen that the expire() function removes all other versions so that we end up with only one version which is exactly the same as the original file 13 years ago
Björn Schießle b9134dcd6a touch file relative to users file folder, otherwise the hooks will be ignored 13 years ago
Björn Schießle ddde1b65db adapt free space calculation to the way it is done for the trash bin 13 years ago
Björn Schießle 544a46c690 remove used space for versions from db is a user was deleted 13 years ago
Björn Schießle 5924d1d95c add backticks around table names 13 years ago
Björn Schießle 418fb98c40 remove backticks around table names 13 years ago
Björn Schießle e37e884d7a add backtick for db queries to prevent postgresql errors 13 years ago
Björn Schießle f78594c0ae fix var name 13 years ago
Björn Schießle 93b2ada6f6 fix var name 13 years ago
Björn Schießle 0cf50d63bf create new version if the same file is uploaded again over the web interface 13 years ago
Björn Schießle 8d26400cb5 remove some debug output; move code to the right function 13 years ago
Björn Schießle 45869afa5a remove debug output 13 years ago
Björn Schießle 48bb53030c distinguish between touch and write 13 years ago
Björn Schießle 2a5d9ca9c5 damn copy&paste, fix wrong var name 13 years ago
Björn Schießle 21bad1fcc0 fix type in var name 13 years ago
Björn Schießle 94dab96dba fix quota calculation for trash and versions 13 years ago
Björn Schießle 70014d37dc fix expire function 13 years ago
Björn Schießle e81b6395d4 make sure that the version app always work on the users real home folder and not on the mount point 13 years ago
Björn Schießle 5c7e3cf2e2 escape regular expressions; fix typo in variable name 13 years ago
Björn Schießle b917646516 fix quota calculation 13 years ago
Bart Visscher bb75dfc021 Whitespace fixes 13 years ago
Björn Schießle 9edec542c5 mount users home before write/read file to it, necessary to deal with external homes 13 years ago
Bart Visscher 59582e0f3f Fix review issues 13 years ago
Bart Visscher db8dbb9847 Style cleanup files_versions 13 years ago
Björn Schießle 0a5457c550 fix getVersions(), we need to get the correct user and filename 13 years ago
Björn Schießle c24ec867f9 calculate versions size per user 13 years ago
Björn Schießle efa024cc62 fix getUidAndFilename() function 13 years ago
Björn Schießle 08b68aac6c check if glob() returns any results, fix for stable45 was already approved by pull request #1695 13 years ago
Björn Schießle b05f05ec4a make store function static 13 years ago
Björn Schießle 87b98dab25 use new filesystem to mount users home 13 years ago
Bart Visscher 5c4a804ddb Fix SpaceBeforeOpenBrace errors 13 years ago
Bart Visscher 0e548283fc Replace OC_FileCache usage in files_versions 13 years ago
Bart Visscher 3e7ca373ec Only calculate md5 of local file once 13 years ago
Bart Visscher 148e4facfa Change files_versions namespace to OCA\Files_Versions 13 years ago
Björn Schießle 73c4d0faff initialize $versionCreated 13 years ago
Björn Schießle f71a5dec99 initialize 13 years ago
Björn Schießle 60d5d5f636 fix for issue #1186, missing variables added 13 years ago