Permalink
Browse files

Finish v0.8.9

  • Loading branch information...
itayw committed Apr 14, 2015
2 parents 53708f8 + 7d71af1 commit 9b9b447d1ad0ff58e096f9f7886f3a130a065e59
Showing with 9 additions and 6 deletions.
  1. +2 −2 lib/dispatch/beacon.js
  2. +5 −2 lib/dispatch/query.js
  3. +2 −2 package.json
View
@@ -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();
}
};
View
@@ -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);
};
View
@@ -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",

0 comments on commit 9b9b447

Please sign in to comment.