aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-09-01A much improved release script, which now knows about Subversion (though isn'tbwarsaw1-1/+0
yet ready to work from the trunk). Also, get rid of all the obsolete .cvsignore directories, they're no longer needed. Almost ready for 2.1.9rc1!
2006-07-30Back port Python 2.5 compatibility changes to Mailman 2.1. Specifically,bwarsaw1-3/+9
- In SecurityManager.py, fix the parsecookie() code to work with Python 2.5 generated cookie text. The latter was changed to be more RFC compliant so it does not output trailing semicolons for each line of cookie text. This broke the splitting rules, so now first split on newlines, then on ';\s*'. This should work across all Python versions. - In Python 2.5, exceptions are new-style, and thus are no longer of ClassType. The instantiation type test in hold_for_approval() was too naive. This one is fixed differently here than in the MM trunk because in Python 2.1, 'type' isn't a type, it's a function and so can't be used as the second argument to isinstance() directly. - Raising strings generates deprecation warnings in Python 2.5. Switch the one weird use of this in Utils.py to use a class exception. Don't call it "quick exit" though because it's probably not.
2006-06-23- Decorate.py Fixed bug 1507248 by ignoring header/footer charactersmsapiro1-2/+2
outside the character set of the list's language. - Utils.py Fixed a security hole which allowed a crafted URI to inject bogus apparent messages into the error log, possibly inducing an admin to visit a phishing site.
2006-02-19Fixed bug 1430236 by catching TypeError when trying to get a decoded payloadmsapiro1-1/+6
when payload is None.
2006-02-17ch_oneline(): Input string variable is overwritten. Also use listtkikuchi1-8/+4
comprehension where appropriate.
2006-02-03variable name: it is not a floating number. (time tuple)tkikuchi1-2/+2
2006-01-29Back out Revision 2.18.2.19 patch for email.Message.set_payload() bugtkikuchi4-40/+12
because it is overwrapped in Mailman.Message.
2006-01-29Prevent loop in hold/reject if addressed to '-owner'.tkikuchi1-9/+10
2006-01-15Moving deletion of Domainkey-Signature: and DKIM-Signature: headers to amsapiro2-10/+34
new handler to be included in both GLOBAL_PIPELINE and OWNER_PIPELINE.
2006-01-14SpamDetect.py: Fix loop. As a side effect, spam message may pass thetkikuchi1-13/+15
filter if X-List-Administrivia header is forged.
2006-01-01process(): Fix a comment.bwarsaw1-4/+3
2005-12-31Don't use 'X-List-Administrivia', second part.tkikuchi1-1/+1
2005-12-31On my second thought, I use msgdata for internally crafted message checking.tkikuchi1-4/+2
The keyword 'reduced_list_headers' is taken from CookHeaders.py and looks like it is, reviewing Message.py.
2005-12-31Back out Revison 2.3.2.4 change. Check outermost message headertkikuchi1-6/+6
even if it has X-List-Administrivia header ( mostly -owner notification ).
2005-12-30A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw10-67/+73
normalization, removal of tabs, copyright year updates to changed files, docstring and comment fixes, and usage of True/False. I also made a pass through the NEWS file. One import was reordered, and after this commit I will move the mmdsr.readme file to README.mmdsr. From my perspective, after that we're ready to go. I will port these changes forward to the trunk.
2005-12-26Python interpreter has evolved to be strict on ascii charset range.tkikuchi1-20/+13
Subject manipulation should be done in unicode string mode.
2005-12-26True/False definition for Python2.1.tkikuchi1-0/+7
Only check in Release_2_1-maint branch because 2.2 will require higher version of python.
2005-12-21Scan other text/* parts for Approve(d): <password> - bug 1181161.msapiro1-1/+29
2005-12-17Fixes for email.set_payload() not distinguish parsed or virgin payload.tkikuchi4-25/+51
I've tested the example by Mark Sapiro: http://mail.python.org/pipermail/mailman-developers/2005-November/018395.html both with and without 'Content-Transfer-Encoding' but may need more test.
2005-12-13Add an extra trailing space in scrubbed content URL. This may save thetkikuchi1-1/+3
users of MS Outlook and Apple Mail.
2005-11-28One more little change. One day I'll learn not to commit until I'm REALLY done.msapiro1-5/+1
2005-11-27Fix bug 1367783 - decode base64 and quoted-printable HTML parts when passing ↵msapiro1-1/+6
to mm_cfg.HTML_TO_PLAIN_TEXT_COMMAND
2005-11-19SF patch # 1246003tkikuchi1-1/+1
2005-11-13Use original_sender put in msgdata by CookHeaders.py if it's availablemsapiro1-1/+1
2005-11-13Remove Approve: header as well as Approved:msapiro1-0/+2
2005-11-13Don't delete line following first body line Approve(d)msapiro1-1/+1
2005-11-12Log the sender and not list-bounces when non-VERPmsapiro1-2/+8
and mm_cfg.USE_ENVELOPE_SENDER = Yes
2005-11-04Port from MAIN. Finnish Re: dialect.tkikuchi1-1/+1
2005-10-23Add OverflowError in the except list. (back port from MAIN).tkikuchi1-1/+1
2005-09-19process(): Patch by Mark Sapiro (slightly modified by Barry) to take preamblesbwarsaw1-2/+6
and epilogues in the calculation of messages sizes.
2005-09-12SF patch #1287546 to remove DomainKey (and similar) headers.bwarsaw1-1/+10
2005-08-27FSF office has moved to 51 Franklin Street.tkikuchi26-26/+26
2005-08-04Fix multiline bug as suggested by Iain Pople [1250657]tkikuchi1-1/+1
2005-07-17Whitespace normalization, and updates of copyright years.bwarsaw1-1/+1
2005-07-13Introduce new attribute (collapse_alternatives) to allow HTML intkikuchi1-4/+6
multipart/alternative message after content filtering.
2005-07-13Backout last checkin. The fix was already coded in the following part. ^^;)tkikuchi1-3/+0
2005-07-13A part can be None type in Python2.4 if multipart/mixed without real content.tkikuchi1-0/+3
Temporary work around to ignore such case.
2005-07-04Avoid infinite loop of held message and its notifications.tkikuchi1-5/+6
2005-06-26Fix SF BugID 1179487:tkikuchi1-3/+14
Although the RFC2231 bug example in the tracker has been solved in mailman-2.1.6, there may be more cases where ToDigest.send_digests() can block regular delivery. I put the send_digests() calling part in try - except clause and leave a message in the error log if something happened in send_digests(). Daily call of cron/senddigests will notify more details to the site administrator.
2005-05-22process(): One more bug fix, though this one should be safe. Under email 2.5,bwarsaw1-1/+8
it is possible for a message to be "not is_multipart()" but to have a None payload. I know of at least one situation where this can happen: you have a Content-Type: multipart/* but there is nothing but two blank lines between the first boundary and the end boundary. Under email 3, you get a string payload but under email 2.5 you get None. Because there's nothing in such parts, they should be safe to ignore.
2005-05-13I finally find out why re.escape() doesn't work properly. '%' should nottkikuchi1-8/+8
be escaped for it is the insert directive. It was my trial and error in the comments in previous version. Well, I didn't think of '++' ...
2005-05-13prefix_subject(): Don't double escape the prefix_pattern.bwarsaw1-3/+0
2005-05-13Copyright years and whitespace normalization.bwarsaw1-4/+3
2005-05-13strip_subject() in HyperArch.pybwarsaw1-8/+7
prefix_subject() in CookHeaders.py When calling re.sub() to substitute the subject prefix, you have to escape the pattern, otherwise prefixes like [C++] cause "multiple repeat" exceptions in re. Also, whitespace normalization and copyright years updates.
2005-05-08Fix UnicodeDecodeError and UnicodeEncodeError to UnicodeError.tkikuchi1-1/+1
Both are introduced in Python2.3. UnicodeError catches both.
2005-05-01process(): For some reason, the part's payload can be None. Defend againstbwarsaw1-6/+7
trying to call None.splitlines().
2005-03-28Username may contain non-ascii character for English-US.tkikuchi1-3/+3
Fall back to email address.
2005-03-21Fix bug in patch #1032434: You should accumulate subpart headers.tkikuchi1-6/+10
(should have went out an intermediate code) :-<
2005-02-17Anonymous list fix up: Add internal_name in the From: header.tkikuchi1-1/+9
Log anonymize record in 'post' for admin's inspection convenience.
2005-02-12Request from Brad Knowles. We need subject prefix strippedtkikuchi1-0/+11
from the posts from mailling list for gatewaying to nntp.