summaryrefslogtreecommitdiff
path: root/src/mailman/testing/testing.cfg (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Don't show the disabled archivers in the REST APIAurélien Bompard2016-08-181-1/+1
| | | | | | | Because one can't add a configuration overlay to the running REST server in testing mode, the prototype archiver was disabled in the testing configuration. This is where most of the changes in this commit come from.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* * You no longer have to edit `src/mailman/testing/testing.cfg` to run theBarry Warsaw2014-11-091-5/+0
| | | | | | | | | | | test suite against PostgreSQL. See `src/mailman/docs/START.rst` for details. Also: * Test fixes. * Doc fixes. * PostgreSQL/model fixes.
* Remove some unnecessary code, and revert back to SQLite by default for theBarry Warsaw2014-11-011-3/+3
| | | | test suite.
* DatabaseBarry Warsaw2014-11-011-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * 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.
| * SQLite by defaultBarry Warsaw2014-10-311-3/+3
| |
| * Merge in the last of Aurelien's changes, and make the test suite pass withBarry Warsaw2014-10-311-1/+1
| | | | | | | | PostgreSQL.
| * Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-301-3/+3
| |
| * Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-131-1/+1
| |\
| | * Merge Barry's changesAurélien Bompard2014-10-131-1/+4
| | |\ | | |/ | |/|
| * | Merge Abhilash's latest revisions.Barry Warsaw2014-10-111-1/+1
| | |
| * | add central alembic configAbhilash Raj2014-10-031-1/+1
|/ /
| * * remove migrate commandAbhilash Raj2014-10-101-3/+3
| | | | | | | | | | | | | | | | * 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
| * Add support for postgresqlAbhilash Raj2014-09-251-3/+3
|/ | | | | | | | | * revert changes in message_id_has encoding by barry * Change message_id_hash column to LargeBinary (from previously mistaken one i.e.unicode) * add missing import in database/types.py * fix a bug in database/Model.py, transaction has no method abort(), instead it is rollback()
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* Merge Aurélien Bompard's branch to factor our archiver-specific configurationsBarry Warsaw2012-11-041-3/+2
|\ | | | | | | | | into their own configuration files. Reworked by Barry to use the new external configuration file support, and to make test suite succeed.
* | ConfigurationBarry Warsaw2012-11-041-1/+1
|/ | | | | | | | | | | | | | | ------------- * `[passlib]path` configuration variable renamed to `[passlib]configuration`. * Postfix-specific configurations in the `[mta]` section are moved to a separate file, named by the `[mta]configuration` variable. * In the new `postfix.cfg` file, `postfix_map_cmd` is renamed to `postmap_command`. Also: * More Python 2.7-isms, use assertMultiLineEqual() directly. * Added external_configuration() and load_external() to mailman.config.config * ConfigLayer does a blanket set of [postfix]postmap_command so subtests generally won't have to.
* * Clarify the semantics of the noreply_address variable. It's the local-partBarry Warsaw2012-08-151-3/+3
| | | | | | | | of an email address. * Rectify an omission in the copyright assignees. * Of course, don't use PostgreSQL by default in the test suite.
* * The policy for archiving has now been collapsed into a single enum, calledBarry Warsaw2012-07-261-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ArchivePolicy. This describes the three states of never archive, archive privately, and archive_publicly. (LP: #967238) Database -------- * Schema migrations (LP: #971013) - include_list_post_header -> allow_list_posts - news_prefix_subject_too -> nntp_prefix_subject_too - news_moderation -> newsgroup_moderation - archive and archive_private have been collapsed into archive_policy. - nntp_host has been removed. * The PostgreSQL port of the schema accidentally added a moderation_callback column to the mailinglist table. Since this is unused in Mailman, it was simply commented out of the base schema for PostgreSQL.
| * Working for SQLite:Barry Warsaw2012-07-251-3/+3
| | | | | | | | | | | | include_list_post_header -> allow_list_posts Also add a bunch more migration tests.
| * Fix resetting PostgreSQL databases, thus making the full test suite pass withBarry Warsaw2012-07-251-3/+3
| | | | | | | | them.
| * Refactor to better handling the difference between a testing database and aBarry Warsaw2012-07-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | production database. - Add an IDatabaseFactory interface with two named utility implementations. The initialization subsystem will either ask for the 'testing' or 'production' factory utility depending on whether we're in the test suite or not. The testing factory returns an IDatabase that can be _reset(). - initialize_2() now takes an optional `testing` argument, defaulting to False. The test ConfigLayer will pass in True. - Remove _reset() from the base database class. - The ModelMeta now adds a PRESERVE attribute to database classes. This defaults to False, meaning by default the test framework will reset the table. The Version table is preserved because it records the schema migrations. - Because of the above, we no longer need to support pre_reset() and post_reset() on migrations. Also, bin/mailman should allow the standard configuration file search algorithm to be used except when -C/--config is given.
| * One more refactoring.Barry Warsaw2012-07-251-3/+3
| |
| * Refactor once again for SQLite/PostgreSQL differences.Barry Warsaw2012-07-251-3/+3
| |
| * Checkpointing Postgres port of test suite.Barry Warsaw2012-07-231-3/+3
|/ | | | | | | | | - Refactor load_schema() into a separate load_sql() method. - Add API for test suite to make a temporary database. - Add code to migrate the PostgreSQL database. - Comment out `moderation_callback` from the PostgreSQL SQL; this must have snuck in accidentally via the contributed port. - Refactor test_migrations.py
* * `passlib`_ is now used for all password hashing instead of flufl.password.Barry Warsaw2012-07-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | The default hash is `sha512_crypt`. * Events renamed and moved: * `mailman.chains.accept.AcceptNotification` * `mailman.chains.base.ChainNotification` * `mailman.chains.discard.DiscardNotification` * `mailman.chains.hold.HoldNotification` * `mailman.chains.owner.OwnerNotification` * `mailman.chains.reject.RejectNotification` changed to (respectively): * `mailman.interfaces.chains.AcceptEvent` * `mailman.interfaces.chains.ChainEvent` * `mailman.interfaces.chains.DiscardEvent` * `mailman.interfaces.chains.HoldEvent` * `mailman.interfaces.chains.AcceptOwnerEvent` * `mailman.interfaces.chains.RejectEvent` * A `ConfigurationUpdatedEvent` is triggered when the system-wide global configuration stack is pushed or popped. * With the switch to `passlib`_, `[passwords]password_scheme` has been removed. Instead use `[passwords]path` to specify where to find the `passlib.cfg` file. See the comments in `schema.cfg` for details.
* * The `news` runner and queue has been renamed to the more accurate `nntp`.Barry Warsaw2012-03-311-1/+1
| | | | Beta testers can can safely remove `$var_dir/queue/news`.
* - Move some normal recipient tests to unittests.Barry Warsaw2012-03-231-0/+3
| | | | | | | | - Add unittests for owner recipients. There does eventually need to be some documentation about owner recipients. - Implement owner recipients handler. This includes moderators and owners (i.e. all the non-disabled the list administrators). - Changed the [mailman]site_owner setting in testing.cfg to noreply@example.com
* Eradicate Pipermail. Everything but the scrubber test works. That will takeBarry Warsaw2012-03-151-4/+0
| | | | some new APIs I suspect.
* * The experimental `maildir` runner is removed. Use LMTP.Barry Warsaw2012-03-121-3/+0
|
* copybumpBarry Warsaw2012-01-011-1/+1
|
* PostgreSQL support contributed by Stephen A. Goss, with refactoring and testBarry Warsaw2011-10-231-0/+5
|\ | | | | | | suite compliance by Barry. (LP: #860159)
| * - Ensure that class removal is deterministic.Barry Warsaw2011-10-221-0/+4
|/ | | | | | - Comment out a few more foreign key constraints since they break the tests. - Enable the PostgreSQLDatabase for testing (this one should not be committed on trunk.
* Major terminology shift:Barry Warsaw2011-06-011-12/+12
| | | | | | | | | | | | | | | | | * 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
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Insulate the test environment from the running environment. Sadly, the testBarry Warsaw2010-12-221-0/+4
| | | | | | ports are still hard coded. Also, 'bin/mailman info' dumps the REST root url and credentials.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* Wow. Put domains into the database.Barry Warsaw2009-07-161-5/+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.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+87
correctly regardless of how it's used.