allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [01/12] allura git commit: [#8023] ticket:868 Added page_regex, page_tool_type to Sitenotification
Date Tue, 15 Dec 2015 14:24:33 GMT
Repository: allura
Updated Branches:
  refs/heads/ib/8023b [created] 250edeb12


[#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/b77e21ef
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/b77e21ef
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/b77e21ef

Branch: refs/heads/ib/8023b
Commit: b77e21ef28b73616fa9efd8289564115bf51d463
Parents: 2254ed2
Author: Denis Kotov <deniskkotov@gmail.com>
Authored: Fri Dec 4 15:56:39 2015 +0200
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Tue Dec 15 13:43:02 2015 +0200

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


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