From 9df426cb595175f7e6d99f7fe4a55102e34addcd Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 6 Oct 2007 15:09:34 -0400 Subject: Changes to support the Approved/Approve header with the new user model. Specifically, where a mailing list used to have both a password and a moderator password, both of which could be used in the Approved header, now a mailing list has only a shared moderator password. This moderator password's only purpose in life is to allow for Approved header posting. test_handlers.py is now completely ported to doctests, so it's removed. --- Mailman/database/model/mailinglist.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Mailman/database') diff --git a/Mailman/database/model/mailinglist.py b/Mailman/database/model/mailinglist.py index b37bcbce1..0725910ec 100644 --- a/Mailman/database/model/mailinglist.py +++ b/Mailman/database/model/mailinglist.py @@ -120,7 +120,7 @@ class MailingList(Entity): has_field('member_moderation_action', Boolean), has_field('member_moderation_notice', Unicode), has_field('mime_is_default_digest', Boolean), - has_field('mod_password', Unicode), + has_field('moderator_password', Unicode), has_field('msg_footer', Unicode), has_field('msg_header', Unicode), has_field('new_member_options', Integer), @@ -132,7 +132,6 @@ class MailingList(Entity): has_field('obscure_addresses', Boolean), has_field('pass_filename_extensions', PickleType), has_field('pass_mime_types', PickleType), - has_field('password', Unicode), has_field('personalize', Integer), has_field('post_id', Integer), has_field('preferred_language', Unicode), -- cgit v1.3.1