| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
correctly regardless of how it's used.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* Turn on absolute_import and unicode_literals everywhere, and deal with the
aftermath.
* Use 'except X as Y' everywhere.
* Make the module prologues much more consistent.
* Use '{}'.format() consistently, except for logger interface.
* Because of the problems with calling ** args with unicode keywords, hide
calls to Template.substitute() behind an API.
|
| |
|
|
|
|
|
|
|
|
|
| |
lazr.config 1.1 now has everything we need, so we don't need the special
develop hack.
make_instance is no longer necessary.
Refactor the style stuff into their own directory.
Finally! Move the delivery module into the mailman.mta package.
|
| |
|
|
| |
suite does not yet work though.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Fix some typos in Utils.py
Fix add_members and list_members
Add a testing MTA.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
convenient testing, if -C is not given, then the environment variable
MAILMAN_CONFIG_FILE is consulted.
- Mailing lists no longer have a .web_page_url attribute; this is taken
from the mailing list's domain's base_url attribute.
- Incoming MTA selection is now taken from the config file instead of
plugins. An MTA for Postfix+LMTP is added. bin/genaliases works again.
- The LMTP server now properly calculates the message's original size.
- If a message has no Message-ID, the stock archivers will return None for
the permalink now instead of raising an assertion.
- IArchiver no longer has an is_enabled property; this is taken from the
configuration file now.
- In bin/create_list, fixed a unicode problem when the language is defined in
the configuration file.
- Fixed bin/dumbdb, bin/list_lists, bin/remove_list, bin/unshunt, and
bin/mailmanctl
- config.archivers is a property now, not a dictionary that needs
initialization from plugins.
- IMailTransportAgent interface has been added.
|
| |
|
|
|
| |
* Change setup.py to use gettext's msgfmt command
* Fix typo
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Rewrote start_qrunners() for new lazr.config based configuration.
ReopenableFileHandler.reopen() given a default filename argument for reopening
to a different file. Useful in tests.
|
| |
|
|
|
|
|
|
|
| |
More temporary config -> Defaults changes.
More fixes to smtp_direct.py.
Other queue runner fixes, including allowing make_testable_runner() to take an
optional 'name' which overrides the default class-calculated name.
|
| |
|
|
|
|
|
|
|
|
| |
options to bin/test.
More test repair, even though it's cheating. Use a bunch of variables from
Defaults.py even though these will have to be moved to the schema.cfg.
Update logging initialization to consult the propagate flag from the command
line. Also skip mailman.root since this is not a valid logger.
|
| |
|
|
|
|
|
|
| |
Add .push() and .pop() methods to the Configuration object.
Put the 'config' object in the globals of doctests.
Add some test layers for setting up the configuration and the SMTP server.
|
| |
|
|
|
|
|
|
|
|
| |
mailman.configuration -> mailman.config.config
mailman.initialize -> mailma.core.initialize
mailman.loginit -> mailman.core.logging (yay future absolute imports!)
Convert all configurations to lazr.config, though some legacy still remains,
and I haven't been able to remove Defaults.py yet. Added as_boolean() and
as_log_level() helpers for explicit type conversion. Added a schema.cfg.
|
| | |
|
| | |
|
| |
|
|
|
| |
that's part of the 'application', i.e. non-essential to the core functionality
is left in mailman.app. This division of labor is still formative.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
the Pipermail, Prototype, and MailArchiver plugins into separate modules.
Put the archives registry on the config object and initialize it at the right
time.
Update plugin entry points.
|
| |
|
|
| |
mailman.testing should contain any support for running the tests.
|
| |
|
|
|
|
|
|
|
| |
using the current concept of the hash. This can change, but at least now I
have the interfaces and infrastructure to support this header. Of course,
Pipermail doesn't support a permalink, so that archiver no-ops.
Add an adapter to provide the interface that Pipermail requires over and above
the IMailingList interface. Add an is_enabled flag to IArchiver.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
can be any number of them.
get_list_url() -> list_url()
get_message_url() -> permalink()
Only add Archived-At header if mlist.archive is set.
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|