summaryrefslogtreecommitdiff
path: root/src/mailman/email/message.py
Commit message (Collapse)AuthorAgeFilesLines
* Ignore syntactically invalid sender addresses.Mark Sapiro2017-06-301-1/+7
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Remove an unused import.Barry Warsaw2016-12-291-1/+0
|
* Remove support for to_moderators.Barry Warsaw2016-12-291-10/+1
| | | | Remove a NEWS entry which is no longer applicable.
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Fix the email senders list when there's a Header instanceAurélien Bompard2016-11-281-3/+4
| | | | | The mailman.email.Message.senders property would fail when one of the headers was an email.header.Header instance.
* Closes: #68Barry Warsaw2016-11-131-1/+1
| | | | | Messages sent to the list's moderators now include the actual recipient addresses. Given by Tom Briles.
* tomoderators -> to_moderators.Barry Warsaw2016-10-311-2/+5
|
* Issue 68: send messages to list moderators when tomoderators=TrueTom Briles2016-10-311-1/+8
|
* Clean up the email directory.Barry Warsaw2016-03-241-12/+5
|
* Remove obsolete comment.Barry Warsaw2016-03-101-5/+0
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Port to Python 3.5.Barry Warsaw2015-06-221-12/+0
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-4/+0
|
* Trunk merge.Barry Warsaw2014-12-221-34/+15
|\
| * LP: #1130696 - AttributeError on .senderBarry Warsaw2014-12-101-1/+8
| |\
| | * Make the MIMEDigester generate a subclass of MIMEMultipart with our additionsAurélien Bompard2014-12-091-0/+6
| | | | | | | | | | | | Fixes bug #1130696 (differently)
| * | * Fixed getting non-ASCII filenames from RFC 2231 i18n'd messages. Given byBarry Warsaw2014-12-081-35/+9
| |\ \ | | |/ | |/| | | | Aurélien Bompard. (LP: #1060951)
| | * Convert unicode instance testing to bytes instance testingAurélien Bompard2014-12-041-1/+1
| | |
| | * Do not auto-convert Message headers to unicodeAurélien Bompard2014-12-021-35/+9
| |/ | | | | | | Fixes: bug #1060951
* | Use listid instead of (fqdn) listname in the metadata pickle.Barry Warsaw2014-12-151-3/+3
| | | | | | | | | | | | load_external() now always opens in utf-8 mode. More test repair.
* | CheckpointingBarry Warsaw2014-12-121-2/+2
| |
* | Checkpointing.Barry Warsaw2014-11-301-5/+5
|/ | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-1/+1
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * Python 2.7 is not required. Python 2.6 is no longer officially supported.Barry Warsaw2012-10-311-5/+1
| | | | | The code base is now also `python2.7 -3` clean, although there are still some warnings in 3rd party dependencies. LP: #1073506
* Schema change. After discussion at Pycon, we decided to change "real_name" toBarry Warsaw2012-03-151-1/+1
| | | | | | | | | | | "display_name" across the board. * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name` * Schema changes: - real_name -> display_name (mailinglist, user, address)
* * Subscription disabled probe warning notification messages are now sentBarry Warsaw2012-03-141-2/+12
|\ | | | | | | without a `Precedence:` header. Given by Mark Sapiro. (LP: #808821)
| * Fixed a logic error and added more conditions to the doctest.Mark Sapiro2012-03-141-1/+1
| |
| * Subscription disabled warnings are now sent without a Precedence:Mark Sapiro2012-03-141-2/+2
|/ | | | header. (LP: #808821)
* copybumpBarry Warsaw2012-01-011-1/+1
|
* A couple of small cleanups.Barry Warsaw2011-11-041-1/+1
|
* * bounce_unrecognized_goes_to_list_owner -> forward_unrecognized_bounces_to Barry Warsaw2011-05-251-16/+17
| | | | | | | | | | | | * Add an additional option for unrecognized bounce disposition: send it to the site administrators. * Move maybe_forward() from src/mailman/queue/bounce.py to src/mailman/app/bounces.py, refactor and add tests. * Add a LogFileMark class to help with tests that want to check the output to a log file. * OwnerNotification gets a better signature. Instead of tomoderators, the last argument is a roster to send the notification to. If roster is None, then the notification goes to the site administrators.
* Split member and nonmember moderation.Barry Warsaw2011-01-021-1/+2
| | | | | | | | | | | | | | | | * member-moderation happens at the same place in the built-in chain that the previously named moderation rule happens. nonmember-moderation happens after all the other normal moderation rules. * Handle unsubscribed nonmember posts. Other changes: * Message.senders now filters out Nones and empty strings. * Various test cleanups and simplifications. * More `address` -> `email` fixes. * Give Link class a useful repr. * Fix a potential UnboundLocalError. * Various other small changes.
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-3/+0
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* Revert the last changes. Calculate size where needed.Barry Warsaw2009-12-051-1/+0
|
* The delivery agent requires that the message object have a .original_sizeBarry Warsaw2009-12-041-0/+1
| | | | attribute. Add this for UserNotifications.
* Fix all tests except outgoing.txt and common.txtBarry Warsaw2009-11-021-2/+2
|
* Much clean up of the language code, though more can be done. Factor out theBarry Warsaw2009-02-121-8/+4
| | | | | | | language manager stuff into a separate Language class, and be clearer in the APIs about whether we want a language code or a Language instance. The impetus to this was to get rid of Utils.GetCharSet(), which is done.
* Update an __all__ section.Barry Warsaw2009-02-091-0/+2
|
* Move mailman.Message to mailman.email.Message. Rename Message.get_sender() toBarry Warsaw2009-02-091-0/+251
Message.sender (property) and Message.get_senders() to Message.senders (another property). The semantics of .sender is slightly different too; it no longer consults config.mailman.use_envelope_sender. Add absolute_import and unicode_literals to Utils.py, and clean up a few imports.