diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 84c0ea5a50..e103a93d42 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -914,6 +914,7 @@ phutil_register_library_map(array( 'PhabricatorLoginValidateController' => 'applications/auth/controller/PhabricatorLoginValidateController.php', 'PhabricatorLogoutController' => 'applications/auth/controller/PhabricatorLogoutController.php', 'PhabricatorMacroCommentController' => 'applications/macro/controller/PhabricatorMacroCommentController.php', + 'PhabricatorMacroConfigOptions' => 'applications/macro/config/PhabricatorMacroConfigOptions.php', 'PhabricatorMacroController' => 'applications/macro/controller/PhabricatorMacroController.php', 'PhabricatorMacroDisableController' => 'applications/macro/controller/PhabricatorMacroDisableController.php', 'PhabricatorMacroEditController' => 'applications/macro/controller/PhabricatorMacroEditController.php', @@ -1022,6 +1023,7 @@ phutil_register_library_map(array( 'PhabricatorObjectSelectorDialog' => 'view/control/PhabricatorObjectSelectorDialog.php', 'PhabricatorOffsetPagedQuery' => 'infrastructure/query/PhabricatorOffsetPagedQuery.php', 'PhabricatorOwnerPathQuery' => 'applications/owners/query/PhabricatorOwnerPathQuery.php', + 'PhabricatorOwnersConfigOptions' => 'applications/owners/config/PhabricatorOwnersConfigOptions.php', 'PhabricatorOwnersController' => 'applications/owners/controller/PhabricatorOwnersController.php', 'PhabricatorOwnersDAO' => 'applications/owners/storage/PhabricatorOwnersDAO.php', 'PhabricatorOwnersDeleteController' => 'applications/owners/controller/PhabricatorOwnersDeleteController.php', @@ -1056,6 +1058,7 @@ phutil_register_library_map(array( 'PhabricatorPeopleQuery' => 'applications/people/PhabricatorPeopleQuery.php', 'PhabricatorPhabricatorOAuthConfigOptions' => 'applications/config/option/PhabricatorPhabricatorOAuthConfigOptions.php', 'PhabricatorPhameConfigOptions' => 'applications/phame/config/PhabricatorPhameConfigOptions.php', + 'PhabricatorPholioConfigOptions' => 'applications/pholio/config/PhabricatorPholioConfigOptions.php', 'PhabricatorPhrictionConfigOptions' => 'applications/phriction/config/PhabricatorPhrictionConfigOptions.php', 'PhabricatorPinboardItemView' => 'view/layout/PhabricatorPinboardItemView.php', 'PhabricatorPinboardView' => 'view/layout/PhabricatorPinboardView.php', @@ -2283,6 +2286,7 @@ phutil_register_library_map(array( 'PhabricatorLoginValidateController' => 'PhabricatorAuthController', 'PhabricatorLogoutController' => 'PhabricatorAuthController', 'PhabricatorMacroCommentController' => 'PhabricatorMacroController', + 'PhabricatorMacroConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorMacroController' => 'PhabricatorController', 'PhabricatorMacroDisableController' => 'PhabricatorMacroController', 'PhabricatorMacroEditController' => 'PhabricatorMacroController', @@ -2373,6 +2377,7 @@ phutil_register_library_map(array( 'PhabricatorObjectItemView' => 'AphrontView', 'PhabricatorObjectListView' => 'AphrontView', 'PhabricatorOffsetPagedQuery' => 'PhabricatorQuery', + 'PhabricatorOwnersConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorOwnersController' => 'PhabricatorController', 'PhabricatorOwnersDAO' => 'PhabricatorLiskDAO', 'PhabricatorOwnersDeleteController' => 'PhabricatorOwnersController', @@ -2412,6 +2417,7 @@ phutil_register_library_map(array( 'PhabricatorPeopleQuery' => 'PhabricatorOffsetPagedQuery', 'PhabricatorPhabricatorOAuthConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorPhameConfigOptions' => 'PhabricatorApplicationConfigOptions', + 'PhabricatorPholioConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorPhrictionConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorPinboardItemView' => 'AphrontView', 'PhabricatorPinboardView' => 'AphrontView', diff --git a/src/applications/macro/config/PhabricatorMacroConfigOptions.php b/src/applications/macro/config/PhabricatorMacroConfigOptions.php new file mode 100644 index 0000000000..087da3fbec --- /dev/null +++ b/src/applications/macro/config/PhabricatorMacroConfigOptions.php @@ -0,0 +1,24 @@ +newOption('metamta.macro.reply-handler-domain', 'string', null) + ->setDescription(pht( + 'As {{metamta.maniphest.reply-handler-domain}}, but affects Macro.')), + $this->newOption('metamta.macro.subject-prefix', 'string', '[Macro]') + ->setDescription(pht('Subject prefix for Macro email.')) + ); + } + +} diff --git a/src/applications/owners/config/PhabricatorOwnersConfigOptions.php b/src/applications/owners/config/PhabricatorOwnersConfigOptions.php new file mode 100644 index 0000000000..2554c0310f --- /dev/null +++ b/src/applications/owners/config/PhabricatorOwnersConfigOptions.php @@ -0,0 +1,27 @@ +newOption( + 'metamta.package.reply-handler', + 'class', + 'OwnersPackageReplyHandler') + ->setBaseClass('PhabricatorMailReplyHandler') + ->setDescription(pht('Reply handler for owners mail.')), + $this->newOption('metamta.package.subject-prefix', 'string', '[Package]') + ->setDescription(pht('Subject prefix for Owners email.')) + ); + } + +} diff --git a/src/applications/pholio/config/PhabricatorPholioConfigOptions.php b/src/applications/pholio/config/PhabricatorPholioConfigOptions.php new file mode 100644 index 0000000000..cb76a51dd7 --- /dev/null +++ b/src/applications/pholio/config/PhabricatorPholioConfigOptions.php @@ -0,0 +1,26 @@ +newOption('metamta.pholio.reply-handler-domain', 'string', null) + ->setDescription( + pht( + 'Like {{metamta.maniphest.reply-handler-domain}}, but affects '. + 'Pholio.')), + $this->newOption('metamta.pholio.subject-prefix', 'string', '[Pholio]') + ->setDescription(pht('Subject prefix for Pholio email.')) + ); + } + +}