~andrea-crotti-0/mailman/version

« back to all changes in this revision

Viewing changes to src/mailman/model/mailinglist.py

  • Committer: Barry Warsaw
  • Date: 2012-03-04 04:29:26 UTC
  • Revision ID: barry@list.org-20120304042926-c8c09v9tddrgj5zg
 * Support downloading templates by URI, including mailman:// URIs.  This is
   used in welcome and goodbye messages, and supports both language and
   mailing list specifications.  E.g. mailman:///test@example.com/it/welc.txt

 * Schema changes:
   - welcome_msg -> welcome_message_uri
   - goodbye_msg -> goodbye_message_uri
   - send_welcome_msg -> send_welcome_message
   - send_goodbye_msg -> send_goodbye_message

 * New `ITemplateLoader` utility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    gateway_to_mail = Bool()
148
148
    gateway_to_news = Bool()
149
149
    generic_nonmember_action = Int()
150
 
    goodbye_msg = Unicode()
 
150
    goodbye_message_uri = Unicode()
151
151
    header_matches = Pickle()
152
152
    hold_these_nonmembers = Pickle()
153
153
    info = Unicode()
179
179
    require_explicit_destination = Bool()
180
180
    respond_to_post_requests = Bool()
181
181
    scrub_nondigest = Bool()
182
 
    send_goodbye_msg = Bool()
 
182
    send_goodbye_message = Bool()
183
183
    send_reminders = Bool()
184
 
    send_welcome_msg = Bool()
 
184
    send_welcome_message = Bool()
185
185
    start_chain = Unicode()
186
186
    subject_prefix = Unicode()
187
187
    subscribe_auto_approval = Pickle()
190
190
    topics_bodylines_limit = Int()
191
191
    topics_enabled = Bool()
192
192
    unsubscribe_policy = Int()
193
 
    welcome_msg = Unicode()
 
193
    welcome_message_uri = Unicode()
194
194
 
195
195
    def __init__(self, fqdn_listname):
196
196
        super(MailingList, self).__init__()