Homec4science

Conduit APIs to start and stop tracking time in phrequent

Authored by James Rhodes <jrhodes@redpointsoftware.com.au> on Jul 12 2014, 03:42.

Description

Conduit APIs to start and stop tracking time in phrequent

Summary:
This adds methods to start and stop tracking any arbitrary PHID in phrequent. Currently, this uses copy-pasted code from PhrequentTrackController. I had to do this because the code to start/stop was not abstracted into a common class.

Once the code to start/stop working is extracted into a re-usable class, the conduit API can use this as well.

Test Plan: I called the functions with a PHID of a task and ensured that the fields in the phrequent database table was being updated correctly.

Reviewers: skyronic, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: maxhodak, erik.fercak, aran, epriestley, Korvin

Maniphest Tasks: T3569, T3970

Differential Revision: https://secure.phabricator.com/D7326

Details

Committed
James Rhodes <jrhodes@redpointsoftware.com.au>Jul 12 2014, 03:42
Pushed
aubortJan 31 2017, 17:16
Parents
rPH9a679bf3746c: Allow worker tasks to have priorities
Branches
Unknown
Tags
Unknown

Event Timeline

James Rhodes <jrhodes@redpointsoftware.com.au> committed rPH2101c3b6890d: Conduit APIs to start and stop tracking time in phrequent (authored by James Rhodes <jrhodes@redpointsoftware.com.au>).Jul 12 2014, 03:42