Commit Graph

140 Commits (85edbb08c1768237e005fea3a763deff2c859c29)

Author SHA1 Message Date
Bjoern Schiessle a0de5dd325 some small fixes 12 years ago
Bjoern Schiessle f4e86045de make files versions root a class constant 12 years ago
Bjoern Schiessle 87cccb2e32 some small changes/fixes 12 years ago
Bjoern Schiessle 4c2e3919de make previews work for shared files in the versions drop-down 12 years ago
Bjoern Schiessle 92009c5d8e fix getVersions() for sub directories 12 years ago
Bjoern Schiessle bb3b38947d add missing preview link 12 years ago
Bjoern Schiessle e56947255e don't use glob() and getLocalFile(), this can lead to problems on windows servers 12 years ago
Bjoern Schiessle eb1216f949 add previews to versions dialog 12 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 12 years ago
Bjoern Schiessle f28f528431 switched to dirname() 12 years ago
Bjoern Schiessle db8fdd5032 added missing parameter documentation 12 years ago
Bjoern Schiessle f71794f0d5 added createMissingDirectories() method 12 years ago
Bjoern Schiessle 16efd81a0e first check if file exists before checking the files size 12 years ago
Bjoern Schiessle a3d009e3b5 also create root dir if it doesn't exist yet 12 years ago
Bjoern Schiessle d314729cea use OC files API to create missing directory which should handle special chars in every environment correctly 12 years ago
Bjoern Schiessle 853b106bb2 don't create empty versions 12 years ago
Bjoern Schiessle 22b8967031 check if app is enabled 12 years ago
Björn Schießle 9394fc5d4a new version drop down 12 years ago
Björn Schießle b16c5a6df7 fix array access and change variable names according to the coding style 12 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 12 years ago
Björn Schießle fbf34f3bf6 fix some var names according to our style guide 12 years ago
Björn Schießle 2f0d88cae4 adjust comments 12 years ago
Björn Schießle e7959d3da0 fix typo in comment 12 years ago
Björn Schießle e8760d7284 also expire versions on rename, to update the history more regularly 12 years ago
Björn Schießle d6c1e5490d it is enough to call the expire function once 12 years ago
Björn Schießle e159143165 call expire function before writing the new version to make sure to have enough free space 12 years ago
Björn Schießle efb026c664 don't normalize absolute local path 12 years ago
Björn Schießle f91b02e9b6 only escape glob pattern 12 years ago
Florin Peter b3834b49c3 prevent files_versions from calling file proxy which calls files_encryption and do unnecessary load and file operations 12 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 12 years ago
Björn Schießle b9134dcd6a touch file relative to users file folder, otherwise the hooks will be ignored 12 years ago
Björn Schießle ddde1b65db adapt free space calculation to the way it is done for the trash bin 12 years ago
Björn Schießle 544a46c690 remove used space for versions from db is a user was deleted 12 years ago
Björn Schießle 5924d1d95c add backticks around table names 12 years ago
Björn Schießle 418fb98c40 remove backticks around table names 12 years ago
Björn Schießle e37e884d7a add backtick for db queries to prevent postgresql errors 12 years ago
Björn Schießle f78594c0ae fix var name 12 years ago
Björn Schießle 93b2ada6f6 fix var name 12 years ago
Björn Schießle 0cf50d63bf create new version if the same file is uploaded again over the web interface 12 years ago
Björn Schießle 8d26400cb5 remove some debug output; move code to the right function 12 years ago
Björn Schießle 45869afa5a remove debug output 12 years ago
Björn Schießle 48bb53030c distinguish between touch and write 12 years ago
Björn Schießle 2a5d9ca9c5 damn copy&paste, fix wrong var name 12 years ago
Björn Schießle 21bad1fcc0 fix type in var name 12 years ago
Björn Schießle 94dab96dba fix quota calculation for trash and versions 12 years ago
Björn Schießle 70014d37dc fix expire function 12 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 12 years ago
Björn Schießle 5c7e3cf2e2 escape regular expressions; fix typo in variable name 12 years ago
Björn Schießle b917646516 fix quota calculation 12 years ago
Bart Visscher bb75dfc021 Whitespace fixes 12 years ago