Skip to content

Commit 53a1f69

Browse files
Merge pull request #57 from CppComet/alfa
4.08
2 parents eafb401 + 31a8802 commit 53a1f69

11 files changed

+567
-463
lines changed

.polemarch.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
view:
2+
fields:
3+
git_ee_repo_url: # EE_VERSION
4+
title: "git ee repo url" # EE_VERSION
5+
default: "https://Levhav:ser32poHJKL@gitlab.com/Levhav/star-comet.git" # EE_VERSION
6+
format: string # EE_VERSION
7+
help: "git ee repo url" # EE_VERSION
8+
playbooks:
9+
"make-ce.yml": # EE_VERSION
10+
title: "make-ce.yml" # EE_VERSION
11+
help: "make-ce.yml" # EE_VERSION
12+
"highload-host.yml":
13+
title: "highload host"
14+
help: "Unset limits for opened connections"

CHANGELOG.md

+41-23
Original file line numberDiff line numberDiff line change
@@ -5,57 +5,75 @@ FEATURES:
55
IMPROVEMENTS:
66
BUG FIXES:
77

8-
## v4.4
8+
## v4.07
9+
BUG FIXES:
10+
* Fix tests
11+
12+
13+
## v4.07
14+
IMPROVEMENTS:
15+
* allow get all revoked_tokens in one query
16+
BUG FIXES:
17+
* Fix 1 critical bugs (now we can send big answer in CometQL)
18+
19+
20+
## v4.05
21+
IMPROVEMENTS:
22+
* Add field `message_send_time` to pipe_log output in js api
23+
BUG FIXES:
24+
* Fix docker image ports for FreeSwitch
25+
26+
## v4.04
927
BUG FIXES:
1028
* Fix 1 critical bugs in webauth_* pipes
11-
29+
1230
## v4.0
1331
BUG FIXES:
1432
* Fix 2 critical bugs
1533
IMPROVEMENTS:
1634
* Add support for JWT tokens
1735
* Add support multi databases and query like `use db_2ё
1836
* Add tests in Node JS
19-
37+
2038
## v3.38
2139
BUG FIXES:
2240
* add make install instruction
23-
41+
2442
## v3.37
2543
BUG FIXES:
2644
* bug fix for dev_id=0
2745
* bug fix for users_data js api call
28-
46+
2947
## v3.36
30-
48+
3149
FEATURES:
3250
* add table users_data
33-
* add table revoked_tokens
51+
* add table revoked_tokens
3452
* add jwt support
3553
* add web_pipe_count command for track_* pipes
3654
* add multi db
37-
55+
3856
## v3.35
39-
57+
4058
BUG FIXES:
4159
* bug `Table doesn't exist` for table `conference_members`
42-
60+
4361
## v3.34
44-
62+
4563
FEATURES:
4664
* video api 1.01
47-
* add table users_data
48-
65+
* add table users_data
66+
4967
## v3.33
50-
68+
5169
FEATURES:
5270
* video api 1.0
5371

5472
BUG FIXES:
5573
* fixed bug with large mysql packets
5674

5775
## v3.32
58-
76+
5977
FEATURES:
6078
* now we can work with may FreeSwitch servers
6179

@@ -66,19 +84,19 @@ IMPROVEMENTS:
6684
## v3.31
6785

6886
BUG FIXES:
69-
87+
7088
* errors in history strigs and db connections
71-
89+
7290
## v3.30
7391

7492
BUG FIXES:
7593

7694
* fix bug in cmake files
7795
* errors when restart mysql server
7896
* fix bug #36 CometServerApi.js:824 Invalid pipe name subscription web_chat_pipe chatControl
79-
* fix bug #35 _cometServerApi.prototype.send_msg("pipe_log\n"+pipe_name+"\n"+marker+"\n");
80-
* fix bug #34 tabSignal.connect is not a function
81-
97+
* fix bug #35 _cometServerApi.prototype.send_msg("pipe_log\n"+pipe_name+"\n"+marker+"\n");
98+
* fix bug #34 tabSignal.connect is not a function
99+
82100
## v3.29
83101

84102
BUG FIXES:
@@ -89,15 +107,15 @@ IMPROVEMENTS:
89107

90108
* add parametr connection_attempts to section db
91109
* rebild docs in .md files and impruve links in docs
92-
110+
93111

94112
## v3.28
95113

96114
BUG FIXES:
97115

98116
* fix bug in star and stop scripts
99117
* fix bug in stats
100-
118+
101119

102120
## v3.26
103121

@@ -131,7 +149,7 @@ IMPROVEMENTS:
131149
IMPROVEMENTS:
132150

133151
* Allowed adding spaces after section name in .ini file
134-
152+
135153
BUG FIXES:
136154

137155
* Was rename parameter `benchmark` to `statistics`

coverage/jstestrun.sh

+9-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
printf """\n \
44
\n \
5+
testTimeTimeout = 200*1000\n \
6+
maxTimeTimeout = testTimeTimeout+30000\n \
7+
timeSpend = 0;\n \
58
setInterval(function (){\n \
6-
console.log('[1s spend]');\n \
9+
timeSpend++; \
10+
console.log('[1s spend]['+timeSpend+']');\n \
711
}, 1000)\n \
812
\n \
913
setTimeout(function(){ \n \
@@ -14,9 +18,9 @@ printf """\n\n\n""" >> ./test-cov.js
1418

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

19-
# Включение CometServerApi.js
22+
23+
# Включение CometServerApi.js
2024
cat ../api/CometServerApi.js >> ./test-cov.js
2125

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

3438

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

38-
istanbul cover ./test-cov.js
42+
istanbul cover ./test-cov.js
3943

4044

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

0 commit comments

Comments
 (0)