summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/tests
Commit message (Collapse)AuthorAgeFilesLines
* 3.1rc1Barry Warsaw2017-05-232-3/+10
|
* Content Filtering: Ported a number of fixes from the 2.1 branch.Mark Sapiro2017-05-235-0/+448
|
* Allow email.header.Header() to determine appropriate encoding.Mark Sapiro2017-01-091-0/+23
|
* Bump copyright years.Barry Warsaw2017-01-0410-10/+10
|
* Make code style review pass.Barry Warsaw2017-01-041-1/+1
|
* Minor tweaks and coverage:Barry Warsaw2016-12-301-27/+27
| | | | | | | * Format and wrap a comment. * Add a test for having two From: headers. * use <alpha@example.com> as standard Message-ID * Cover URLError case.
* Review Mark's changes.Barry Warsaw2016-12-301-10/+47
|
* Removed unreachable line from rules/dmarc.py.Mark Sapiro2016-12-301-0/+128
| | | | Added tests to improve coverage.
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-17/+18
|
* Fixed Content-Type of text/html part in tests.Mark Sapiro2016-12-091-5/+5
|
* Replaced mailman.public with public.public.Mark Sapiro2016-12-091-1/+32
| | | | | Simplified Munge From replacement and added a test for rfc2047 encoded display name.
* Fixed a minor issue in handlers/dmarc.py revealed in testing.Mark Sapiro2016-11-031-0/+244
| | | | | Added tests. Tweaked some docs.
* Close #273Barry Warsaw2016-08-231-4/+29
| | | | | A mailing list's ``description`` must not contain newlines. Given by Aurélien Bompard.
* Forbid newlines in MailingList.descriptionAurélien Bompard2016-08-231-1/+12
| | | | Fixes: #273
* New template system. Closes #249Barry Warsaw2016-07-162-8/+15
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Clean up the handlers directory.Barry Warsaw2016-03-259-78/+12
|
* Clean up the core directory.Barry Warsaw2016-03-242-8/+8
| | | | | | | mailman/core/errors.py is gone now. We had a duplicate base exception which now always comes from mailman/interfaces/errors.py. Obsolete/unused exceptions are remove. The other exceptions are moved to better locations.
* Close #208Barry Warsaw2016-03-202-2/+96
| | | | Don't let crashes in IArchiver plugins break handlers or runners.
* Allow List-ID in decoration template URIs.Barry Warsaw2016-02-271-11/+40
| | | | | | | | Closes #196 In mailman: URIs (e.g. IMailingList.header_uri and .footer_uri), you used to be able to only use fqdn-listnames. But since List-IDs are more stable, let's allow those too. Silently deprecate using the fqdn-listname.
* Happy New Year.Barry Warsaw2016-01-029-9/+9
|
* For now, treat `DeliveryMode.summary_digests` the same as `.mime_digests`.Barry Warsaw2015-09-061-1/+8
| | | | | (Closes #141). Also, don't enqueue a particular digest if there are no recipients for that digest.
* Cosmetic fixes for Abhilash's branch.Barry Warsaw2015-08-301-11/+11
|
* fix testsAbhilash Raj2015-08-301-3/+3
|
* Add changes as per barry's commentsAbhilash Raj2015-08-301-10/+16
|
* Add tests for archive_url in message footerAbhilash Raj2015-08-301-0/+83
|
* A couple of clean ups.Barry Warsaw2015-07-051-0/+2
|
* Some fixes caught by Barry during the reviewAurélien Bompard2015-07-051-9/+8
|
* According to RFC 2369, the URL should be between bracketsAurélien Bompard2015-06-301-1/+1
|
* The prototype archiver is not web-accessibleAurélien Bompard2015-06-301-0/+124
| | | | The URL headers (Archived-At and List-Archives) should not be added.
* Merge branch 'issue-109' into 'release-3.0'Barry Warsaw2015-06-021-5/+61
| | | | | | | | | | | Closes: #109 * Fix the traceback that occurred when trying to convert a `text/html` subpart to plaintext via the `mimedel` handler. Now, a configuration variable `[mailman]html_to_plain_text_command` in the `mailman.cfg` file defines the command to use. It defaults to `lynx`. (Closes: #109) See merge request !14
* Bump copyright years.Barry Warsaw2015-01-047-7/+7
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-227-25/+3
|
* Trunk merge.Barry Warsaw2014-12-221-0/+55
|\
| * LP: #1130696 - AttributeError on .senderBarry Warsaw2014-12-101-0/+55
| |\
| | * Make the MIMEDigester generate a subclass of MIMEMultipart with our additionsAurélien Bompard2014-12-091-10/+11
| | | | | | | | | | | | Fixes bug #1130696 (differently)
| | * Handle the MIMEMultipart created by the DigestRunner properlyAurélien Bompard2014-11-301-0/+53
| |/ | | | | | | Fixes: bug #1130696
* | Refactor subject-prefix handler out of cook-headers handler and make all testsBarry Warsaw2014-12-211-0/+132
| | | | | | | | pass.
* | Better, but not perfect handler test passing.Barry Warsaw2014-12-152-0/+136
| |
* | * Read the .cfg files not as bytes any more, but as UTF-8 encoding files.Barry Warsaw2014-12-151-18/+9
| | | | | | | | | | | | | | | | | | * Revert LP: #1170347 to not .as_string() the message being added the mailbox, because Python 3.4 handles this properly by default. Fix up some lmtp code, though I don't thinkk it's quite right yet. Fix handler tests.
* | Checkpointing.Barry Warsaw2014-11-301-2/+3
|/ | | | | | | | | | 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.
* * Fix Unicode errors when a message being added to the digest has non-asciiBarry Warsaw2014-11-291-0/+62
|\ | | | | | | | | characters in its payload, but no Content-Type header defining a charset. Given by Aurélien Bompard. (LP: #1170347)
| * Fix digest handler crashAurélien Bompard2014-11-251-0/+63
| | | | | | | | | | | | | | | | | | | | | | Fixes: #1170347 ------------- This line and the following will be ignored -------------- added: src/mailman/handlers/tests/test_to_digest.py modified: src/mailman/handlers/to_digest.py
* | * Fixed Unicode errors in the digest runner and when sending messages to theBarry Warsaw2014-11-291-0/+21
|\ \ | |/ |/| | | | | | | | | | | | | | | | | site owner as a fallback. Given by Aurélien Bompard. (LP: #1130957). Also: * Convert some uses of the unicode() built-in to bytes.decode() in preparation for Python 3 and to eliminate some pyflakes errors. * Added LogFileMark.read() as a convenience method.
| * Fix some unicode issuesAurélien Bompard2014-11-271-0/+17
|/ | | | Fixes: 1130957
* Bump copyright years.Barry Warsaw2014-01-012-2/+2
|
* Bump copyright years.Barry Warsaw2013-01-012-2/+2
|
* ConfigurationBarry Warsaw2012-11-041-4/+3
| | | | | | | | | | | | | | | ------------- * `[passlib]path` configuration variable renamed to `[passlib]configuration`. * Postfix-specific configurations in the `[mta]` section are moved to a separate file, named by the `[mta]configuration` variable. * In the new `postfix.cfg` file, `postfix_map_cmd` is renamed to `postmap_command`. Also: * More Python 2.7-isms, use assertMultiLineEqual() directly. * Added external_configuration() and load_external() to mailman.config.config * ConfigLayer does a blanket set of [postfix]postmap_command so subtests generally won't have to.
* * Python 2.7 is not required. Python 2.6 is no longer officially supported.Barry Warsaw2012-10-311-50/+15
| | | | | The code base is now also `python2.7 -3` clean, although there are still some warnings in 3rd party dependencies. LP: #1073506
* - Move some normal recipient tests to unittests.Barry Warsaw2012-03-231-0/+200
| | | | | | | | - Add unittests for owner recipients. There does eventually need to be some documentation about owner recipients. - Implement owner recipients handler. This includes moderators and owners (i.e. all the non-disabled the list administrators). - Changed the [mailman]site_owner setting in testing.cfg to noreply@example.com
* Rename the src/mailman/pipeline directory to src/mailman/handlers since that'sBarry Warsaw2012-03-232-0/+213
how I think about them anyway.