1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/audit/constants
epriestley ef26b06ca8 Begin transitioning audits to modern (string) status constants, from legacy (integer) status constants
Summary:
Ref T13195. See PHI851. Audits currently have older integer status constants. We've moved almost all object types away from this to string constants (which are better in basically every way, and particularly way better for exposing over the API).

Commits/audits are currently accessible over the API and expose these constants via a "statuses" constraint.

Prepare to move toward modern string constants by defining a new, more modern map of status details and defining the existing methods in terms of it.

Test Plan: Browsed audits checking for icons/names/open-ness, saw no changes. This change should have no user-visible effects, as it just reorganizes code.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13195

Differential Revision: https://secure.phabricator.com/D19642
2018-09-06 10:56:47 -07:00
..
PhabricatorAuditActionConstants.php Remove several pieces of audit-related code 2017-01-30 15:26:26 -08:00
PhabricatorAuditCommitStatusConstants.php Begin transitioning audits to modern (string) status constants, from legacy (integer) status constants 2018-09-06 10:56:47 -07:00
PhabricatorAuditStatusConstants.php Provide bucketing for commits in Audit 2017-01-12 12:04:05 -08:00