stable
Clone or download
Read-only
This is a preliminary task to be able to use tus.io in FRS REST API. In order to not submit a fat review, I propose to refactor code now so that most of the Upload classes that are used for file upload with tus (and are not specifically tied to docman) are moved to Tus\Upload namespace. No functional changes. Part of story #12813: upload files with FRS REST API Change-Id: I3d823be58441cbd8b41b4854cd1b41d2d129f79f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Upload/Document/DocumentBeingUploadedInformationProvider.php | +1 | −1 | Go to diff View file |
M | plugins/docman/include/Upload/Document/DocumentDataStore.php | +5 | −5 | Go to diff View file |
M | plugins/docman/include/Upload/UploadPathAllocator.php | +3 | −1 | Go to diff View file |
M | plugins/docman/include/Upload/Version/VersionBeingUploadedInformationProvider.php | +1 | −1 | Go to diff View file |
M | plugins/docman/include/Upload/Version/VersionDataStore.php | +2 | −2 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.class.php | +61 | −75 | Go to diff View file |
M | plugins/docman/phpunit/Upload/DocumentBeingUploadedLockerTest.php | +3 | −3 | Go to diff View file |
R | plugins/docman/include/Upload/FileBeingUploadedInformation.php | Go to diff View file | ||
R | plugins/docman/include/Upload/DocumentBeingUploadedLocker.php | Go to diff View file | ||
R | plugins/docman/include/Upload/FileBeingUploadedWriter.php | Go to diff View file | ||
R | plugins/docman/include/Upload/FileUploadController.php | Go to diff View file | ||
R | plugins/docman/include/Upload/FileUploadDispatcher.php | Go to diff View file | ||
A | src/common/Upload/PathAllocator.php | +28 | −0 | Go to diff View file |
R | plugins/docman/include/Upload/UploadLockVerificationException.php | Go to diff View file | ||
R | plugins/docman/phpunit/Upload/DocumentBeingUploadedWriterTest.php | Go to diff View file |