summaryrefslogtreecommitdiff
path: root/src/mailman/config/schema.cfg (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix coverage, deprecate, but run non-plugin (post|pre)_hooks.pluggable-componentsJ08nY2017-08-071-1/+8
|
* Add new logger which plugins can use.J08nY2017-08-071-0/+4
|
* Add optional external configuration to plugins.J08nY2017-08-071-0/+8
| | | | | - Adds an optional 'conriguration' option similar to the one in [mta] which plugins can use to load their specific configs from.
* Add per-plugin hooks, add docs about plugins.J08nY2017-08-071-8/+4
| | | | | | | | | | | | | | | - Removes pre_hook, post_hook and ext_dir. With the latter being unused. Warns on startup if the hooks are present in config. - Adds IPlugin interface with pre_hook and post_hook methods. - Adds 'class' config parameter to plugins, which can be set to a class implementing the IPlugin interface, it will be initialized once on Mailman's startup, then before the DB setup the pre_hook will be run, after DB and other components the post_hook will be run. Plugin instances are stored in the config.plugins dict, with keys being their configuration section names.
* Add pluggable components.J08nY2017-08-071-7/+13
| | | | | | | | | | | | | | | | | - Adds the notion of a 'plugin'. - A plugin has a package path and a flag specifying whether it's enabled or not. - Adds a find_pluggable_components function similar to the find_components one. This one dynamically searches not only the mailman package but all of plugins. - e.g. find_pluggable_components('rules', IRule) finds all IRule components in mailman.rules but also in example_plugin.rules for plugin names example_plugin. - Uses the find_pluggable_components function in place of find_components when searching for Rules, Handlers, Chains, EmailCommands, and Styles.
* Fix minor spelling.Barry Warsaw2017-05-231-1/+1
|
* Adding documentation on how to enter multi-line header_checks.Simon Liebold2017-05-231-2/+5
|
* Moved InvalidListNameError class definition to mailman.interfaces.mailinglist.Mark Sapiro2017-02-201-1/+3
| | | | | Added more documentation on config.mailman.listname_chars. Made a couple of minor tweaks.
* Made the allowable list name characters configurable.Mark Sapiro2017-02-191-0/+5
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Implement caching suffix list with in-tree fallback.Barry Warsaw2017-01-011-0/+5
| | | | | | | | Also: * Change doctest cleanups to be an ExitStack. * Added [dmarc]cache_lifetime setting. * Cleanup pass through dmarc-mitigation.rst. * Be sure the cached org domain file is cleaned up when the world is reset.
* Fix some fallout from the previous commit.Barry Warsaw2016-12-311-1/+1
|
* Move the dmarc configuration options to their own section.Barry Warsaw2016-12-311-17/+23
|
* Minor tweaks and coverage:Barry Warsaw2016-12-301-4/+5
| | | | | | | * Format and wrap a comment. * Add a test for having two From: headers. * use <alpha@example.com> as standard Message-ID * Cover URLError case.
* DMARC mitigations, part 1a.Mark Sapiro2016-10-311-0/+15
|
* New template system. Closes #249Barry Warsaw2016-07-161-0/+5
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Fix #228Barry Warsaw2016-04-221-0/+4
| | | | | | | | ``mailman shell`` now supports readline history if you set the ``[shell]history_file`` variable in mailman.cfg. Also, many useful names are pre-populated in the namespace of the shell. (Closes: #228) With test coverage.
* Fix comment.Barry Warsaw2016-04-101-1/+1
|
* Fix compatibility with IPython 4.Barry Warsaw2016-04-101-1/+3
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* * REST API version 3.1 introduced. Mostly backward compatible with versionBarry Warsaw2015-07-181-2/+2
| | | | | | 3.0 except that UUIDs are represented as hex strings instead of 128-bit integers, since the latter are not compatible with all versions of JavaScript.
* Merge branch 'issue-109' into 'release-3.0'Barry Warsaw2015-06-021-0/+7
| | | | | | | | | | | Closes: #109 * Fix the traceback that occurred when trying to convert a `text/html` subpart to plaintext via the `mimedel` handler. Now, a configuration variable `[mailman]html_to_plain_text_command` in the `mailman.cfg` file defines the command to use. It defaults to `lynx`. (Closes: #109) See merge request !14
* * The default languages from Mailman 2.1 have been ported over. Given byBarry Warsaw2015-05-071-0/+188
| | | | Aurélien Bompard.
* Documentation fixes, given by Abhilash Raj.Barry Warsaw2015-03-131-5/+5
|\
| * change bin/mailman to mailman everwhere in docsAbhilash Raj2015-03-121-2/+2
|/
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* * ``$cwd`` is now an additional substitution variable for the ``mailman.cfg``Barry Warsaw2015-01-031-1/+1
| | | | | | | | | | | | | file's ``[paths.*]`` sections. A new ``[paths.here]`` section is added, which puts the ``var_dir`` in ``$cwd``. It is made the default layout. * You can now view the contents of, inject messages into, and delete messages from the various queue directories via the ``<api>/queues`` resource. Also: inject_message() and inject_text() now return the filebase of the file injected into the queue directory.
* Trunk merge.Barry Warsaw2014-11-021-4/+5
|\
| * DatabaseBarry Warsaw2014-11-011-4/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * The ORM layer, previously implemented with Storm, has been replaced by SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien Bompard. Alembic is now used for all database schema migrations. * The new logger `mailman.database` logs any errors at the database layer. API --- * Several changes to the internal API: - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order. - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order. - Iteration over domains via the `IDomainManager` is guaranteed to be sorted by `IDomain.mail_host` order. - `ITemporaryDatabase` interface and all implementations are removed.
| | * Move alembic settings to a separate alembic.cfg.Barry Warsaw2014-10-131-5/+0
| | |
| | * Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-131-5/+8
| | |\
| | | * Merge Barry's changesAurélien Bompard2014-10-131-0/+3
| | | |\ | | | |/ | | |/|
| | * | Add the [logging.database] section and use it to configure the SQLAlchemy andBarry Warsaw2014-10-121-0/+3
| | | | | | | | | | | | | | | | Alembic loggers.
| | | * * remove migrate commandAbhilash Raj2014-10-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove alembic.cfg, move contents to schema.cfg * fix import errors in src/mailman/model/language.py * add indexes * change the previously wrong written tablename autoresponserecord * change alembic_cfg to use schema.cfg instead of alembic.cfg
| | | * merge branch from abompardAbhilash Raj2014-10-101-5/+8
| | | |\
| | | | * Include Alembic and SQLAlchemy logging into the Mailman logging systemAurélien Bompard2014-10-071-4/+8
| | | |/ | | |/|
| | | * fix database reset error due to foreign key constraint between user and ↵Abhilash Raj2014-10-091-1/+1
| | |/ | | | | | | | | | address tables
| | * 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.
| | * PostgreSQL support by Abhilash, cleaned by Barry.Barry Warsaw2014-09-271-1/+1
| | |\
| | | * * fixed a bug where alemnic could not find its migrations directoryAbhilash Raj2014-09-251-2/+2
| | | | | | | | | | | | | | | | * add a new method in base database to stamp with latest alembic version
| | * | Migrations, with cleanup by Barry.Barry Warsaw2014-09-271-2/+4
| |/| | | | |/
| | * add new command `mailman migrate` to migrate the new schema on the old databaseAbhilash Raj2014-09-251-0/+3
| |/
* / Get addresses.rst, i.e. /<api>/addresses working.Barry Warsaw2014-08-121-1/+1
|/
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Checkpointing.Barry Warsaw2013-11-251-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * The default list style is renamed to `legacy-default` and a newBarry Warsaw2012-12-301-1/+1
| | | | | | | | `legacy-announce` style is added. This is similar to the `legacy-default` except set up for announce-only lists. Also, major refactoring of the default style into (hopefully) smaller composable units.
* LP: #975692 phase 1Barry Warsaw2012-12-281-5/+9
| | | | | | | | | | | | | | | | | * Rework list style management. No more style priorities or matching.. Now, you name a style explicitly to apply and that's it. * create_list() now takes a `style` argument. * config file now names both a default style to use, and a set of paths to scan for IStyle instances. (This could be a model for other plugins.) * added IMailingList.style_name to record the last style applied, but this is going to be removed in subsequent revisions. Also: * Move find_components() and scan_module() from app/finder.py to utilities/modules.py * Cleaned up lifecycle.rst for better documentation. Some tests moved to test_lifecycle.py. * Remove some unnecessary test tearDown() code.
* Merge Aurélien Bompard's branch to factor our archiver-specific configurationsBarry Warsaw2012-11-041-15/+9
|\ | | | | | | | | into their own configuration files. Reworked by Barry to use the new external configuration file support, and to make test suite succeed.
| * Allow archivers to use their own configuration fileAurélien Bompard2012-09-171-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | There's a new "configure" entry in the archiver's section, which can point to an ini-compatible configuration file (ConfigParser is used) for additional archiver-specific configuration. The existing archiver config have been split off schema.cfg to their own configuration files. These shipped files can be overridden by a conf file of the same name in $ext_dir. The ini-file loading method should be rather generic, in case we want the same feature somewhere else.