stable

Clone or download

Read-only

Store the new version on file system

part of story #12458 DnD on an existing file creates a new version Change-Id: I0f0860ba268db697f751cbd4ca395c2e4b9431b2

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanItemsResource.php +3 −3 Go to diff View file
M plugins/docman/include/REST/v1/EmptyFileToUploadFinisher.php +2 −2 Go to diff View file
R plugins/docman/include/Upload/DocumentBeingUploadedInformationProvider.php Go to diff View file
R plugins/docman/include/Upload/DocumentDataStore.php Go to diff View file
R plugins/docman/include/Upload/DocumentUploadCanceler.php Go to diff View file
R plugins/docman/include/Upload/DocumentUploadFinisher.php Go to diff View file
R plugins/docman/include/Upload/DocumentUploadPathAllocator.php Go to diff View file
M plugins/docman/include/Upload/DocumentBeingUploadedLocker.php +3 −3 Go to diff View file
M plugins/docman/include/Upload/DocumentUploadCleaner.php +2 −2 Go to diff View file
R plugins/docman/include/Upload/DocumentBeingUploadedInformation.php Go to diff View file
R plugins/docman/include/Upload/DocumentBeingUploadedWriter.php Go to diff View file
M plugins/docman/include/Upload/FileUploadController.php +1 −1 Go to diff View file
R plugins/docman/include/Upload/DocumentBeingUploadedLockVerificationException.php Go to diff View file
A plugins/docman/include/Upload/UploadPathAllocator.php +30 −0 Go to diff View file
M plugins/docman/include/Upload/Version/DocumentOnGoingVersionToUploadDAO.php +10 −0 Go to diff View file
A plugins/docman/include/Upload/Version/VersionBeingUploadedInformationProvider.php +84 −0 Go to diff View file
A plugins/docman/include/Upload/Version/VersionDataStore.php +77 −0 Go to diff View file
A plugins/docman/include/Upload/Version/VersionUploadPathAllocator.php +64 −0 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +40 −8 Go to diff View file
R plugins/docman/phpunit/Upload/DocumentBeingUploadedInformationProviderTest.php Go to diff View file
R plugins/docman/phpunit/Upload/DocumentUploadCancelerTest.php Go to diff View file
R plugins/docman/phpunit/Upload/DocumentUploadFinisherTest.php Go to diff View file
R plugins/docman/phpunit/Upload/DocumentUploadPathAllocatorTest.php Go to diff View file
M plugins/docman/phpunit/Upload/DocumentBeingUploadedLockerTest.php +2 −1 Go to diff View file
M plugins/docman/phpunit/Upload/DocumentBeingUploadedWriterTest.php +7 −6 Go to diff View file
M plugins/docman/phpunit/Upload/DocumentUploadCleanerTest.php +1 −0 Go to diff View file
A plugins/docman/phpunit/Upload/Version/VersionBeingUploadedInformationProviderTest.php +113 −0 Go to diff View file
A plugins/docman/phpunit/Upload/Version/VersionUploadPathAllocatorTest.php +36 −0 Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanFilesTest.php Go to diff View file