Skip to content

Commit

Permalink
Merge pull request #57 from CppComet/alfa
Browse files Browse the repository at this point in the history
4.08
  • Loading branch information
VictorTrapenok authored Jan 14, 2019
2 parents eafb401 + 31a8802 commit 53a1f69
Show file tree
Hide file tree
Showing 11 changed files with 567 additions and 463 deletions.
14 changes: 14 additions & 0 deletions .polemarch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
view:
fields:
git_ee_repo_url: # EE_VERSION
title: "git ee repo url" # EE_VERSION
default: "https://Levhav:[email protected]/Levhav/star-comet.git" # EE_VERSION
format: string # EE_VERSION
help: "git ee repo url" # EE_VERSION
playbooks:
"make-ce.yml": # EE_VERSION
title: "make-ce.yml" # EE_VERSION
help: "make-ce.yml" # EE_VERSION
"highload-host.yml":
title: "highload host"
help: "Unset limits for opened connections"
64 changes: 41 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,75 @@ FEATURES:
IMPROVEMENTS:
BUG FIXES:

## v4.4
## v4.07
BUG FIXES:
* Fix tests


## v4.07
IMPROVEMENTS:
* allow get all revoked_tokens in one query
BUG FIXES:
* Fix 1 critical bugs (now we can send big answer in CometQL)


## v4.05
IMPROVEMENTS:
* Add field `message_send_time` to pipe_log output in js api
BUG FIXES:
* Fix docker image ports for FreeSwitch

## v4.04
BUG FIXES:
* Fix 1 critical bugs in webauth_* pipes

## v4.0
BUG FIXES:
* Fix 2 critical bugs
IMPROVEMENTS:
* Add support for JWT tokens
* Add support multi databases and query like `use db_2ё
* Add tests in Node JS

## v3.38
BUG FIXES:
* add make install instruction

## v3.37
BUG FIXES:
* bug fix for dev_id=0
* bug fix for users_data js api call

## v3.36

FEATURES:
* add table users_data
* add table revoked_tokens
* add table revoked_tokens
* add jwt support
* add web_pipe_count command for track_* pipes
* add multi db

## v3.35

BUG FIXES:
* bug `Table doesn't exist` for table `conference_members`

## v3.34

FEATURES:
* video api 1.01
* add table users_data
* add table users_data

## v3.33

FEATURES:
* video api 1.0

BUG FIXES:
* fixed bug with large mysql packets

## v3.32

FEATURES:
* now we can work with may FreeSwitch servers

Expand All @@ -66,19 +84,19 @@ IMPROVEMENTS:
## v3.31

BUG FIXES:

* errors in history strigs and db connections

## v3.30

BUG FIXES:

* fix bug in cmake files
* errors when restart mysql server
* fix bug #36 CometServerApi.js:824 Invalid pipe name subscription web_chat_pipe chatControl
* fix bug #35 _cometServerApi.prototype.send_msg("pipe_log\n"+pipe_name+"\n"+marker+"\n");
* fix bug #34 tabSignal.connect is not a function
* fix bug #35 _cometServerApi.prototype.send_msg("pipe_log\n"+pipe_name+"\n"+marker+"\n");
* fix bug #34 tabSignal.connect is not a function

## v3.29

BUG FIXES:
Expand All @@ -89,15 +107,15 @@ IMPROVEMENTS:

* add parametr connection_attempts to section db
* rebild docs in .md files and impruve links in docs


## v3.28

BUG FIXES:

* fix bug in star and stop scripts
* fix bug in stats


## v3.26

Expand Down Expand Up @@ -131,7 +149,7 @@ IMPROVEMENTS:
IMPROVEMENTS:

* Allowed adding spaces after section name in .ini file

BUG FIXES:

* Was rename parameter `benchmark` to `statistics`
Expand Down
14 changes: 9 additions & 5 deletions coverage/jstestrun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

printf """\n \
\n \
testTimeTimeout = 200*1000\n \
maxTimeTimeout = testTimeTimeout+30000\n \
timeSpend = 0;\n \
setInterval(function (){\n \
console.log('[1s spend]');\n \
timeSpend++; \
console.log('[1s spend]['+timeSpend+']');\n \
}, 1000)\n \
\n \
setTimeout(function(){ \n \
Expand All @@ -14,9 +18,9 @@ printf """\n\n\n""" >> ./test-cov.js

# Эмуляция объекта window для запуска тестов js api в nodejs
cat ./window-object.js >> ./test-cov.js


# Включение CometServerApi.js

# Включение CometServerApi.js
cat ../api/CometServerApi.js >> ./test-cov.js

printf """\n\n\n""" >> ./test-cov.js
Expand All @@ -29,13 +33,13 @@ printf """\n \
setTimeout(function(){\n \
console.log(\"[js-test] [js-test-done-ok] \x1b[1;32m all tests done in js test \x1b[0m\");\
process.exit()\n \
}, 30000)\n """ >> ./test-cov.js
}, maxTimeTimeout)\n """ >> ./test-cov.js


# Начало всех тестов через 2 секунды после запуска комет сервера.
printf """\n }, 1000)""" >> ./test-cov.js

istanbul cover ./test-cov.js
istanbul cover ./test-cov.js


echo "See result in \"`pwd`/coverage/lcov-report/index.html\""
Loading

0 comments on commit 53a1f69

Please sign in to comment.