You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/12/15 16:48:59 UTC

[06/12] allura git commit: [#8023] ticket:868 Added page_regex, page_tool_type to Sitenotification

[#8023] ticket:868 Added page_regex, page_tool_type to Sitenotification


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

Branch: refs/heads/master
Commit: 4c2b461ba2e36b2992bd4781c1d3675c127c7ffa
Parents: a2b67ed
Author: Denis Kotov <de...@gmail.com>
Authored: Fri Dec 4 15:56:39 2015 +0200
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Tue Dec 15 10:05:56 2015 -0500

----------------------------------------------------------------------
 Allura/allura/model/notification.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/4c2b461b/Allura/allura/model/notification.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/notification.py b/Allura/allura/model/notification.py
index b9381d0..b9be654 100644
--- a/Allura/allura/model/notification.py
+++ b/Allura/allura/model/notification.py
@@ -714,6 +714,9 @@ class SiteNotification(MappedClass):
     impressions = FieldProperty(
         int, if_missing=lambda: config.get('site_notification.impressions', 0))
     user_role = FieldProperty(str, if_missing=None)
+    page_regex = FieldProperty(str, if_missing=None)
+    page_tool_type = FieldProperty(str, if_missing=None)
+
 
     @classmethod
     def current(cls):