You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2014/02/16 01:21:12 UTC
[2/2] couchdb commit: updated refs/heads/1994-merge-rcouch to d53b3e0
support validate_doc_read feature.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d53b3e0d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d53b3e0d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d53b3e0d
Branch: refs/heads/1994-merge-rcouch
Commit: d53b3e0d58d7c99bdbd1401164e6d9d1282f0abb
Parents: 36ea4e0
Author: Benoit Chesneau <bc...@gmail.com>
Authored: Sun Feb 16 01:20:17 2014 +0100
Committer: Benoit Chesneau <bc...@gmail.com>
Committed: Sun Feb 16 01:20:17 2014 +0100
----------------------------------------------------------------------
share/server/loop.js | 5 +++--
test/etap/200-view-group-no-db-leaks.t | 1 +
test/etap/201-view-group-shutdown.t | 1 +
3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d53b3e0d/share/server/loop.js
----------------------------------------------------------------------
diff --git a/share/server/loop.js b/share/server/loop.js
index 644d89b..8ff51a8 100644
--- a/share/server/loop.js
+++ b/share/server/loop.js
@@ -60,9 +60,10 @@ var DDoc = (function() {
"lists" : Render.list,
"shows" : Render.show,
"filters" : Filter.filter,
- "views" : Filter.filter_view,
+ "views" : Filter.filter_view,
"updates" : Render.update,
- "validate_doc_update" : Validate.validate
+ "validate_doc_update" : Validate.validate,
+ "validate_doc_read" : Validate.validate
};
var ddocs = {};
return {
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d53b3e0d/test/etap/200-view-group-no-db-leaks.t
----------------------------------------------------------------------
diff --git a/test/etap/200-view-group-no-db-leaks.t b/test/etap/200-view-group-no-db-leaks.t
index 5e4f13a..635e313 100755
--- a/test/etap/200-view-group-no-db-leaks.t
+++ b/test/etap/200-view-group-no-db-leaks.t
@@ -36,6 +36,7 @@
name,
filepath,
validate_doc_funs = [],
+ validate_doc_read_funs = [],
security = [],
security_ptr = nil,
user_ctx = #user_ctx{},
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d53b3e0d/test/etap/201-view-group-shutdown.t
----------------------------------------------------------------------
diff --git a/test/etap/201-view-group-shutdown.t b/test/etap/201-view-group-shutdown.t
index 666cdf3..959b199 100755
--- a/test/etap/201-view-group-shutdown.t
+++ b/test/etap/201-view-group-shutdown.t
@@ -36,6 +36,7 @@
name,
filepath,
validate_doc_funs = [],
+ validate_doc_read_funs = [],
security = [],
security_ptr = nil,
user_ctx = #user_ctx{},