summaryrefslogtreecommitdiff
path: root/src/mailman/commands
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge Abhilash's latest revisions.Barry Warsaw2014-10-111-2/+0
|/ /
* | add central alembic configAbhilash Raj2014-10-031-4/+1
| |
* | Fix the test suite.Barry Warsaw2014-10-021-1/+1
| | | | | | | | | | * Fix a couple of typos. * Make the script_location and alembic_scripts a resource paths.
* | Migrations, with cleanup by Barry.Barry Warsaw2014-09-271-0/+65
|\ \
| * | add autogenerate switch that generates to create migration scripts automaticallyAbhilash Raj2014-09-251-3/+10
| | |
| * | add new command `mailman migrate` to migrate the new schema on the old databaseAbhilash Raj2014-09-251-0/+51
|/ /
* | Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-2816-93/+95
| | | | | | | | | | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* | Trunk mergeBarry Warsaw2014-04-1424-27/+26
|\ \
| * | Several internal improvements:Barry Warsaw2014-01-061-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New events: - ConfirmationNeededEvent is triggered when a pendable requiring confirmation is created. This allows us to define an event handler for this event which sends the user notification. - SubscriptionEvent is triggered when a member is added to a mailing list. This lets us define an event handler which sends the welcome message. * send_welcome_message() now takes a member parameter instead of an address, which lets us directly access the member's delivery mode and user display name (if the member has a user, which it might not in some cases). * Use the list id in the pendable record instead of the list name for robustness (the latter can change but the former is permanent). * Test more registration conditions. * In the bin/runner command line switch handling, default `verbose` to None instead of False. This makes it work better with nose's -E switch (log to stderr). * In call_api(), if a POST, PUT, or PATCH method is used and data is None, encode the empty dictionary; seems like the behavior of urlencode() has changed, so this is safer. * Fix style and pyflakes warnings.
| * | Bump copyright years.Barry Warsaw2014-01-0124-24/+24
| | |
* | | Aurélien Bompard's import-from-2.1 branch, with cleanup and fixes.Barry Warsaw2014-04-141-2/+6
|\ \ \ | |/ / |/| |
| * | Merge from the main branchAurélien Bompard2013-10-221-1/+6
| |\ \ | |/ / |/| |
| * | Make sure the imported preferred_language exists, and work around Python ↵Aurélien Bompard2013-10-081-2/+6
| | | | | | | | | | | | issue 9666
* | | * When --sort is used, watch out for continuation lines, which shouldn't getBarry Warsaw2013-10-181-1/+6
|/ / | | | | | | | | | | sorted. * Fix stderr output in sub-runners, and move the -e test option to -E.
* | * `mailman conf` now has a `-t/--sort` flag which sorts the output by sectionBarry Warsaw2013-09-013-5/+43
|\ \ | | | | | | | | | | | | and then key. Contributed by Karl-Aksel Puulmann and David Soto (LP: 1162492)
| * | Added an example to the docsKarl-Aksel Puulmann2013-04-061-1/+8
| | |
| * | Fixed tests broken by previous commitKarl-Aksel Puulmann2013-04-063-1/+3
| | |
| * | Add --sort flag to mailman conf subcommand (LP: #1162492)Karl-Aksel Puulmann2013-04-051-4/+17
| |/
* | * Use the ``enum34`` package instead of ``flufl.enum``.Barry Warsaw2013-08-272-3/+3
|\ \
| * | Switch to PEP 435 enums from flufl.enums.Barry Warsaw2013-06-182-3/+3
| |/
* / Add enough __init__.py files to make these docs directories discoverable.Barry Warsaw2013-08-261-0/+0
|/
* * When creating the initial file system layout in ``var``, e.g. viaBarry Warsaw2013-03-202-2/+6
|\ | | | | | | | | | | | | ``bin/mailman info``, add an ``var/etc/mailman.cfg`` file if one does not already exist. Also, when initializing the system, look for that file as the configuration file, just after ``./mailman.cfg`` and before ``~/.mailman.cfg``. (LP: #1157861)
| * - Write ./var/etc/mailman.cfg if it doesn't already exist.Barry Warsaw2013-03-202-2/+5
|/ | | | | | | - Use ./var/etc/mailman.cfg if it exists, just after ./mailman.cfg and just before ~/.mailman.cfg. - Add link to FHS - Whitespace normalization.
* Clean up branch:Barry Warsaw2013-03-194-117/+161
| | | | | | | | | | | | | | - 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.
* documentation addedDavid Soto2013-01-231-0/+61
|
* fixed comments and namesDavid Soto2013-01-231-2/+2
|
* usage help improvedDavid Soto2013-01-232-3/+11
|
* using single underscore instead of double underscoreDavid Soto2013-01-231-18/+18
|
* fixed some errorsDavid Soto2013-01-231-3/+7
|
* testcases addedDavid Soto2013-01-231-0/+75
|
* - some more minor changesDavid Soto2013-01-231-23/+26
|
* some minor changesDavid Soto2013-01-231-26/+21
|
* basic subcommand to dump configuration valuesDavid Soto david.soto@web.de2013-01-231-0/+119
|
* * Non-queue runners should not create ``var/queue`` subdirectories. Fixed byBarry Warsaw2013-01-201-2/+0
| | | | Sandesh Kumar Agrawal. (LP: #1095422)
* Bump copyright years.Barry Warsaw2013-01-0122-22/+22
|
* * Improve the --help text for the `start`, `stop`, `restart`, and `reopen`Barry Warsaw2012-12-231-4/+4
| | | | subcommands. (LP: #1035033)
* ConfigurationBarry Warsaw2012-11-041-1/+0
| | | | | | | | | | | | | | | ------------- * `[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.
* * `bin/mailman start` was passing the wrong relative path to its runnerBarry Warsaw2012-10-241-3/+7
| | | | subprocesses when -C was given. LP: #982551
* * Added support for Postfix `relay_domains` setting for better virtual domainBarry Warsaw2012-10-122-146/+34
| | | | | | | | support. Contributed by Jimmy Bergman. * `bin/mailman aliases` loses the `--output`, `--format`, and `--simple` arguments, and adds a `--directory` argument. This is necessary to support the Postfix `relay_domains` support.
* * The link between members and the mailing lists they are subscribed to, isBarry Warsaw2012-09-042-2/+2
| | | | | | | | | | | | | | | now via the RFC 2369 `list_id` instead of the fqdn listname (i.e. posting address). This is because while the posting address can change if the mailing list is moved to a new server, the list id is fixed. (LP: #1024509) + IListManager.get_by_list_id() added. + IListManager.list_ids added. + IMailingList.list_id added. + Several internal APIs that accepted fqdn list names now require list ids, e.g. ISubscriptionService.join() and .find_members(). + IMember.list_id attribute added; .mailing_list is now an alias that retrieves and returns the IMailingList. - list_id added (LP: #1024509)
* * Show devmode in `bin/mailman info` output. (LP: #1035028)Barry Warsaw2012-08-172-6/+6
| | | | | | Also, allow doctest cleanups to be tuples, in which case the first item is the callable and the subsequent items are the arguments. Makes for config.pop()'ing much nicer.
* Replace flufl.password with passlib, albeit with a wrapper.Barry Warsaw2012-06-271-1/+1
|
* General code cleanup.Barry Warsaw2012-04-2519-139/+120
| | | | | | | | - Add explicit dependency on zope.event in setup.py. - Use Python 3 compatible syntax for specifying that a class implements an interface, i.e. the @implementer class decorator. - print_function futures. - Whitespace normalization.
* - Convert the CLI modules to use print_function.Barry Warsaw2012-04-223-22/+21
| | | | | - Use the @transactional decorator. - Use the transaction context manager.
* Merge branch from Andrea Crotti, with a minor cleanup:Barry Warsaw2012-04-061-2/+1
|\ | | | | | | | | - There is a tiny change from the version already merged, because now sys.ps1 is set correctly even if readline/rlcompleter fail..
| * the sys prompt can be safely set also when the readline import failsAndrea Crotti2012-03-141-2/+2
| |
* | * The `news` runner and queue has been renamed to the more accurate `nntp`.Barry Warsaw2012-03-311-1/+1
| | | | | | | | Beta testers can can safely remove `$var_dir/queue/news`.
* | ArchitectureBarry Warsaw2012-03-262-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------ * Internally, all datetimes are kept in the UTC timezone, however because of LP: #280708, they are stored in the database in naive format. * `received_time` is now added to the message metadata by the LMTP runner instead of by `Switchboard.enqueue()`. This latter no longer depends on `received_time` in the metadata. * The `ArchiveRunner` no longer acquires a lock before it calls the individual archiver implementations, since not all of them need a lock. If they do, the implementations must acquire said lock themselves. Configuration ------------- * New configuration variables `clobber_date` and `clobber_skew` supported in every `[archiver.<name>]` section. These are used to determine under what circumstances a message destined for a specific archiver should have its `Date:` header clobbered.
* | Merge the Pipermail eradication branch. The scrubber is also removed.Barry Warsaw2012-03-173-61/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Configuration variable `[mailman]filtered_messages_are_preservable` controls whether messages which have their top-level `Content-Type` filtered out can be preserved in the `bad` queue by list owners. * Configuration section `[scrubber]` removed, as is the scrubber handler. This handler was essentially incompatible with Mailman 3 since it required coordination with Pipermail to store attachments on disk. * Schema additions: - mailinglist.filter_action
| * | Eradicate Pipermail. Everything but the scrubber test works. That will takeBarry Warsaw2012-03-153-61/+3
| |/ | | | | | | some new APIs I suspect.