| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/ |
|
| | |
|
| |\
| |
| |
| |
| | |
plugin architecture. Update the Echo command to the new architecture. Add a
doctest of course.
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
the mailman-administrivia package.
Update the README.txt and NEWS.txt files for the first alpha release, and add
an ALPHA.txt file to describe what little you can do with the alpha release
<wink>.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
put the Message-ID first in the log message. Dict the MsgSafeDict class as
unnecessary now.
Fix the DEFAULT_MSG_FOOTER.
Back out an earlier unnecessary change for virgin queue pipelines.
Add a bunch of debugging to the mail Runner loops.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a VirginPipeline for the virgin queue, which is mostly the same as the
BuiltInPipeline, so refactor the commonality into a BasePipeline.
- Simplify and update bin/dumpdb.
- Rename inject() to inject_text() and add inject_message(). Both interfaces
will be useful.
- When enqueuing and not using _plaintext, use the highest pickle protocol
supported.
- Fix the archive runner's calculation of whether to clobber the message's
Date: header.
- Fix the outgoing queue's deliver_after calculation.
- Update the virgin queue runner. It doesn't need to inherit from
IncomingRunner any more; it can just execute the 'virgin' pipeline.
|
| |
|
|
|
|
|
|
|
| |
- Lots of Pipermail work just to get it to play nice with the new apis.
- Fix ARCHIVE_SCRUBBER
- Lots of changes to mailman.app.archiving, especially to provide an
adapter from the new MailingList api to the one expected by
Pipermail (e.g. archive_dir()).
- Add a test of the basic pipermail archiver.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
including:
- MailingList.full_path -> IMailingList.data_path and implement this as a
property on the MailingList object.
- Fix the 'decorate' handler to work with the new member/user data model,
instead of the old MemberAdaptor interface.
- Fix a few problems with the smtp-direct handler, though this needs more work
and tests.
- Add some debug logging to both the test smtplistener and the SMTPServer
proxy. Fix the proxy's consumption of messages from the thread queue.
- Fix the smtplistener's calculation of the X-Peer header.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
should be tests for these. :/
- Disable MTA hack in remove_list()
- Convert bin/inject to SingleMailingListOptions
- Remove an unnecessary import
- Fix qrunner restarts in bin/master
- Add IMailinglist.pipeline so that this value persists
- Move Runner.SLEEPTIME into the __init__() so that it isn't hurt by order of
configuration initialization.
|
| |\ |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
| |
for putting exceptions close to the interfaces where they are used.
MakeRandomPassword() returns unicodes now.
Flesh out bin/add_members.py and bin/list_members.py
|
| |
|
|
|
|
| |
arguments.
Added a MultipleMailingListOptions subclass.
|
| |
|
|
|
|
| |
- Add an options base class that groks unicode argument types
- Rename newlist to create_list
- Update list_lists, master, qrunner
|
| | |
|
| | |
|
| |
|
|
| |
have been started, no matter what.
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
the txn() decorator. It no longer requires a _withtxn() method since it knows
how to commit and abort the current transaction using the global database.
Flesh out the lmtp.txt doctest with documentation for both bogus and valid
subaddresses.
|
| | |\ |
|
| | |\ \ |
|
| |\ \ \ \
| | |_|/
| |/| | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
the help for bin/testall --randomize for details), but it still better than
nothing.
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
doesn't remain in a locked state, hosing other processes.
- Move a commit to the end of StockDatabase._create()
- Add an abort to the Exception clause if there's an error while dequeuing
- Add an abort to the Exception clause if there's an error while finishing
- Add a commit after _doperiodic() and _shortcircuit() is called.
- Add a commit to the end of cleaning_teardown() in test_documentation.py
This now makes all the tests pass even when all of them are run.
|
| | |/
| |
| |
| | |
implementation of these to StockDatabase. Expose 'commit' to doctest globals.
|
| |\ \
| |/
|/| |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor the TestableMaster class so that doctests don't need to do all the
threading and event fiddling themselves. Hide all that in the test class.
In bin/master, add the -r/--runner option to allow overriding the set of queue
runners to start from the command line. This is much more convenient than
fiddling the config file (which is still supported), and it allows us to start
a subset of the runners from the TestableMaster class.
Refactor the calculation of queue runner shortcut names into
Configuration.add_qrunner(). This way, it's easy to share between bin/qrunner
and bin/master.
Use pkg_resource in bin/testall to create the test configuration file. We're
still using mailman.__file__ as the target to os.walk() though, so this
conversion isn't complete.
In bin/testall, update to the new convention of putting .options and
.arguments on the parser instance, so we only need to pass back one thing.
In test_documentation.py, use config.verbosity instead of
config.options.verbosity. Wind that through to bin/testall while we're at
it.
Update loginit.py so that defaults for all the logging options can be found in
a [*] section. This is better than [DEFAULT] because the latter requires
%-interpolation and still requires each sublogger to be specified explicitly.
Now we just set values in the [*] section and have them apply to all loggers.
Allow for passing bin/testall's -v and -e options to any subprocesses that get
created, e.g. via the TestableMaster. Now testall will write a logging.cfg
file with a [*] entry as appropriate.
It's DEFAULT_DATABASE_URL now, not SQLALCHEMY_ENGINE_URL.
StockDatabase._reset() requires that the store be rolled back before it's
reset. Otherwise if there are outstanding transactions, the reset will fail
with an OperationalError.
Update the LMTPRunner. Have it return a 501 error if the message has defects.
Most defective messages are spam. Make the LMTPRunner startable and
stoppable. Just because it's asyncore based doesn't mean that's not possible
<wink>.
Enable the LMTP runner in tests.
|
| |
|
|
|
|
|
|
|
|
| |
Remove an outdated comment.
Add an SMTPServer wrapper class to the test helpers module. This will be used
in tests of the outgoing queue, which actually needs to talk to an SMTP
server. Adapt the smtpd-based server to being run under thread control, and
remove some now unnecessary code.
|
| | |
|
| |
|
|
|
|
| |
easier to test, and to use in other tests. Do this by moving most of the guts
of master.py into a class that can be subclassed, and thus run in a subthread
to avoid blocking the test. We don't need to sleep anymore.
|
| | |
|
| |
|
|
| |
wasn't waiting on all the children before it exited itself.
|
| |
|
|
|
|
|
|
|
|
|
| |
this considerably, since it now just checks the permissions, handles command
parsing, and then just (in the child) execs master.py. master.py handles the
log files, etc.
Added 'BIN_DIR' to the configuration object. Remove references to
instance.cfg in the comments; that was never implemented.
I still need tests for both mailmanctl and master.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functionality of mailmanctl into a separate master watcher script. mailmanctl
has not yet been updated but that'll happen next.
Fix DELIVERY_MODULE to name a handler instead of a module.
Change make_instance to use pkg_resources instead of module.__file__.
Change the qrunner and master processes coordination so that the qrunners are
not restarted on SIGINT, because otherwise C-c just doesn't work. Now SIGUSR1
is how we'll implement 'mailman restart'.
Add a database commit so that initializing the schema doesn't lock the sqlite
database. Also, don't try to initialize the schema if the tables already
exist. Use some sqlite magic to do this test.
Move mailman.cfg.in into a new package Mailman/extras inside the tree. Also,
MAILMAN_UID and MAILMAN_GID should be integers not strings.
Convert the command runner to use an IHandler instance instead of handler
module. Similarly for the outgoing runner, DELIVERY_MODULE now names an
IHandler instance instead of a handler module.
|
| |
|
|
|
|
|
|
|
| |
this module, in favor of moving exceptions into the interface modules that
they are appropriate for.
For now, this is just the low-hanging fruit.
Along the way, clean up by reSTifying some interfaces and implementations.
|