summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-02-15Bump the DATA_FILE_VERSION to handle the new i18n list attributes.bwarsaw1-2/+2
Bump the QFILE_SCHEMA_VERSION to handle the new file formats.
2001-02-15De-string-module-ify, transform to using mimelib instead of rfc822,bwarsaw1-157/+51
and use the switchboard interface. Specifically, Message class now multiply derives from mimelib.Message.Message and mimelib.ReprMixin.ReprMixin (for __str__() and get_text()). Other method changes: GetSender() -> get_sender() __init__(), __repr__(), __str__(), Enqueue(), Requeue(): removed OutgoingMessage class removed UserNotification class now inherits from Message and adds: send(): A convenience method for taking an internally crafted message and queuing it to the qfiles/virgin queue.
2001-02-15De-string-module-ify.bwarsaw1-30/+30
References to HandlerAPI module removed. Use new mimelib and switchboard interfaces. Use other Python 2.0 features as appropriate. NOTE: This whole module really needs a good rewrite.
2001-02-15Some additional i18n markup, although I can't remember if this is Juanbwarsaw1-25/+40
Carlos's contribution or not. Specifically, GetMailmanFooter(), FormatSubscriptionMsg(), FormatEditingOption(): Mark some strings as translatable, using the Mailman.i18n._ `auto-interpolating' function. SnarfHTMLTemplate(): Catch IOErrors which could result if a list was created in an older version of Mailman before the i18n support was added. GetStandardReplacements(): Watch out for missing list preferred language (can happen to an older list which hasn't been updated). Use DEFAULT_SERVER_LANGUAGE in that case. InitTemplates(): Some additional code reorg.
2001-02-15We don't need to override the __init__() of the base class any morebwarsaw1-7/+0
since we're requiring Python 2.0. Good catch Thomas!
2001-02-15Derive Mailbox from PortableUnixMailbox (from the Python 2.1 mailboxbwarsaw1-25/+8
module included in Mailman/pythonlib). We use this one because it has the most portable definition of the Unix-From separator. De-string-module-ify. Use new mimelib interface.
2001-02-15De-string-module-ify.bwarsaw1-29/+38
References to HandlerAPI module removed. Use new mimelib and switchboard interfaces. Use other Python 2.0 features as appropriate.
2001-02-15HandlerError, MessageHeld, DiscardMessage, SomeRecipientsFailed,bwarsaw1-1/+31
LoopError: all error classes are now moved here.
2001-02-15SendSubscribeAck(): I18n the welcome messages.bwarsaw1-10/+8
De-string-module-ify. References to HandlerAPI module removed. Use new mimelib interface.
2001-02-15De-string-module-ify.bwarsaw1-12/+12
References to HandlerAPI module removed. Use new mimelib interface.
2001-02-15close(), _open_index_file_as_stdout(), write_article():bwarsaw1-8/+17
Utils.open_ex() is obsolete.
2001-02-15load(), close(): Utils.open_ex() is obsolete.bwarsaw1-3/+7
2001-02-15processListArch(), write_TOC(), write_article(), update_archive(),bwarsaw1-10/+30
update_article(): Utils.open_ex() is obsolete.
2001-02-15__archive_file(): Utils.open_ex() is obsolete.bwarsaw1-14/+11
ArchiveMail(): Interface change. This method no longer gets the message metadata dictionary (it wasn't used anyway). Also, convert to the mimelib interface.