From c25b14b37811e636d957fa1cc101620560395e48 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 18 Jul 2001 22:14:17 +0000 Subject: All: GetConfigInfo(): Removed. All admin ui gui elements are moved into components in the Mailman/Gui subdirectory. All membership related attribute access should use the MemberAdaptor API instead, e.g. IsMember() -> isMember() GetUserOption() -> getMemberOption() SetUserOption() -> setMemberOption() Also use ApprovedDeleteMember() instead of DeleteMember(). Deliverer.py: Remove last vestiges of os.environ['LANG'] Digester.py: SetUserDigest(): Removed. This is replaced by OldStyleMemberships's setMemberOption() method when flag == mm_cfg.Digests --- Mailman/Autoresponder.py | 53 ------------------------------------------------ 1 file changed, 53 deletions(-) (limited to 'Mailman/Autoresponder.py') diff --git a/Mailman/Autoresponder.py b/Mailman/Autoresponder.py index 94c2d2622..64ec18f19 100644 --- a/Mailman/Autoresponder.py +++ b/Mailman/Autoresponder.py @@ -41,56 +41,3 @@ class Autoresponder: self.admin_responses = {} self.request_responses = {} - def GetConfigInfo(self): - WIDTH = mm_cfg.TEXTFIELDWIDTH - - return [ - _("""\ -Auto-responder characteristics.
- -In the text fields below, Python %(string)s interpolation is performed with -the following key/value substitutions: -
For each text field, you can either enter the text directly into the text -box, or you can specify a file on your local system to upload as the text."""), - - ('autorespond_postings', mm_cfg.Toggle, (_('No'), _('Yes')), 0, - _('''Should Mailman send an auto-response to mailing list - posters?''')), - - ('autoresponse_postings_text', mm_cfg.FileUpload, - (6, WIDTH), 0, - _('Auto-response text to send to mailing list posters.')), - - ('autorespond_admin', mm_cfg.Toggle, ('No', 'Yes'), 0, - _('''Should Mailman send an auto-response to emails sent to the - -admin and -owner addresses?''')), - - ('autoresponse_admin_text', mm_cfg.FileUpload, - (6, WIDTH), 0, - _('Auto-response text to send to -admin and -owner emails.')), - - ('autorespond_requests', mm_cfg.Radio, - (_('No'), _('Yes, w/discard'), _('Yes, w/forward')), 0, - _('''Should Mailman send an auto-response to emails sent to the - -request address? If you choose yes, decide whether you want - Mailman to discard the original email, or forward it on to the - system as a normal mail command.''')), - - ('autoresponse_request_text', mm_cfg.FileUpload, - (6, WIDTH), 0, - _('Auto-response text to send to -request emails.')), - - ('autoresponse_graceperiod', mm_cfg.Number, 3, 0, - _('''Number of days between auto-responses to either the mailing - list or -admin/-owner address from the same poster. Set to zero - (or negative) for no grace period (i.e. auto-respond to every - message).''')), - ] -- cgit v1.2.3-70-g09d2