allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [10/50] [abbrv] allura git commit: [#6107] ticket:748 Show allow email posting option as True by default
Date Wed, 27 May 2015 11:57:42 GMT
[#6107] ticket:748 Show allow email posting option as True by default


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

Branch: refs/heads/ib/7868
Commit: c307dd49d4b0e4728e6c7994b44d8be00bb984bb
Parents: 1eb76e4
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Thu Apr 30 22:16:47 2015 +0300
Committer: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Committed: Thu Apr 30 22:16:47 2015 +0300

----------------------------------------------------------------------
 ForgeDiscussion/forgediscussion/forum_main.py | 2 +-
 ForgeTracker/forgetracker/tracker_main.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/c307dd49/ForgeDiscussion/forgediscussion/forum_main.py
----------------------------------------------------------------------
diff --git a/ForgeDiscussion/forgediscussion/forum_main.py b/ForgeDiscussion/forgediscussion/forum_main.py
index 5cba5f8..e66ec43 100644
--- a/ForgeDiscussion/forgediscussion/forum_main.py
+++ b/ForgeDiscussion/forgediscussion/forum_main.py
@@ -254,7 +254,7 @@ class ForumAdminController(DefaultAdminController):
         return dict(app=self.app,
                     form_value=dict(
                         PostingPolicy=self.app.config.options.get('PostingPolicy'),
-                        AllowEmailPosting=self.app.config.options.get('AllowEmailPosting')))
+                        AllowEmailPosting=self.app.config.options.get('AllowEmailPosting',
True)))
 
     @expose('jinja:forgediscussion:templates/discussionforums/admin_forums.html')
     def forums(self, add_forum=None, **kw):

http://git-wip-us.apache.org/repos/asf/allura/blob/c307dd49/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index c1544c7..4d987dc 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -1627,7 +1627,7 @@ class TrackerAdminController(DefaultAdminController):
                 'TicketMonitoringEmail'),
             TicketHelpNew=self.app.config.options.get('TicketHelpNew'),
             TicketHelpSearch=self.app.config.options.get('TicketHelpSearch'),
-            AllowEmailPosting=self.app.config.options.get('AllowEmailPosting'),
+            AllowEmailPosting=self.app.config.options.get('AllowEmailPosting', True),
         ))
 
     @expose()


Mime
View raw message