1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/maniphest
Brayden Winterton b660960771 Add a priorityColor property to the maniphest conduit endpoint
Summary:
I added a getTaskPriorityColor function to the ManiphestTaskPriority class which returns the color set in the maniphest config for the given priority.

This is in preparation for a change to arcanist which will allow it to display the priority color (if it is a supported color) upon running `arc tasks`.

Fixed some linting issues

Test Plan:
Invoke the maniphest.info method from conduit and ensure that:
 * The priorityColor property is given in the json
 * the priorityColor property is set correctly

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8734
2014-04-09 11:32:08 -07:00
..
application Various linter fixes. 2014-02-26 12:44:58 -08:00
capability Add capabilities for editing task triage details (priority, assignee, etc) 2013-10-21 16:59:06 -07:00
conduit Add a priorityColor property to the maniphest conduit endpoint 2014-04-09 11:32:08 -07:00
config Add a one-click "Scuttle Task" button to Maniphest 2014-03-25 14:20:25 -07:00
constants Add a priorityColor property to the maniphest conduit endpoint 2014-04-09 11:32:08 -07:00
controller Make Maniphest project prefill more modern and standard 2014-04-09 08:37:23 -07:00
editor Workboards - make priority changes less aggressive and generally better 2014-03-27 10:50:54 -07:00
event Fix Maniphest links w.r.t. new "status" data format 2014-03-28 12:59:09 -07:00
export Implemented support for different export formats. 2013-04-11 11:27:36 -07:00
field Use ApplicationTransactions and CustomField to implement build steps 2014-03-25 16:08:40 -07:00
lipsum Move many task status hardcodes into ManiphestTaskStatus 2014-02-17 15:59:31 -08:00
mail Restore reply instructions to ApplicationTransaction email 2014-04-04 11:14:21 -07:00
phid Despecialize most task status handling 2014-03-25 13:47:42 -07:00
query Use string constants, not integer constants, to represent task status internally 2014-03-25 13:58:14 -07:00
remarkup Remove obsolete/deprecated withTaskIDs() / withTaskPHIDs() 2013-09-10 15:34:04 -07:00
search Despecialize most task status handling 2014-03-25 13:47:42 -07:00
storage Fix maniphest "create" transactions 2014-04-01 14:26:03 -07:00
view Despecialize most task status handling 2014-03-25 13:47:42 -07:00