summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-03 23:29:26 -0500
committerBarry Warsaw2012-03-03 23:29:26 -0500
commit7e5470afdef0a60796cdb7974f30c46cfbfcbd4f (patch)
tree9e788a48c0aeb4553b3b1fa966fc7ecb24be22f9 /src/mailman/rest/docs
parente09c13199c2a60724ee601902a51a816e627e024 (diff)
downloadmailman-7e5470afdef0a60796cdb7974f30c46cfbfcbd4f.tar.gz
mailman-7e5470afdef0a60796cdb7974f30c46cfbfcbd4f.tar.zst
mailman-7e5470afdef0a60796cdb7974f30c46cfbfcbd4f.zip
* Support downloading templates by URI, including mailman:// URIs. This is
used in welcome and goodbye messages, and supports both language and mailing list specifications. E.g. mailman:///test@example.com/it/welc.txt * Schema changes: - welcome_msg -> welcome_message_uri - goodbye_msg -> goodbye_message_uri - send_welcome_msg -> send_welcome_message - send_goodbye_msg -> send_goodbye_message * New `ITemplateLoader` utility.
Diffstat (limited to 'src/mailman/rest/docs')
-rw-r--r--src/mailman/rest/docs/configuration.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mailman/rest/docs/configuration.rst b/src/mailman/rest/docs/configuration.rst
index 55b732172..5f59a1915 100644
--- a/src/mailman/rest/docs/configuration.rst
+++ b/src/mailman/rest/docs/configuration.rst
@@ -58,10 +58,10 @@ All readable attributes for a list are available on a sub-resource.
reply_goes_to_list: no_munging
request_address: test-one-request@example.com
scheme: http
- send_welcome_msg: True
+ send_welcome_message: True
volume: 1
web_host: lists.example.com
- welcome_msg:
+ welcome_message_uri:
Changing the full configuration
@@ -98,8 +98,8 @@ all the writable attributes in one request.
... convert_html_to_plaintext=True,
... collapse_alternatives=False,
... reply_goes_to_list='point_to_list',
- ... send_welcome_msg=False,
- ... welcome_msg='Welcome!',
+ ... send_welcome_message=False,
+ ... welcome_message_uri='Welcome!',
... default_member_action='hold',
... default_nonmember_action='discard',
... generic_nonmember_action=2,
@@ -146,9 +146,9 @@ These values are changed permanently.
real_name: Fnords
reply_goes_to_list: point_to_list
...
- send_welcome_msg: False
+ send_welcome_message: False
...
- welcome_msg: Welcome!
+ welcome_message_uri: Welcome!
If you use ``PUT`` to change a list's configuration, all writable attributes
must be included. It is an error to leave one or more out...
@@ -179,8 +179,8 @@ must be included. It is an error to leave one or more out...
... convert_html_to_plaintext=True,
... collapse_alternatives=False,
... reply_goes_to_list='point_to_list',
- ... send_welcome_msg=True,
- ... welcome_msg='welcome message',
+ ... send_welcome_message=True,
+ ... welcome_message_uri='welcome message',
... default_member_action='accept',
... default_nonmember_action='accept',
... generic_nonmember_action=2,