@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.

Tidy up some text formatting in PhabricatorFeedConfigOptions

Summary: Self-explanatory.

Test Plan: Eyeball it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13268

+12 -10
+12 -10
src/applications/feed/config/PhabricatorFeedConfigOptions.php
··· 36 36 "public, and a login is not required to view them! This is ". 37 37 "intended for things like open source projects that want to ". 38 38 "expose an activity feed on the project homepage.\n\n". 39 - "NOTE: You must also set `policy.allow-public` to true for this ". 40 - "setting to work properly.")), 39 + "NOTE: You must also set `%s` to true for this ". 40 + "setting to work properly.", 41 + 'policy.allow-public')), 41 42 $this->newOption('feed.http-hooks', 'list<string>', array()) 42 43 ->setLocked(true) 43 44 ->setSummary(pht('POST notifications of feed events.')) 44 45 ->setDescription( 45 46 pht( 46 - "If you set this to a list of http URIs, when a feed story is ". 47 - "published a task will be created for each uri that posts the ". 48 - "story data to the uri. Daemons automagically retry failures 100 ". 49 - "times, waiting \$fail_count * 60s between each subsequent ". 50 - "failure. Be sure to keep the daemon console (/daemon/) open ". 47 + "If you set this to a list of HTTP URIs, when a feed story is ". 48 + "published a task will be created for each URI that posts the ". 49 + "story data to the URI. Daemons automagically retry failures 100 ". 50 + "times, waiting `\$fail_count * 60s` between each subsequent ". 51 + "failure. Be sure to keep the daemon console (`%s`) open ". 51 52 "while developing and testing your end points. You may need to". 52 - "restart your daemons to start sending http requests.\n\n". 53 - "NOTE: URIs are not validated, the URI must return http status ". 54 - "200 within 30 seconds, and no permission checks are performed.")), 53 + "restart your daemons to start sending HTTP requests.\n\n". 54 + "NOTE: URIs are not validated, the URI must return HTTP status ". 55 + "200 within 30 seconds, and no permission checks are performed.", 56 + '/daemon/')), 55 57 ); 56 58 } 57 59