Merge lp:~gmb/launchpad/dont-leak-email-addresses-bug-111147 into lp:launchpad
| Status: | Rejected |
|---|---|
| Rejected by: | Graham Binns on 2010-06-10 |
| Proposed branch: | lp:~gmb/launchpad/dont-leak-email-addresses-bug-111147 |
| Merge into: | lp:launchpad |
| Diff against target: |
726 lines (+138/-120) 5 files modified
lib/canonical/launchpad/mailnotification.py (+8/-28) lib/lp/bugs/doc/bugnotification-email.txt (+14/-37) lib/lp/bugs/doc/bugnotification-sending.txt (+65/-54) lib/lp/bugs/scripts/bugnotification.py (+1/-1) lib/lp/bugs/tests/test_bugnotification.py (+50/-0) |
| To merge this branch: | bzr merge lp:~gmb/launchpad/dont-leak-email-addresses-bug-111147 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Canonical Launchpad Engineering | code | 2010-06-09 | Pending |
|
Review via email:
|
|||
Commit Message
Bug notification email will now always come from 'Person Name <$<email address hidden>>' instead of spoofing the email of the person who generated the notification.
Description of the Change
This branch fixes bug 111147 and bug 31586 by making all bug notification emails come from $<email address hidden> instead of the email address of the Person that triggered the notification.
To compensate for the fact that people will no longer be able to filter bugmail based on the sender's email address, I've added an X-Launchpad-Sender header which contains the LP name of the Person that caused the notification to be sent.
I've made the following changes:
== lib/canonical/
- I've updated the get_bugmail_
- I've added a line to BugNotification
== lib/lp/
- I've updated all tests to account for the changes I've made.
== lib/lp/
- I've updated all tests to account for the changes I've made.
== lib/lp/
- I've updated the call to BugNotification
== lib/lp/
- I've added a TestCase to cover BugNotification email headers. We'll eventually refactor our existing tests for headers as unit tests, so this seemed an ideal time to start.
- I've added a test for the new X-Launchpad-Sender header.
Unmerged revisions
- 10982. By Graham Binns on 2010-06-09
-
Removed some lint
- 10981. By Graham Binns on 2010-06-09
-
Added a test for the X-Launchpad-Sender header.
- 10980. By Graham Binns on 2010-06-09
-
Fixed tests broken by the X-Launchpad-Sender header.
- 10979. By Graham Binns on 2010-06-09
-
Added X-Launchpad-Sender header to bugnotifications.
- 10978. By Graham Binns on 2010-06-09
-
Fixed test failures associated with the bug From address change.
- 10977. By Graham Binns on 2010-06-09
-
Bug notifications are now always sent from the bug email address.
