Commit Graph

387 Commits (2ea7719bfa4280220c7dfc9fbfec97b61ba33112)

Author SHA1 Message Date
jld3103 3dff41786d files_versions: Add OpenAPI spec 3 years ago
Louis Chemineau eb71ee950d Enable all files versions features when groupfolders is enabled 3 years ago
Christoph Wurst 95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities 3 years ago
Louis Chemineau 05acd916b5 Base versions' has-preview on mimetype 3 years ago
Louis Chemineau 36c3846475 Provide hasPreview in files_versions DAV API 3 years ago
Louis Chemineau 7fec07196d Do not create a new version if previousNode has the same mtime 3 years ago
Julius Härtl b94145f6bd
fix: Add logging statement for cases when updating the version fails 3 years ago
Louis Chemineau ecdcc72e4d Handle previousNode size === 0 on version creation 3 years ago
Julius Härtl e76c96be5c
fix: Avoid failing to update the current version entry if there is none 3 years ago
Benjamin Somers 75e04614c1 Enable version features again with S3 versioning 3 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
Louis Chemineau cca46f18eb Really disable versions features when S3 versioning is enabled 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
Côme Chilliet ea05544213
Fix return type of methods returning false on error 3 years ago
Julius Härtl f00f4244d4
fix: Check return type on rollback 3 years ago
Robin Appelman 62e6a32899
don't re-get fileinfo for versioned file if it's not shared 3 years ago
Julius Härtl c22d51c1ad
tests(files_versions): Tear down fs to clear mount cache before testing 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
Côme Chilliet 1765908c03
Document that size may be a float in new class VersionEntity 3 years ago
Louis Chemineau 88abb2d97c Fix versions restoring with S3 3 years ago
Louis Chemineau 3da63f4148 Use node's owner if no user is connected 3 years ago
Louis Chemineau 84e5b9c5f7 Prevent storing versions with the same mtime 3 years ago
Louis Chemineau 6dcfb29cfc Fix renaming files_versions 3 years ago
Louis Chemineau c88328e68e Handle empty files in version creation logic 3 years ago
Louis Chemineau d8b479752d Fix hookconnector tests 3 years ago
Louis Chemineau 53d736207c Adapt files_versions tests to modernized hooks 3 years ago
Louis Chemineau 2ce4ac4aa4 User rootFolder instead of userFolder in FileEventsListener 3 years ago
Louis Chemineau 8f23cc8259 Rename Hooks.php to FileEventsListener.php 3 years ago
Louis Chemineau ad469969bf Prevent expiration of named versions 3 years ago
Louis Chemineau 1adc9d2aab Delete file versions entries in DB when node is deleted 3 years ago
Louis Chemineau 6a2f8bc599 Allow to delete a version through DAV 3 years ago
Louis Chemineau 629de6c8c9 Support getting and patching version-label 3 years ago
Louis Chemineau e82bfba114 Create files_versions table 3 years ago
Louis Chemineau 1ade482797 Modernise hook listener of files_versions 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
Carl Schwan 48d9c4d2b0
Port existing server code to new interface 3 years ago
Thomas Citharel 190a71ecf9
Expose additional emails in {DAV:}alternate-URI-set 4 years ago
Robin Appelman d5953e5c33
cache internalpath in versions cleanup 4 years ago
Daniel Kesselberg 3293428ac0
Add configuration flag to disable the background job for files_versions 4 years ago
Daniel Rudolf 54cb4ac840
Improve occ versions:cleanup --path option 4 years ago
Robin Appelman 5f101d910b
use search to find versions to expire 4 years ago
Thomas Citharel a7b9b398a3
Expose user language through DAV 4 years ago
szaimen 98102bfa78 Improve auto expiration hint 4 years ago