| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
Buchmann.
|
| |
|
|
|
|
| |
`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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
value setting when submitting an option's details page.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
enabled, that both the nntp_host and linked_newsgroup fields are
filled in. Closes SF bug #579285.
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
been moved into Defaults.py.in via the OPTINFO dictionary.
|
| |
|
|
|
| |
since this is already settable via the Digest option
mime_is_default_digest.
|
| | |
|
| | |
|
| |
|
|
| |
regular expression to be added to the list of topics.
|
| |
|
|
| |
Add the ContentFilter gui component.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
# 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!
|
| | |
|
| | |
|
| |
|
|
|
| |
reply_to_address value, since this is already done in
GUIBase.HandleForm().
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
this category doesn't really contain any detection configurations.
Translators beware!
GetConfigInfo(): Added support for
bounce_unrecognized_goes_to_list_owner.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
also add a sanity check for any regular expressions (i.e. make sure
that re.compile() doesn't fail on them).
|
| |
|
|
|
| |
package scope. Delete it, because it messes up the automatic
instantiation policy in MailList.InitTempVars().
|
| |
|
|
|
| |
_setValue(): New overridden method which handles the special "do
immediately" attribute.
|
| |
|
|
|
| |
HandleForm() -> handleForm(). Also, if a topic definition is rejected
for being incomplete, add an error message to the page.
|
| |
|
|
|
| |
_setValue(): New overridden method which handles the special case when
ALLOW_OPEN_SUBSCRIBE is set.
|
| |
|
|
| |
HandleForm() -> handleForm()
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
_setValue(): New overridden method which handles setting the global
i18n context when the list's preferred_language changes.
|
| |
|
|
|
|
| |
_setValue(): New overridden method which handles the assertion that
the real_name attribute may differ from the internal name by case
only.
|
| |
|
|
|
|
|
| |
HandleForm(): Remove, obsolete API.
_setValue(): New overridden method which handles the special "do
immediately" attributes.
|
| |
|
|
|
|
|
|
|
| |
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()
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
member_moderation_action and member_moderation_notice. Also, add a
separator for "Member filters" vs. "Non-member filters".
|