stable
Clone or download
Read-only
This is part of story #12188 hide fieldsets according to state No functional changes here. We extract the build of FormElement representations into a dedicated object. This will ease the code readability and the ability to build representations based on different contexts. Change-Id: I5bd2ecd390c07ff577e05a68fdc27f5be6a18b8c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/timetracking/include/Timetracking/REST/v1/ProjectResource.php | +16 | −12 | Go to diff View file |
M | plugins/timetracking/include/Timetracking/REST/v1/TimetrackingOverviewRepresentationsBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/TimetrackingOverviewRepresentationsBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/REST/FieldDateRepresentation.class.php | +6 | −6 | Go to diff View file |
M | plugins/tracker/include/REST/FieldOpenListRepresentation.class.php | +8 | −109 | Go to diff View file |
R | plugins/tracker/include/REST/FieldRepresentation.class.php | Go to diff View file | ||
A | plugins/tracker/include/REST/FormElementRepresentationsBuilder.php | +118 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/PermissionsExporter.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/include/REST/TrackerRestBuilder.class.php | +19 | −75 | Go to diff View file |
M | plugins/tracker/include/REST/v1/ArtifactsResource.class.php | +17 | −14 | Go to diff View file |
M | plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php | +17 | −13 | Go to diff View file |
M | plugins/tracker/include/REST/v1/TrackerFieldsResource.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/include/REST/v1/TrackersResource.class.php | +33 | −26 | Go to diff View file |
A | plugins/tracker/phpunit/REST/FormElementRepresentationsBuilderTest.php | +99 | −0 | Go to diff View file |
D | plugins/tracker/tests/REST_Backend/TrackerRestBuilderTest.php | +0 | −72 | Go to diff View file |