Publish feed stories about commits
Summary: When stuff gets committed, publish feed stories about it.
Test Plan: {F13061}
Reviewers: jungejason, vrana, voldern
Reviewed By: jungejason
CC: aran
Maniphest Tasks: T1322
Differential Revision: https://secure.phabricator.com/D2805
This commit is contained in:
@@ -653,16 +653,18 @@ final class PhabricatorRepositoryEditController
|
||||
->appendChild(
|
||||
id(new AphrontFormSelectControl())
|
||||
->setName('herald-disabled')
|
||||
->setLabel('Herald Enabled')
|
||||
->setLabel('Herald/Feed Enabled')
|
||||
->setValue($repository->getDetail('herald-disabled', 0))
|
||||
->setOptions(
|
||||
array(
|
||||
0 => 'Enabled - Send Email',
|
||||
1 => 'Disabled - Do Not Send Email',
|
||||
0 => 'Enabled - Send Email and Publish Stories',
|
||||
1 => 'Disabled - Do Not Send Email or Publish Stories',
|
||||
))
|
||||
->setCaption(
|
||||
'You can temporarily disable Herald commit notifications when '.
|
||||
'reparsing a repository or importing a new repository.'));
|
||||
'You can disable Herald commit notifications and feed stories '.
|
||||
'for this repository. This can be useful when initially importing '.
|
||||
'a repository. Feed stories are never published about commits '.
|
||||
'that are more than 24 hours old.'));
|
||||
|
||||
$parsers = id(new PhutilSymbolLoader())
|
||||
->setAncestorClass('PhabricatorRepositoryCommitMessageDetailParser')
|
||||
|
||||
Reference in New Issue
Block a user