summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs/membership.rst (follow)
Commit message (Collapse)AuthorAgeFilesLines
* REST: allow setting a member's moderation_action to NoneAurélien Bompard2016-07-121-0/+22
|
* Some fixes.Barry Warsaw2016-04-301-0/+1
|
* Tweaks and clean up.Barry Warsaw2016-04-291-73/+79
| | | | | | | | * 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-281-27/+74
|
* Complete the port to Falcon 1.0.Barry Warsaw2016-04-021-0/+4
|
* Allow fall backs for moderation actions.Barry Warsaw2016-04-011-2/+6
| | | | | | | | | The `moderation_action` for members and nonmember can now be ``None`` which signals falling back to the appropriate list default action, e.g. `default_member_action` and `default_nonmember_action`. Given by Aurélien Bompard. Closes #189
* Members and nonmembers moderation action fallbackAurélien Bompard2016-03-311-42/+8
| | | | | | | | Members and nonmember's moderation action should be None by default, and in that case the moderation rule should fallback to the mailing list's default action. Fixes: #189
* Add NEWS and tweak.Barry Warsaw2016-01-131-1/+1
|
* Member search can be done using GET requestsAurélien Bompard2016-01-131-0/+22
|
* Clean up the branch for landing.Barry Warsaw2016-01-131-22/+23
| | | | | | | | | | | | * Add NEWS * Update copyright years. * Adjust for new IAPI.path_to() interface. * Style. * Remove some unreachable code. * Boost coverage. * Change some Bad Requests into Not Founds. * Do not include `list_id` in resource JSON for global bans. * Rephrase some doctests.
* Add the self_link for bans and factor some codeAurélien Bompard2016-01-131-2/+14
|
* Expose the ban list on the REST APIAurélien Bompard2016-01-131-0/+81
|
* Boost coverage.Barry Warsaw2016-01-081-3/+38
|
* Allow a Member's moderation_action to be changed by the REST API.Aurélien Bompard2015-12-081-0/+71
| | | | Cleanups by Barry. Closes !67
* Rework pagination to fix the 'start' and 'total_size' valuesAurélien Bompard2015-11-041-2/+2
|
* Plumb the subscription policy through the REST API.Barry Warsaw2015-04-151-109/+27
|
* Extended test helper subscribe() which takes an optional email address andBarry Warsaw2015-03-261-0/+13
| | | | returns the newly created member.
* * Member resource JSON now include the ``member_id`` as a separate key.Barry Warsaw2015-02-131-0/+46
|
* All the REST tests pass.Barry Warsaw2014-12-151-2/+2
|
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-2/+2
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* * Fixed a crash in the REST server when searching for nonmembers viaBarry Warsaw2014-04-151-46/+92
| | | | | | | | ``/find`` which we've never seen before, because those members only have an address record, not a user record. This requires a small change in the API where the JSON response's ``address`` key now contains the URL to the address resource, the new ``email`` key contains the email address as a string, and the ``user`` key is optional.
* Aurélien Bompard's import-from-2.1 branch, with cleanup and fixes.Barry Warsaw2014-04-141-1/+1
|
* Tweaks and fixes by Barry.Barry Warsaw2013-03-211-2/+4
|
* REST API: Added pagination functionality to list, member and user collections.Florian Fuchs2013-03-201-0/+38
| | | | This is related to LP: #1156529.
* * The link between members and the mailing lists they are subscribed to, isBarry Warsaw2012-09-041-54/+54
| | | | | | | | | | | | | | | now via the RFC 2369 `list_id` instead of the fqdn listname (i.e. posting address). This is because while the posting address can change if the mailing list is moved to a new server, the list id is fixed. (LP: #1024509) + IListManager.get_by_list_id() added. + IListManager.list_ids added. + IMailingList.list_id added. + Several internal APIs that accepted fqdn list names now require list ids, e.g. ISubscriptionService.join() and .find_members(). + IMember.list_id attribute added; .mailing_list is now an alias that retrieves and returns the IMailingList. - list_id added (LP: #1024509)
* Schema change. After discussion at Pycon, we decided to change "real_name" toBarry Warsaw2012-03-151-2/+2
| | | | | | | | | | | "display_name" across the board. * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name` * Schema changes: - real_name -> display_name (mailinglist, user, address)
* * You can now query or change a member's `delivery_mode` attribute throughBarry Warsaw2011-09-011-1/+96
|\ | | | | | | the REST API (LP: #833132). Given by Stephen A. Goss.
| * LP 833132: add delivery_mode to member info in REST API, and make PATCHable ↵Stephen A. Goss2011-08-241-1/+103
| | | | | | | | with tests
* | * User and Member ids are now proper UUIDs. The UUIDs are pended as unicodes,Barry Warsaw2011-08-301-4/+26
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and exposed to the REST API as their integer equivalents. They are stored in the database using Storm's UUID type. - ISubscriptionService.get_member() now takes a UUID - IUserManager.get_user_by_id() now takes a UUID * Moderators and owners can be added via REST (LP: #834130). Given by Stephen A. Goss. - add_member() grows a `role` parameter. - ISubscriptionService.join() grows a `role` parameter. * InvalidEmailAddressError no longer repr()'s its value. * `address` -> `email` for consistency - delete_member() - ISubscriptionService.leave() * Fixed typo in app/subscriptions.py __all__ * AlreadySubscribedError: attributes are now public. * More .txt -> .rst renames.
| * LP: #834130 add moderators and owners through REST API w/testsStephen A. Goss2011-08-251-2/+21
|/
* Basic infrastructure for fixing bug 827036.Barry Warsaw2011-08-171-0/+37
| | | | | | | | | * Use zope.events to signal when a mailing list has been created or deleted. * Register a handler for the ListDeletedEvent which cleans up member subscriptions. * Relax the criteria for find_members(), both internally and in the REST API, so that the subscriber is not required. E.g. you can now find all members of a mailing list.
* Remove role plurals from /lists/<fqdn_listname/rosters/<role>Barry Warsaw2011-08-141-2/+17
|
* Fixed broken API for getting a membership via role and email from a mailingBarry Warsaw2011-08-141-0/+11
| | | | | | list. (LP: #825570) Untested code is broken code.
* * New REST resource http://.../members/find can be POSTed to in order to findBarry Warsaw2011-08-131-0/+618
member records. Arguments are `subscriber` (email address to search for - required), `fqdn_listname` (optional), and `role` (i.e. MemberRole - optional). (LP: #799612)