summaryrefslogtreecommitdiff
path: root/src/mailman/model/mailinglist.py
Commit message (Collapse)AuthorAgeFilesLines
* IListManager.get() now accepts both List-IDs and FQDN list names.Barry Warsaw2017-06-241-2/+2
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-8/+6
|
* Merged from master.Mark Sapiro2016-12-091-1/+1
|\
| * Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
| |
* | DMARC mitigations, part 1a.Mark Sapiro2016-10-311-3/+10
|/
* Fix many failures.Barry Warsaw2016-09-081-8/+21
| | | | Also, document more APIs.
* CheckpointingBarry Warsaw2016-09-011-7/+1
|
* Intermediate CommitAbhilash Raj2016-09-011-11/+20
|
* MySQL is now an officially supported database.Barry Warsaw2016-07-291-27/+27
| | | | Given by Abhilash Raj.
* New template system. Closes #249Barry Warsaw2016-07-161-24/+1
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Clean up the model and languages directories.Barry Warsaw2016-03-251-25/+29
|
* First massive round of cleanups.Barry Warsaw2016-03-231-5/+4
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Close #208Barry Warsaw2016-03-201-2/+2
| | | | Don't let crashes in IArchiver plugins break handlers or runners.
* Last cleanups.Barry Warsaw2016-02-291-40/+36
| | | | | | | | | * 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-291-6/+6
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Review suggestions: improve unit testsAurélien Bompard2016-02-291-5/+4
|
* Review suggestions: rename the new index column to positionAurélien Bompard2016-02-291-40/+40
|
* Use a better way to delete from a collectionAurélien Bompard2016-02-291-3/+2
|
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-291-6/+6
| | | | It makes it clearer what values are valid, and allows validation.
* Use a property for HeaderMatch.indexAurélien Bompard2016-02-291-13/+36
| | | | | Moving header matches up and down the stack is more transparent that way.
* The order of a mailing list's header matches is significantAurélien Bompard2016-02-291-14/+115
| | | | | | | 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-261-2/+2
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* Add indexes on the MailingList tableAurélien Bompard2016-01-141-3/+3
| | | | | Ensure that list_id is unique, and add indexes on two commonly filtered-on fields: list_name and mail_host.
* Several optimizations:Barry Warsaw2016-01-111-6/+5
| | | | | | | | | | | | * Use `yield from` wherever appropriate. * Use SA's .one_or_none() where appropriate. - Fix a bug in MailingList.pass_extensions. - Use ValueError in other places for consistency. - Remove unreached/nonsense code. - Simplify the SubscriptionService.find_member() and .find_members() implementations. - Boost coverage.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Add a send-digests subcommand to send list digests right now.Barry Warsaw2015-12-201-1/+1
| | | | | | | | | | | | | | * 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-191-2/+1
| | | | | | | * digestable -> digests_enabled * nondigestable: removed * Exposed digests_enabled, digest_send_periodic, digest_volume_frequency in REST.
* Clean up pass through abompard's branch.Barry Warsaw2015-10-201-2/+7
|
* Use and interface for the set of header_matchesAurélien Bompard2015-10-201-2/+48
|
* 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-2/+19
|
* Merge from headAurélien Bompard2015-03-261-1/+2
|\
| * LP: #1432239 - Make sure acceptable aliases are deleted before the mailingBarry Warsaw2015-03-241-1/+2
| | | | | | | | list is deleted.
* | Make the subscription policy a database columnAurélien Bompard2015-03-211-2/+1
| |
* | Resurrect Barry's subpolicy branch (lp:~barry/mailman/subpolicy)Aurélien Bompard2015-03-201-1/+5
|/
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* More model test fixes and ports.Barry Warsaw2014-12-131-1/+3
|
* Checkpointing.Barry Warsaw2014-11-301-10/+9
| | | | | | | | | | 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.
* DatabaseBarry Warsaw2014-11-011-209/+223
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * 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 Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-131-4/+9
| |\
| | * * remove migrate commandAbhilash Raj2014-10-101-4/+8
| |/ | | | | | | | | | | | | | | * 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
| * Clean up pass.Barry Warsaw2014-09-221-73/+84
| |
| * call roster methods on mailinglist object after load from databaseAbhilash Raj2014-09-181-9/+13
| |
| * fix all tests in mailman.model.testsAbhilash Raj2014-09-131-72/+63
| |
| * change leftover queriesAbhilash Raj2014-09-131-1/+0
| |
| * modify all storm queries to work with SAAbhilash Raj2014-09-121-4/+3
| |