summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/StringIO.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-02-15update some urlsbwarsaw1-2/+7
2001-02-15The posixfile.py problem is no longer relevant for Python 2.0bwarsaw1-9/+1
2001-02-15updated Python version requirementsbwarsaw1-4/+2
2001-02-15Oops, forgot to commit the 2.0.1 news.bwarsaw1-1/+7
2001-02-15Dont add qfiles subdirs to VAR_DIRS. These are created automaticallybwarsaw1-2/+1
on demand.
2001-02-15update a urlbwarsaw1-2/+2
2001-02-15This module still needs lots of cleaning up but for now...bwarsaw1-150/+91
De-string-module-ification. Move SafeDict out of this file. Remove the Crypt stuff, using sha instead. SetSiteAdminPassword(), CheckSiteAdminPassword(): Use sha to write the new admin password. Check...() doesn't attempt to compare the challenge against the crypt'd password if the sha comparison fails because the site admin password is much easier to change than all the list passwords. IsAdministrivia() -> is_administrivia(), and mimelib-ify open_ex(): Removed reap(): Additional optional argument `once' which says to just go through the waitpid main loop once. hexlify/unhexlify crud removed (Python 2.0's got them in its binascii module). GetDirectories(), GetLanguageDescr(), GetCharSet(): Added for i18n support.
2001-02-15typobwarsaw1-1/+1
2001-02-15GLOBAL_PIPELINE: Default pipeline for moving messages out ofbwarsaw1-34/+83
qfiles/in. Lists and messages can actually override this. QRUNNERS: List and number of qrunners to start for each qfiles directory. QRUNNER_SLEEP_TIME: length of time in seconds that a queue runner should sleep if it finds no files in its qfiles/* directory. QRUNNER_LOCK_LIFETIME, QRUNNER_PROCESS_LIFETIME, QRUNNER_MAX_MESSAGES, DEFAULT_FILTER_PROG, USE_CRYPT: deleted. METAFMT_{MARSHAL,BSDDB_NATIVE,ASCII}, METADATA_FORMAT: Used for selecting which .db format to use for message metadata. ARCHQUEUE_DIR, SHUNTQUEUE_DIR, VIRGINQUEUE_DIR: new qfiles subdirectories. Temporary (hopefully) hack to get Python's site-packages directory in the standard path. This will go away when mimelib is distributed with Mailman.
2001-02-15De-string-module-ify.bwarsaw1-161/+144
References to HandlerAPI module removed. Also, remove filter_prog attribute from the list object. GetConfigInfo(): Add lots of i18n markup for translatable strings. All the attribute descriptions and details are now marked. AddMember(), ApprovedAddMember(), DeleteMember(): Use new Message interface for sending internally crafted messages. ApprovedAddMember(): Move the lang argument to the end for better backwards compatibility. HasExplicitDest(): Use new mimelib/Message interface. HasMatchingHeader() -> hasMatchingHeader(), and simplify greatly.
2001-02-15ZapOldVars(): We no longer support the filter_prog argument on thebwarsaw1-11/+14
MailList object. I don't think this was ever used and there are better ways to do this now. Make sure this gets into the NEWS file. NewVars(): Simplify interface by using a local=global trick (this won't be necessary in Python 2.1!)
2001-02-15Get SafeDict from SafeDict not Utils.bwarsaw1-2/+2
2001-02-15fix copyright linebwarsaw1-1/+1
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.