| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Bump copyright years. | Barry Warsaw | 2017-01-04 | 1 | -1/+1 |
| | | |||||
| * | Use `atpublic` for @public instead of internal copy. | Barry Warsaw | 2016-11-29 | 1 | -1/+1 |
| | | |||||
| * | Simplify the implementation. | Barry Warsaw | 2016-10-17 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | IWorkflowManager -> ISubscriptionManager | Barry Warsaw | 2016-09-01 | 1 | -2/+2 |
| | | |||||
| * | Checkpointing | Barry Warsaw | 2016-09-01 | 1 | -2/+1 |
| | | |||||
| * | Intermediate Commit | Abhilash Raj | 2016-09-01 | 1 | -3/+5 |
| | | |||||
| * | New template system. Closes #249 | Barry Warsaw | 2016-07-16 | 1 | -1/+1 |
| | | | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details. | ||||
| * | API consistency. | Barry Warsaw | 2016-04-03 | 1 | -1/+1 |
| | | |||||
| * | Clean up the rest directory. | Barry Warsaw | 2016-03-25 | 1 | -8/+3 |
| | | |||||
| * | Handle AlreadySubscribedError in REST. | Barry Warsaw | 2016-02-15 | 1 | -1/+5 |
| | | | | | | | | | When approving a subscription request via the REST API, for a user who is already a member, return an HTTP 409 Conflict code instead of the previous server traceback (and resulting HTTP 500 code). Closes #193 | ||||
| * | More coverage. | Barry Warsaw | 2016-01-04 | 1 | -2/+3 |
| | | |||||
| * | Happy New Year. | Barry Warsaw | 2016-01-02 | 1 | -1/+1 |
| | | |||||
| * | Fix a leftover type argument | Aurélien Bompard | 2015-12-16 | 1 | -1/+1 |
| | | |||||
| * | Update the REST query to use the find() method | Aurélien Bompard | 2015-12-16 | 1 | -16/+3 |
| | | |||||
| * | _resource_as_dict() may not return None. | Barry Warsaw | 2015-12-12 | 1 | -0/+1 |
| | | | | | Add some assertions to prove this is always the case. | ||||
| * | Branch his ready. | Barry Warsaw | 2015-04-17 | 1 | -2/+12 |
| | | |||||
| * | Check pointing new subscription moderation REST API. | Barry Warsaw | 2015-04-17 | 1 | -40/+49 |
| | | |||||
| * | Updates. | Barry Warsaw | 2015-04-16 | 1 | -34/+8 |
| | | |||||
| * | Checkpointing. | Barry Warsaw | 2015-04-16 | 1 | -0/+155 |
