X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/121349bc707dc31a4e1dd46392960ba02aada1d1..11014041527e050c889dfb8899e0fb87945b5513:/forum/settings/email.py?ds=sidebyside diff --git a/forum/settings/email.py b/forum/settings/email.py index e934d30..71a7136 100644 --- a/forum/settings/email.py +++ b/forum/settings/email.py @@ -31,7 +31,7 @@ EMAIL_HOST_PASSWORD = Setting('EMAIL_HOST_PASSWORD', '', EMAIL_SET, dict( label = _("Email Password"), help_text = _("The password for your SMTP connection."), required=False, -widget=PasswordInput)) +widget=PasswordInput(render_value=True))) EMAIL_USE_TLS = Setting('EMAIL_USE_TLS', False, EMAIL_SET, dict( label = _("Use TLS"), @@ -43,6 +43,11 @@ label = _("Site 'from' Email Address"), help_text = _("The address that will show up on the 'from' field on emails sent by your website."), required=False)) +DEFAULT_REPLY_TO_EMAIL = Setting('DEFAULT_REPLY_TO_EMAIL', '', EMAIL_SET, dict( +label = _("Site 'reply-to' Email Address"), +help_text = _("The address that will show up on the 'reply-to' field on emails sent by your website."), +required=False)) + EMAIL_SUBJECT_PREFIX = Setting('EMAIL_SUBJECT_PREFIX', '', EMAIL_SET, dict( label = _("Email Subject Prefix"), help_text = _("Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easily set up a filter on their email clients."), @@ -68,6 +73,14 @@ label = _("Email Link Style"), help_text = _("A valid css string to be used to style email links (the A tag)."), required=False)) +SEND_DIGEST_ONLY_TO_ACTIVE_USERS = Setting('SEND_DIGEST_ONLY_TO_ACTIVE_USERS', True, EMAIL_SET, dict( +label = _("Send digest only to active users"), +help_text = _("If checked the daily digest won't be sent to users that have been suspended."), +required=False)) +SEND_DIGEST_ONLY_TO_VALIDATED_USERS = Setting('SEND_DIGEST_ONLY_TO_VALIDATED_USERS', True, EMAIL_SET, dict( +label = _("Send digest only to validated users"), +help_text = _("If checked the daily digest won't be sent to users that haven't validated their emails."), +required=False)) EMAIL_DIGEST_FLAG = Setting('EMAIL_DIGEST_FLAG', None)