Commit Graph

398 Commits (28b55bba55cb0124d3ad00e5c48a9afe70cd52d3)

Author SHA1 Message Date
Julius Härtl 75505747bb fix: Properly fetch version from shared files by accessing the owner storage version 2 years ago
Git'Fellow 4173dfe05b fix(files_versions): Explicitly check for user or owner before call getUserFolder 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Git'Fellow 652317e3e2
Don't call getUid() on null 2 years ago
Git'Fellow ffeef99abc
fix: Delete ghost versions of non-existing files 2 years ago
Faraz Samapoor 0273b96eef
Apply suggestions from code review 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
Faraz Samapoor 90652fd30f Uses early returns. 2 years ago
Faraz Samapoor ab79706253 Refactors files_version app commands. 2 years ago
jld3103 3dff41786d files_versions: Add OpenAPI spec 2 years ago
Louis Chemineau eb71ee950d Enable all files versions features when groupfolders is enabled 2 years ago
Christoph Wurst 95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities 2 years ago
Louis Chemineau 05acd916b5 Base versions' has-preview on mimetype 2 years ago
Louis Chemineau 36c3846475 Provide hasPreview in files_versions DAV API 2 years ago
Louis Chemineau 7fec07196d Do not create a new version if previousNode has the same mtime 2 years ago
Julius Härtl b94145f6bd
fix: Add logging statement for cases when updating the version fails 2 years ago
Louis Chemineau ecdcc72e4d Handle previousNode size === 0 on version creation 2 years ago
Julius Härtl e76c96be5c
fix: Avoid failing to update the current version entry if there is none 2 years ago
Benjamin Somers 75e04614c1 Enable version features again with S3 versioning 2 years ago
Louis Chemineau c3475f4dbb Fix initialisation of versions in the DB 2 years ago
Git'Fellow d6eb48c436
Check if version has entity before trying to access it 2 years ago
Git'Fellow 7cd5cbe6e9
Check if version entity is not null before delete 2 years ago
Max 337fc110ec
fix: catch ManuallyLockedException and use app context 2 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