stable

Clone or download

Read-only

The Tus server can notify when a upload is finished

This will allow us in the future to mark a document from the document manager has available. You can test by using the instructions given in the introductory commit (426ca739d33e52787ad1439f52a5c8d658d56c8d) of the Tus server. This is part of story #12612: upload document via REST route Change-Id: I3e29cd353431ce057f8368086fd8ca2afbff73bd

Modified Files

Name
A plugins/docman/include/Tus/GenericTusEventDispatcher.php +47 −0 Go to diff View file
A plugins/docman/include/Tus/TusEvent.php +26 −0 Go to diff View file
A plugins/docman/include/Tus/TusEventDispatcher.php +26 −0 Go to diff View file
A plugins/docman/include/Tus/TusEventSubscriber.php +33 −0 Go to diff View file
M plugins/docman/include/Tus/TusServer.php +13 −4 Go to diff View file
A plugins/docman/include/Upload/DocumentUploaded.php +54 −0 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +7 −1 Go to diff View file
A plugins/docman/phpunit/Tus/GenericTusEventDispatcherTest.php +54 −0 Go to diff View file
M plugins/docman/phpunit/Tus/TusServerTest.php +15 −17 Go to diff View file