From bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 20 Dec 2015 12:44:06 -0500 Subject: Add a send-digests subcommand to send list digests right now. * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries. --- src/mailman/docs/NEWS.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mailman/docs') diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst index 2cc72862b..6e098a8c0 100644 --- a/src/mailman/docs/NEWS.rst +++ b/src/mailman/docs/NEWS.rst @@ -132,6 +132,9 @@ Other ``list_url`` or permalink. Given by Aurélien Bompard. * Large performance improvement in ``SubscriptionService.find_members()``. Given by Aurélien Bompard. + * Rework the digest machinery, and add a new `send-digests` subcommand, which + can be used from the command line or cron to immediately send out any + partially collected digests. 3.0.0 -- "Show Don't Tell" -- cgit v1.3.1