Commit Graph

32 Commits (4f31b7b9cc2dac060194de2c769b149a2ac861ba)

Author SHA1 Message Date
Julius Härtl e26187c7ff
Make sure we only fetch the file by id for the actual owner 7 years ago
Felix Nieuwenhuizen 56457505af set availableSpace to 0 if userFolder not found 7 years ago
Felix Nieuwenhuizen 0f43d1dfaa use node API for free space calculation in versions app (same method as trashbin app) 7 years ago
Robin Appelman 4403d771ad
modular versions api 7 years ago
Roeland Jago Douma 39bb9c06d1
Delete the previews when a version is restored 8 years ago
Roeland Jago Douma cd53498256
Use more magic DI in files_versions 8 years ago
Morris Jobke dd34cb7540
Less deprecated calls to OCP\Util::writeLog 8 years ago
Morris Jobke c1e4f9f305
Use type casting instead of *val() method 8 years ago
Morris Jobke 870fe20acc
Use $var[] = $a instead of array_push - 2x faster 8 years ago
Morris Jobke e6efa755c9
Use short for of substr to not need strlen() 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Bjoern Schiessle 90d7693997
allow apps to disable versions for some files 8 years ago
Joas Schilling a20934227c Remove undocumented config 9 years ago
Joas Schilling c23c05d4f6 Fix versions app 9 years ago
Joas Schilling 1e2de86c3a Fix comparisons in the versions app 9 years ago
Morris Jobke c27498db71 Use IConfig instead of static OCP\Config 9 years ago
Vincent Petry 5dbb32fb81
Properly expire ext storage versions (#26601) 9 years ago
Roeland Jago Douma 4dcd0474d5
Show mimeicon when versions don't have a preview 9 years ago
Roeland Jago Douma d720a2fb57
Moved over files_versions 9 years ago
Joas Schilling 0215b004da
Update with robin 10 years ago
Joas Schilling 813f0a0f40
Fix apps/ 10 years ago
Carlos Damken d58e6b59d3 Upgrading the log level From Debug to INFO to be consistent with files_trashbin (#25367) 10 years ago
Bjoern Schiessle 4a4cac611f we don't need to check permissions twice 10 years ago
Bjoern Schiessle 1b74cf72fb check permissions before rollback 10 years ago
Vincent Petry f22af90c09 Hide revert button when no permission to revert 10 years ago
Vincent Petry fa3dc909a4
Rollback version must also adjust cached size 10 years ago
Victor Dubiniuk d82df7e490
Construct path to the version file from the current directory and filename. Fixes #22450 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Joas Schilling b57f3126eb Move files_versions to PSR-4 (#24571) 10 years ago
Joas Schilling 9491d0f65b
Add missing use statement 10 years ago
Lukas Reschke 72c8187cbb Keep "encryptedVersion" when calling `\OC\Files\View::copy` 10 years ago
Lukas Reschke c353d51810 Remove Scrutinizer Auto Fixer 10 years ago
Lukas Reschke 933f60e314 Update author information 10 years ago
Bjoern Schiessle 4ef035cc61 make sure that the file name doesn't end with a trailing slash. Can for example happen single files shared across servers 10 years ago
Bjoern Schiessle ac1c3d27b7 get the actual user instead of a federated cloud id 10 years ago
Lukas Reschke 762636efcd Use cache directly instead of QB 10 years ago
Lukas Reschke 5ccb9dfa7e Use database for keeping track of the version 10 years ago
Arthur Schiwon 3a796d1e15 Consolidate getQuota and setQuota methods in User instance 10 years ago
Arthur Schiwon d2d6644702 use int values and constants instead of strings 10 years ago
Arthur Schiwon b6e03fe261 versions provide more information when throwing hooks 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Robin Appelman 94200b682c removed unused imports 10 years ago
Robin Appelman 282f67dad1 improve handling of non existing files in the trashbin 10 years ago
Robin Appelman 300eb54c87 de-deplicate getUidAndFilename 10 years ago
Morris Jobke fb87441fd9 Deduplicate version expire jobs 10 years ago
Scrutinizer Auto-Fixer 0f1be1b601 Scrutinizer Auto-Fixes 10 years ago
Lukas Reschke 13e817e901 Throw exception on `getPath` if file does not exist 10 years ago
Robin Appelman 22c5c19376 handle versions expire for home storages with unlimited quota 10 years ago
Robin Appelman 54cea05271 Fix preserving file ids when restoring a file with object storage 10 years ago
Morris Jobke b945d71384 update licence headers via script 10 years ago