stable
Clone or download
Read-only
This is a part of the story #12443 Table: Minimal folder display This new route retrieve the content of a folder. Document and folder sort is not handle in this patch. This will be done in a dedicated patch. The route handle permissions: - The user should have reading permission on the folder. - The user can see only folders/items he is allowed to see. Change-Id: Ie63e42178910ea390b1dcda66b36d2635ae778bc
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_ItemDao.class.php | +21 | −0 | Go to diff View file |
M | plugins/docman/include/Docman_ItemFactory.class.php | +7 | −3 | Go to diff View file |
A | plugins/docman/include/Item/ItemIsNotAFolderException.php | +25 | −0 | Go to diff View file |
A | plugins/docman/include/Item/ItemVisitor.php | +40 | −0 | Go to diff View file |
A | plugins/docman/include/Item/PaginatedDocmanItemCollection.php | +59 | −0 | Go to diff View file |
A | plugins/docman/include/REST/ResourcesInjector.php | +40 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/DocmanItemsResource.php | +185 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/FolderAccessibilityCheckerVisitor.php | +77 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentation.php | +23 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentationBuilder.php | +39 | −6 | Go to diff View file |
A | plugins/docman/include/REST/v1/ItemRepresentationCollectionBuilder.php | +78 | −0 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.class.php | +16 | −3 | Go to diff View file |
M | plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po | +9 | −0 | Go to diff View file |
M | plugins/docman/site-content/tuleap-docman.pot | +9 | −0 | Go to diff View file |
A | plugins/docman/tests/phpunit/.simpletest_skip | +0 | −0 | Go to diff View file |
A | plugins/docman/tests/phpunit/REST/v1/ItemRepresentationCollectionBuilderTest.php | +144 | −0 | Go to diff View file |
A | plugins/docman/tests/phpunit/bootstrap.php | +22 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/Docman/DocmanItemsTest.php | +68 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/DocmanBase.php | +37 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/DocmanDataBuilder.php | +114 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/_fixtures/project/project.xml | +29 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/_fixtures/project/user_map.csv | +2 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/_fixtures/project/users.xml | +17 | −0 | Go to diff View file |
A | plugins/docman/tests/rest/bootstrap.php | +24 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/init_test_data.php | +5 | −2 | Go to diff View file |