allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [06/12] allura git commit: [#8023] ticket:868 Added page_regex, page_tool_type to Sitenotification
Date Tue, 15 Dec 2015 15:48:59 GMT
[#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 <deniskkotov@gmail.com>
Authored: Fri Dec 4 15:56:39 2015 +0200
Committer: Dave Brondsema <dave@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):


Mime
View raw message