diff options
| author | Barry Warsaw | 2007-10-06 15:09:34 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-10-06 15:09:34 -0400 |
| commit | 9df426cb595175f7e6d99f7fe4a55102e34addcd (patch) | |
| tree | 476128a088a28d2a6df397cb30cbbcb3056b72e7 /Mailman/database | |
| parent | 10192b3a4ecdf22a0b9706a7aaddca7d657bd80f (diff) | |
| download | mailman-9df426cb595175f7e6d99f7fe4a55102e34addcd.tar.gz mailman-9df426cb595175f7e6d99f7fe4a55102e34addcd.tar.zst mailman-9df426cb595175f7e6d99f7fe4a55102e34addcd.zip | |
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.
Diffstat (limited to 'Mailman/database')
| -rw-r--r-- | Mailman/database/model/mailinglist.py | 3 |
1 files changed, 1 insertions, 2 deletions
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), |
