1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/applications/pholio
epriestley ee4c7268fe Make "ADD_CC" and "REMOVE_CC" available as "standard" Herald effects
Summary:
Ref T8455. Begins consolidating the code for applying these effects:

  - Makes Add/Remove subscribers a standard effect, and uses it in Pholio.
  - This includes the "don't re-subscribe users who have explicitly unsubscribed" logic from Differential in the standard effect. I think this rule is always desirable.
  - This adds new filtering of invalid PHID types to resolve the `arc diff` issue in T8455 once Differential uses this standard effect.
  - Added "Remove Subscribers" to MockAdapter in order to test that it works.
  - Relabeled "CC" in Pholio to "Subscribers" for consistency.

Test Plan:
  - Created several rules which add subscribers to (and remove subscribers from) mocks.
  - Updated mocks, changing properties and adding and removing subscribers.
  - Observed transactions applying and aggregating properly.
  - Observed add/remove rules each working correctly.
  - Observed the "don't re-add unsubscribed users" condition acting on subscribers who had previously been added but explicitly removed/unsubscribed.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8455

Differential Revision: https://secure.phabricator.com/D13179
2015-06-08 10:30:22 -07:00
..
application Remove unused file transforms 2015-05-13 11:38:45 -07:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
config Remove all application-specific reply handler domains 2015-03-31 16:48:40 -07:00
controller Make "ADD_CC" and "REMOVE_CC" available as "standard" Herald effects 2015-06-08 10:30:22 -07:00
edge Modernize Pholio edges 2015-01-02 10:11:41 +11:00
editor Make "ADD_CC" and "REMOVE_CC" available as "standard" Herald effects 2015-06-08 10:30:22 -07:00
event Replace Sprite-Icons with FontAwesome 2014-05-12 10:08:32 -07:00
lipsum Remove *TransactionType classes 2015-06-08 11:26:43 +10:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
phid Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
query Move Pholio to SearchFields 2015-06-07 07:31:28 -07:00
remarkup Use full URIs to link to objects from Phame blogs 2015-05-11 11:11:25 -07:00
search Rename PhabricatorSearchField to PhabricatorSearchFieldDocumentType 2015-06-05 11:01:25 -07:00
storage Remove *TransactionType classes 2015-06-08 11:26:43 +10:00
view Remove *TransactionType classes 2015-06-08 11:26:43 +10:00