aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Decorate.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a problem in Decorate which could throw a TypeError on conversion toMark Sapiro2008-12-071-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.
* Now that Python 2.4 is the minimum and we will use more recent installedMark Sapiro2008-11-301-1/+1
| | | | | email packages, convert all the email message get_type() calls to get_content_type().
* Changed the stripping of trailing spaces from lines of the list headersMark Sapiro2008-10-031-1/+2
| | | | and footers to leave a trailing space on a '-- ' signature separator.
* Fixed a problem in Decorate.py that could result in a multipartMark Sapiro2008-06-111-1/+7
| | | | | message with no part headers for the original body part (1991348).
* Allow us to pass in extra decoration (i.e. header/footer) data via the messageBarry Warsaw2008-01-161-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.
* - CGI/admin.pymsapiro2007-05-081-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.
* - Decorate.py Fixed bug 1507248 by ignoring header/footer charactersmsapiro2006-06-231-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.
* Back out Revision 2.18.2.19 patch for email.Message.set_payload() bugtkikuchi2006-01-291-7/+2
| | | | because it is overwrapped in Mailman.Message.
* A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw2005-12-301-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.
* Fixes for email.set_payload() not distinguish parsed or virgin payload.tkikuchi2005-12-171-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.
* FSF office has moved to 51 Franklin Street.tkikuchi2005-08-271-1/+1
|
* Copyright years and whitespace normalization.bwarsaw2005-05-131-4/+3
|
* Fix UnicodeDecodeError and UnicodeEncodeError to UnicodeError.tkikuchi2005-05-081-1/+1
| | | | Both are introduced in Python2.3. UnicodeError catches both.
* Username may contain non-ascii character for English-US.tkikuchi2005-03-281-3/+3
| | | | Fall back to email address.
* Precautions against 'charset=' (empty) message.tkikuchi2004-12-011-1/+4
|
* [ 872068 ] Decorate.py patch (by tkikuchi)tkikuchi2004-09-181-13/+36
| | | | Use unicode concatnation in header+message+footer
* process(): Update a few email package calls.bwarsaw2003-12-011-5/+11
|
* Copyright yearsbwarsaw2003-01-071-4/+4
|
* process(): Ben Gertzfield idea to add "Content-Disposition: inline"bwarsaw2003-01-071-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.
* This commit was manufactured by cvs2svn to create branch2003-01-021-0/+183
'Release_2_1-maint'.