summaryrefslogtreecommitdiff
path: root/src/mailman/app/inject.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* First massive round of cleanups.Barry Warsaw2016-03-231-8/+3
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* * Messages now include a `Message-ID-Hash` as the replacement forBarry Warsaw2015-06-141-2/+2
| | | | | | `X-Message-ID-Hash` although the latter is still included for backward compatibility. Also be sure that all places which add the header use the same algorithm.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* * ``$cwd`` is now an additional substitution variable for the ``mailman.cfg``Barry Warsaw2015-01-031-2/+6
| | | | | | | | | | | | | file's ``[paths.*]`` sections. A new ``[paths.here]`` section is added, which puts the ``var_dir`` in ``$cwd``. It is made the default layout. * You can now view the contents of, inject messages into, and delete messages from the various queue directories via the ``<api>/queues`` resource. Also: inject_message() and inject_text() now return the filebase of the file injected into the queue directory.
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-4/+0
|
* Use listid instead of (fqdn) listname in the metadata pickle.Barry Warsaw2014-12-151-1/+1
| | | | | | load_external() now always opens in utf-8 mode. More test repair.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * The LMTP server now requires that the incoming message have a `Message-ID`,Barry Warsaw2012-03-131-3/+11
| | | | | | | | | | | 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.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* * Move inject.py to mailman.app package.Barry Warsaw2011-06-151-0/+92
* Expose **kws to inject_text() * Add tests.