1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/differential
epriestley eeec726ded Remove all current Authors / Reviewers from "CCWelcome" mail
Summary:
We'll incorrectly send CCWelcome mail to users who would be added as CCs but are blocked by the new "$dont_add" stuff, for
example when a revision is updated and the user has a Herald rule which triggers them getting CC'd. See D2057.

Potentially a better fix for this would be to have "addCCs" return a list of the CCs it actually added, rather than duplicating the
logic of removing CCs in two places. However, that's not trivial since it's just a wrapper around alterRelationships() which is nasty
and would need a more complicated return type. I think this whole thing will get a refactoring pass at some point -- I want to build a
more generic "associations"-like datastore and replace some of the ad-hoc associations with it. So maybe I can clean it up when that
happens. For now, this should fix the immediate problem.

Test Plan: Updated a revision, didn't get CC welcomed.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D2072
2012-04-02 10:41:03 -07:00
..
constants Improve Diffusion parsing of submoudule changes 2012-03-07 14:24:43 -08:00
controller Unify Differential/Maniphest/Diffusion styles and allow commits to be flagged explicitly 2012-03-30 14:12:10 -07:00
data/revisionlist Add "final" to more classes 2012-03-13 11:18:11 -07:00
editor Remove all current Authors / Reviewers from "CCWelcome" mail 2012-04-02 10:41:03 -07:00
exception Improve behavior when user submits a no-op action in Differential 2012-01-15 03:44:09 -08:00
field Use PhabricatorEnv::newObjectFromConfig() wherever possible 2012-03-21 14:57:52 -07:00
mail Add an "Explicit-CCs" header to Differential 2012-03-26 09:55:38 -07:00
parser/changeset Fix various newline problems in the difference engines 2012-03-22 14:13:48 -07:00
query/revision Allow the users to view their unsubmitted inline comments in one view 2012-03-20 16:16:13 -07:00
replyhandler Unfinal "DifferentialReplyHandler" 2012-03-15 14:16:32 -07:00
storage Fix various newline problems in the difference engines 2012-03-22 14:13:48 -07:00
tasks Enable updating task->revision assoc 2011-04-26 19:14:47 -07:00
view Unify Differential/Maniphest/Diffusion styles and allow commits to be flagged explicitly 2012-03-30 14:12:10 -07:00