allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: add **kw to all feed urls, so arbitrary url params don't cause 500 errors
Date Thu, 08 Nov 2012 15:19:50 GMT
Updated Branches:
  refs/heads/master d0c009466 -> 236fdb1e1


add **kw to all feed urls, so arbitrary url params don't cause 500 errors


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

Branch: refs/heads/master
Commit: 236fdb1e1d97a643e17ca2e72b2d4b184fd45697
Parents: d0c0094
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Thu Nov 8 15:19:39 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Thu Nov 8 15:19:39 2012 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/discuss.py               |    4 ++--
 Allura/allura/controllers/project.py               |    2 +-
 Allura/allura/controllers/repository.py            |    2 +-
 Allura/allura/ext/user_profile/user_main.py        |    2 +-
 ForgeBlog/forgeblog/main.py                        |    4 ++--
 .../forgediscussion/controllers/root.py            |    2 +-
 ForgeTracker/forgetracker/tracker_main.py          |    4 ++--
 ForgeWiki/forgewiki/wiki_main.py                   |    4 ++--
 8 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/Allura/allura/controllers/discuss.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/discuss.py b/Allura/allura/controllers/discuss.py
index 8090990..005169e 100644
--- a/Allura/allura/controllers/discuss.py
+++ b/Allura/allura/controllers/discuss.py
@@ -91,7 +91,7 @@ class DiscussionController(BaseController):
             until=DateTimeConverter(if_empty=None),
             page=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, page=None, limit=None):
+    def feed(self, since=None, until=None, page=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:
@@ -217,7 +217,7 @@ class ThreadController(BaseController):
             until=DateTimeConverter(if_empty=None),
             page=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, page=None, limit=None):
+    def feed(self, since=None, until=None, page=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/Allura/allura/controllers/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
index dea6d3f..7a1cfdd 100644
--- a/Allura/allura/controllers/project.py
+++ b/Allura/allura/controllers/project.py
@@ -305,7 +305,7 @@ class ProjectController(object):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             page=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, page=None, limit=None):
+    def feed(self, since=None, until=None, page=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/Allura/allura/controllers/repository.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/repository.py b/Allura/allura/controllers/repository.py
index c321808..e2caa82 100644
--- a/Allura/allura/controllers/repository.py
+++ b/Allura/allura/controllers/repository.py
@@ -155,7 +155,7 @@ class RepoRootController(BaseController):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/Allura/allura/ext/user_profile/user_main.py
----------------------------------------------------------------------
diff --git a/Allura/allura/ext/user_profile/user_main.py b/Allura/allura/ext/user_profile/user_main.py
index e017ad2..f4a1abd 100644
--- a/Allura/allura/ext/user_profile/user_main.py
+++ b/Allura/allura/ext/user_profile/user_main.py
@@ -78,7 +78,7 @@ class UserProfileController(BaseController):
             until=DateTimeConverter(if_empty=None),
             page=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, page=None, limit=None):
+    def feed(self, since=None, until=None, page=None, limit=None, **kw):
         user = c.project.user_project_of
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/ForgeBlog/forgeblog/main.py
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/main.py b/ForgeBlog/forgeblog/main.py
index f961c03..fd42702 100644
--- a/ForgeBlog/forgeblog/main.py
+++ b/ForgeBlog/forgeblog/main.py
@@ -236,7 +236,7 @@ class RootController(BaseController):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:
@@ -361,7 +361,7 @@ class PostController(BaseController):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/ForgeDiscussion/forgediscussion/controllers/root.py
----------------------------------------------------------------------
diff --git a/ForgeDiscussion/forgediscussion/controllers/root.py b/ForgeDiscussion/forgediscussion/controllers/root.py
index 8b8d979..0bc6c72 100644
--- a/ForgeDiscussion/forgediscussion/controllers/root.py
+++ b/ForgeDiscussion/forgediscussion/controllers/root.py
@@ -189,7 +189,7 @@ class RootController(BaseController, DispatchIndex):
             until=h.DateTimeConverter(if_empty=None),
             page=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, page=None, limit=None):
+    def feed(self, since=None, until=None, page=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index 24a0d6b..c329c28 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -558,7 +558,7 @@ class RootController(BaseController):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:
@@ -1049,7 +1049,7 @@ class TicketController(BaseController):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/236fdb1e/ForgeWiki/forgewiki/wiki_main.py
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/wiki_main.py b/ForgeWiki/forgewiki/wiki_main.py
index 225be37..88178c2 100644
--- a/ForgeWiki/forgewiki/wiki_main.py
+++ b/ForgeWiki/forgewiki/wiki_main.py
@@ -406,7 +406,7 @@ class RootController(BaseController, DispatchIndex):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if request.environ['PATH_INFO'].endswith('.atom'):
             feed_type = 'atom'
         else:
@@ -580,7 +580,7 @@ class PageController(BaseController):
             until=h.DateTimeConverter(if_empty=None, if_invalid=None),
             offset=validators.Int(if_empty=None),
             limit=validators.Int(if_empty=None)))
-    def feed(self, since=None, until=None, offset=None, limit=None):
+    def feed(self, since=None, until=None, offset=None, limit=None, **kw):
         if not self.page:
             raise exc.HTTPNotFound
         if request.environ['PATH_INFO'].endswith('.atom'):


Mime
View raw message