| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
on demand.
|
|
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
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!)
|
|
|
|
|
|
Bump the QFILE_SCHEMA_VERSION to handle the new file formats.
|
|
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.
|
|
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.
|
|
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.
|
|
since we're requiring Python 2.0. Good catch Thomas!
|
|
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.
|
|
References to HandlerAPI module removed.
Use new mimelib and switchboard interfaces.
Use other Python 2.0 features as appropriate.
|
|
LoopError: all error classes are now moved here.
|
|
De-string-module-ify.
References to HandlerAPI module removed.
Use new mimelib interface.
|
|
References to HandlerAPI module removed.
Use new mimelib interface.
|
|
Utils.open_ex() is obsolete.
|
|
|
|
update_article(): Utils.open_ex() is obsolete.
|
|
ArchiveMail(): Interface change. This method no longer gets the
message metadata dictionary (it wasn't used anyway). Also, convert to
the mimelib interface.
|