Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Finish v0.8.9
  • Loading branch information
itayw committed Apr 14, 2015
2 parents 53708f8 + 7d71af1 commit 9b9b447
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/dispatch/beacon.js
Expand Up @@ -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;
Expand Down Expand Up @@ -397,7 +397,7 @@ exports.subscribe = {
callback = callback || function () {
};

subscribers.push(req.socket);
//subscribers.push(req.socket);
return callback();
}
};
7 changes: 5 additions & 2 deletions lib/dispatch/query.js
Expand Up @@ -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);
};
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -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,
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 9b9b447

Please sign in to comment.