summaryrefslogtreecommitdiff
path: root/src/mailman/rest
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Test invalid url response.amitt0012016-10-301-0/+8
| | |
* | | Rest api send error response with headersamitt0012016-10-301-1/+23
| |/ |/|
* | Full coverage.Barry Warsaw2016-10-261-7/+8
| | | | | | | | NEWS.
* | Implement the review suggestionsAurélien Bompard2016-10-262-5/+5
| | | | | | | | See !161
* | Add a method to find list using properties filtersAurélien Bompard2016-10-261-8/+5
| | | | | | | | | | | | This allows the filtering to be done at the database level. It also makes list pagination much more efficient, since the slicing is done at the database level too.
* | REST: add a query string to only get advertised listsAurélien Bompard2016-10-262-5/+39
| |
* | replaced `find` method with `bans` propertyAmit Tripathi2016-10-251-1/+1
| |
* | Added QuerySequence as return type of banned address listAmit Tripathi2016-10-251-1/+1
| |
* | Fixed a bunch of things in PATCHing domains and added tests and NEWS.Mark Sapiro2016-10-222-15/+58
| |
* | Merge gitlab.com:mailman/mailmanMark Sapiro2016-10-228-15/+25
|\ \
| * | Simplify the implementation.Barry Warsaw2016-10-174-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-1/+1
| | |
| * | Split registration (subscription) and unsubscription:Barry Warsaw2016-09-134-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | * events * notices * handlers Also, be sure to do only one `leave` command per email.
| * | IWorkflowManager -> ISubscriptionManagerBarry Warsaw2016-09-014-11/+13
| | |
| * | CheckpointingBarry Warsaw2016-09-014-5/+4
| | |
| * | Intermediate CommitAbhilash Raj2016-09-014-13/+16
| | |
* | | First cut at PUT/PATCH for domain.Mark Sapiro2016-10-201-0/+33
|/ /
* | Use a multiline value and update NEWSAurélien Bompard2016-08-311-2/+2
| |
* | REST: allow MailingList.info to be setAurélien Bompard2016-08-303-0/+19
| |
* | Close #273Barry Warsaw2016-08-232-3/+2
| | | | | | | | | | A mailing list's ``description`` must not contain newlines. Given by Aurélien Bompard.
* | Forbid newlines in MailingList.descriptionAurélien Bompard2016-08-232-1/+21
| | | | | | | | Fixes: #273
* | Reorganize the documentation for better accesibilityAbhilash Raj2016-08-211-0/+8
|/
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-282-2/+2
|
* Fix typo. #267Mark Sapiro2016-07-171-1/+1
|
* New template system. Closes #249Barry Warsaw2016-07-1620-76/+1678
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Fix #207Barry Warsaw2016-07-144-1/+24
| | | | | A list's ``moderator_password`` can be set via the REST API. Given by Andrew Breksa.
* allow_none -> allow_blankBarry Warsaw2016-07-123-6/+6
|
* Fix import orderAurélien Bompard2016-07-121-1/+1
|
* REST: allow setting a member's moderation_action to NoneAurélien Bompard2016-07-125-3/+41
|
* Better handling of the REST API plumbing.Barry Warsaw2016-06-284-18/+25
| | | | | | | | | * Add a version_info field which is a better way to do ordered comparisions of the API version. * All subresources now get their .api attribute set automatically, if they are passed back through the ObjectRouter. No more fiddling with context['api'] (unless of course, they don't make a roundtrip through the main ObjectRouter loop.
* Clean up REST bits.Barry Warsaw2016-05-142-23/+20
|
* Fix Flake8 errorsAurélien Bompard2016-05-041-1/+1
|
* Allow merging users from the REST interfaceAurélien Bompard2016-05-042-6/+39
|
* Some fixes.Barry Warsaw2016-04-301-0/+1
|
* Tweaks and clean up.Barry Warsaw2016-04-293-111/+186
| | | | | | | | * Add NEWS entry. * De-duplicate emails in the sequence passed to the model's ISubscriptionService.unsubscribe_members() method. * Modify the semantics of the DELETE method to return a mapping of addresses to boolean status.
* Add batch unsubscribe option to REST API.Harshit Bansal2016-04-283-28/+130
|
* public() takes keyword arguments.Barry Warsaw2016-04-041-2/+3
|
* Revert a few incorrect renames.Barry Warsaw2016-04-034-42/+42
|
* Don't pass `api` when it's readily available.Barry Warsaw2016-04-033-33/+20
|
* Fix some tests.Barry Warsaw2016-04-032-3/+3
|
* Clean up.Barry Warsaw2016-04-031-23/+17
|
* API consistency.Barry Warsaw2016-04-0310-64/+65
|
* Complete the port to Falcon 1.0.Barry Warsaw2016-04-029-5/+32
|
* Checkpointing.Barry Warsaw2016-04-024-124/+128
|
* Add coverage and NEWS.Barry Warsaw2016-04-021-32/+42
|
* Sort chains and pipelines before returning themSimon Hanna2016-04-022-4/+6
| | | | Update tests to check for return values
* Add tests for exposed chains and pipelinesSimon Hanna2016-04-021-0/+30
|
* Expose chains through the rest interfaceSimon Hanna2016-04-021-0/+11
|
* Expose pipelines through the rest interfaceSimon Hanna2016-04-021-0/+11
|
* Don't use `flake8: noqa`.Barry Warsaw2016-04-012-2/+2
| | | | | | | This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps.