stable

Clone or download

Read-only

Create REST route GET /timetracking

This is part of story #11253 get a consolidate view of my timesheeting in my personal dashboard The REST route retrieves all the times for the current user. The automated tests will be added in a next commit. Change-Id: Ibc68803c5e0aa6115c57509ed07944d08242f2f8

Modified Files

Name
A include/Timetracking/REST/ResourcesInjector.php +42 −0 Go to diff View file
A include/Timetracking/REST/v1/MinimalArtifactRepresentation.php +49 −0 Go to diff View file
A include/Timetracking/REST/v1/TimetrackingRepresentation.php +71 −0 Go to diff View file
A include/Timetracking/REST/v1/TimetrackingRepresentationBuilder.php +58 −0 Go to diff View file
A include/Timetracking/REST/v1/TimetrackingResource.php +111 −0 Go to diff View file
M include/Timetracking/Time/Time.php +6 −1 Go to diff View file
M include/Timetracking/Time/TimeDao.php +11 −0 Go to diff View file
M include/Timetracking/Time/TimeRetriever.php +15 −1 Go to diff View file
M include/autoload.php +7 −2 Go to diff View file
M include/timetrackingPlugin.class.php +9 −0 Go to diff View file