Commit Graph

76 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Louis Chemineau 9361a305ba
chore(files_versions): Use new metadata API for versions 2 years ago
Robin Appelman e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById 2 years ago
Robin Appelman 6fbf22ef5e
handle storage not available when expiring versions 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Git'Fellow ffeef99abc
fix: Delete ghost versions of non-existing files 2 years ago
Louis Chemineau cec0b310a5 Move module versions management logic out of main logic 2 years ago
Julius Härtl bbb7172220
fix: Also cleanup version metadata if expiring 2 years ago
Louis Chemineau c3475f4dbb Fix initialisation of versions in the DB 3 years ago
Git'Fellow d6eb48c436
Check if version has entity before trying to access it 3 years ago
Git'Fellow 7cd5cbe6e9
Check if version entity is not null before delete 3 years ago
Max 337fc110ec
fix: catch ManuallyLockedException and use app context 3 years ago
Côme Chilliet a6b1d990a4
Check for non-numeric versions, not non-integer 3 years ago
Côme Chilliet 8cc8765089
Ignore and log non integer versions 3 years ago
Julius Härtl cf46bd6915
fix: Make sure that rollback hook is triggered on all version backends 3 years ago
Louis Chemineau 21cd3b0e0d Handle empty DB while expiring versions 3 years ago
Louis Chemineau ad469969bf Prevent expiration of named versions 3 years ago
Louis Chemineau 6a2f8bc599 Allow to delete a version through DAV 3 years ago
Côme Chilliet 53cb5b8d07
Handle badly named version files more gracefully and log information 3 years ago
Robin Appelman 9587a4a548
use filesystem user instead of file owner for creating version 3 years ago
Robin Appelman 7be5788995
always use the default fs owner when storing versions 3 years ago
Robin Appelman d5953e5c33
cache internalpath in versions cleanup 4 years ago
Robin Appelman 5f101d910b
use search to find versions to expire 4 years ago
Carl Schwan 701b57b81d
Remove allmost all deprecation from the files_version app 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Christoph Wurst 8196420063
Drop \OCP\User 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Robin Appelman b2fb4d898a
dont stop expiring versions if we cant check if the source file still exists 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Morris Jobke 6ce05bc7d7
Return all keys in getAllVersions() instead 5 years ago
Christoph Wurst 02fa3253fe
Fix undefined index and consequential damages in versions code 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Liam JACK b6c76f43a1
Fix #19066 - Array offset error due to empty file versions array 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Roeland Jago Douma 78050ec531
Fix restoring shared versions 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Christoph Wurst 543190f8b3
Do not create Application instances directly 6 years ago
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