[PATCH 1 of 6] e-mail: add hidden setting error_subject_prefix
Thomas De Schampheleire
patrickdepinguin at gmail.com
Sun Aug 2 20:51:35 UTC 2015
# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1438368443 -7200
# Fri Jul 31 20:47:23 2015 +0200
# Node ID c530a2d8643042b7424e4bec5f00a1017eeae57d
# Parent 1cdfd54a9c8ffbaccb4082677e3c494c638ce9b7
e-mail: add hidden setting error_subject_prefix
The WebError ErrorMiddleware supports a setting error_subject_prefix which
defaults to 'WebApp Error: '. A subsequent commit will add documentation for
that setting, but already add it here, commented out.
diff --git a/development.ini b/development.ini
--- a/development.ini
+++ b/development.ini
@@ -22,6 +22,7 @@ pdebug = false
################################################################################
#email_to = admin at localhost
#error_email_from = paste_error at localhost
+#error_subject_prefix =
#app_email_from = kallithea-noreply at localhost
#email_prefix = [Kallithea]
diff --git a/kallithea/bin/template.ini.mako b/kallithea/bin/template.ini.mako
--- a/kallithea/bin/template.ini.mako
+++ b/kallithea/bin/template.ini.mako
@@ -16,6 +16,7 @@ pdebug = false
################################################################################</%text>
#email_to = admin at localhost
#error_email_from = paste_error at localhost
+#error_subject_prefix =
#app_email_from = kallithea-noreply at localhost
#email_prefix = [Kallithea]
diff --git a/kallithea/config/deployment.ini_tmpl b/kallithea/config/deployment.ini_tmpl
--- a/kallithea/config/deployment.ini_tmpl
+++ b/kallithea/config/deployment.ini_tmpl
@@ -17,6 +17,7 @@ pdebug = false
################################################################################
#email_to = admin at localhost
#error_email_from = paste_error at localhost
+#error_subject_prefix =
#app_email_from = kallithea-noreply at localhost
#email_prefix = [Kallithea]
diff --git a/test.ini b/test.ini
--- a/test.ini
+++ b/test.ini
@@ -21,6 +21,7 @@ pdebug = false
################################################################################
#email_to = admin at localhost
#error_email_from = paste_error at localhost
+#error_subject_prefix =
#app_email_from = kallithea-noreply at localhost
#email_prefix = [Kallithea]
More information about the kallithea-general
mailing list