summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Use 2.6+ syntax for assigning an exceptiontoshio2012-03-131-1/+1
| | | |
| * | | Update documentation for the prototype archivertoshio2012-03-131-4/+8
| | | |
| * | | Style cleanups for the prototype patchtoshio2012-03-131-18/+20
| | | |
| * | | Merge with upstream mailmantoshio2012-03-1310-264/+139
| |\ \ \
| * | | | Fix up the archive_dir in the config filetoshio2012-03-133-1/+5
| | | | |
| * | | | Implement preliminary archiving to maildir in the prototype archivertoshio2012-03-131-2/+42
| | | | |
* | | | | Do not taunt Happy Python 2.6 Fun Ball.Barry Warsaw2012-03-144-8/+8
| |_|/ / |/| | | | | | | | | | | | | | | Clean up Python 2.7-isms and deprecations that break the tests suite on Python 2.6.
* | | | Move the interact module to a better sub-package location.Barry Warsaw2012-03-133-2/+2
| | | |
* | | | * The LMTP server now requires that the incoming message have a `Message-ID`,Barry Warsaw2012-03-1321-140/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise it rejects the message with a 550 error. Also, the LMTP server adds the `X-Message-ID-Hash` header automatically. The `inject` cli command will also add the `X-Message-ID-Hash` header, but it will craft a `Message-ID` header first if one is missing from the injected text. Also, `inject` will always set the correct value for the `original_size` attribute on the message object, instead of trusting a possibly incorrect value if it's already set. The individual `IArchiver` implementations no longer set the `X-Message-ID-Hash` header.
* | | | * Global ``-C`` option now accepts an absolute path to the configurationBarry Warsaw2012-03-122-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | file. Given by Andrea Crotti. (LP: #953707)
| * | | | Get rid of the function and inline the path callAndrea Crotti2012-03-131-9/+1
| | | | |
| * | | | expand the user home and use the absolute path for the -C optionAndrea Crotti2012-03-131-1/+11
| | | | |
* | | | | TypoBarry Warsaw2012-03-121-1/+1
| | | | |
* | | | | * Fix `test_moderation` for timezones East of UTC+0000, given by blacktav.Barry Warsaw2012-03-122-3/+6
| | | | | | | | | | | | | | | | | | | | (LP: #890675)
* | | | | * IPython support in `bin/mailman shell` contributed by Andrea Crotti.Barry Warsaw2012-03-125-8/+64
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | (LP: #949926).
| * | | | various small fixes after reviewing with Barry WarsawAndrea Crotti2012-03-133-15/+15
| | | | |
| * | | | - add a section in the schema to customize the shellAndrea Crotti2012-03-133-4/+41
| | |/ / | |/| | | | | | | | | | | | | | - add the shell completion to the python shell - add an option to use IPython, disabled by default
* | | | * The experimental `maildir` runner is removed. Use LMTP.Barry Warsaw2012-03-125-204/+1
| |/ / |/| |
* | | Clean up of style test code, along with refactoring of corner cases toBarry Warsaw2012-03-125-60/+138
|/ / | | | | | | unittests where they belong.
* / Clean up a few documentation issues.Barry Warsaw2012-03-121-2/+1
|/
* * Mailing lists get multiple chains and pipelines. For example, normalBarry Warsaw2012-03-0718-67/+83
| | | | | | | | | | | postings go through the `posting_chain` while messages to owners to through `owners_chain`. The default `built-in` chain is renamed to `default-posting-chain` while the `built-in` pipeline is renamed `default-posting-pipeline`. * Schema changes: - start_chain -> posting_chain - pipeline -> posting_pipeline
* Consistent use of assertMultiLineEqual().Barry Warsaw2012-03-067-39/+24
|
* Reserve the mm_ prefix for MailmanBarry Warsaw2012-03-052-5/+6
|
* Fix a typo in guess_extension(), and add a test.Barry Warsaw2012-03-053-3/+48
|
* Update NEWSBarry Warsaw2012-03-052-1/+2
|
* Fix header/footer interpolations when personalizing messages.Barry Warsaw2012-03-055-29/+168
| | | | | | | | | | | | | | | | | | - When doing individual deliveries, insert a 'member' key into the copy of the metadata dictionary for this recipient's delivery. This will contain the IMember of the recipient, if the recipient is a member of the mailing list. There will still be a 'recipient' key which will contain just the email address to deliver the message to. - Remove $user_password from header/footer placeholders. - Remove the 'personalize' key from the metadata dictionary and change decorate.process() to search only for the 'member' key. No need for both of them and the 'member' key contains more information. Plus, it allows us to do a more efficient member query in the delivery module some time in the future. - Move some of the LMTP log messages from mailman.runner to mailman.smtp.
* Template indirection now also in effect for regular and digest headers andBarry Warsaw2012-03-0411-106/+349
| | | | | | | | | | | | footers, using the same semantics and algorithm as for welcome and goodbye messages. Additional schema changes: - msg_header -> header_uri - msg_footer -> footer_uri - digest_header -> digest_header_uri - digest_footer -> digest_footer_uri
* Fix welcome_message_uri to do the placeholder interpolations guaranteed in theBarry Warsaw2012-03-048-4/+43
| | | | | | | | IMailingList documentation. Also: * `ILanguageManager.add()` returns the `ILanguage` object just created.
* Rename the confirmation template, and ensure that we get it via the templateBarry Warsaw2012-03-042-2/+6
| | | | loader.
* * A welcome message is sent when the user confirms their subscription viaBarry Warsaw2012-03-0411-110/+248
| | | | | | | | | | email. Also: - The user's Full Name is included on the To line of a welcome message. - Clean up some tests. - The welcome_message_uri for lists using the default style is set to mailman:///welcome.txt so a welcome message is sent by default.
* - Test welcome message notifications.Barry Warsaw2012-03-048-43/+160
| | | | | - welcome.txt is no longer inserted into subscribeack.txt. This latter is renamed to welcome.txt as the default welcome message.
* Remove obsolete translations.Barry Warsaw2012-03-0367-487331/+0
|
* * Support downloading templates by URI, including mailman:// URIs. This isBarry Warsaw2012-03-0316-43/+485
| | | | | | | | | | | | | used in welcome and goodbye messages, and supports both language and mailing list specifications. E.g. mailman:///test@example.com/it/welc.txt * Schema changes: - welcome_msg -> welcome_message_uri - goodbye_msg -> goodbye_message_uri - send_welcome_msg -> send_welcome_message - send_goodbye_msg -> send_goodbye_message * New `ITemplateLoader` utility.
* * Major redesign of the template search system, fixing LP: #788309. $var_dirBarry Warsaw2012-03-038-204/+248
| | | | | | is now used when search for all template overrides, site, domain, or mailing list. The in-tree English templates are used only as a last fallback.
* * Added a `help` email command.Barry Warsaw2012-03-0111-32/+266
| | | | | | | Also: - updated the 'join' command's descriptions - email commands should now have a short_description. The description (i.e. long description) should not repeat this information.
* Restore the RFC 2369 headers to accepted list posts.Barry Warsaw2012-03-015-9/+105
|
* Prevent the `confirm` command from running more than once on the same token.Barry Warsaw2012-03-013-3/+57
| | | | | Also add some debugging to the verification message, IOW, which template is it using (this may be more generally useful, but for now, it's an experiment).
* print functions!Barry Warsaw2012-02-292-16/+18
|
* * The `join` email command no longer accepts an `address=` argument. ItsBarry Warsaw2012-02-298-73/+180
| | | | | | | | | `digest=` argument now accepts the following values: `no` (for regular delivery), `mime`, or `plain`. Also: - Fix get_queue_messages() to properly sort on the string representation of a header, since it could be a Header instance.
* Make sure that an email subscription request is ignored for addresses whichBarry Warsaw2012-02-292-3/+49
| | | | are already members of the list.
* Remove test turd.Barry Warsaw2012-02-291-3/+0
|
* Don't try to double join someone via a single email command.Barry Warsaw2012-02-293-0/+104
|
* Greatly improve handling non-ascii in email commands.Barry Warsaw2012-02-282-8/+118
|
* * The `mailman.cfg` configuration file will now automatically be detected ifBarry Warsaw2012-02-273-6/+45
| | | | it exists in an `etc` directory which is a sibling of argv0.
* * The `confirm` email command now properly handles `Re:`-like prefixes, evenBarry Warsaw2012-02-265-17/+120
| | | | | | | | | | | | if they contain non-ASCII characters. (LP: #685261) Also: - When the registrar confirms an email address, the verified_on value gets set using the Mailman datetime interface. This simply improves testability for that API. - In Runner._one_iteration(), be sure to commit the database transaction *before* calling _short_circuit().
* * Schema migrations have been implemented.Barry Warsaw2012-02-1218-67/+316
|
* Flesh out the moderation doctest.Barry Warsaw2012-01-302-10/+67
|
* * Held messages can now be moderated through the REST API. Mailing listBarry Warsaw2012-01-3016-55/+493
| | | | | | | | | | | | | | | resources now accept a `held` path component. GETing this returns all held messages for the mailing list. POSTing to a specific request id under this url can dispose of the message using `Action` enums. * `IRequests` interface is removed. Now just use adaptation from `IListRequests` directly (which takes an `IMailingList` object). * `handle_message()` now allows for `Action.hold` which is synonymous with `Action.defer` (since the message is already being held). * `IListRequests.get_request()` now takes an optional `request_type` argument to narrow the search for the given request. - also, print_function is now a standard __future__ import. The template has been updated, but add this to modules as you edit them.
* * `IMailTransportAgentAliases` now explicitly accepts duck-typed arguments.Barry Warsaw2012-01-274-2/+69
| | | | - Also, rewrite the Postfix alias generator to use the faster, duck-typed API.
* * Remove previously deprecated `IListManager.get_mailing_lists()`.Barry Warsaw2012-01-273-13/+1
|