incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [36/50] git commit: [#6826] ticket:484 Mass edit emails
Date Fri, 15 Nov 2013 15:43:01 GMT
[#6826] ticket:484 Mass edit emails

Reply-to field has updated to use config['forgemail.return_path']


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/2c6339ab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/2c6339ab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/2c6339ab

Branch: refs/heads/cj/6777
Commit: 2c6339ab4592bcca37ca7f64941ac95d433faefa
Parents: 4b1e60d
Author: Andrej Aleksandrov <pinelounge@gmail.com>
Authored: Tue Nov 12 10:23:34 2013 +0200
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Wed Nov 13 20:06:16 2013 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/model/ticket.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/2c6339ab/ForgeTracker/forgetracker/model/ticket.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/model/ticket.py b/ForgeTracker/forgetracker/model/ticket.py
index 1360c84..a7b17f8 100644
--- a/ForgeTracker/forgetracker/model/ticket.py
+++ b/ForgeTracker/forgetracker/model/ticket.py
@@ -36,6 +36,8 @@ from ming.orm import FieldProperty, ForeignIdProperty, RelationProperty
 from ming.orm.declarative import MappedClass
 from ming.orm.ormsession import ThreadLocalORMSession
 
+from tg import config as tg_config
+
 from allura.model import (
         ACE,
         DENY_ALL,
@@ -407,7 +409,7 @@ class Globals(MappedClass):
         mail = dict(
             sender = c.project.app_instance(self.app_config).email_address,
             fromaddr = str(c.user._id),
-            reply_to = str(c.user._id),
+            reply_to = tg_config['forgemail.return_path'],
             subject = '[%s:%s] Mass edit changes by %s' % (c.project.shortname,
                                                            self.app_config.options.mount_point,
                                                            c.user.display_name),


Mime
View raw message