summaryrefslogtreecommitdiff
path: root/src/mailman/commands (follow)
Commit message (Collapse)AuthorAgeFilesLines
* encrypt_password(): New convenience function for ensuring that a password isBarry Warsaw2011-04-082-3/+4
| | | | | | | | | | | | | | | 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-162-2/+3
|
* Happy New Year.Barry Warsaw2011-01-0117-17/+17
|
* Because it was just to damn confusing, rename IAddress.address toBarry Warsaw2011-01-015-39/+55
| | | | | | 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-222-0/+8
| | | | | | 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-223-1/+117
| | | | | | | | | | | | | 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.
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-083-4/+0
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Many documentation fixes for better Sphinx output.Barry Warsaw2010-09-0813-33/+91
|
* CheckpointingBarry Warsaw2010-05-061-1/+1
|
* Refactor the actual imports into a utility. This leaves the command toBarry Warsaw2010-05-062-54/+4
| | | | process just the front-end.
* * A start to import of Mailman 2.1 config.pck files.Barry Warsaw2010-04-052-2/+112
| | | | * Move DigestFrequency from mailinglist to digests.
* Tests for import.Barry Warsaw2010-04-042-0/+93
|
* List-Post header should be retained in MIME digest messages (LP: 526143)Barry Warsaw2010-03-281-2/+2
|
* * bin/info -p/--paths -> -v/--verboseBarry Warsaw2010-03-281-2/+2
| | | | * Make sure all paths are absolute
* More fixes to the start up procedure. The root cause of the fix is that whenBarry Warsaw2010-03-281-0/+3
| | | | | | | | | | | | | | | | | | var_dir in the config file is a relative path, the bin/master and bin/qrunner subprocesses end up creating another hierarchy under $VAR_DIR. This is because 'bin/mailman start' chdirs to $VAR_DIR before starting master. The fix involves putting the absolute path to $VAR_DIR in the $MAILMAN_VAR_DIR environment variable. If the configuration file reader sees this, it uses the value instead of $var_dir from the configuration file. Another change is to remove qrunner's --subproc/-s option and stick this in the environment as well, using $MAILMAN_UNDER_MASTER_CONTROL. Other fixes here include: * Deciphering the master lock file contents correctly * Reformatting the error message so that it fits in 79 columns when prefixed by argparse error info.
* * Fix two type specifications in argparse.Barry Warsaw2010-03-031-2/+2
| | | | * Update printing of version string to avoid argparse DeprecationWarnings.
* Checkpointint support for different path layouts, allowing us to optionallyBarry Warsaw2010-01-275-5/+65
| | | | | | | | 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-232-1/+109
|
* Add filtering by delivery mode.Barry Warsaw2010-01-232-0/+66
|
* -o/--outputBarry Warsaw2010-01-232-6/+45
|
* Refactoring and basic tests for membership display.Barry Warsaw2010-01-232-17/+87
|
* For 'bin/mailman members':Barry Warsaw2010-01-232-17/+16
| | | | | | * -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.
* Happy New Year.Barry Warsaw2010-01-0115-15/+15
|
* * Add REST interface for joining a mailing list.Barry Warsaw2009-12-281-2/+2
| | | | | | * add_member() now returns the newly created IMember. * Reorganized several exceptions and exposed them to the REST API. * Added NoSuchListError.
* IRegistrar is now a utility; it doesn't need to be adapted from an IDomain.Barry Warsaw2009-12-123-48/+88
| | | | | | | 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
| |
* | IRegistrar.register() now requires a mailing list argument. This fixes theBarry Warsaw2009-12-101-1/+1
| | | | | | | | problem where the confirmation message doesn't know where to come from.
* | * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-103-5/+8
|/ | | | | | | | * 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.
* Typo.Barry Warsaw2009-12-101-0/+1
|
* Add missing import.Barry Warsaw2009-12-101-0/+2
|
* Migrate unshunt to the bin/mailman command.Barry Warsaw2009-12-102-0/+214
|
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-086-17/+84
| | | | | | | | * 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-062-7/+39
|
* Add tests for -leave with one of your alternative addresses.Barry Warsaw2009-12-062-2/+39
|
* Implement the 'leave' email command.Barry Warsaw2009-12-062-6/+55
|
* * Fix a test based on updated output.Barry Warsaw2009-12-063-2/+77
| | | | | | | | | * Add a stub for the -confirm email command * Add stubs for -leave and -unsubscribe * Remove the crufty (and broken) 'tojoin' 'toleave' and 'toconfirm' metadata keys for synchronizing between lmtp and the command runner. Replace this by putting the subaddress recognized by lmtp into the metadata and having the command runner look at the subaddress.
* * Mostly eradicate mentions of mailmanctl.Barry Warsaw2009-12-051-5/+5
| | | | * In most human readable text, qrunner -> queue runner
* Replace the old bin/dumpdb with 'bin/mailman qfile'.Barry Warsaw2009-12-042-0/+163
|
* fix a testBarry Warsaw2009-11-291-9/+9
|
* Fix a test and make Sphinx happy.Barry Warsaw2009-11-281-2/+2
|
* Convert bin/genaliases to bin/mailman aliasesBarry Warsaw2009-11-282-0/+126
|
* When no arguments are given to 'bin/members', print a list of all the mailingBarry Warsaw2009-11-282-3/+27
| | | | | | | list's member addresses and real names. Change the default LMTP server port to 8024, since 24 is the default (for postfix) but we don't want to require root.
* Rework the 'bin/mailman lists' arguments to be more likely useful in theBarry Warsaw2009-11-282-58/+77
| | | | common case.
* Moderate testing of the withlist command.Barry Warsaw2009-11-262-1/+123
|
* Flesh out --runBarry Warsaw2009-11-261-12/+40
|
* * The start of a conversion of bin/withlist to bin/mailman withlistBarry Warsaw2009-11-262-1/+188
| | | | | | | | * Add lots of debugging to the SMTP delivery chain * Move the VERP calculation to the deliver module, since this is the central place we do delivery. For example, when it was in to_outgoing, other routes for injecting the message may not have been verp'd. to_outgoing is now really simple.
* Add a development mode setting which changes the basic behavior of mailman.Barry Warsaw2009-11-243-10/+61
| | | | | | | | | | | | | | The only thing it does currently is force the recipients in the low level connection code to a hard-coded address. Also: * Fix the inject command's --filename/-f argument * Make inject's LISTNAME required * When inject reads from stdin, capture C-c and print a nicer message * Extend the members command so that blank lines and lines starting with # are ignored. * members command should not fail when an address is already subscribed. Just warn and continue.