]> source.dussan.org Git - nextcloud-server.git/commit
modular versions api 12129/head
authorRobin Appelman <robin@icewind.nl>
Fri, 12 Oct 2018 15:42:08 +0000 (17:42 +0200)
committerRobin Appelman <robin@icewind.nl>
Wed, 31 Oct 2018 23:21:48 +0000 (00:21 +0100)
commit4403d771ad72b3de62e6ba5ea8822110253c578e
tree169d10594adf85c5ca7881a983c8568d9bf53762
parent4a642fc0048c03a24aa199ccc9df23d547f69aa2
modular versions api

Allows apps to register version backends for storage types
The existing versions backend is wrapped in a "legacy" backend.

Signed-off-by: Robin Appelman <robin@icewind.nl>
21 files changed:
apps/files_versions/appinfo/info.xml
apps/files_versions/composer/composer/autoload_classmap.php
apps/files_versions/composer/composer/autoload_static.php
apps/files_versions/lib/AppInfo/Application.php
apps/files_versions/lib/Controller/PreviewController.php
apps/files_versions/lib/Sabre/RestoreFolder.php
apps/files_versions/lib/Sabre/RootCollection.php
apps/files_versions/lib/Sabre/VersionCollection.php
apps/files_versions/lib/Sabre/VersionFile.php
apps/files_versions/lib/Sabre/VersionHome.php
apps/files_versions/lib/Sabre/VersionRoot.php
apps/files_versions/lib/Storage.php
apps/files_versions/lib/Versions/BackendNotFoundException.php [new file with mode: 0644]
apps/files_versions/lib/Versions/IVersion.php [new file with mode: 0644]
apps/files_versions/lib/Versions/IVersionBackend.php [new file with mode: 0644]
apps/files_versions/lib/Versions/IVersionManager.php [new file with mode: 0644]
apps/files_versions/lib/Versions/LegacyVersionsBackend.php [new file with mode: 0644]
apps/files_versions/lib/Versions/Version.php [new file with mode: 0644]
apps/files_versions/lib/Versions/VersionManager.php [new file with mode: 0644]
apps/files_versions/tests/Controller/PreviewControllerTest.php
resources/app-info.xsd