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/metamta
epriestley 6d6211d441 Use ApplicationTransactions in ApplicationEmail
Summary:
Ref T8498. I want to add Spaces to these, and the logic for getting Spaces right is a bit tricky, so swap these to ApplicationTransactions.

One new piece of tech: made it easier for Editors to raise DuplicateKeyException as a normal ValidationException, so callers don't have to handle this case specially.

One behavioral change: we no longer require these addresses to be at the `auth.email-domains` domains -- I think this wasn't quite right in the general case. It's OK to require users to have `@mycompany.com` addresses but add `@phabricator.mycompany-infrastructure.com` addresses here if you want.

Test Plan:
  - Tried to create a duplicate email.
  - Tried to create an empty email.
  - Tried to create an invalid email.
  - Created a new email.
  - Deleted an email.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8498

Differential Revision: https://secure.phabricator.com/D13246
2015-06-11 10:15:49 -07:00
..
action When we fail to process mail, tell the user about it 2014-04-03 18:43:18 -07:00
adapter phtize all the things 2015-05-22 21:16:39 +10:00
application Remove getIconName from all applications 2015-01-30 12:11:21 -08:00
applicationpanel Use ApplicationTransactions in ApplicationEmail 2015-06-11 10:15:49 -07:00
command Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
constants Remove *TransactionType classes 2015-06-08 11:26:43 +10:00
contentsource phtize all the things 2015-05-22 21:16:39 +10:00
controller Mark some strings for translation 2015-06-09 23:06:52 +10:00
editor Use ApplicationTransactions in ApplicationEmail 2015-06-11 10:15:49 -07:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
garbagecollector Add a GC for sent and received mail 2014-02-03 10:51:31 -08:00
management phtize all the things 2015-05-22 21:16:39 +10:00
parser Strip GMail French quote header 2015-05-14 13:04:44 -07:00
query Use ApplicationTransactions in ApplicationEmail 2015-06-11 10:15:49 -07:00
receiver Mark some strings for translation 2015-06-09 23:06:52 +10:00
replyhandler Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
storage Use ApplicationTransactions in ApplicationEmail 2015-06-11 10:15:49 -07:00
typeahead Remove mailing lists application 2015-06-03 18:42:36 -07:00
view Conpherence - massage email notification to have proper link to how to update email settings 2015-05-28 15:30:33 -07:00
PhabricatorMetaMTAWorker.php Fix visibility of the PhabricatorWorker::doWork() methods 2015-01-16 06:58:50 +11:00