summaryrefslogtreecommitdiff
path: root/src/mailman/database
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete bans when their associated list is deletedAurélien Bompard2016-01-141-0/+23
| | | | Also add indexes on the Ban fields that are filtered on.
* Add indexes on the MailingList tableAurélien Bompard2016-01-141-0/+31
| | | | | Ensure that list_id is unique, and add indexes on two commonly filtered-on fields: list_name and mail_host.
* Happy New Year.Barry Warsaw2016-01-0215-15/+15
|
* Be liberal with the transaction.Barry Warsaw2015-12-211-8/+10
|
* Move the data_paths.Barry Warsaw2015-12-202-3/+42
|
* Add a send-digests subcommand to send list digests right now.Barry Warsaw2015-12-201-0/+2
| | | | | | | | | | | | | | * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries.
* Digests improvements:Barry Warsaw2015-12-192-0/+54
| | | | | | | * digestable -> digests_enabled * nondigestable: removed * Exposed digests_enabled, digest_send_periodic, digest_volume_frequency in REST.
* A few minor cleanups.Barry Warsaw2015-12-162-26/+13
|
* Implement suggestions from the reviewAurélien Bompard2015-12-161-16/+18
|
* Add a commit to avoid a lock in PostgreSQLAurélien Bompard2015-12-161-0/+5
|
* Handle data migrationAurélien Bompard2015-12-161-0/+14
|
* Add a commit to avoid a lock in PostgreSQLAurélien Bompard2015-12-162-4/+6
|
* Handle data migrationAurélien Bompard2015-12-162-0/+128
|
* Add indexes on the Pendable fields that can be queried upon.Aurélien Bompard2015-12-161-0/+35
| | | | | | | - Pendable.token: queried in the add() and confirm() methods - Pendable.expiration_date: queried on evict() - PendableKeyValue.key and PendableKeyValue.value: queried in the find() method
* Add a couple indexes on MemberAurélien Bompard2015-12-151-0/+25
|
* Add useful indexes on the member tableAurélien Bompard2015-11-211-0/+35
|
* Clean up pass through abompard's branch.Barry Warsaw2015-10-202-25/+28
|
* Be compatible with older versions of SQLAlchemy and AlembicAurélien Bompard2015-10-201-4/+3
|
* Test schema migration for the header matchesAurélien Bompard2015-10-202-7/+57
|
* Implement changes from the reviewAurélien Bompard2015-10-201-2/+2
|
* Rename from plural to singularAurélien Bompard2015-10-201-5/+5
|
* Use a separate table for header_matchesAurélien Bompard2015-10-201-0/+82
|
* Also rename the migration file following 9806f9c7Aurélien Bompard2015-09-221-2/+2
|
* Core no longer depends on the standalone `mock` module. (Closes: #146)Barry Warsaw2015-09-221-1/+1
|
* Minor cleanups.Barry Warsaw2015-09-142-2/+3
|
* Fix it with PostgreSQLAurélien Bompard2015-09-152-16/+27
|
* Fixes for the review commentsAurélien Bompard2015-09-157-15/+16
|
* Test the schema migrations with AlembicAurélien Bompard2015-09-157-14/+125
|
* Port to Python 3.5.Barry Warsaw2015-06-221-4/+2
|
* * The test suite now runs successfully again with PostgreSQL. Given byBarry Warsaw2015-04-222-5/+16
|\ | | | | | | Aurélien Bompard. (LP: #1435941)
| * PostgreSQL: remove tables before unittest runsAurélien Bompard2015-04-221-0/+6
| |
| * PostgreSQL: fix autoincrement reset in testsAurélien Bompard2015-04-221-5/+9
|/
* Full test suite passes.Barry Warsaw2015-04-141-0/+17
| | | | | | | | | | | | | * Make sure Registrar.discard() removces any workflow state manager state associated with the token, and that this is flushed to SA. * Adjust the email commands to the new IRegistrar API. * Update the IRegistrar interface. * Add IWorkflowStateManager.discard() and make `count` an attribute/property. * Mark two tests as expected failures due to LP: #1444184.
* Rebase Alembic revisions.Barry Warsaw2015-04-071-2/+2
|
* Trunk mergeBarry Warsaw2015-04-071-0/+56
|\
| * Checkpointing:Barry Warsaw2015-04-061-7/+27
| | | | | | | | | | | | * Cleanups. * Updates to domains and users. * Allow is_server_owner to be PUT.
| * * Add `drop_column` inside sqlite check, fix indentationAbhilash Raj2015-03-311-17/+8
| | | | | | | | | | | | | | | | * Change `Owner` to `DomainOwner` * Fix indentation errors in docs * add multiple owners using `add_owners` * all dummy addresses should be using example.com, example.org to avoid conflict ever * add dummy tests
| * merge serverowner branchAbhilash Raj2015-03-271-0/+45
| |\
| | * all tests passing now (except doctests)Abhilash Raj2015-03-262-13/+14
| | |
| | * add domainowner and serverowner optionsAbhilash Raj2015-03-211-0/+45
| | | | | | | | | | | | | | | | | | * Add is_serverowner flag in User model and api * Add owner table for user-domain's many to many relationship * add owners subresource in domain's rest api
| * | Make a test less susceptible to churn when migrations are added. Given byBarry Warsaw2015-03-251-7/+4
| |/ | | | | | | abompard.
* | Refactorings and tests.Barry Warsaw2015-03-291-1/+1
| | | | | | | | | | | | | | | | * 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.
* | Workflow: allow saving and restoring with an empty queueAurélien Bompard2015-03-271-1/+1
| |
* | Add a table to store workflow statesAurélien Bompard2015-03-251-0/+28
| |
* | Make the subscription policy a database columnAurélien Bompard2015-03-212-7/+45
|/
* * A new API is provided to support non-production testing infrastructures,Barry Warsaw2015-02-131-2/+5
| | | | | | | | | | | | allowing a client to cull all orphaned UIDs via ``DELETE`` on ``<api>/reserved/uids/orphans``. Note that *no guarantees* of API stability will ever be made for resources under ``reserved``. (LP: #1420083) Also: - Allow @dbconnection methods to be @staticmethods taking only one argument, the store to perform the query on.
* Python 2 -> 3 migration.Barry Warsaw2015-01-201-0/+60
|
* fix for migration autogeneration using alembicAbhilash Raj2015-01-101-2/+7
|
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-0411-11/+11
|