stable

Clone or download

Read-only

Folders can be moved between folders via the REST API

A new REST route PATCH /docman_folders/:id is available. Part of story #12456: Cut/Copy/paste items Change-Id: I4d49d5460d2e00eb323c63ab207edd243e0ab67d

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +2 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +81 −9 Go to diff View file
M plugins/docman/include/REST/v1/MoveItem/BeforeMoveVisitor.php +17 −3 Go to diff View file
M plugins/docman/include/REST/v1/MoveItem/DocmanItemMover.php +10 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/MoveItem/BeforeMoveVisitorTest.php +80 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/MoveItem/DocmanItemMoverTest.php +9 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanFoldersTest.php +49 −0 Go to diff View file