summaryrefslogtreecommitdiff
path: root/src/mailman/config/config.py
Commit message (Collapse)AuthorAgeFilesLines
...
* add_member()Barry Warsaw2011-04-081-2/+0
| | | | | | | | | | | | - 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.
* Basic tests for Utils.py findtext(). This will go away, but for now it'sBarry Warsaw2011-03-151-0/+6
| | | | useful for ensuring current functionality.
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* 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.
* * 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.
* Checkpointint support for different path layouts, allowing us to optionallyBarry Warsaw2010-01-271-25/+77
| | | | | | | | 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-011-1/+1
|
* * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-101-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.
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-0/+3
| | | | package.
* Wow. Put domains into the database.Barry Warsaw2009-07-161-18/+0
| | | | | | | | Add an IDomainManager and a global domain manager which can be gotten by adapting the global config object. Add an IDomainCollection interface for exposing the domain manager onto the API.
* More REST server updates.Barry Warsaw2009-06-291-1/+9
| | | | | | | * Get rid of in-Python adapter registration in favor of ZCML. Eventually, I'd like to get rid of the ZCML. * Set the view_permission to None, but it's still not right. * Add IDomainSet and an adapter from Configuration to IDomainSet.
* Refactor __import__'s into a separate utility module.Barry Warsaw2009-05-161-3/+3
|
* rsplit -> rpartitionBarry Warsaw2009-05-151-3/+3
|
* Add initialization pre- and post- hooks, configurable in the config file.Barry Warsaw2009-05-151-1/+0
| | | | | | | | | | | This lets you run a bit of Python at various stages of the initialization process. Move the warnings filters to the top mailman package __init__.py so you always get it. lazr.restful is too chatty. The environment variable $MAILMAN_CONFIG_FILE now overrides -C. Hmm, I think we really want it the original way.
* More tests for the REST server, this time, for the queue runner.Barry Warsaw2009-05-101-13/+19
| | | | | | | | | | | Add logging to the RESTRunner. Also, use pkg_resources.resource_stream() instead of .resource_string() where appropriate. Add a bunch of XXX comments for things I need to figure out about the Zope-ish parts of the lazr.restful implementation. Change __getitem__() api to _lookup().
* Much clean up of the language code, though more can be done. Factor out theBarry Warsaw2009-02-121-1/+1
| | | | | | | language manager stuff into a separate Language class, and be clearer in the APIs about whether we want a language code or a Language instance. The impetus to this was to get rid of Utils.GetCharSet(), which is done.
* Clean up and reorganization languages and the language manager.Barry Warsaw2009-02-101-6/+7
|
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+206
correctly regardless of how it's used.