Skip to content

Commit 0061a83

Browse files
committed
Revert "Revert "Merge pull request #1056 from Countly/feature/new-whale""
This reverts commit 76882ff.
1 parent d8f7a32 commit 0061a83

File tree

27 files changed

+955
-811
lines changed

27 files changed

+955
-811
lines changed

.dockerignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.git
22
.github
3-
.DS_Store
3+
.DS_Store
4+
.Dockerfile*

.eslintignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ frontend/express/public/javascripts/min/**
55
frontend/express/public/javascripts/utils/**
66
frontend/express/public/javascripts/visualization/**
77
frontend/express/public/themes/**
8+
frontend/express/public/sdk/**
89
plugins/*/frontend/public/*
910
plugins/*/frontend/public/javascripts/*
1011
bin/scripts/nghttp2/*
1112
plugins/push/api/parts/apn/*
1213

1314
!plugins/*/frontend/public/javascripts
14-
!plugins/*/frontend/public/javascripts/countly.models.js
15-
!plugins/*/frontend/public/javascripts/countly.views.js
15+
!plugins/*/frontend/public/javascripts/countly.*.js

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@
194194
"frontend/express/libs/*.js",
195195
"plugins/pluginManager.js",
196196
"plugins/*/api/**/*.js",
197-
"plugins/*/frontend/*.js"
197+
"plugins/*/frontend/*.js",
198+
"plugins/*/extend/*.js"
198199
],
199200
"env": {
200201
"es6": true,

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: nodejs
22
dist: trusty
3-
node_js: "8"
3+
node_js: "10"
44
env:
55
global:
6-
- MONGODB=3.6.6
6+
- MONGODB=4.0.12
77
- secure: ZXdUMP+8Nk9Kd5nX31D/DIB1t2xlJd+T4W7umWjwpy+KPA9d1W1OhUG6V2Gpv3PsJf+UtMosgZsywcLFVG4l/WcjAhs3c9pegW5ZRYAEfVjkk7aHhWQGvj5DID8iAAxs91Mm8LwJ43o68x+XN6746zArPqcVzQltDunJ0G3gfh8=
88
branches:
99
except:

bin/scripts/detect.init.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
55
# use available init system
66
INITSYS="systemd"
77

8-
if [ "$INSIDE_DOCKER" = "1" ]
8+
if [ -z "$COUNTLY_CONTAINER" ]
99
then
10+
if [[ `/sbin/init --version` =~ upstart ]];
11+
then
12+
INITSYS="upstart"
13+
fi 2> /dev/null
14+
else
1015
INITSYS="docker"
11-
elif [[ `/sbin/init --version` =~ upstart ]];
12-
then
13-
INITSYS="upstart"
14-
fi 2> /dev/null
16+
fi
1517

1618
bash $DIR/commands/$INITSYS/install.sh
1719
ln -sf $DIR/commands/$INITSYS/countly.sh $DIR/commands/enabled/countly.sh

0 commit comments

Comments
 (0)