summaryrefslogtreecommitdiff
path: root/src/mailman/config (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Fix issue #3 by searching for the 'master' script in several possible"Barry Warsaw2015-11-011-15/+3
| | | | | | This reverts commit 8c471e067c4b31064c2f69c0afd048a7e756a429. The fix wasn't correct. Now we have a test for the expected behavior.
* Use and interface for the set of header_matchesAurélien Bompard2015-10-201-0/+6
|
* Core no longer depends on the standalone `mock` module. (Closes: #146)Barry Warsaw2015-09-221-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
* Fix issue #3 by searching for the 'master' script in several possibleBarry Warsaw2015-05-151-2/+14
| | | | locations.
* * The default languages from Mailman 2.1 have been ported over. Given byBarry Warsaw2015-05-071-0/+188
| | | | Aurélien Bompard.
* Checkpointing.Barry Warsaw2015-04-141-5/+6
|
* Refactorings and tests.Barry Warsaw2015-03-291-2/+2
| | | | | | | | * Move the basic Workflow class to a module in mailman.app. * Rename the interface and model modules. * Update the configure.zcml. * Minor style fixes. * Add a test for the workflow model.
* Save the workflow state in the databaseAurélien Bompard2015-03-251-2/+2
|
* Add a table to store workflow statesAurélien Bompard2015-03-251-0/+5
|
* Documentation fixes, given by Abhilash Raj.Barry Warsaw2015-03-132-9/+9
|\
| * change bin/mailman to mailman everwhere in docsAbhilash Raj2015-03-122-3/+3
|/
* We don't need the lazr.config workaround any more.Barry Warsaw2015-01-051-13/+2
|
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-049-9/+9
|
* * ``$cwd`` is now an additional substitution variable for the ``mailman.cfg``Barry Warsaw2015-01-034-4/+9
| | | | | | | | | | | | | 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.
* Correct a comment.Barry Warsaw2015-01-021-2/+2
|
* Add $cfg_file as an expansion variable for relative paths in the mailman.cfgBarry Warsaw2015-01-022-8/+16
| | | | | | file, and improve the error message when an expansion loop is found. With the `[mailman]layout: dev` path setting, put $var_dir relative to the mailman.cfg file.
* Even if we're not loading a user-defined mailman.cfg file (i.e. the user ranBarry Warsaw2015-01-021-1/+3
| | | | | | | `mailman info` after first install and we're creating the var dir), we still need to post-process so we get the UPPERCASE_DIR variables. Fix an UnboundNameError in the error printing.
* * You can access the system configuration via the resource pathBarry Warsaw2014-12-261-0/+3
| | | | | | | | | ``/3.0/system/configuration/<section>``. This returns a dictionary with the keys being the section's variables and the values being their value from ``mailman.cfg`` as verbatim strings. You can get a list of all section names via ``/3.0/system/configuration`` which returns a dictionary containing the ``http_etag`` and the section names as a sorted list under the ``sections`` key. The system configuration resource is read-only.
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-224-21/+7
|
* Make sure that TestConfigurationErrors doesn't break global state.Barry Warsaw2014-12-161-4/+13
|
* Use listid instead of (fqdn) listname in the metadata pickle.Barry Warsaw2014-12-152-29/+9
| | | | | | load_external() now always opens in utf-8 mode. More test repair.
* * Read the .cfg files not as bytes any more, but as UTF-8 encoding files.Barry Warsaw2014-12-151-4/+5
| | | | | | | | | * Revert LP: #1170347 to not .as_string() the message being added the mailbox, because Python 3.4 handles this properly by default. Fix up some lmtp code, though I don't thinkk it's quite right yet. Fix handler tests.
* Checkpointing.Barry Warsaw2014-11-302-25/+29
| | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Trunk mergeBarry Warsaw2014-11-091-6/+5
|\
| * * You no longer have to edit `src/mailman/testing/testing.cfg` to run theBarry Warsaw2014-11-091-6/+5
| | | | | | | | | | | | | | | | | | | | | | test suite against PostgreSQL. See `src/mailman/docs/START.rst` for details. Also: * Test fixes. * Doc fixes. * PostgreSQL/model fixes.
* | Trunk merge.Barry Warsaw2014-11-024-33/+29
|\|
| * DatabaseBarry Warsaw2014-11-014-33/+29
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * 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.
| | * Merge in the last of Aurelien's changes, and make the test suite pass withBarry Warsaw2014-10-311-1/+1
| | | | | | | | | | | | PostgreSQL.
| | * Move alembic settings to a separate alembic.cfg.Barry Warsaw2014-10-132-5/+20
| | |
| | * Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-132-62/+8
| | |\
| | | * Merge Barry's changesAurélien Bompard2014-10-132-2/+3
| | | |\ | | | |/ | | |/|
| | * | Add the [logging.database] section and use it to configure the SQLAlchemy andBarry Warsaw2014-10-121-0/+3
| | | | | | | | | | | | | | | | Alembic loggers.
| | * | Remove some unused stuff.Barry Warsaw2014-10-111-2/+0
| | | |
| | * | Merge Abhilash's latest revisions.Barry Warsaw2014-10-111-2/+2
| | | |
| | | * * remove migrate commandAbhilash Raj2014-10-102-21/+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-102-41/+8
| | | |\
| | | | * Include Alembic and SQLAlchemy logging into the Mailman logging systemAurélien Bompard2014-10-072-40/+8
| | | |/ | | |/|
| | | * fix database reset error due to foreign key constraint between user and ↵Abhilash Raj2014-10-092-3/+3
| | |/ | | | | | | | | | address tables
| | * add central alembic configAbhilash Raj2014-10-031-4/+4
| | |
| | * Merge barry\'s branch with test fixes and clean codeAbhilash Raj2014-10-023-13/+64
| | |\
| | | * Fix the test suite.Barry Warsaw2014-10-022-2/+2
| | | | | | | | | | | | | | | | | | | | * 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
| | | |\
| | | * \ Migrations, with cleanup by Barry.Barry Warsaw2014-09-273-10/+64
| | | |\ \
| | * | | | Don't initialize twiceAurélien Bompard2014-10-021-0/+2
| | | |_|/ | | |/| |
| | * | | * 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
| | * | add new command `mailman migrate` to migrate the new schema on the old databaseAbhilash Raj2014-09-251-0/+3
| | |/
| | * Since we don't have migrations, we don't need the ITemporaryDatabase stuff,Barry Warsaw2014-09-231-20/+0
| |/ | | | | | | | | nor do we need the TAG mechanism. We also don't need load_sql() or load_migrations().