stable

Clone or download

Read-only

request #12464 Update project rest route to get time tracked project

Update rest route /projects with a new parameter "with_time_tracking" wich return projects with timetracking enbaled if paramter "with_time_tracking" is true. You can test it on api explorer Change-Id: I6dd2b587ed21ab62c928a97820844e3bf4f1e7a4

Modified Files

Name
M plugins/timetracking/include/Timetracking/Admin/AdminDao.php +15 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/REST/v1/ProjectResource.php +91 −0 Go to diff View file
M plugins/timetracking/include/Timetracking/REST/v1/TimetrackingResource.php +4 −4 Go to diff View file
M plugins/timetracking/include/Timetracking/REST/v1/UserResource.php +4 −1 Go to diff View file
M plugins/timetracking/include/Timetracking/Time/TimeRetriever.php +30 −1 Go to diff View file
M plugins/timetracking/include/timetrackingPlugin.class.php +23 −3 Go to diff View file
M plugins/timetracking/phpunit/Time/TimeRetrieverTest.php +3 −1 Go to diff View file
M plugins/timetracking/tests/rest/Timetracking/TimetrackingTest.php +33 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +10 −2 Go to diff View file
A src/common/widget/Event/GetProjectsWithCriteria.php +105 −0 Go to diff View file