@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 46 lines 1.0 kB view raw
1<?php 2 3final class PhabricatorFeedConfigOptions 4 extends PhabricatorApplicationConfigOptions { 5 6 public function getName() { 7 return pht('Feed'); 8 } 9 10 public function getDescription() { 11 return pht('Feed options.'); 12 } 13 14 public function getIcon() { 15 return 'fa-newspaper-o'; 16 } 17 18 public function getGroup() { 19 return 'apps'; 20 } 21 22 public function getApplicationClassName() { 23 return PhabricatorFeedApplication::class; 24 } 25 26 public function getOptions() { 27 $hooks_help = $this->deformat(pht(<<<EODOC 28IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks. 29 30You can configure Webhooks in Herald. This configuration option will be removed 31in a future version of the software. 32 33(This legacy option may be configured with a list of URIs; feed stories will 34send to these URIs.) 35EODOC 36 )); 37 38 return array( 39 $this->newOption('feed.http-hooks', 'list<string>', array()) 40 ->setLocked(true) 41 ->setSummary(pht('Deprecated.')) 42 ->setDescription($hooks_help), 43 ); 44 } 45 46}