~barry/mailman/events-and-web

« back to all changes in this revision

Viewing changes to src/mailman/app/notifications.py

  • Committer: Barry Warsaw
  • Date: 2012-11-25 20:48:08 UTC
  • Revision ID: barry@list.org-20121125204808-g0pvuil2xq559k4p
Interim commit for refactoring out web-centric logic.

* Use SubscriptionEvent to handle the sending of the welcome message.
* Use ConfirmationNeededEvent to send the confirmation message.
* For now, hard code the adminurl and comment out the listinfo_uri.
* Pend the list-id instead of the fqdn-listname
* Use the new configuration support for Postfix settings.
* Get rid of the IDomain's url_host, base_url, and scheme attributes, as well
  as the confirm_url() method. 
* Get rid of the IMailingList's script_url() method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    text = expand(welcome, dict(
87
87
        fqdn_listname=mlist.fqdn_listname,
88
88
        list_name=mlist.display_name,
89
 
        listinfo_uri=mlist.script_url('listinfo'),
 
89
        #listinfo_uri=mlist.script_url('listinfo'),
90
90
        list_requests=mlist.request_address,
91
91
        user_name=user_name,
92
92
        user_address=address,