| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
list, to match other tables. Similarly for the `IBounceEvent` interface.
Also:
- Move the acquisition of the database lock during creation to the
IDatabaseFactory.create() method instead of the individual database
initialize() methods.
- In the migration.rst doctest, don't delete teh version records when using
SQLite, since that breaks tests.
- Implement a few nice helpers for database migrations, including
make_listid() for turning a list name into a list id, and pivot() which
simplifies moving the backup table to the final table name.
|
| | | |
| | |
| | |
| | | |
Bompard. (LP: #1227658)
|
| |/ /
| |
| |
| |
| |
| | |
sorted.
* Fix stderr output in sub-runners, and move the -e test option to -E.
|
| |\|
| |
| |
| |
| | |
and then key. Contributed by Karl-Aksel Puulmann and David Soto
(LP: 1162492)
|
| |\ \
| | |
| | |
| | | |
by Sneha Priscilla.
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Assume less knowledge of mail admin (but still fairly demanding).
- Use 'MTA' instead of 'mail server' to distinguish 'software' from 'host'.
- Use 'same host' configuration as example. (The configuration with
lmtp_host == smtp_host == mail.example.com doesn't really make sense, since
they will be equal only if they are both 'localhost'.)
- Give explanations of each of the 6 parameters.
- Provide a link where the confused can find help channels.
|
| | | | |
| | | |
| | | |
| | | | |
- This makes HTML references to 'START.html#contact-us' useful.
- Content is mostly the same, with addition of a reference to IRC.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | |/
| |/| |
|
| |\ \ \
| | |/
| |/| |
|
| |/ /
| |
| |
| |
| | |
``nose2`` test runner. See ``src/mailman/docs/START.rst`` for details on
how to build Mailman and run the test suite.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
reduced. Now, only one `-r/--runner` option may be provided and the
round-robin feature has been removed.
* Fixed REST server crash on `reopen` command. Identification and test
provided by Aurélien Bompard. (LP: #1184376)
Also:
* bin/runner now uses standard argparse instead of ScriptOptions.
* The entire bin/runner machinery has bee reorganized and simplified. There
* is no more Loop class. Signal setting is moved directly into the base
Runner class and overrided in specific subclasses (e.g. RESTRunner which
must cleanly shutdown its TCPServer). The runner exit status is now set
directly on the Runner instance.
* Fixed a few minor style issues.
* In order to cleanly shutdown the RESTRunner's WSGI server, we must start a
subthread which only watches for an Event and then calls the server's
shutdown() method. It has to be this way because the WSGI server itself
(due to interactions with SQLite), and the signal handlers (due to Python's
signal handling semantics) must both run in the main thread. However, the
shutdown() must be invoked from a subthread in order to prevent deadlock.
* Refactor the RESTLayer to eliminate duplication of code.
|
| | |
| |
| |
| | |
docstring for `display_name`. (LP: #1181498)
|
| |/
|
|
| |
signals. (LP: #1184376)
|
| |
|
|
| |
Given by Florian Fuchs. (LP: #1156529)
|
| |
|
|
|
|
|
|
| |
attributes of a mailing list's configuration. (LP: #1157881)
Also:
- template.py should only include 2013 for new copyright years.
- Move some bad-path tests in configuration.rst to test_configuration.py
|
| |
|
|
|
|
|
| |
- Use ./var/etc/mailman.cfg if it exists, just after ./mailman.cfg and just
before ~/.mailman.cfg.
- Add link to FHS
- Whitespace normalization.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix copyright years.
- Sort imports
- "mailmanconf" -> "conf"
- Add "-o -" as a synonym for output to stdout
- Use Python 2.7 style {} format keys.
- Line folding.
- Do be sure to close the file in .process() since it could be called from API
code.
- Clean up the docs.
- Add some tests.
- Acknowledge David Soto.
|
| | |
|
| |
|
|
| |
(LP: #1117176)
|
| |
|
|
| |
Sandesh Kumar Agrawal. (LP: #1095422)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
styles (by name) via `.../lists/styles`. Create a list in a specific style
by using POST data `style_name=<style>`. (LP: #975692)
Also:
* Rewrite list.rst and some of configuration.rst to be more readable as
documentation. Bad-path tests are moved to unittests.
* Some improvements to printing lists as part of REST responses. This
eliminates the ugly u''-prefixes on strings.
|
| |
|
|
|
|
|
|
| |
`legacy-announce` style is added. This is similar to the `legacy-default`
except set up for announce-only lists.
Also, major refactoring of the default style into (hopefully) smaller
composable units.
|
| | |
|
| | |
|
| |
|
|
| |
mailinglist.unsubscribe_policy, mailinglist.subscribe_auto_approval.
|
| | |
|
| |
|
|
| |
removed.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
IMailingList.style_name attribute. The problem is, there's nothing to
guarantee that only one style will get run, and there's no sense in keeping
track of the last style applied.
Also:
* Remove ListManager.create()'s setting of .personalize and .display_name.
These should be left to the styles. (There's no reason why only these two
would be set here.)
* Fix some typos.
|
| |
|
|
|
|
| |
data must contain a single parameter `cleartext_password` and if this
matches, a 204 (No Content) will be returned, otherwise a 403 (Forbidden)
is returned. (LP: #1065447)
|
| |
|
|
| |
subcommands. (LP: #1035033)
|
| |
|
|
|
| |
when a new member joins a mailing list, and an `UnsubscriptionEvent` when a
member leaves a mailing list. (LP: #1047286)
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
moderation. (LP: #1090753)
* Fixed `send_goodbye_message()`. (LP: #1091321)
Also:
* Rewrite and refactor request.rst into better documentation, moving
non-good-path tests into unittests. This doctest now only describes the
IRequests API, while the bulk of the moderation documentation now lives in
moderator.rst.
* When a subscription request is pended, the `delivery_mode` key is now just
the enum item's name, instead of the str() of the enum (which would include
the class name). We know it's always going to be a DeliveryMode enum.
* Refactor out the welcome_message calculation from the welcome_message_uri,
since the same algorithm can apply to goodbye_message_uri.
* When a _Request is retrieved, include the RequestType enum name in the data
dictionary (if there is one) under the `_request_type` key. Some APIs find
this useful, but it's not directly returned otherwise.
* For held messages via the REST API, flatten the `data` key into the
top-level JSON representation, exposing some of the _mod_* keys under their
non-_mod_* equivalent. Ignore _mod_* keys we don't care about. This is an
API change.
|
| | |
| |
| |
| | |
* Fix LP: 1091321; typo in send_goodbye_message().
|
| |/
|
|
| |
(given by Terri Oda). (LP: #1062893)
|
| |
|
|
|
|
| |
addresses and memberships. (LP: #1074374)
Also: Clean up pyflakes warning by removing an obsolete __all__ entry.
|
| |\
| |
| |
| |
| | |
into their own configuration files. Reworked by Barry to use the new external
configuration file support, and to make test suite succeed.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-------------
* `[passlib]path` configuration variable renamed to `[passlib]configuration`.
* Postfix-specific configurations in the `[mta]` section are moved to a
separate file, named by the `[mta]configuration` variable.
* In the new `postfix.cfg` file, `postfix_map_cmd` is renamed to
`postmap_command`.
Also:
* More Python 2.7-isms, use assertMultiLineEqual() directly.
* Added external_configuration() and load_external() to mailman.config.config
* ConfigLayer does a blanket set of [postfix]postmap_command so subtests
generally won't have to.
|
| |\ \ |
|
| | | | |
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | | |
subprocesses when -C was given. LP: #982551
|