1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/differential/customfield
epriestley 2e36653965 Reduce callsites to "ArcanistDifferentialRevisionStatus" in Phabricator
Summary:
Ref T2543. These are currently numeric values, like "0" and "3". I want to replace them with strings, like "accepted", and move definitions from Arcanist to Phabricator.

To set the stage for this, reduce the number of callsites where Phabricator invokes `ArcanistDifferentialRevisionStatus`.

This is just the easy ones. I'll hold this until the release cut.

Test Plan:
- Called `differential.find`.
- Called `differential.getrevision`.
- Called `differential.query`.
- Removed all reviewers from a revision, saw warning.
- Abandoned the no-reviewers revision, no more warning.
- Attached a revision to a task to get it to show the state icon with the status on a tooltip.
- Viewed revision bucketing on dashboard.
- Used `bin/search index` to reindex a revision.
- Hit the "Land Revision" endpoint.

I didn't explicitly test these cases:

  - Doorkeeper Asana integration, since setup takes a thousand years.
  - Disambiguation logic when multiple hashes match, since setup is also very involved.
  - Releeph because it's Releeph.

Reviewers: chad

Reviewed By: chad

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T2543

Differential Revision: https://secure.phabricator.com/D18339
2017-08-09 11:04:52 -07:00
..
DifferentialAsanaRepresentationField.php Modernize remaining edge types 2015-01-03 10:58:20 +11:00
DifferentialAuditorsField.php Remove some remnants of the old ways commit mesage fields worked from Differential 2017-01-13 15:29:07 -08:00
DifferentialBlameRevisionField.php Remove some remnants of the old ways commit mesage fields worked from Differential 2017-01-13 15:29:07 -08:00
DifferentialBranchField.php Reduce callsites to "ArcanistDifferentialRevisionStatus" in Phabricator 2017-08-09 11:04:52 -07:00
DifferentialChangesSinceLastUpdateField.php Add addLinkSection to MailBody to properly format URIs 2014-10-30 15:24:10 -07:00
DifferentialCommitsField.php Allow configuration of Differential custom fields 2014-03-11 13:01:57 -07:00
DifferentialCoreCustomField.php Fix two issues with embedding other fields inside "Summary" or "Test Plan" in Differential with the web UI 2017-01-25 13:07:30 -08:00
DifferentialCustomField.php Move many "reviewers" readers to new storage 2017-03-20 16:45:28 -07:00
DifferentialHarbormasterField.php Read Differential changeset coverage information from Harbormaster 2015-08-10 14:16:36 -07:00
DifferentialHostField.php Separate "Revision" and "Diff" fields in Differential 2015-06-16 08:53:40 -07:00
DifferentialJIRAIssuesField.php Remove some remnants of the old ways commit mesage fields worked from Differential 2017-01-13 15:29:07 -08:00
DifferentialLintField.php Remove leftover code for "postponed" lint and unit status 2015-08-29 22:19:28 +10:00
DifferentialManiphestTasksField.php Simplify "Tasks" field in Differential 2016-12-16 10:26:34 -08:00
DifferentialPathField.php Separate "Revision" and "Diff" fields in Differential 2015-06-16 08:53:40 -07:00
DifferentialProjectReviewersField.php Rename "getReviewerStatus()" to "getReviewers()" 2017-03-20 17:11:40 -07:00
DifferentialRepositoryField.php Simplify "Repository" field in Differential 2016-12-16 10:25:38 -08:00
DifferentialRequiredSignaturesField.php Replace Differential Edit controller with EditEngine-driven EditPro controller 2016-12-14 07:27:39 -08:00
DifferentialRevertPlanField.php Remove some remnants of the old ways commit mesage fields worked from Differential 2017-01-13 15:29:07 -08:00
DifferentialReviewersField.php Reduce callsites to "ArcanistDifferentialRevisionStatus" in Phabricator 2017-08-09 11:04:52 -07:00
DifferentialStoredCustomField.php Use CustomFields to power Conduit auxiliary dictionaries 2014-03-11 13:02:09 -07:00
DifferentialSummaryField.php Simplify Differential "Summary" field 2016-12-16 10:24:39 -08:00
DifferentialTestPlanField.php Simplify "Test Plan" custom field 2016-12-16 10:24:18 -08:00
DifferentialUnitField.php Show an info view warning for ongoing or failed builds in Differential 2017-01-04 15:12:45 -08:00