aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Decorate.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-05Removed an extraneous line of code from Decorate.py. Bug #590155.Mark Sapiro1-1/+0
2008-12-07Fixed a problem in Decorate which could throw a TypeError on conversion toMark Sapiro1-2/+10
unicode of a header/footer that was already unicode because of interpolating a unicode value. Made a minor change to the authentication logic for displaying hidden members on the roster.
2008-11-30Now that Python 2.4 is the minimum and we will use more recent installedMark Sapiro1-1/+1
email packages, convert all the email message get_type() calls to get_content_type().
2008-10-03Changed the stripping of trailing spaces from lines of the list headersMark Sapiro1-1/+2
and footers to leave a trailing space on a '-- ' signature separator.
2008-06-11Fixed a problem in Decorate.py that could result in a multipartMark Sapiro1-1/+7
message with no part headers for the original body part (1991348).
2008-01-16Allow us to pass in extra decoration (i.e. header/footer) data via the messageBarry Warsaw1-2/+4
metadata. Specifically, if the metadata has a 'decoration-data' key, the value should be a dictionary with extra interpolation keys. Also fix a bug in the way the 'extradict' default value is passwed to decorate. This should never be a mutable object.
2007-05-08- CGI/admin.pymsapiro1-2/+10
The email address which forms a part of the various CGI data keys in the admin membership list is now urllib.quote()ed. This allows changing options for and unsubbing an address which contains a double-quote character. - CGI/admindb.py Added additional test to not display "Database Updated ..." when coming from the login page. - CGI/roster.py, HTMLFormatter.py Changed to show hidden members when authorization is site or list's admin or moterator password. Patch 1587651. - Defaults.py.in, Handlers/Cleanse_DKIM.py Added a new REMOVE_DKIM_HEADERS Defaults.py/mm_cfg.py setting (default = No) to control removing dkim/domainkey signatures from posts and mail to -owner. - Handlers/Decorate.py, Handlers/Scrubber.py Changed to preserve format=flowed and delsp=yes in the Content-Type: of the body when adding header/footer and when scrubbing attachments and to remove trailing spaces from the header/footer lines so they won't be flowed. Bug 1495122. Fixed a scrubber issue where the i18n translated 'next part' separator can be garbled if the list charset is different from the message. - Queue/Runner.py. Queue/Switchboard.py Now that we have .bak queue entries for recovery, it is no longer the case that an unparseable message is lost. In this case, and in case of other exceptions when dequeueing, I added a preservation feature to move the .bak file to qfiles/shunt as a .psv file and write an appropriate log entry. It is also possible for an attempt to shunt a message to fail. One example that occurred in practice (bug 1656289) was caused by a huge message that threw a MemoryError in processing and then threw another MemoryError in the attempt to pickle the message for the shunt queue. In this case as well, I log and attempt to preserve the original queue entry by renaming.
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-01-29Back out Revision 2.18.2.19 patch for email.Message.set_payload() bugtkikuchi1-7/+2
because it is overwrapped in Mailman.Message.
2005-12-30A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw1-1/+2
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-17Fixes for email.set_payload() not distinguish parsed or virgin payload.tkikuchi1-1/+6
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-08-27FSF office has moved to 51 Franklin Street.tkikuchi1-1/+1
2005-05-13Copyright years and whitespace normalization.bwarsaw1-4/+3
2005-05-08Fix UnicodeDecodeError and UnicodeEncodeError to UnicodeError.tkikuchi1-1/+1
Both are introduced in Python2.3. UnicodeError catches both.
2005-03-28Username may contain non-ascii character for English-US.tkikuchi1-3/+3
Fall back to email address.
2004-12-01Precautions against 'charset=' (empty) message.tkikuchi1-1/+4
2004-09-18[ 872068 ] Decorate.py patch (by tkikuchi)tkikuchi1-13/+36
Use unicode concatnation in header+message+footer
2003-12-01process(): Update a few email package calls.bwarsaw1-5/+11
2003-01-07Copyright yearsbwarsaw1-4/+4
2003-01-07process(): Ben Gertzfield idea to add "Content-Disposition: inline"bwarsaw1-2/+6
header to the headers and footers parts as a hint to persnickety clients (not mentioning Outlook here) that the text should be displayed inline instead of as attachments. It does no harm so even if it doesn't completely fix the problem it sounds like a good idea.