summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add more tests for coverage.pluggable-workflowsJ08nY2017-08-305-4/+82
|
* Save workflows name in Pendable PEND_TYPE.J08nY2017-08-304-24/+45
| | | | | | - Saves workflow name in as Pendables type, so that it is correctly restored even if the MailingLists sub/unsub policy changes while it was pending.
* Move workflow tests to mailman.workflows.J08nY2017-08-304-0/+0
|
* Remove [Un]SubscriptionConfirmationNeeded events, send msg in workflows.J08nY2017-08-304-79/+23
|
* Refactor the duplicate workflow mixins.J08nY2017-08-302-158/+88
|
* Migrate the [un]subscription_policy attribute.J08nY2017-08-3029-719/+620
| | | | | | | | | - This is quite a huge commit, since it changes the type of the MailingList.subscription_policy and unsubscription_policy attributes to the new names of pluggable workflows, in all occurences. - Also adds a migration to migrate the attributes to the new types. - Adds tests for the migration.
* Initialize the workflows.J08nY2017-08-303-0/+37
|
* Split unsubscription workflow into mixins.J08nY2017-08-302-2/+309
|
* Save the complete workflow stack, not only last step.J08nY2017-08-307-34/+215
|
* Split subscription workflow into mixins.J08nY2017-08-302-1/+422
|
* Make workflows implement their interfaces.J08nY2017-08-304-19/+37
|
* Move workflows from app.subscriptions to workflows.builtin.J08nY2017-08-303-473/+539
|
* Create mailman.workflows package. Move base Workflow there.J08nY2017-08-308-45/+98
| | | | | - Also introduce IWorkflow, ISubscriptionWorkflow, IUnsubscriptionWorkflow.
* Instantiate components only in add_components, not at lower levels.modules-no-instantiateJ08nY2017-08-302-15/+15
| | | | | | - The scan_module and find_components functions are also useful when they don't instantiate the components they load, and instantiation is left to add_components.
* Squashed commit of the following:HEADmasterBarry Warsaw2017-08-293-1/+22
| | | | | | | | | | | | | | | | | commit 3c6500c2292869f94667520f16c8d6c6f1d2c530 Author: Barry Warsaw <barry@python.org> Date: Tue Aug 29 22:51:18 2017 -0400 Close #383 Messages with badly encoded ``Subject`` headers no longer crash the message moderation REST API. commit f6040ec139bcccd48cfa9acc734cd528a8ede35c Author: Aurélien Bompard <aurelien@bompard.org> Date: Thu Jul 27 00:52:05 2017 +0200 Fix #383: email encoding errors can crash the REST API
* Add a new plugin architecture.Barry Warsaw2017-08-2950-359/+1236
|\ | | | | | | | | This allows third parties to add initialization hooks, REST endpoints, and additional components. Given by Jan Jancar.
| * PR288 vettedBarry Warsaw2017-08-2950-359/+1236
|/
* Add a test.Barry Warsaw2017-08-261-0/+10
|
* Print the list of available commands with `mailman --help`Abhilash Raj2017-08-091-0/+2
| | | | | | Overriding the format_options method of click.MultiCommand skips printing the list of available commands. This commit just brings that option back so that help text is now more informative.
* Merge branch 'rename-metadata-key' into 'master'Barry Warsaw2017-08-0427-115/+355
|\ | | | | | | | | | | Rename metadata key for clarity Compose bounce messages so that they can be properly translated See merge request !304
| * Rename metadata key for clarityBarry Warsaw2017-08-0427-115/+355
|/
* Merge branch 'fix-hangs' into 'master'Barry Warsaw2017-07-271-1/+2
|\ | | | | | | | | Set a timeout on the lock acquisition See merge request !305
| * Set a timeout on the lock acquisitionBarry Warsaw2017-07-271-1/+2
|/
* Ensure that various rules set a reason.Barry Warsaw2017-07-2633-45/+619
|\ | | | | | | Closes #368
| * Ensure all holds/rejects have a reason.Mark Sapiro2017-07-2633-45/+619
|/
* Convert to click for CLI options.Barry Warsaw2017-07-2281-4101/+4217
|\ | | | | | | | | Closes #319 and #346
| * Convert to click for CLI optionsBarry Warsaw2017-07-2281-4101/+4217
|/
* Merge branch '34-no-more' into 'master'Barry Warsaw2017-07-144-7/+11
|\ | | | | | | | | | | | | Python 3.4 no more! Closes #373 See merge request !302
| * Python 3.4 no more!Barry Warsaw2017-07-134-7/+11
|/
* Merge branch 'no_senders' into 'master'Barry Warsaw2017-07-018-8/+117
|\ | | | | | | | | | | | | Added a rule to discard messages with no valid sender address. Closes #369 See merge request !297
| * Added a rule to discard messages with no valid sender address.Mark Sapiro2017-06-308-8/+117
|/
* Merge branch 'prefix' into 'master'Barry Warsaw2017-06-303-2/+25
|\ | | | | | | | | | | | | Fixed an AttributeError in subject prefixing. Closes #359 See merge request !295
| * Fixed an AttributeError in subject prefixing.Mark Sapiro2017-06-303-2/+25
|/
* Merge branch 'senders' into 'master'Barry Warsaw2017-06-303-2/+20
|\ | | | | | | | | | | | | Ignore syntactically invalid sender addresses. Closes #229 See merge request !294
| * Ignore syntactically invalid sender addresses.Mark Sapiro2017-06-303-2/+20
|/
* Merge branch 'listmanager' into 'master'Barry Warsaw2017-06-246-43/+97
|\ | | | | | | | | IListManager.get() now accepts both List-IDs and FQDN list names. See merge request !293
| * IListManager.get() now accepts both List-IDs and FQDN list names.Barry Warsaw2017-06-246-43/+97
|/
* Minor typo.Barry Warsaw2017-06-171-1/+1
|
* Merge branch 'pipelines-dynamical-instantiation' into 'master'Barry Warsaw2017-06-175-79/+144
|\ | | | | | | | | Move pipelines to their own package, instantiate them dynamically. See merge request !287
| * Move pipelines to their own package, instantiate them dynamically.pipelines-dynamical-instantiationJ08nY2017-06-175-79/+144
|/
* Merge branch 'find-components' into 'master'Barry Warsaw2017-06-179-70/+214
|\ | | | | | | | | Provide a better way to avoid instantiating some components See merge request !291
| * Provide a better way to avoid instantiating some componentsBarry Warsaw2017-06-179-70/+214
|/
* Merge branch 'html_to_plaintext' into 'master'Barry Warsaw2017-06-163-7/+88
|\ | | | | | | | | | | | | Catch FileNotFoundError and PermissionError on html_to_plain_text_command. Closes #345 See merge request !290
| * Did some reformatting and added tests.Mark Sapiro2017-06-152-15/+62
| |
| * Catch FileNotFoundError and PermissionError on html_to_plain_text_command.Mark Sapiro2017-06-133-1/+35
|/
* Bump the code name.Barry Warsaw2017-06-091-1/+1
|
* Name and version bump for 3.2.Barry Warsaw2017-06-042-1/+5
|
* Merge branch '3.1.0' into 'master'Barry Warsaw2017-05-252-4/+4
|\ | | | | | | | | 3.1.0 final! See merge request !285
| * 3.1.0 final!Barry Warsaw2017-05-252-4/+4
|/
* Merge branch 'rc2' into 'master'Barry Warsaw2017-05-251-2/+2
|\ | | | | | | | | 3.1rc2 See merge request !284