summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/mailinglist.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-12-19 17:23:56 -0500
committerBarry Warsaw2015-12-19 17:23:56 -0500
commitf2620c6f41c1703e7dce1a44a6669e01aaee326d (patch)
treedbfb5667adc20d540b9897f972346f03007e2af9 /src/mailman/interfaces/mailinglist.py
parent9f14de31ec1f78a2f2847d7a2c9b8efb775adab9 (diff)
downloadmailman-f2620c6f41c1703e7dce1a44a6669e01aaee326d.tar.gz
mailman-f2620c6f41c1703e7dce1a44a6669e01aaee326d.tar.zst
mailman-f2620c6f41c1703e7dce1a44a6669e01aaee326d.zip
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
-rw-r--r--src/mailman/interfaces/mailinglist.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py
index 0be8c2b68..75fdce327 100644
--- a/src/mailman/interfaces/mailinglist.py
+++ b/src/mailman/interfaces/mailinglist.py
@@ -308,6 +308,19 @@ class IMailingList(Interface):
# Digests.
+ digests_enabled = Attribute(
+ """Whether or not digests are enabled for this mailing list.""")
+
+ digest_size_threshold = Attribute(
+ """The maximum (approximate) size in kilobytes of the digest currently
+ being collected.""")
+
+ digest_send_periodic = Attribute(
+ "Should a digest be sent daily even when the size threshold isn't met?")
+
+ digest_volume_frequency = Attribute(
+ """How often should a new digest volume be started?""")
+
digest_last_sent_at = Attribute(
"""The date and time a digest of this mailing list was last sent.""")
@@ -322,10 +335,6 @@ class IMailingList(Interface):
the digest volume number is bumped, the digest number is reset to
1.""")
- digest_size_threshold = Attribute(
- """The maximum (approximate) size in kilobytes of the digest currently
- being collected.""")
-
def send_one_last_digest_to(address, delivery_mode):
"""Make sure to send one last digest to an address.