1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 11:42:42 +01:00
phorge-phorge/src/applications/transactions/engineextension
epriestley 41f0b8b0a3 Allow subtypes to specify "mutations", to control the behavior of the "Change Subtype" action
Summary:
Fixes T13415. Provide a way for subtypes to customize the behavior of "Change Subtype" actions that appear above comment areas.

Subtypes may disable this action by specifying `"mutations": []`, or provide a list of subtypes.

The bulk editor and API can still perform any change.

Test Plan:
  - Tried to define an invalid "mutations" list with a bad subtype, got a sensible error.
  - Specified a limited mutations list and an empty mutations list, verified that corresponding tasks got corresponding actions.
  - Used the bulk editor to perform a freeform mutation.
  - Verified that tasks of a subtype with no "mutations" still work the same way they used to (allow mutation into any subtype).

Maniphest Tasks: T13415

Differential Revision: https://secure.phabricator.com/D20810
2019-09-12 16:17:02 -07:00
..
PhabricatorApplicationObjectMailEngineExtension.php Add basic support for mail "stamps" to improve client mail routing 2018-02-06 04:04:13 -08:00
PhabricatorCommentEditEngineExtension.php Make the default behavior of getApplicationTransactionCommentObject() "return null" instead of "throw" 2019-02-07 14:56:38 -08:00
PhabricatorEditEngineExtension.php Organize bulk edit actions into nice groups 2018-01-19 13:22:25 -08:00
PhabricatorEditEngineExtensionModule.php Redesign Config Application 2016-08-29 15:49:49 -07:00
PhabricatorEditorExtension.php Provide an Editor extension point for transaction validation 2019-01-30 06:18:41 -08:00
PhabricatorEditorExtensionModule.php Provide an Editor extension point for transaction validation 2019-01-30 06:18:41 -08:00
PhabricatorEditorMailEngineExtension.php When a change removes recipients from an object, send them one last email 2018-02-08 06:28:11 -08:00
PhabricatorSubtypeEditEngineExtension.php Allow subtypes to specify "mutations", to control the behavior of the "Change Subtype" action 2019-09-12 16:17:02 -07:00
PhabricatorTransactionsDestructionEngineExtension.php Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
PhabricatorTransactionsFulltextEngineExtension.php Index only the first 1,000 comments on any object 2018-06-22 17:41:05 -07:00