| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
package.
|
| |\ |
|
| | |
| |
| |
| |
| | |
database support goes in mailman.database. Move stuff out of
mailman/database/__init__.py.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
SMTP.sendmail().
Handle SMTPRecipientsRefused just like smtp_direct.py.
Hack the test mail server to be able to generate failures. SMTP responses
must be bytes (don't forget we're using unicode literals).
|
| | | |
|
| |/
|
|
| |
Add IMailTransportAgentDelivery and begin to flesh out the doctest.
|
| | |
|
| |
|
|
| |
utility.
|
| |
|
|
| |
IUserManager utility.
|
| | |
|
| |
|
|
|
|
|
| |
tasks. This also let's the bin/mailman command sort its subcommands for help
printing.
Add the outline of a 'members' subcommand.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
now the only subcommand is 'lists' which displays all mailing lists like the
old bin/list_lists command did (which is now removed).
Remove bin/version since 'bin/mailman --version' does this for us.
Simplify the calculation of the bin scripts; there will be many fewer of them.
Extend i18n to use a class based structure. By default, all i18n strings are
dedented after translation and substitution, which improves command line
help. The class structure allows for overriding this behavior.
|
| |
|
|
|
| |
Also, extend the ListManager so that it implements IResolvePathNames, so that
it can get() sub-mailing lists.
|
| |
|
|
|
|
| |
the improvement of the publication's handleException() method.
Pick some lint in traverse.py.
|
| | |
|
| |
|
|
|
|
| |
return an HTTP 400 error, though it does not seem to work.
Expose list creation through the API.
|
| |
|
|
|
|
| |
* Better titles in the IMailingList interface.
* Expose the real_name attribute.
* Refactor URL mappers.
|
| |
|
|
|
|
|
|
|
| |
webserver.
Fix the https/http urls.
Add the adapter for HTTPCharsets so POSTs work properly. Nice little cargo
cult from lazr.restful.
|
| |
|
|
|
|
|
|
| |
Add an IDomainManager and a global domain manager which can be gotten by
adapting the global config object.
Add an IDomainCollection interface for exposing the domain manager onto the
API.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add get_mailing_lists() which is used just for the web interface. Because of
a bug in lazr.restful, this cannot be a generator.
Similar change in IDomainSet.
Instrument IListManager to be vended through the api.
The REST server must be run in a separate process since SQLite does not like
objects created in one thread to be used in another thread. Note that this
breaks the domain.txt test, but domains really need to be in the database
anyway.
|
| |
|
|
|
|
|
| |
* Get rid of in-Python adapter registration in favor of ZCML. Eventually, I'd
like to get rid of the ZCML.
* Set the view_permission to None, but it's still not right.
* Add IDomainSet and an adapter from Configuration to IDomainSet.
|
| |
|
|
|
| |
runner flag to indicate whether the qrunner parent process should intercept
signals or not. The REST server should not intercept signals.
|
| |
|
|
|
|
|
|
|
| |
* Use the source version of lazr.restful until it's cheeseshopped.
* IHasGet -> IResolvePathNames
* path_override -> None; we don't need this
* Simplify publication. We don't need anything fancy, except that what sucks
is that it seems like we need to unwrap the security proxy in callObject()
* Adaptation to IAbsoluteURL still doesn't work right.
|
| |
|
|
| |
understand. Cargo culting FTW.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Add infrastructure that the first REST interface will use, i.e. providing the
Mailman and Python versions.
Update bin/version
|
| |
|
|
|
|
|
|
| |
Refactor the finding of components so that it's much easier to find and
register the ones that come with Mailman by default.
Move all the old cmd_*.py commands into the attic. These will eventually be
ported to the new framework.
|
| | |
|
| |
|
|
| |
database class in the configuration file.
|
| |
|
|
|
| |
set. Make this possible by moving list_id to an attribute of the MailingList
object instead of hard-coding its calculation in cook_headers.py.
|
| |
|
|
|
|
|
| |
* Add an adapter from mailing lists to acceptable alias set. Use this instead
of the old acceptable alias interface, which is not removed.
* Add contentfilter table
* Add a bunch of missing docstrings
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Make it explicit to get the last digest (I could imagine an user selecting not
to). Actually add tests for this.
Start to get rid of 'from storm.locals import *' in favor of more specific
imports. Start to use Store.of() instead of config.db.store where we can.
Rework (delivery)MemberRosters to use the Member attributes. This ensures
that the layered lookup happens at the expense of query optimization.
Sundry and various cleanups.
|
| |
|
|
|
|
|
|
|
| |
inject_message() grows a keyword argument dictionary which gets merged into
the message metadata.
Move NODELTA into the autorespond interface as ALWAYS_REPLY.
Convert the integer response values into the ResponseAction enum.
|
| |
|
|
|
| |
testing harness. Remove the {admin,postings,request}_response attributes, but
these are not apparently tested.
|
| | |
|
| |
|
|
|
|
|
| |
language manager stuff into a separate Language class, and be clearer in the
APIs about whether we want a language code or a Language instance.
The impetus to this was to get rid of Utils.GetCharSet(), which is done.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves actual digest creation and sending into a new queue runner. That
way, digest creation does not block the main incoming processor. Lots of code
clean up and reorganization too, and many fixes.
digest_last_sent_at: Make this a DateTime
digest_size_threshold: Make this a Float
digest_volume_frequency: Make this an Enum
DigestFrequency: new enum
Fix up IMailingList interface to reflect reality.
In Runner base class, allow for msg.get_sender() to return a False value. If
this happens (as it can with the empty marker messages used to signal the
digester that there's work to do), just use the list's preferred language.
Give the retry.py and incoming.py queue runner modules some proper epilogues.
The EmptyingRunner (for testing) logs itself as the runner its wrapping.
The digest file name now ends in .mmdf since that's the format we're using.
Add 'create_list' to doctest globals.
Add a Mailbox class to add support for the context manager protocol.
|
|
|
correctly regardless of how it's used.
|