summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs/configuration.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * The IMailingList attribute ``host_name`` has been renamed to ``mail_host``Barry Warsaw2011-06-161-400/+0
| | | | | for consistency. This changes the REST API for mailing list resources. (LP: #787599)
* Complete the ability to change a subscription address, both internally and viaBarry Warsaw2011-04-251-3/+3
| | | | | | | | | | | | | | the REST API. (LP: #643949) * New resource path in REST API: /addresses/<email>/memberships gets all the memberships for a given email address. * In the REST API, PUTting or PATCHing a list configuration now returns a 204 (No Content) success code instead of a 200 success code with an empty body. * When a user is subscribed with their preferred address, changing the preferred address also changes all subscriptions. * When a user is subscribed with a specific address, their subscription can be changed to any verified address they control. * Use a new naming scheme for doctests with multiple mailing lists.
* Fairly significant change to the way member and nonmember moderation occurs.Barry Warsaw2010-12-291-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Now, nonmembers are represented by a separate roster of IMembers, the latter which has grown a `moderation_action` enum. When that action is `defer`, then the normal processing rules apply. Anything else and the `moderation` chain is jumped to for a shortcut to moderation (which may include immediate acceptance). TODO: handle unregistered nonmembers. Details: * The member-moderation rule is renamed to just moderation, and handles both members and nonmembers (though the latter must currently be registered). * The moderation rule is moved up in the builtin chain. It is now checked after `approved`, `emergency`, and `loop`, but before the normal moderation checks. This means that nonmember postings will be (by default) held much earlier. * IMember.is_moderated is removed. * IMember.moderation_action is added. * IMailingList.default_member_moderation is removed. * IMailingList.default_member_action and IMailingList.default_nonmember_action are added. * MemberRole.nonmember is added.
* Clean up from the previous commit.Barry Warsaw2010-12-281-3/+7
| | | | | | * member_moderation_action exposed in IMailingList * REST configuration test for member_moderation_action, send_welcome_msg, and welcome_msg.
* This is part 1 of the merge of Jimmy Bergman's branchBarry Warsaw2010-12-281-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lp:~jimmy-sigint/mailman/restapi_additional_attributes Ostensibly, this adds support for a few additional attributes through the REST API: * default_member_moderation * generic_nonmember_action * member_moderation_action * reply_goes_to_list * send_welcome_msg * welcome_msg However, I had never previously fleshed out the conversion of default_member_moderation and member_moderation_action into the MM3 way of things. That is now done. Non-member moderation still needs to be done. Specific changes: * mailman.chains.base.Chain no longer self registers * The built-in chain gets a new link for checking 'member-moderation'. If this rule matches, it jumps to the 'member-moderation' chain, which checks member_moderation_action and returns a link that jumps to the appropriate terminal chain. * Chain initialization is done by the same auto-detection as rules, handlers, etc. The one tricky thing is that abstract base classes such as Chain and TerminalChainBase can't be instantiated. For now, there's an ugly special case to skip these. * default_member_moderation is now exposed in the IMailingList interface. * Member.is_moderated gets set in the constructor from the mailing list's default_member_moderation. * The 'moderation' rule is renamed 'member-moderation'. TODO: * Work out non-member moderation * Add member_moderation_action to IMailingList * Double check tests for reply_goes_to_list, send_welcome_msg, and welcome_msg
| * Add reply_goes_to_list, send_welcome_msg, welcome_msg, ↵root2010-10-131-0/+21
| | | | | | | | member_moderation_action, default_member_moderation and generic_nonmember_action to the writable attributes in the REST service
* | Insulate the test environment from the running environment. Sadly, the testBarry Warsaw2010-12-221-12/+12
|/ | | | | | ports are still hard coded. Also, 'bin/mailman info' dumps the REST root url and credentials.
* More documentation fixes.Barry Warsaw2010-09-151-10/+10
|
* Ugly, ugly, ugly hack to enable the non-standard HTTP verb PATCH for partialBarry Warsaw2010-09-011-6/+11
| | | | | | resource updates. None of the lower components (well, except restish) actually allows us to extend things for PATCH in any kind of principled way. I am the Kludge King.
* Refactor the list configuration code via the REST interface, and flesh it outBarry Warsaw2010-08-231-23/+30
| | | | considerably.
* Expose description in the interface and REST API.Barry Warsaw2010-08-121-0/+9
|
* Expose the autoreponse values in the IMailingList interface and REST API.Barry Warsaw2010-08-121-1/+80
|
* Expose administrivia in the IMailingList interface and REST API.Barry Warsaw2010-08-111-0/+6
|
* Expose anonymous_list and advertised in the IMailingList interface and in ↵Barry Warsaw2010-08-111-0/+14
| | | | the configuration REST API.
* Expose in the IMailingList interface, and in the REST API.Barry Warsaw2010-08-111-48/+68
| | | | | | | * admin_immed_notify * admin_notify_mchanges Sort acceptable aliases when returned from the API.
* Acceptable aliases as a sub-resource.Barry Warsaw2010-08-101-2/+55
|
* Placeholder for PATCH implementation.Barry Warsaw2010-08-101-1/+101
|
* Implement HTTP PUT (good path) for changing a list's configuration.Barry Warsaw2010-08-101-0/+40
|
* Access mailing list configuration via RESTBarry Warsaw2010-08-101-0/+42
* last_post_time -> last_post_at * protocol -> scheme * creation_date _> created_at * last_post_time -> last_post_at * Add an extended JSON encoder for datetimes * Be sure to initialize convert_html_to_plaintext and filter_content in the default style.