stable
Clone or download
Read-only
request #14962 REST API does not provide an easy way to use legacy field full project description
Have a way to get project fields in order to create project with rest API This route is GET /project_fields Change-Id: I4867dbaa45ceb27ecacb8f2a655da2930987f9ee
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/Admin/DescriptionFields/DescriptionFieldAdminPresenterBuilder.php | +2 | −3 | Go to diff View file |
M | src/common/Project/DescriptionFieldsDao.php | +14 | −4 | Go to diff View file |
M | src/common/Project/DescriptionFieldsFactory.php | +5 | −5 | Go to diff View file |
M | src/common/Project/Registration/ProjectRegistrationPresenterBuilder.php | +2 | −2 | Go to diff View file |
M | src/common/Project/Registration/ProjectRegistrationUserPermissionChecker.php | +19 | −11 | Go to diff View file |
M | src/common/REST/ResourcesInjector.class.php | +3 | −0 | Go to diff View file |
A | src/common/REST/v1/PaginatedProjectFieldRepresentations.php | +43 | −0 | Go to diff View file |
A | src/common/REST/v1/ProjectFieldRepresentation.php | +69 | −0 | Go to diff View file |
A | src/common/REST/v1/ProjectFieldsResource.php | +109 | −0 | Go to diff View file |
A | tests/rest/tests/ProjectFieldsTest.php | +40 | −0 | Go to diff View file |
M | tests/unit/common/Project/Admin/DescriptionFields/DescriptionFieldAdminPresenterBuilderTest.php | +2 | −3 | Go to diff View file |
M | tests/unit/common/Project/Registration/ProjectRegistrationPresenterBuilderTest.php | +2 | −2 | Go to diff View file |