1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/applications/metamta
epriestley b1243e549c Allow unsubscription from projects
Summary:
Fixes T4379. Several changes:

  - Migrate all project members into subscribers.
  - When members are added or removed, subscribe or unsubscribe them.
  - Show sub/unsub in the UI.
  - Determine mailable membership of projects by querying subscribers.

Test Plan:
  - As `duck`, joined a project.
  - Added the project as a reviewer to a revision.
  - Commented on the revision.
  - Observed `duck` receive mail.
  - Unsubscribed as `duck`.
  - Observed no mail.
  - Resubscribed as `duck`.
  - Mail again.
  - Joined/left project, checked sub/unsub status.
  - Ran migration, looked at database.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, asherkin

Maniphest Tasks: T4379

Differential Revision: https://secure.phabricator.com/D8189
2014-02-11 07:45:56 -08:00
..
adapter Mailgun receive support 2014-01-21 10:36:33 -08:00
application Mailgun receive support 2014-01-21 10:36:33 -08:00
constants Remove the last hardcoding from PhabricatorMetaMTAReceivedMail 2013-05-17 10:00:49 -07:00
contentsource Add bin/repository edit for CLI repository editing 2013-11-13 11:26:05 -08:00
controller Mailgun receive support 2014-01-21 10:36:33 -08:00
exception Allow MetaMTA adapters to indicate that a mail is permanently undeliverable 2013-08-30 08:21:50 -07:00
garbagecollector Add a GC for sent and received mail 2014-02-03 10:51:31 -08:00
management Remove retry/failure mechanisms from MetaMTA 2014-02-01 14:35:42 -08:00
parser Fix over-matching of quoted text for message bodies beginning with "On..." 2013-12-06 15:47:37 -08:00
query Allow unsubscription from projects 2014-02-11 07:45:56 -08:00
receiver Legalpad - make it work for not logged in users 2014-01-14 17:17:18 -08:00
replyhandler Expand aggregate email recipients prior to multiplexing 2014-02-01 14:35:55 -08:00
storage Expand aggregate email recipients prior to multiplexing 2014-02-01 14:35:55 -08:00
view Fix "Manage herald rules" link by removing it 2013-10-21 16:58:56 -07:00
PhabricatorMail.php Require a viewer to load handles 2013-02-28 17:15:09 -08:00
PhabricatorMetaMTAWorker.php Remove retry/failure mechanisms from MetaMTA 2014-02-01 14:35:42 -08:00