summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | * Fix non-member moderation rule to prefer a member sender if both membersBarry Warsaw2014-03-153-0/+85
| | | | | | | | | | | | | | | and non-members are in the message's sender list. Given by Aurélien Bompard. (LP: #1291452)
* | | - Configuration.style_configs(): Removed unused code.Barry Warsaw2014-03-023-11/+44
| | | | | | | | | | | | | | | - mailman.cfg: Removed unused section. - Improve the config.py test coverage to 100%.
* | | * Module coding style consistency.Barry Warsaw2014-03-024-20/+55
| | | | | | | | | | | | | | | | | | | | | * handle_SubscriptionEvent(): We're always guaranteed to get a language from a member, since lookup falls back ultimately to the system preferences. So this method can be simplified. * Bump up code coverage for several modules.
* | | - Clean up and simplify remove_list()Barry Warsaw2014-03-023-22/+20
| | | | | | | | | | | | - Boost test coverage of lifecycle.py to 100%
* | | Fix the default.Barry Warsaw2014-01-061-2/+2
| | |
* | | Several internal improvements:Barry Warsaw2014-01-0620-83/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New events: - ConfirmationNeededEvent is triggered when a pendable requiring confirmation is created. This allows us to define an event handler for this event which sends the user notification. - SubscriptionEvent is triggered when a member is added to a mailing list. This lets us define an event handler which sends the welcome message. * send_welcome_message() now takes a member parameter instead of an address, which lets us directly access the member's delivery mode and user display name (if the member has a user, which it might not in some cases). * Use the list id in the pendable record instead of the list name for robustness (the latter can change but the former is permanent). * Test more registration conditions. * In the bin/runner command line switch handling, default `verbose` to None instead of False. This makes it work better with nose's -E switch (log to stderr). * In call_api(), if a POST, PUT, or PATCH method is used and data is None, encode the empty dictionary; seems like the behavior of urlencode() has changed, so this is safer. * Fix style and pyflakes warnings.
* | | Bump copyright years.Barry Warsaw2014-01-01315-317/+317
| | |
* | | Fix a couple of intermittent test problems.Barry Warsaw2013-12-012-0/+3
| | |
* | | * Add support for the Exim 4 MTA. Contributed by Stephen Turnbull.Barry Warsaw2013-11-304-10/+186
|\ \ \
| * | | New modules config.exim4 and mta.exim4 support the Exim4 MTA.Stephen J. Turnbull2013-09-253-10/+185
| | | | | | | | | | | | | | | | Documentation added to docs/MTA.rst (with some stylistic changes to existing text.
* | | | NEWS.Barry Warsaw2013-11-271-0/+1
| | | |
* | | | Merge branch contributed by Joanna Skrzeszewska.Barry Warsaw2013-11-2724-22/+571
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Mailing lists can now individually enable or disable any archiver available site-wide. Contributed by Joanna Skrzeszewska. (LP: #1158040) Also: - IArchivers (i.e. system-wide archivers) now have an is_enabled attribute. - config.archivers now returns *all* archivers, including those that are disabled site-wide. This way, iterating over the list-specific archivers returns everything. - In the ini-file schema, make the default archiver class empty, otherwise the Prototype archiver is always enabled. - Added a `listarchiver` table to support list-specific archivers.
| * | | | Archived-At header calculation must observe list archivers.Barry Warsaw2013-11-271-3/+7
| | | | |
| * | | | Add lists/<list-id>/archivers as the resource end-point.Barry Warsaw2013-11-274-53/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We won't set archivers in the list's configuration. Add doctests and unittests for archivers.
| * | | | More fixes.Barry Warsaw2013-11-263-1/+10
| | | | |
| * | | | Checkpointing.Barry Warsaw2013-11-2519-93/+373
| | | | |
| * | | | Joanna's branchBarry Warsaw2013-10-275-19/+137
| |\ \ \ \
| | * | | | Unit tests for enabling/disabling archivers.Joanna Skrzeszewska2013-09-181-0/+26
| | | | | |
| | * | | | Changes for enabling/disabling archivers.Joanna Skrzeszewska2013-09-084-19/+111
| | |/ / /
* | / / / Do a better job of pattern matching for the nose2 -P plugin switch.Barry Warsaw2013-11-271-3/+7
|/ / / /
| | * | Aurélien Bompard's import-from-2.1 branch, with cleanup and fixes.Barry Warsaw2014-04-1414-27/+1138
| |/| | |/| | |
| | * | Minor pyflakes fixesAurélien Bompard2013-10-222-4/+3
| | | |
| | * | Merge from the main branchAurélien Bompard2013-10-227-115/+139
| | |\ \
| | * | | Text templates should be in UTF-8Aurélien Bompard2013-10-213-3/+31
| | | | |
| | * | | Handle acceptable_aliases being a list in the pickleAurélien Bompard2013-10-152-1/+17
| | | | |
| | * | | Better handling of mixed case email addressesAurélien Bompard2013-10-112-12/+65
| | | | |
| | * | | Handle 'local-part-only' acceptable aliasesAurélien Bompard2013-10-112-2/+22
| | | | |
| | * | | Don't change the mail_host when importingAurélien Bompard2013-10-112-4/+4
| | | | |
| | * | | Use the full language code in the configuration hintAurélien Bompard2013-10-112-6/+4
| | | | |
| | * | | Deal with non-ascii bans and aliasesAurélien Bompard2013-10-092-20/+34
| | | | |
| | * | | Make sure the imported preferred_language exists, and work around Python ↵Aurélien Bompard2013-10-083-5/+76
| | | | | | | | | | | | | | | | | | | | issue 9666
| | * | | Some more unicode checks when importingAurélien Bompard2013-10-082-9/+39
| | | | |
| | * | | Content filter must be removed on list deletionAurélien Bompard2013-10-032-0/+17
| | | | |
| | * | | More unicode fixes in the import scriptAurélien Bompard2013-10-032-2/+35
| | | | |
| | * | | Strings are almost always bytestrings in the pickle, test for thatAurélien Bompard2013-10-032-58/+58
| | | | |
| | * | | Import most list parameters from the 2.1 pickleAurélien Bompard2013-09-303-5/+824
| | | | |
| | * | | When importing from 2.1, handle the archiving policyAurélien Bompard2013-09-202-0/+41
| |/ / /
* | | | * The `bounceevent` table now uses list-ids to cross-reference the mailingBarry Warsaw2013-10-2419-103/+287
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list, to match other tables. Similarly for the `IBounceEvent` interface. Also: - Move the acquisition of the database lock during creation to the IDatabaseFactory.create() method instead of the individual database initialize() methods. - In the migration.rst doctest, don't delete teh version records when using SQLite, since that breaks tests. - Implement a few nice helpers for database migrations, including make_listid() for turning a list name into a list id, and pivot() which simplifies moving the backup table to the final table name.
| * | | typoBarry Warsaw2013-10-241-1/+1
| | | |
| * | | Only do the cleanup if we're not using SQLite.Barry Warsaw2013-10-242-6/+6
| | | |
| * | | trunk mergeBarry Warsaw2013-10-223-0/+70
| |\ \ \ | |/ / / |/| | |
* | | | Sort imports.Barry Warsaw2013-10-181-1/+1
| | | |
* | | | * Fix importation from MM2.1 to MM3 of the archive policy. Given by AurélienBarry Warsaw2013-10-183-0/+70
| | | | | | | | | | | | | | | | Bompard. (LP: #1227658)
| * | | trunk mergeBarry Warsaw2013-10-185-32/+23
| |\ \ \ | |/ / / |/| | |
* | | | * When --sort is used, watch out for continuation lines, which shouldn't getBarry Warsaw2013-10-185-32/+23
| |/ / |/| | | | | | | | | | | | | | sorted. * Fix stderr output in sub-runners, and move the -e test option to -E.
| * | Test repair, and import enum from the right place.Barry Warsaw2013-09-011-2/+3
| | |
| * | trunk mergeBarry Warsaw2013-09-0151-227/+348
| |\ \ | |/ / |/| |
* | | * `mailman conf` now has a `-t/--sort` flag which sorts the output by sectionBarry Warsaw2013-09-014-5/+49
|\ \ \ | | | | | | | | | | | | | | | | and then key. Contributed by Karl-Aksel Puulmann and David Soto (LP: 1162492)
| * | | Added an example to the docsKarl-Aksel Puulmann2013-04-061-1/+8
| | | |
| * | | Fixed tests broken by previous commitKarl-Aksel Puulmann2013-04-063-1/+3
| | | |