| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
better.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
DEFAULT_URL end in a slash causes problems. The default value for
web_page_url argument is now None, and if it's found to be None in the
body of the function, it's set to mm_cfg.DEFAULT_URL (and coerced to
always end in a slash).
|
| |
|
|
|
|
|
| |
is enabled, we now unconditionally munge based on the
reply_goes_to_list config variable setting. If the Reply-To: header
is munged, the original Reply-To: header (if any) is put on
X-Reply-To:
|
| |
|
|
| |
and reply_to_address configuration options.
|
| | |
|
| |
|
|
| |
data_version attribute, unless the list is locked.
|
| |
|
|
| |
missing. Submitted by Erik Forsberg (original patch author).
|
| |
|
|
| |
are case insensitive according to RFC 1521. Closes patch #102268.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
messages with a Subject: in ('subscribe', 'unsubscribe'). This kind
of filtering happens at higher levels in Mailman; if such a message is
in the .mbox file, it should be in the html archive.
Closes bug #121811 for real now.
|
| |
|
|
|
| |
(uppercase) hex digits. This fixes SF bug #117548 and replaces the
suggested patch in patch #102097. (patch approved by Jeremy.)
|
| |
|
|
|
|
| |
the user is successfully unsubscribed. In that case there /is/ no
options for the user to continue to edit. Fixes SF bugs 122017 and
121591.
|
| |
|
|
|
| |
comment doesn't jive with the web options. It also doesn't jive with
the actual implementation, so make the comment conform to reality.
|
| |
|
|
| |
portable definitions.
|
| |
|
|
|
|
|
|
|
| |
database, zap the `filebase' attribute and let it be recalculated when
the message is enqueued. This fixes duplication bugs when an approved
message has delivery problems, and get re-enqueued continually with a
different filebase.
This should close SF bug #117015.
|
| |
|
|
|
| |
connection fails with a socket.error, the file descriptors are
reclaimed.
|
| |
|
|
| |
Simon Hill's dissenting opinion on Reply-To munging.
|
| |
|
|
| |
broke the archiver.
|
| | |
|
| | |
|
| |
|
|
| |
emails. These should really be log file output.
|
| |
|
|
| |
MTA_ALIASES_STYLE for the newlist script's output.
|
| |
|
|
|
|
| |
__write() can fail with an EPERM. It seems to be a very rare
occurrence, only happens from cron, and (only?) on Solaris 2.6. I'm
too nervous to change this for 2.0.
|
| |
|
|
|
|
|
|
|
| |
forwarded, we need to craft two completely separate messages for each
path through the system. They can't share msgdata state or message
text or the first will simply disappear. Hacky way of doing this is
to rewind the file pointer and re-instantiate a new message object.
Closes SF bug #116311.
|
| |
|
|
| |
longer than 78 characters.
|
| |
|
|
| |
get an annoying exception.
|
| |
|
|
|
|
| |
returned by getaddrlist() will return None. This happens if the
header value is simply not RFC822 compliant. In that case, ignore
this element.
|
| |
|
|
| |
string. If the input object is false, return the empty string.
|
| |
|
|
|
|
| |
message to the archive. Retain "X-Archive: no" for backwards
compatibility with my own hallucinations :). Resolves SF bug
#115644.
|
| |
|
|
|
|
|
| |
body. If the msg object is one of our Message.Message's it'll have a
body attribute. If it's a mimetool.Message, it'll have a rewindable
fp attribute. But just to be sure, default the body to something
reasonable.
|
| |
|
|
|
|
|
|
|
| |
versions of the In-Reply-To, References, and Message-ID headers, I
retain the original values in different variables. These are used to
generate the periodic downloadable archives.
_set_date(): Initialize date to '' not 'None' if there is no date
header.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
differently.
class Article(): Get rid of text_tmpl for the same reason.
as_text(): We need to retain In-Reply-To:, References:, and
Message-ID: if the downloadable periodics are to be at all
threadable. Suggested by Gerald Oskoboiny.
Also, get something reasonable defaults for Date: header if the
original message is missing it (i.e. "None" isn't reasonable :).
|
| |
|
|
|
|
|
|
|
| |
private. Specifically,
main(): Check PATH_INFO and see if the paths is
listname.mbox/listname.mbox, in which case the full archive is being
retrieved. If so, make sure the Content-Type: is text/plain and feed
the whole mbox out to the browser.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
period) .txt files that ar generated. Specifically,
sizeof(): factor out code to calculate size of file with appropriate
bytes/KB/MB suffix.
article_text_template: For proper parsing by most Unix mail compatible
tools, the From: header should be in the form
From: emailaddr (real name)
Article.as_text(): Make sure the plain text headers have valid (even
if bogus) From_ separator for compatibility with Unix mail and similar
tools. Craft a fromdate and email address if they aren't present in
the original message.
TOC_template, html_TOC(): Added a link to the full raw archive file,
which was always available, but hidden. You still need to go through
private.py if the archives are private, of course. Also, report on
the approximate size of the raw archive.
|
| |
|
|
|
| |
standard library, get rid of Mailman.pythonlib.getpass compatibility
module.
|
| | |
|
| | |
|
| |
|
|
|
| |
suited in Utils than in the SecurityManager class because they don't
require the MailList object at all.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
mm_cfg.VERBATIM_ENCODING list and do not call html_quote if it is
found. The list should contain charsets that use multibyte encodings
where 0x26 may not represented the & character. Add option for
default charset (None == us-ascii).
Fix bug in format_article that added <pre> tags to the message body
*before* writing the text version. The fix isn't very clean, but it
is functional and quick. Generate the HTML body and store it as
html_body attribute. Use this in preference to body attribute when
writing html output.
|
| |
|
|
|
|
|
|
|
|
|
| |
bomb with tracebacks if PATH_INFO environment variable wasn't defined.
Fixed this by making them all use Utils.GetPathPieces() and "doing
something sensible" when that returned a false value.
Also, edithtml is now hidden behind a login screen, so there's no need
to enter the list password to edit the html. You can't even get to
the list of files to edit unless you've admin authenticated. Closes
SF bug #114091, Jitterbug PR# 24.
|
| |
|
|
|
|
|
|
| |
change the semantics for the most common situation: splitting the
$PATH_INFO environment variable into components for the cgi scripts.
ScriptURL(): This was the only non-CGI use of GetPathPieces() so now
this just uses the filter() call instead of the new semantics.
|
| |
|
|
|
| |
error code raised by seek()ing before the end of a non-existant or
zero length file, we simply ignore all IOErrors that can result.
|
| |
|
|
| |
value needs to be wrapped in angle brackets.
|
| |
|
|
|
| |
last patch. This caused confirmation requests to have a reply-to
pointing back to the list. Closes bug #115253.
|
| | |
|
| |
|
|
| |
2.0 patch.
|
| |
|
|
| |
and use that class here.
|