Commit Graph

430 Commits (9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369)

Author SHA1 Message Date
Andy Scherzinger afa48a4e0e
chore: Add SPDX header 2 years ago
Louis Chemineau 369274c9ee
feat(files_versions): Add listener and interfaces to allow versions migration across storages 2 years ago
Louis Chemineau a15c0d6515
Merge pull request #44297 from nextcloud/fix/forbid-tagging-readonly-files 2 years ago
Louis Chemineau 673a851848 refactor(files_versions): Rename MetadataFileEvents to VersionAuthorListener 2 years ago
Louis Chemineau 9361a305ba
chore(files_versions): Use new metadata API for versions 2 years ago
Eduardo Morales c5d1fda4ab fix: fixed stylistic errors 2 years ago
Eduardo Morales a8844d408b fix(files_version): deprecated INameableVersion 2 years ago
Eduardo Morales 4cf4fdc278 feat: exposed metadata column to frontend 2 years ago
Eduardo Morales b2c855451c feat: added backend metadata interface, allows JSON storage 2 years ago
Eduardo Morales 88b40bb392 feat: added metadata event listener 2 years ago
Louis 310c8be748
Revert "files_versions: add missing null check" 2 years ago
Robin Appelman 1125cf7afc
fix: fallback from guessing the owner from path in versioning 2 years ago
Varun Patil d49787d004 fix(files_versions): Add missing null check 2 years ago
Louis Chemineau fcdc8b47f2 fix(files_versions): Improve files version listing 2 years ago
Robin Appelman e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById 2 years ago
Louis Chemineau 66fbb7be76 fix(files_versions): Do not create a new version for empty files 2 years ago
Louis Chemineau 870572783a fix(files_versions): Improve files version listing 2 years ago
Louis Chemineau 046b8f320f
Check permissions when labeling a version 2 years ago
Louis Chemineau 37d0fd109a
Check node permissions when restoring a version 2 years ago
Louis Chemineau 741dec283f
Check node permissions when deleting a version 2 years ago
Vincent Petry 839ddaa354
feat: rename users to account or person 2 years ago
Louis Chemineau 5ae0f5b32f
Revert "Reapply "Cleanup versions entity in during versions:clean command"" 2 years ago
Louis Chemineau ba3fdb0cdc
Reapply "Cleanup versions entity in during versions:clean command" 2 years ago
Louis Chemineau 17ee596826
Revert "Cleanup versions entity in during versions:clean command" 2 years ago
Louis Chemineau 1ec9f3e5f9
Cleanup versions entity in during versions:clean command 2 years ago
Côme Chilliet 8bcc2d352e chore: Fix missing template parameter for IEventListener 2 years ago
Robin Appelman 6fbf22ef5e
handle storage not available when expiring versions 2 years ago
Louis Chemineau 51fa2e3b19
Improve path resolution in files_version hooks 2 years ago
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 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