~sambuddhabasu1/mailman/fix_mailman_run_error

  • Committer: Barry Warsaw
  • Date: 2007-08-01 20:11:08 UTC
  • mfrom: (6533.1.1 entrypoints)
  • Revision ID: barry@python.org-20070801201108-b8majehbmajtffcy
Move the pending database into the SQLAlchemy/Elixir layer.  The old
Pending.py module is removed.  Added an interface to this functionality such
that any IPendable (essentially a key/value mapping) can be associated with a
token, and that token can be confirmed and has a lifetime.  Any keys and
values can be stored, as long as both are unicodes.

Added a doctest.

Modified initialization of the database layer to support pluggability via
setuptools.  No longer is this layer initialized from a module, but now it's
instantiated from a class that implements IDatabase.  The StockDatabase class
implements the SQLAchemy/Elixir layer, but this can be overridden in a
setup.py.  Bye bye MANAGERS_INIT_FUNCTION, we hardly knew ye.

Added a package Mailman.app which will contain certain application specific
functionality.  Right now, the only there there is an IRegistar
implementation, which didn't seem to fit anywhere else.

Speaking of which, the IRegistrar interface implements all the logic related
to registration and verification of email addresses.  Think the equivalent of
MailList.AddMember() except generalized out of a mailing list context.  This
latter will eventually go away.  The IRegistrar sends the confirmation email.

Added an IDomain interface, though the only implementation of this so far
lives in the registration.txt doctest.  This defines the context necessary for
domain-level things, like address confirmation.

A bunch of other cleanups in modules that are necessary due to the refactoring
of Pending, but don't affect anything that's actually tested yet, so I won't
vouch for them (except that they don't throw errors on import!).

Clean up Defaults.py; also turn the functions seconds(), minutes(), hours()
and days() into their datetime.timedelta equivalents.

Consolidated the bogus email address exceptions.

In some places where appropriate, use email 4.0 module names instead of the
older brand.

Switch from Mailman.Utils.unique_message_id() to email.utils.make_msgid()
everywhere.  This is because we need to allow sending not in the context of a
mailing list (i.e. domain-wide address confirmation message).  So we can't use
a Message-ID generator that requires a mailing list.  OTOH, this breaks
Message-ID collision detection in the mail->news gateway.  I'll fix that
eventually.

Remove the 'verified' row on the Address table.  Now verification is checked
by Address.verified_on not being None.
Filename Latest Rev Last Changed Committer Comment Size
..
app 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix Diff
Archiver 1031 26 years ago cotton code cleanup: put all the web archive related stuf Diff
bin 6345 18 years ago bwarsaw The start of the conversion of the bin and cron sc Diff
Bouncers 1873 25 years ago bwarsaw Infrastructure for extensible bounce parsers, mode Diff
Cgi 697 26 years ago viega These are the files that used to be in ../cgi, exc Diff
Commands 4848 22 years ago bwarsaw New architecture for email commands. Instead of t Diff
data 6530.1.3 17 years ago Barry Warsaw Major surgery to get the setuptools based installa Diff
database 6447 17 years ago bwarsaw Merged revisions 8113-8121 via svnmerge from http Diff
docs 6498 17 years ago bwarsaw Merge exp-elixir-branch to trunk. There is enough Diff
ext 6498 17 years ago bwarsaw Merge exp-elixir-branch to trunk. There is enough Diff
Gui 3430 23 years ago bwarsaw There are the admin gui component modules, which n Diff
Handlers 1708 25 years ago bwarsaw New pipeline delivery module """Send an acknowled Diff
interfaces 6498 17 years ago bwarsaw Merge exp-elixir-branch to trunk. There is enough Diff
messages 6530.1.3 17 years ago Barry Warsaw Major surgery to get the setuptools based installa Diff
MTA 3021 23 years ago bwarsaw Checking in the usual .cvsignore, Makefile.in, and Diff
Queue 2684 23 years ago bwarsaw Multiple queue runner classes, in a new package Ma Diff
templates 6530.1.3 17 years ago Barry Warsaw Major surgery to get the setuptools based installa Diff
tests 6530.1.6 17 years ago Barry Warsaw More work on completing the transition to setuptoo Diff
__init__.py 6463 17 years ago bwarsaw Update copyright years. Empty Diff Download File
Autoresponder.py 6463 17 years ago bwarsaw Update copyright years. 1.5 KB Diff Download File
Bouncer.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 12.6 KB Diff Download File
configuration.py 6534 17 years ago Barry Warsaw The start of a message store definition. Whether 9.4 KB Diff Download File
constants.py 6504.1.12 17 years ago Barry Warsaw Convert the CookHeaders tests in test_handlers to 2 KB Diff Download File
Defaults.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 57.1 KB Diff Download File
Deliverer.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 9.3 KB Diff Download File
Digester.py 6472 17 years ago tkikuchi Fixes for i18n digest to work. Mailman/Queue/Swit 2.6 KB Diff Download File
Errors.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 6.7 KB Diff Download File
GatewayManager.py 6463 17 years ago bwarsaw Update copyright years. 1.3 KB Diff Download File
htmlformat.py 6470 17 years ago tkikuchi Restoreing i18n in 2.2 - As the default type of st 20.4 KB Diff Download File
HTMLFormatter.py 6530.1.6 17 years ago Barry Warsaw More work on completing the transition to setuptoo 17.7 KB Diff Download File
i18n.py 6530.1.3 17 years ago Barry Warsaw Major surgery to get the setuptools based installa 5.8 KB Diff Download File
initialize.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 4.3 KB Diff Download File
interact.py 6463 17 years ago bwarsaw Update copyright years. 2.5 KB Diff Download File
languages.py 6530.1.6 17 years ago Barry Warsaw More work on completing the transition to setuptoo 1.8 KB Diff Download File
ListAdmin.py 6521 17 years ago Barry Warsaw Convert TestHold to a doctest and update code as n 18.5 KB Diff Download File
LockFile.py 6498 17 years ago bwarsaw Merge exp-elixir-branch to trunk. There is enough 21.3 KB Diff Download File
loginit.py 6498 17 years ago bwarsaw Merge exp-elixir-branch to trunk. There is enough 5.7 KB Diff Download File
Mailbox.py 6530.1.2 17 years ago Barry Warsaw Other than contrib files, convert all imports of m 3.7 KB Diff Download File
MailList.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 58.2 KB Diff Download File
MemberAdaptor.py 6463 17 years ago bwarsaw Update copyright years. 14.9 KB Diff Download File
Message.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 10.9 KB Diff Download File
mm_cfg.py.dist.in 6463 17 years ago bwarsaw Update copyright years. 1.6 KB Diff Download File
OldStyleMemberships.py 6530.1.3 17 years ago Barry Warsaw Major surgery to get the setuptools based installa 14.8 KB Diff Download File
passwords.py 6498 17 years ago bwarsaw Merge exp-elixir-branch to trunk. There is enough 7.4 KB Diff Download File
Post.py 6530.1.2 17 years ago Barry Warsaw Other than contrib files, convert all imports of m 2.1 KB Diff Download File
SafeDict.py 6530.1.6 17 years ago Barry Warsaw More work on completing the transition to setuptoo 2.6 KB Diff Download File
SecurityManager.py 6458 17 years ago bwarsaw Passwords done right. First off, there are severa 12.8 KB Diff Download File
TopicMgr.py 6463 17 years ago bwarsaw Update copyright years. 2.2 KB Diff Download File
UserDesc.py 6463 17 years ago bwarsaw Update copyright years. 2.5 KB Diff Download File
Utils.py 6537 17 years ago Barry Warsaw Move the pending database into the SQLAlchemy/Elix 28.3 KB Diff Download File
Version.py 6530.1.1 17 years ago Barry Warsaw The start of a setuptools conversion. All the Mak 1.6 KB Diff Download File
versions.py 6530.1.2 17 years ago Barry Warsaw Other than contrib files, convert all imports of m 22.2 KB Diff Download File