1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/src
James Rhodes 2101c3b689 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
2014-07-12 11:42:32 +10:00
..
__tests__ Minor change to PhutilInfrastructureTestCase 2014-07-10 07:36:14 +10:00
aphront Remove @group annotations 2014-07-10 08:12:48 +10:00
applications Conduit APIs to start and stop tracking time in phrequent 2014-07-12 11:42:32 +10:00
docs Remove @group annotations 2014-07-10 08:12:48 +10:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Allow worker tasks to have priorities 2014-07-12 03:02:06 +10:00
view Modernize "repositories" typeahead datasource 2014-07-10 16:18:04 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Conduit APIs to start and stop tracking time in phrequent 2014-07-12 11:42:32 +10:00