allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [2/9] allura git commit: [#8023] ticket:868 Added page_regex, page_tool_type to Sitenotification
Date Tue, 08 Dec 2015 11:32:36 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/c8f14a15
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/c8f14a15
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/c8f14a15

Branch: refs/heads/ib/8023a
Commit: c8f14a15fc904a34a655d3114b001672ab28add6
Parents: 1eb1850
Author: Denis Kotov <deniskkotov@gmail.com>
Authored: Fri Dec 4 15:56:39 2015 +0200
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Mon Dec 7 10:28:26 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/allura/blob/c8f14a15/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