summaryrefslogtreecommitdiff
path: root/src/mailman/app
Commit message (Collapse)AuthorAgeFilesLines
* PR288 vettedBarry Warsaw2017-08-292-122/+1
|
* Rename metadata key for clarityBarry Warsaw2017-08-042-16/+64
|
* Convert to click for CLI optionsBarry Warsaw2017-07-223-4/+7
|
* Provide a better way to avoid instantiating some componentsBarry Warsaw2017-06-171-9/+2
|
* Ensure the held message subject is a string.Mark Sapiro2017-05-241-1/+2
|
* Fix the template name of the welcome message.Barry Warsaw2017-05-241-2/+3
| | | | | | | | | | | | | | | | | We did not previously complete the renaming of the templates. Rename: * user:ack:welcome -> list:user:notice:welcome * user:ack:goodbye -> list:user:notice:goodbye The new names are what are actually used in send_welcome_message() and send_goodbye_message() so the old names were actually never used. NOTE: If you added welcome or goodbye templates through REST from git head, the old names will not be used. Given that this wasn't a feature in 3.0, and the above use case is very unlikely, I've decided not to do a migration. If anybody is affected, the changes can be made manually in withlist. Closes: #337
* Fix two problems and close #260Barry Warsaw2017-04-221-1/+18
|
* Moved InvalidListNameError class definition to mailman.interfaces.mailinglist.Mark Sapiro2017-02-202-13/+6
| | | | | Added more documentation on config.mailman.listname_chars. Made a couple of minor tweaks.
* Updated rest/lists.py to handle list name error exceptions and addedMark Sapiro2017-02-192-1/+5
| | | | | | tests for for the exceptions. Enhanced the InvalidListNameError exception to return the invalid name.
* Replaced assertEqual with assertRegex to account for difference in errorMark Sapiro2017-02-191-5/+6
| | | | messages between python versions.
* Made the allowable list name characters configurable.Mark Sapiro2017-02-192-1/+38
|
* Implemented stricter listname validation.Mark Sapiro2017-02-192-2/+23
|
* Skip a test if run as root, as can happen with GL shared runnersBarry Warsaw2017-02-191-0/+1
|
* Bump copyright years.Barry Warsaw2017-01-0424-24/+24
|
* Fix flake8 errors.Mark Sapiro2016-12-042-2/+4
|
* Fix tests for test-owner instead of moderator's address.Mark Sapiro2016-12-042-2/+2
|
* Merge gitlab.com:mailman/mailman into to_moderatorsMark Sapiro2016-12-0413-13/+13
|\
| * Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-2913-13/+13
| |
* | Remove to_moderators.Mark Sapiro2016-12-041-1/+1
| |
* | Rrmove to_moderators.Mark Sapiro2016-12-041-2/+2
|/
* Minor style cleanup.Barry Warsaw2016-11-241-23/+23
|
* Fix an API callAurélien Bompard2016-11-211-1/+1
|
* Run the workflows at the end of the tests to clean things upAurélien Bompard2016-11-211-0/+5
|
* Handle a missing user when a workflow is restored.Aurélien Bompard2016-11-212-1/+39
| | | | | | Between the creation of a subscription workflow and its approval, the user may have been merged with another user. In this case, use the associated address to find the new user.
* Workflow: support dependencies between attributesAurélien Bompard2016-11-212-2/+59
| | | | | | Restore the attributes in the order they are declared in `SAVE_ATTRIBUTES` to allow for dependencies between attributes (required by the `SubscriptionWorkflow`).
* Fix a flake8 error.Barry Warsaw2016-11-131-1/+1
|
* Closes: #68Barry Warsaw2016-11-134-13/+25
| | | | | Messages sent to the list's moderators now include the actual recipient addresses. Given by Tom Briles.
* Issue 68: send messages to list moderators when tomoderators=TrueTom Briles2016-10-312-2/+15
|
* 99% test coverage.Barry Warsaw2016-10-215-34/+188
| | | | | | | | | Also: * Ignore coverage in the testing submodule. * Remove some unreachable code. * Spelling. * Fix a bug in run_thru().
* Refactor.Barry Warsaw2016-10-182-105/+38
|
* Simplify the implementation.Barry Warsaw2016-10-177-85/+45
| | | | | | | | | | | | | | | | | | | | | | This merges the SubscriptionManager and UnsubscriptionManager into a single SubscriptionManager implementation that handles both register() and unregister(). This allows us to use direct class-based adaptation instead of the more clunky getAdapter() API. We can also eliminate the funky _get_workflow() implementation detail. This has a couple of side-effects. .confirm() must lookup the token in the pendings database and pull out the pending type, dispatching to the proper class depending on the type, or raising a LookupError if the token is None or there is no pendable associated with the given token. This feels like an acceptable trade-off. However, this *also* means that IWorkflowStateManager must lose its 'name' argument in its methods. That's because we won't actually know the name until its too late. Honestly, the name wasn't providing much value anyway (it was always the subclass's name), so losing that seems fine too. The complication here is that the name was a primary key in the 'workflowstate' table, so we need to add its removal in the database migration.
* flake8 fixes.Barry Warsaw2016-10-163-4/+3
|
* Another fix.Barry Warsaw2016-09-161-3/+3
|
* Split registration (subscription) and unsubscription:Barry Warsaw2016-09-133-18/+25
| | | | | | | | * events * notices * handlers Also, be sure to do only one `leave` command per email.
* Fix more tests.Barry Warsaw2016-09-112-3/+3
|
* Collapse two doctests into one.Barry Warsaw2016-09-111-0/+1
| | | | Also, fix the return value of .unregister(), and make the tests pass.
* More test fixes.Barry Warsaw2016-09-092-12/+14
|
* A few more changes.Barry Warsaw2016-09-082-4/+5
|
* Fix many failures.Barry Warsaw2016-09-081-1/+18
| | | | Also, document more APIs.
* Remove workflowmanager.pyBarry Warsaw2016-09-024-154/+5
|
* IWorkflowManager -> ISubscriptionManagerBarry Warsaw2016-09-011-5/+5
|
* CheckpointingBarry Warsaw2016-09-015-308/+55
|
* Checkpointing.Barry Warsaw2016-09-011-3/+298
|
* Intermediate CommitAbhilash Raj2016-09-018-32/+744
|
* Added unsubscribe instructions to list:member:generic:footer.txtFrancesco Ariis2016-08-251-4/+4
|
* Reorganize the documentation for better accesibilityAbhilash Raj2016-08-211-0/+8
|
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-283-3/+3
|
* New template system. Closes #249Barry Warsaw2016-07-1614-371/+150
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Fixes #237Barry Warsaw2016-06-032-16/+33
| | | | | Nonmember subscriptions are removed when one of the addresses controlled by a user is subscribed as a member. Given by Aditya Divekar. (Closes #237)
* Add test to check deletion of nonmmeber record.Aditya2016-05-311-0/+20
|