summaryrefslogtreecommitdiff
path: root/src/mailman/commands/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* * Show devmode in `bin/mailman info` output. (LP: #1035028)Barry Warsaw2012-08-171-6/+2
| | | | | | 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.
* General code cleanup.Barry Warsaw2012-04-251-4/+4
| | | | | | | | - 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.
* * 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-172-46/+0
|\ | | | | | | | | | | | | | | | | | | | | | | * 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-152-46/+0
| | | | | | | | some new APIs I suspect.
* | Schema change. After discussion at Pycon, we decided to change "real_name" toBarry Warsaw2012-03-153-12/+12
| | | | | | | | | | | | | | | | | | | | | | "display_name" across the board. * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name` * Schema changes: - real_name -> display_name (mailinglist, user, address)
* | * The Prototype archiver now stores its files in maildir format inside ofBarry Warsaw2012-03-141-0/+1
|/ | | | `$var_dir/archives/prototype`, given by Toshio Kuratomi.
* * The LMTP server now requires that the incoming message have a `Message-ID`,Barry Warsaw2012-03-131-27/+26
| | | | | | | | | | | otherwise it rejects the message with a 550 error. Also, the LMTP server adds the `X-Message-ID-Hash` header automatically. The `inject` cli command will also add the `X-Message-ID-Hash` header, but it will craft a `Message-ID` header first if one is missing from the injected text. Also, `inject` will always set the correct value for the `original_size` attribute on the message object, instead of trusting a possibly incorrect value if it's already set. The individual `IArchiver` implementations no longer set the `X-Message-ID-Hash` header.
* * IPython support in `bin/mailman shell` contributed by Andrea Crotti.Barry Warsaw2012-03-121-3/+16
|\ | | | | | | (LP: #949926).
* | * The experimental `maildir` runner is removed. Use LMTP.Barry Warsaw2012-03-121-1/+0
|/
* Fix welcome_message_uri to do the placeholder interpolations guaranteed in theBarry Warsaw2012-03-041-0/+1
| | | | | | | | IMailingList documentation. Also: * `ILanguageManager.add()` returns the `ILanguage` object just created.
* * A welcome message is sent when the user confirms their subscription viaBarry Warsaw2012-03-041-0/+1
| | | | | | | | | | email. Also: - The user's Full Name is included on the To line of a welcome message. - Clean up some tests. - The welcome_message_uri for lists using the default style is set to mailman:///welcome.txt so a welcome message is sent by default.
* * Added a `help` email command.Barry Warsaw2012-03-014-18/+90
| | | | | | | Also: - updated the 'join' command's descriptions - email commands should now have a short_description. The description (i.e. long description) should not repeat this information.
* * The `join` email command no longer accepts an `address=` argument. ItsBarry Warsaw2012-02-291-1/+1
| | | | | | | | | `digest=` argument now accepts the following values: `no` (for regular delivery), `mime`, or `plain`. Also: - Fix get_queue_messages() to properly sort on the string representation of a header, since it could be a Header instance.
* - Be a little more careful about preparing the SQL statements for executionBarry Warsaw2011-10-221-2/+2
| | | | | | in the database, namely strip out empty lines and comments first, otherwise PostgreSQL spews "empty statement" errors at us. - Down to 4 test failures.
* * `bin/mailman start --force` option is fixed. (LP: #869317)Barry Warsaw2011-10-161-58/+11
| | | | | | | | | | | | * acquire_lock_1(): No need to unlink the tempfile * Start.process(): Don't print error message when the lock is in stale_lock or host_mismatch status and --force has been given. * control.rst: Refactor test code into test_control.py. * test_create.py: To more accurately mimic argparse, FakeParser.error() needs to `sys.exit(1)`. The `SystemExit` must also be caught in the appropriate tests. * logging.py: Locking is now down by the flufl.lock package, so apply the `mailman.lock` configuration to it.
* Fix a shallow test failure.Barry Warsaw2011-09-241-1/+1
|
* Finally, all doctests are named .rstBarry Warsaw2011-09-2313-0/+0
|
* Plumb key=value arguments through to the `bin/mailman inject` command.Barry Warsaw2011-06-151-3/+30
|
* Do not allow a list to be created with a bogus owner address. (LP: #778687)Barry Warsaw2011-06-111-47/+33
|
* Refactor MTA alias creation.Barry Warsaw2011-06-101-13/+61
| | | | | | | | | | | | | * Create an IMailTransportAgentAliases utility that contains all the logic for generating all the aliases for a mailing list, both the fully-qualified ones and the local-part ones. * Add -f and -s options to `bin/mailman aliases` to facilitate outputing the aliases in other formats than the configured one, and for printing out a simple list of the aliases. * IMailTransportAgentAliases -> IMailTransportAgentLifecycle; also add a new definition for IMailTransportAgentAliases
* Major terminology shift:Barry Warsaw2011-06-013-24/+24
| | | | | | | | | | | | | | | | | * Queue runners are now called just 'Runners' since several of them don't manage queue directories. * Ban the term 'qrunner' too. * The master queue runner watcher should now just be called the 'master' or the 'master runner'. * bin/qrunner -> bin/runner * mailman.qrunner log file -> mailman.runner * master-qrunner.lck -> master.lck * master-qrunner.pid -> master.pid Also: * Remove some obsolete files * Begin the .txt -> .rst renaming
* Rename 'queue' directory to 'runners' since not all subprocesses run a queue.Barry Warsaw2011-05-292-2/+2
|
* encrypt_password(): New convenience function for ensuring that a password isBarry Warsaw2011-04-081-2/+0
| | | | | | | | | | | | | | | both encrypted according to a scheme, and a bytes object. add_member(): Use encrypt_password(). cli_members: Give the user a default, user-friendly password. Of course, this will be encrypted so it can't be retrieved, but it can be reset. Passwords are stored as bytes objects, not unicode now. ConfigLayer: Set the default test password scheme to cleartext. General test repair.
* * Give users a unique, random, immutable user id.Barry Warsaw2011-03-181-2/+2
| | | | | * Find users by user_id via the user manager. * Extend the repr of users to include the user id.
* Utils.maketext() and Utils.findtext() are gone.Barry Warsaw2011-03-161-0/+1
|
* Because it was just to damn confusing, rename IAddress.address toBarry Warsaw2011-01-013-24/+40
| | | | | | IAddress.email and IAddress.original_address to IAddress.original_email. From now on we'll use "address" to talk about the IAddress object and "email" to talk about the textual email address.
* Insulate the test environment from the running environment. Sadly, the testBarry Warsaw2010-12-221-0/+4
| | | | | | ports are still hard coded. Also, 'bin/mailman info' dumps the REST root url and credentials.
* * Start to get rid of pylint; it's more trouble than it's worth and pyflakesBarry Warsaw2010-12-221-0/+37
| | | | | | | | | | | | | does a pretty good job anyway. * Remove master.get_lock_data() now that flufl.lock 2.1 provides the same detailed information. * Add WatcherState.none to indicate that the master is not running. * Instrument master_state() and acquire_lock_1() for testing, and add unittests. * LBYL for 'bin/mailman start' so that the error message when the master is already running happens in the foreground process and is more user friendly. * Add 'bin/mailman status' to provide master queue runner status on the command line.
* Many documentation fixes for better Sphinx output.Barry Warsaw2010-09-0813-33/+91
|
* Refactor the actual imports into a utility. This leaves the command toBarry Warsaw2010-05-061-0/+2
| | | | process just the front-end.
* * A start to import of Mailman 2.1 config.pck files.Barry Warsaw2010-04-051-0/+26
| | | | * Move DigestFrequency from mailinglist to digests.
* Tests for import.Barry Warsaw2010-04-041-0/+26
|
* List-Post header should be retained in MIME digest messages (LP: 526143)Barry Warsaw2010-03-281-2/+2
|
* Checkpointint support for different path layouts, allowing us to optionallyBarry Warsaw2010-01-273-1/+46
| | | | | | | | support the Filesystem Hierarchy Standard. This is done through the configuration file. * add a --paths/-p option to 'bin/mailman info' * PIDFILE -> PID_FILE
* Support filtering by delivery status.Barry Warsaw2010-01-231-0/+72
|
* Add filtering by delivery mode.Barry Warsaw2010-01-231-0/+37
|
* -o/--outputBarry Warsaw2010-01-231-0/+25
|
* Refactoring and basic tests for membership display.Barry Warsaw2010-01-231-13/+60
|
* For 'bin/mailman members':Barry Warsaw2010-01-231-5/+6
| | | | | | * -a option uses input_filename internally and a metavar of FILENAME * Change the assertion for when there isn't 1 argument * Do a better job of converting input to unicode.
* IRegistrar is now a utility; it doesn't need to be adapted from an IDomain.Barry Warsaw2009-12-121-45/+85
| | | | | | | This is because registration confirmation messages must come from the mailing list that the subscription request came from. Remove IDomain.confirm_address() since this lives only on the IMailingList now.
* Merge trunkBarry Warsaw2009-12-121-1/+1
|\
| * OS X doesn't have /bin/trueBarry Warsaw2009-12-111-1/+1
| |
* | * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-101-1/+2
|/ | | | | | | | * Fix a few small typos in exception handlers. * Move the initialization of the Zope Component Architecture into the first initialization step. The only reason we couldn't do that previously was because the domain object referenced the config, causing a circularity problem. Refactor the Domain implementation to avoid that.
* Migrate unshunt to the bin/mailman command.Barry Warsaw2009-12-101-0/+145
|
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-083-9/+69
| | | | | | | | * Give IMailingList a .domain attribute which looks up the IDomain for its .host_name. This cleans up a lot of code. * Add a test for the 'confirm' email command. * Suppress blank lines in email command responses. * Make the IDomainCollection a utility.
* Fix some test failures:Barry Warsaw2009-12-082-0/+6
| | | | | * when postfix is not installed * because the Subject values are instances, not strings
* Only a verified address can be used to unsubscribe someone from a mailing list.Barry Warsaw2009-12-061-4/+28
|
* Add tests for -leave with one of your alternative addresses.Barry Warsaw2009-12-061-0/+29
|