summaryrefslogtreecommitdiff
path: root/src/mailman/commands
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Fix issue #3 by searching for the 'master' script in several possible"Barry Warsaw2015-11-011-1/+56
| | | | | | This reverts commit 8c471e067c4b31064c2f69c0afd048a7e756a429. The fix wasn't correct. Now we have a test for the expected behavior.
* * Fix the processing of subscription confirmation messages when the mailingBarry Warsaw2015-10-312-4/+91
| | | | list is set to confirm-then-moderate. (Closes #114)
* Core no longer depends on the standalone `mock` module. (Closes: #146)Barry Warsaw2015-09-222-2/+2
|
* * REST API version 3.1 introduced. Mostly backward compatible with versionBarry Warsaw2015-07-182-3/+5
| | | | | | 3.0 except that UUIDs are represented as hex strings instead of 128-bit integers, since the latter are not compatible with all versions of JavaScript.
* * Messages now include a `Message-ID-Hash` as the replacement forBarry Warsaw2015-06-141-4/+4
| | | | | | `X-Message-ID-Hash` although the latter is still included for backward compatibility. Also be sure that all places which add the header use the same algorithm.
* typofixesSumana Harihareswara2015-04-191-2/+2
|
* Plumb the subscription policy through the REST API.Barry Warsaw2015-04-152-2/+12
|
* Prevent replay attacks with the confirmation token.Barry Warsaw2015-04-152-5/+2
|
* Full test suite passes.Barry Warsaw2015-04-143-53/+53
| | | | | | | | | | | | | * Make sure Registrar.discard() removces any workflow state manager state associated with the token, and that this is flushed to SA. * Adjust the email commands to the new IRegistrar API. * Update the IRegistrar interface. * Add IWorkflowStateManager.discard() and make `count` an attribute/property. * Mark two tests as expected failures due to LP: #1444184.
* Checkpointing.Barry Warsaw2015-04-143-5/+6
|
* Abhilash's branch, pre-cleaning.Barry Warsaw2015-04-063-4/+3
|\
| * add tests, fix docs, remove contact_addressAbhilash Raj2015-03-281-2/+1
| |
| * merge serverowner branchAbhilash Raj2015-03-271-1/+1
| |\
| | * all tests passing now (except doctests)Abhilash Raj2015-03-261-1/+1
| | |
* | | Merging in several refactorings, and a REST API change.Barry Warsaw2015-03-262-34/+23
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backward Incompatible REST API Changes: * The JSON representation for subscription holds now no longer contains the `password` key. Also, the `address` key has been renamed to `email` for consistency with established terminology and other usage. Other Internal API Changes: * IUserManager has grown a `make_user()` method. Refactorings: * Most uses in the test suite of add_member() have been replaced with a new version of the subscribe() helper. This reduces the surface area of this ancient internal API. Eventually add_member() will have to go away or significantly change with the subscription policy workflow. * hold_subscription() as well as the remaining instances of add_member() now use a namedtuple in their arguments, to keep the signatures manageable.
| * | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-38/+16
| | |
| * | * Refactor add_member() so that it uses a RequestRecord namedtuple.Barry Warsaw2015-03-212-19/+30
| |/ | | | | | | | | | | * RequestRecord contains no password key so these are not part of the held requests database any more. * Pending record contains `email` now instead of `address`.
* | Test importing MM2 pickles with BounceInfo. Given by abompard.Barry Warsaw2015-03-271-0/+61
|\ \
| * | Add a test for instance-containing pickle importAurélien Bompard2015-03-262-0/+58
|/ /
* | Additional fixes for importing from Mailman 2. Given by abompard.Barry Warsaw2015-03-251-2/+25
|\ \ | |/ |/|
| * Fixes in the import processAurélien Bompard2015-03-161-1/+11
|/|
| * Fix import from Py2 pickle filesAurélien Bompard2015-02-201-1/+11
| |
* | * ``mailman lists --domain`` was not properly handling its arguments. GivenBarry Warsaw2015-03-133-5/+72
|\ \ | | | | | | | | | by Manish Gill. (LP: #1166911)
| * | list searching by domain fixedManish Gill2013-04-091-1/+1
| | |
* | | Documentation fixes, given by Abhilash Raj.Barry Warsaw2015-03-137-16/+14
|\ \ \ | |_|/ |/| |
| * | change bin/mailman to mailman everwhere in docsAbhilash Raj2015-03-127-13/+13
|/ /
* | * Fix calculation of default configuration file to use when the ``$var_dir``Barry Warsaw2015-01-201-5/+14
| | | | | | | | is created by ``mailman start``. (LP: #1411435)
* | We don't need the 'six' package any more.Barry Warsaw2015-01-045-11/+9
| |
* | Bump copyright years.Barry Warsaw2015-01-0424-24/+24
| |
* | * ``$cwd`` is now an additional substitution variable for the ``mailman.cfg``Barry Warsaw2015-01-031-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | file's ``[paths.*]`` sections. A new ``[paths.here]`` section is added, which puts the ``var_dir`` in ``$cwd``. It is made the default layout. * You can now view the contents of, inject messages into, and delete messages from the various queue directories via the ``<api>/queues`` resource. Also: inject_message() and inject_text() now return the filebase of the file injected into the queue directory.
* | Fix the passing of certain essential environment variables down from theBarry Warsaw2015-01-021-4/+5
| | | | | | | | | | | | | | | | | | `mailman` foreground command, through the `master` command and to the `runner` command. Specifically, to ensure that all agree on $VAR_DIR, we ahve to set MAILMAN_VAR_DIR in the environment that `runner` gets. Also, so that all agree on the same configuration, always pass -C pointing explicitly to the cfg file that the `mailman` command sees.
* | Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-2224-117/+32
| |
* | Trunk merge.Barry Warsaw2014-12-221-0/+2
|\ \
| * \ * Fixed getting non-ASCII filenames from RFC 2231 i18n'd messages. Given byBarry Warsaw2014-12-082-1/+3
| |\ \ | | | | | | | | | | | | Aurélien Bompard. (LP: #1060951)
| | * | Convert unicode instance testing to bytes instance testingAurélien Bompard2014-12-041-1/+1
| | | |
| | * | Do not auto-convert Message headers to unicodeAurélien Bompard2014-12-022-1/+3
| |/ / | | | | | | | | | Fixes: bug #1060951
* | | Pass all command tests.Barry Warsaw2014-12-152-6/+2
| | |
* | | More test repair.Barry Warsaw2014-12-152-5/+4
| | |
* | | Core tests pass.Barry Warsaw2014-12-151-1/+1
| | |
* | | All the REST tests pass.Barry Warsaw2014-12-151-2/+2
| | |
* | | Port some of the commands.Barry Warsaw2014-12-1311-29/+28
| | |
* | | Checkpointing.Barry Warsaw2014-11-308-33/+29
|/ / | | | | | | | | | | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* | Fix a few issues with `python2 -3` compatibility.Barry Warsaw2014-11-191-1/+1
| |
* | Tox-ify the test suite. Now you don't have to create a virtualenv separately.Barry Warsaw2014-11-072-42/+19
| | | | | | | | | | | | | | | | | | | | | | To do this, we have to handle random test ordering, since tox explicitly sets PYTHONHASHSEED. That's a good thing for the future Python 3 port. Removed `mailman conf -t/--sort`; now the output is always sorted. RFC 2369 headers are now sorted before being added. etag repr dicts are sorted using pprint.pformat().
* | Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-301-2/+2
| |
* | Move alembic settings to a separate alembic.cfg.Barry Warsaw2014-10-131-1/+1
| |
* | Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-132-61/+1
|\ \
| * | * remove migrate commandAbhilash Raj2014-10-102-63/+1
| | | | | | | | | | | | | | | | | | | | | | | | * remove alembic.cfg, move contents to schema.cfg * fix import errors in src/mailman/model/language.py * add indexes * change the previously wrong written tablename autoresponserecord * change alembic_cfg to use schema.cfg instead of alembic.cfg
| * | Include Alembic and SQLAlchemy logging into the Mailman logging systemAurélien Bompard2014-10-071-1/+3
| | |
* | | Add the [logging.database] section and use it to configure the SQLAlchemy andBarry Warsaw2014-10-121-0/+1
| | | | | | | | | | | | Alembic loggers.