summaryrefslogtreecommitdiff
path: root/src/mailman/database (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use contextlib.suppress() where appropriate.Barry Warsaw2016-04-301-5/+4
|
* public() takes keyword arguments.Barry Warsaw2016-04-042-5/+5
|
* Use flake8-respect-noqa plugin and fix more complaints.Barry Warsaw2016-04-011-3/+1
|
* Don't use `flake8: noqa`.Barry Warsaw2016-04-012-3/+3
| | | | | | | This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps.
* Allow fall backs for moderation actions.Barry Warsaw2016-04-012-27/+42
| | | | | | | | | The `moderation_action` for members and nonmember can now be ``None`` which signals falling back to the appropriate list default action, e.g. `default_member_action` and `default_nonmember_action`. Given by Aurélien Bompard. Closes #189
* Appease flake8.Barry Warsaw2016-04-011-4/+12
|
* Add caching to the data migrationAurélien Bompard2016-03-311-4/+14
| | | | Very useful on large installations.
* Migrate data from the static member moderation action to the list fallbackAurélien Bompard2016-03-312-0/+140
|
* Import order flake8 plugin.Barry Warsaw2016-03-277-9/+9
| | | | Fix lots of import order errors discovered by the new plugin.
* Clean up the database directory.Barry Warsaw2016-03-2425-156/+111
|
* Last cleanups.Barry Warsaw2016-02-292-2/+0
| | | | | | | | | * Remove an unused import. * Opportunistically remove ^Ls * Add a missing interface attribute. * Fix up some docstrings. * Rename a parameter in an interface for clarity. * Random code style cleanups.
* Revert "Rename the HeaderMatch.chain column to action"Aurélien Bompard2016-02-292-108/+0
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Review suggestions: rename the new index column to positionAurélien Bompard2016-02-291-20/+17
|
* Fix test on PostgreSQLAurélien Bompard2016-02-291-21/+29
|
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-292-0/+100
| | | | It makes it clearer what values are valid, and allows validation.
* The order of a mailing list's header matches is significantAurélien Bompard2016-02-292-2/+44
| | | | | | | Add a numerical index property to HeaderMatch objects, and change the HeaderMatchSet manager to take the order into account. Items can now be inserted and removed by index.
* Super duper.Barry Warsaw2016-01-262-2/+2
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* 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.