diff options
| author | Barry Warsaw | 2007-07-03 01:09:53 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-07-03 01:09:53 -0400 |
| commit | 11dfa4f53db6416d2adba0506d4af4d25e490e6e (patch) | |
| tree | 2684cb6dd1129341a54a4d5cde0585c20763e533 /Mailman/database/model/mailinglist.py | |
| parent | 11772a32e8226801bee5bb17115e63f19c713aa8 (diff) | |
| download | mailman-11dfa4f53db6416d2adba0506d4af4d25e490e6e.tar.gz mailman-11dfa4f53db6416d2adba0506d4af4d25e490e6e.tar.zst mailman-11dfa4f53db6416d2adba0506d4af4d25e490e6e.zip | |
Diffstat (limited to 'Mailman/database/model/mailinglist.py')
| -rw-r--r-- | Mailman/database/model/mailinglist.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/database/model/mailinglist.py b/Mailman/database/model/mailinglist.py index 4feb64db4..71007b83f 100644 --- a/Mailman/database/model/mailinglist.py +++ b/Mailman/database/model/mailinglist.py @@ -40,6 +40,7 @@ class MailingList(Entity): # Attributes not directly modifiable via the web u/i has_field('web_page_url', Unicode), has_field('admin_member_chunksize', Integer), + has_field('hold_and_cmd_autoresponses', PickleType), # Attributes which are directly modifiable via the web u/i. The more # complicated attributes are currently stored as pickles, though that # will change as the schema and implementation is developed. @@ -167,6 +168,8 @@ class MailingList(Entity): listname, hostname = split_listname(fqdn_listname) self.list_name = listname self.host_name = hostname + # For the pending database + self.next_request_id = 1 # Create several rosters for filtering out or querying the membership # table. from Mailman.database.model import roster @@ -176,6 +179,10 @@ class MailingList(Entity): self.members = roster.MemberRoster(self) self.regular_members = roster.RegularMemberRoster(self) self.digest_members = roster.DigestMemberRoster(self) + # Max autoresponses per day. A mapping between addresses and a + # 2-tuple of the date of the last autoresponse and the number of + # autoresponses sent on that date. + self.hold_and_cmd_autoresponses = {} @property def fqdn_listname(self): |
