diff options
| author | Barry Warsaw | 2012-03-03 23:29:26 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-03 23:29:26 -0500 |
| commit | 7e5470afdef0a60796cdb7974f30c46cfbfcbd4f (patch) | |
| tree | 9e788a48c0aeb4553b3b1fa966fc7ecb24be22f9 /src/mailman/rest/configuration.py | |
| parent | e09c13199c2a60724ee601902a51a816e627e024 (diff) | |
| download | mailman-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 '')
| -rw-r--r-- | src/mailman/rest/configuration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/configuration.py b/src/mailman/rest/configuration.py index 4bff37d83..028ee86fa 100644 --- a/src/mailman/rest/configuration.py +++ b/src/mailman/rest/configuration.py @@ -199,10 +199,10 @@ ATTRIBUTES = dict( reply_goes_to_list=GetterSetter(enum_validator(ReplyToMunging)), request_address=GetterSetter(None), scheme=GetterSetter(None), - send_welcome_msg=GetterSetter(as_boolean), + send_welcome_message=GetterSetter(as_boolean), volume=GetterSetter(None), web_host=GetterSetter(None), - welcome_msg=GetterSetter(unicode), + welcome_message_uri=GetterSetter(unicode), ) |
