summaryrefslogtreecommitdiff
path: root/src/mailman/config (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor MTA alias creation.Barry Warsaw2011-06-101-0/+5
| | | | | | | | | | | | | * 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-38/+41
| | | | | | | | | | | | | | | | | * 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-293-18/+18
|
* Add bounce registration and bounce events.Barry Warsaw2011-05-131-9/+14
|
* Merge bounces branch (still incomplete, but tests pass).Barry Warsaw2011-05-071-1/+1
|\
| * checkpointingBarry Warsaw2011-05-061-1/+1
| |
* | Move the test timeout values into a configuration variable. Set devmode.waitBarry Warsaw2011-05-031-0/+5
|/ | | | to the timeout value you want.
* Fix refactor-o.Barry Warsaw2011-05-011-1/+1
|
* Start the enablement of bounce detection.Barry Warsaw2011-05-011-1/+9
| | | | | | | | | | * Move VERP header extraction to mailman.app.bounces, and ports the implementation to the get_verp() function. * Restore the [mta] verp_regexp value which got lost along the way. * Move mailman.email.utils to mailman.utilities.email and add a test for split_email() * Move specialized_message_from_string() from test_documentation to mailman.testing.helpers.
* Merge passwords into restBarry Warsaw2011-04-083-8/+5
|\
| * add_member()Barry Warsaw2011-04-083-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | - As the most common interface for adding new members (and users), adapt the password storing bit to storing only encrypted passwords in the database. schema.cfg: - Remove the creator_pw_file and site_pw_file as they are obsolete. - Add password_schema key for defining the default password encryption scheme. mailman.sql, user.py: - Store the password as a binary blob instead of as unicode text.
* | Merge passwords into restBarry Warsaw2011-04-071-2/+2
|\|
| * make_user_friendly_password(): Ported from Mailman 2.1.Barry Warsaw2011-04-071-2/+2
| |
* | More fleshing out of the users REST API.Barry Warsaw2011-04-041-0/+4
|/ | | | | | | | | | | | | | * Add a 'uid factory' which allows us to return predictable unique ids for various testing purposes, e.g. user ids. This should work even in the case of cross-subprocess uid generation. * REST access to individual users, or the set of all users. * User objects now have a created_on attribute. * Users can be created through the web, but must have an email address. * Add a [devmode] 'testing' variable for communicating to qrunner subprocesses that we're running in testing mode. This allows us to coordinate factories and such in the qrunner processes. * layers.is_testing() for more consistent API. * Give AddressError a .address attribute for better diagnostics.
* Basic tests for Utils.py findtext(). This will go away, but for now it'sBarry Warsaw2011-03-152-0/+12
| | | | useful for ensuring current functionality.
* Eliminate Utils.get_pattern() and in the process, completely revampBarry Warsaw2011-02-251-0/+5
| | | | | | | | | subscription bans so as not to have to rely on BLOBS or pickles in the database. Also, be sure to include .rst files in both doctests and in the packaged tarballs. With the now awesome reST mode for Emacs, I plan to rename all .txt doctest files to .rst.
* Implement the email address validator as a utility for easier pluggability.Barry Warsaw2011-01-061-3/+8
|
* LP: #490044 - Support SMTP AUTH.Barry Warsaw2011-01-021-1/+4
| | | | | Added smtp_user and smtp_pass options to the [mta] section to support logging into the SMTP server. All the underlying support is in Python's smtplib.
* Happy New Year.Barry Warsaw2011-01-014-4/+4
|
* Add Basic Auth support to the REST API, given by Jimmy Bergman, with styleBarry Warsaw2010-10-111-1/+7
|\ | | | | | | corrections by Barry.
| * Add HTTP authentication to the REST APIroot2010-09-281-0/+5
| |
* | Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-3/+0
|/ | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* List-Post header should be retained in MIME digest messages (LP: 526143)Barry Warsaw2010-03-281-1/+1
|
* * bin/info -p/--paths -> -v/--verboseBarry Warsaw2010-03-281-5/+5
| | | | * 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-2/+9
| | | | | | | | | | | | | | | | | | 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.
* * Use IP address for localhost instead of name because Postfix only uses DNSBarry Warsaw2010-03-272-3/+5
| | | | | | | | to find LMTP server, and DNS typically does not return a 'localhost' query. LP: 544477 * Ensure that the environment doesn't cause test failures. LP: 543618 * for [paths.dev] layout, put directories inside ./var to reduce current working directory pollution.
* More refactoring:Barry Warsaw2010-02-251-3/+3
| | | | | | | * Rework the [webservice] section to be more useful to restish. * Get rid of the resource_type_link * Add and test some helpers. * Move the root resources to a different module.
* Remove some files that are not needed for restish implementation.Barry Warsaw2010-02-251-2/+0
|
* Complete the conversion to restish. All the tests pass and we're now actuallyBarry Warsaw2010-02-241-0/+5
| | | | | | RESTful. We have to use httplib2 to get DELETE and PUT. This is a prototype and could still use much cleanup.
* Rip out lazr.restful and replace it with restish. This simpifies a lot of theBarry Warsaw2010-02-231-1/+3
| | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* The qrunner section's path variable should use $QUEUE_DIR to pick up theBarry Warsaw2010-01-281-1/+1
| | | | | layout configuration. The directory is now named 'queues' instead of 'qfiles'.
* Checkpointint support for different path layouts, allowing us to optionallyBarry Warsaw2010-01-273-28/+157
| | | | | | | | support the Filesystem Hierarchy Standard. This is done through the configuration file. * add a --paths/-p option to 'bin/mailman info' * PIDFILE -> PID_FILE
* Happy New Year.Barry Warsaw2010-01-014-4/+4
|
* * Refactor devmode settings, so that they live in one section.Barry Warsaw2009-12-121-11/+12
| | | | * Fix some tests.
* IRegistrar is now a utility; it doesn't need to be adapted from an IDomain.Barry Warsaw2009-12-121-6/+5
| | | | | | | 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.
* * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-102-5/+13
| | | | | | | | * 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.
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-081-6/+2
| | | | | | | | * 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.
* When no arguments are given to 'bin/members', print a list of all the mailingBarry Warsaw2009-11-281-1/+1
| | | | | | | 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.
* Add a development mode setting which changes the basic behavior of mailman.Barry Warsaw2009-11-241-1/+14
| | | | | | | | | | | | | | 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.
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-0/+3
| | | | package.
* Branch mergeBarry Warsaw2009-11-032-10/+10
|\
| * database/model reorganization. Model classes go in mailman.model. StockBarry Warsaw2009-10-102-10/+10
| | | | | | | | | | database support goes in mailman.database. Move stuff out of mailman/database/__init__.py.
* | smtp_direct.py is dead and gone.Barry Warsaw2009-11-031-1/+1
| |
* | Refactor BulkDeliver so that the guts can be used in VERPDeliver.Barry Warsaw2009-11-011-10/+9
|/ | | | Rename the substitution variables in verp_format.
* Add bin/mailman reopen and bin/mailman restartBarry Warsaw2009-10-061-4/+4
| | | | Add .log prefix onto default logging file names.
* As before, replace config.db.requests and config.db.pendings with utilities.Barry Warsaw2009-08-261-0/+10
|
* Replace the message_store instance on the database with an IMessageStoreBarry Warsaw2009-08-261-0/+5
| | | | utility.
* Remove the user_manager attribute from config.db and expose it as anBarry Warsaw2009-08-261-0/+5
| | | | IUserManager utility.
* Instead of using an adapter, use a utility to get the mailing list manager.Barry Warsaw2009-08-261-6/+6
|
* * Updated NEWS.txt for 3.0a3.Barry Warsaw2009-08-211-0/+6
| | | | | * Use the IListManager() adapter instead of hanging the list manager off of config.db. This makes the code somewhat cleaner.