1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/doorkeeper
epriestley bd2eaad04f Add "phabricator.silent" for stopping all outbound events from an install
Summary:
Ref T7522. This is mostly useful in the cluster, but could be useful for external installs too.

If you want to import an instance into a test/dry-run state (in the cluster, to test an import; in the general case, to do something like test new hardware or configuration), you currently risk spamming users with a lot of duplicate notifications. In particular, if Phabricator tracks remotes, both instances will continue importing commits and sending email about them. Both instances will try to publish to mirrors, too, which could be bad news, and both instances will try to update linked services.

Instead, provide a flag to let an instance run in "silent mode", which disables all outbound messaging and data.

We need to remember to support this flag on any new outbound channels, but we add about one of those per year so I think that's reasonable.

Test Plan:
  - Flipped config.
  - Saw it void email, feed and mirroring.
  - Didn't test SMS since it's not really in use yet and not convenient to test.
  - (Can you think of any publishing I missed?)

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7522

Differential Revision: https://secure.phabricator.com/D12109
2015-03-18 07:09:43 -07:00
..
application Add FontIcon bridge to AppIcons 2015-01-24 23:43:01 -08:00
bridge Use new FutureIterator instead of Futures 2014-12-30 23:13:38 +11:00
controller Move PhabricatorTagView to PHUITagView 2014-01-14 14:09:52 -08:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
engine Partially modernize Doorkeeper/Asana bridge 2014-10-01 07:09:34 -07:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
option Add getGroup to ConfigOptions 2015-02-09 13:10:56 -08:00
query Fix method visibility for PhabricatorPolicyAwareQuery subclasses 2015-01-14 07:01:16 +11:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
view Move PhabricatorTagView to PHUITagView 2014-01-14 14:09:52 -08:00
worker Add "phabricator.silent" for stopping all outbound events from an install 2015-03-18 07:09:43 -07:00