Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
9 additions
and
6 deletions.
-
+2
−2
lib/dispatch/beacon.js
-
+5
−2
lib/dispatch/query.js
-
+2
−2
package.json
|
@@ -35,7 +35,7 @@ etl.verify = function (context, workspace, collection, documents, callback) { |
|
|
var key = ''; |
|
|
var hashCode = function(str){ |
|
|
var hash = 0; |
|
|
if (str.length == 0) return hash; |
|
|
if (str.length === 0) return hash; |
|
|
for (var i = 0; i < str.length; i++) { |
|
|
var char = str.charCodeAt(i); |
|
|
hash = ((hash<<5)-hash)+char; |
|
@@ -397,7 +397,7 @@ exports.subscribe = { |
|
|
callback = callback || function () { |
|
|
}; |
|
|
|
|
|
subscribers.push(req.socket); |
|
|
//subscribers.push(req.socket); |
|
|
return callback(); |
|
|
} |
|
|
}; |
|
@@ -386,8 +386,11 @@ manager.parse = function (context, options, callback) { |
|
|
manager.applyFilters = function (context, query, callback) { |
|
|
if (!query.filter) |
|
|
query.filter = []; |
|
|
if (context.user.filter) |
|
|
query.filter.push(query.filter.concat(context.user.filter.concat('--forced'))); |
|
|
if (context.user.filter && context.user.filter.length > 0) { |
|
|
context.user.filter.forEach(function (f) { |
|
|
query.filter.push(query.filter.concat(f.concat('--forced'))); |
|
|
}); |
|
|
} |
|
|
|
|
|
return callback(null, query); |
|
|
}; |
|
|
|
|
@@ -1,7 +1,7 @@ |
|
|
{ |
|
|
"name": "joola", |
|
|
"preferGlobal": true, |
|
|
"version": "0.8.8", |
|
|
"version": "0.8.9", |
|
|
"author": "Joola <info@joo.la>", |
|
|
"description": "Custom data analytics solution built for today's market needs and scale.", |
|
|
"private": false, |
|
@@ -116,7 +116,7 @@ |
|
|
"cloneextend": "0.0.3", |
|
|
"coffee-script": "^1.9.1", |
|
|
"compression": "^1.4.3", |
|
|
"config": "^1.12.0", |
|
|
"config": "1.10.0", |
|
|
"connect": "^3.3.5", |
|
|
"deep-diff": "^0.3.1", |
|
|
"deep-equal": "^1.0.0", |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.