summaryrefslogtreecommitdiff
path: root/Mailman/Gui (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* GetConfigInfo(): Fix typo described in SF bug #553385 found by Danielbwarsaw2002-08-171-1/+1
| | | | Buchmann.
* GetConfigInfo(): Add a note that you probably will want to addbwarsaw2002-08-151-1/+5
| | | | | | `multipart' to the pass filter. We still won't set DEFAULT_PASS_MIME_TYPES = ['multipart'] because we want to leave the pass filter empty by default.
* Whitespace normalization.bwarsaw2002-08-151-3/+3
|
* GetConfigInfo(): Rewrite large portions of this text to give morebwarsaw2002-08-151-18/+51
| | | | | | | | | | | | | background on the content filtering process, make descriptions more consistent, and hopefully more useful. Also, added a description of the pass_mime_types variable. This is a whitelisting feature contributed by Dan Mick, hacked by Barry (so any bugs are my fault). The idea is that after the filter_mime_types pass is made, if there are any pass_mime_types defined, only parts that match these types are allowed through. _setValue(), getValue(): Add support for pass_mime_types.
* handleForm(): A `return' should have been a `continue'. This fixesbwarsaw2002-08-141-1/+1
| | | | value setting when submitting an option's details page.
* GetConfigInfo(): Add description of encode_ascii_prefixes.bwarsaw2002-08-091-0/+25
|
* Allow postings gatewayed to Usenet to inhibit the Subject: fieldbwarsaw2002-07-311-1/+11
| | | | | | | | munging, separate from the mail list. This actually restores the original Subject: field which is stashed away in the metadata when it's munged in CookHeaders. Closes SF patch #573508. GetConfigInfo(): Describe the news_prefix_subject_too attribute.
* _postValidate(): Ensure that if gatewaying (in either direction) isbwarsaw2002-07-241-0/+16
| | | | | enabled, that both the nntp_host and linked_newsgroup fields are filled in. Closes SF bug #579285.
* _getValidValue(): Widget types EmailList and EmailListEx may alreadybwarsaw2002-05-251-0/+6
| | | | | | | be lists when this method is called from config_list. If so, just return the value unmodified. Also, add the Topics widget type so config_list doesn't bomb out.
* GetConfigInfo(): The -admin address is deprecated.bwarsaw2002-05-221-6/+5
|
* GetConfigInfo(): forbidden_posters is obsolete.bwarsaw2002-05-171-4/+1
|
* _setValue(): The mapping of short options names to their flags hasbwarsaw2002-05-021-3/+1
| | | | been moved into Defaults.py.in via the OPTINFO dictionary.
* Don't set the digest type (plaintext or MIME) through this mechanism,bwarsaw2002-04-191-4/+1
| | | | | since this is already settable via the Digest option mime_is_default_digest.
* GetConfigInfo(): Add include_list_post_header configuration variable.bwarsaw2002-04-191-0/+16
|
* handleForm(): GACK! Remove a debugging call. Thanks Ron!bwarsaw2002-04-191-1/+0
|
* handleForm(): Don't allow a topic with a pattern which is an illegalbwarsaw2002-04-181-0/+11
| | | | regular expression to be added to the list of topics.
* Port of Les Niles' patch to do de-mime. Specifically,bwarsaw2002-04-141-0/+1
| | | | Add the ContentFilter gui component.
* intermediatebwarsaw2002-04-141-0/+85
|
* _postValidate(): New method which is called after all the formbwarsaw2002-04-111-8/+12
| | | | | | | | | | | attributes have been processed. This allows for the gui component to do sanity checks across inter-dependent values. Default is no-op. handleForm(): We don't need the `tag' arguments to addError() since the default is 'Error: '. Also, rearrange the exception logic so that the _setValue() call happens in an else and the except clauses don't need to return. This allows the gui component to still get a chance at _postValidate(), even if there were errors.
* _postValidate(): New method which checks that the combination ofbwarsaw2002-04-111-2/+11
| | | | | | | reply_to_address and reply_goes_to_list is valid, resetting and spitting out an error if not. _setValue(): Don't use <p> tags in the error message.
* GetConfigInfo(): The comment says it all...bwarsaw2002-03-281-1/+7
| | | | | | | | # The description for new_member_options includes a kludge where # we add a hidden field so that even when all the checkboxes are # deselected, the form data will still have a new_member_options # key (it will always be a list). Otherwise, we'd never be able # to tell if all were deselected!
* Typo noticed by Dan Buchmann.bwarsaw2002-03-161-1/+1
|
* Update copyright years.bwarsaw2002-03-162-2/+2
|
* _setValue(): We actually don't need to do the check on thebwarsaw2002-03-141-7/+0
| | | | | reply_to_address value, since this is already done in GUIBase.HandleForm().
* Dan Mick's patch (with mods ;) for disabling list owner notificationbwarsaw2002-03-121-0/+27
| | | | | | | | | | | on disabled-due-to-bounces and removal-due-to-bounces. Specifically, GetConfigInfo(): Added gui elements for bounce_notify_owner_on_disable and bounce_notify_owner_on_removal. Also add a separator between the knobs for controlling bounce processing behavior and the knobs for notification. _setValue(): Teach it to convert the new list attributes to integers.
* GetConfigInfo(): Change the description for first_strip_reply_to tobwarsaw2002-03-111-5/+13
| | | | | | | describe the intent that an existing Reply-To: can always be stripped. _setValue(): Check to make sure that the reply_to_address has a valid email address before we allow the value to be set.
* GetConfigCategory(): "Bounce detection" -> "Bounce processing" sincebwarsaw2002-03-071-1/+27
| | | | | | | | this category doesn't really contain any detection configurations. Translators beware! GetConfigInfo(): Added support for bounce_unrecognized_goes_to_list_owner.
* _convertString(): Be slightly less anal about bad substitutionbwarsaw2002-03-071-5/+4
| | | | | | | | variables in the string. First, change the error message and make it a warning instead of an error (we're not going to discard their changes, and besides, it might have been caused by a change to a different property). Second, return the val so the change isn't thrown away.
* GetConfigInfo(): Re-arrange the properties so that msg_header andbwarsaw2002-03-071-13/+17
| | | | | | | msg_footer appear after personalization. This is a minor bogus order dependency so that headers/footers with personalization substitution variables won't get improperly flagged as errors when transitioning from non-personalization to personalization-enabled.
* Patches to support duplicate suppression for explicit recipients,bwarsaw2002-03-051-0/+38
| | | | | | | | | | | | | | | | written by Ben Gertzfield, ported to MM2.1 by Marc MERLIN. (Note: this patch was rewritten by Barry; parts of it was originally in GUIBase, but that wasn't the right place for it.) Specifically, GetConfigInfo(): Add support for the new_member_options attribute, which is a checkbox that the list owner can use to select the initial values for the member options fields. _setValue(): Handle setting the new_member_options attribute by converting it from a list of option names to a bitfield.
* GetConfigInfo(): Ron Jarrell reported a typo.bwarsaw2002-03-011-1/+1
|
* _getValidValue(): Fix the tests for EmailList and EmailListEx, andbwarsaw2002-02-281-9/+17
| | | | | also add a sanity check for any regular expressions (i.e. make sure that re.compile() doesn't fail on them).
* Somehow (and I'm not sure how), the GUIBase class gets exposed in thebwarsaw2002-02-271-1/+4
| | | | | package scope. Delete it, because it messes up the automatic instantiation policy in MailList.InitTempVars().
* Use GUIBase as the base class.bwarsaw2002-02-271-2/+11
| | | | | _setValue(): New overridden method which handles the special "do immediately" attribute.
* Use GUIBase as the base class.bwarsaw2002-02-271-5/+7
| | | | | HandleForm() -> handleForm(). Also, if a topic definition is rejected for being incomplete, add an error message to the page.
* Use GUIBase as the base class.bwarsaw2002-02-271-1/+10
| | | | | _setValue(): New overridden method which handles the special case when ALLOW_OPEN_SUBSCRIBE is set.
* Use GUIBase as the base class.bwarsaw2002-02-271-3/+4
| | | | HandleForm() -> handleForm()
* Use GUIBase as the base class.bwarsaw2002-02-271-57/+16
| | | | | | | | | HandleForm(): Remove, obsolete API. Also removed handle_form() module global. _setValue(): New overridden method for handling the conversion from $-strings to %-strings and doing substitution variable verification. Most of the functionality is in the base class now.
* Use GUIBase as the base class.bwarsaw2002-02-271-3/+13
| | | | | _setValue(): New overridden method which handles setting the global i18n context when the list's preferred_language changes.
* Use GUIBase as the base class.bwarsaw2002-02-271-2/+14
| | | | | | _setValue(): New overridden method which handles the assertion that the real_name attribute may differ from the internal name by case only.
* Use GUIBase as the base class.bwarsaw2002-02-271-5/+30
| | | | | | | HandleForm(): Remove, obsolete API. _setValue(): New overridden method which handles the special "do immediately" attributes.
* Use GUIBase as the base class.bwarsaw2002-02-271-32/+25
| | | | | | | | | HandleForm(): Remove, obsolete API. Also remove __convert() as obsolete. _setValue(): New overridden method converting the bounce values from the web presentation units to the internal units. GetValue() -> getValue()
* Use GUIBase as the base class.bwarsaw2002-02-271-46/+14
| | | | | | | | HandleForm(): Remove, obsolete API. _setValue(): New overridden method for handling the conversion from $-strings to %-strings and doing substitution variable verification. Most of the functionality is in the base class now.
* Use GUIBase as the base class.bwarsaw2002-02-271-3/+3
|
* intermediatebwarsaw2002-02-261-0/+183
|
* Bump copyright years.bwarsaw2002-02-231-1/+1
|
* handle_form(): We break the handling of the header and footerbwarsaw2002-02-232-0/+65
| | | | | | | | | | | | | | | | attributes into a special method which does some sanity checking on the interpolation strings. First, it checks to see if we're using the new experimental $-strings, and then depending on the style of interpolation being used, it extracts the identifiers (variables) in the string and compares them against a known valid list. Any invalid variables are flagged and the changes are discarded. If the user simply left off a trailing `s' (as in %(foo)s), then this can be corrected, but a warning is still printed. Note: In NonDigest.py we're using a module level function which is imported by Digest.py's HandleForm(). Makes it convenient to share code, but this should really be refactored along with Autoresponse.py's HandleForm().
* GetConfigInfo(): Update the description of the interpolation stringsbwarsaw2002-02-231-7/+56
| | | | | | | | | | | | | | | | | to not include the %()s chrome. We might be using the new experimental $-strings. This leaves the instructions with a something left to be desired, but it should be okay for now, and I don't want to add two descriptions, one for %-strings and another for $-strings. HandleForm(): We break the handling of the Autoresponse attributes into a special method which does some sanity checking on the interpolation strings. First, it checks to see if we're using the new experimental $-strings, and then depending on the style of interpolation being used, it extracts the identifiers (variables) in the string and compares them against a known valid list. Any invalid variables are flagged and the changes are discarded. If the user simply left off a trailing `s' (as in %(foo)s), then this can be corrected, but a warning is still printed.
* Updates to module docstring.bwarsaw2002-01-231-2/+2
|
* GetConfigInfo(): Add list configuration attributesbwarsaw2002-01-211-2/+26
| | | | | member_moderation_action and member_moderation_notice. Also, add a separator for "Member filters" vs. "Non-member filters".