Victor Seva
51a8be0b69
MT#12025 code refactoring with luacheck help
...
- don't leak globals, libs should return metatable
- fix requires
- remove unnecessary declarations of variables
- split mocks/sr
- remove unused tests
- fix tests
Change-Id: I2bda46410cf62c61c38ce1a9bf4b96f1a7a961bc
9 years ago
Victor Seva
eb0c0d9c31
MT#17293 fix DOCKER_NAME
...
Change-Id: Iee84d9848bc6262cc3b663be4739024eccbf794c
9 years ago
Victor Seva
6e13a2fcfc
MT#17293 Switch Dockerfile to use a sipwise-jessie image
...
This way we get a Debian Jessie system with Sipwise mirrors and need
not do any additional setup.
* we need lua-unit from our repos
Change-Id: I08fb9f594f94bed08b1a60d112d676475973a1a6
9 years ago
Victor Seva
a9787062d9
MT#16891 t/Dockerfile: add DOCKER_NAME
...
Change-Id: I6be6fcc687d493718df9ec2067923b6534862d07
9 years ago
Jenkins User
80d7283d87
Release new version 0.11.0.0+0~mr4.3.0.0
10 years ago
Victor Seva
76d9ed5357
MT#6259 add docker support for unit testing
...
Change-Id: Icbee48fadaaa50a90fa6b3e6b8e6e5f254c15b2d
10 years ago
Victor Seva
b8832fd77a
MT#12937 fix tests after 9a28c0496c
...
Change-Id: Id5ca0f6c458bd2e3bd48fcea749977509a9a85fd
10 years ago
Victor Seva
15163bb6b3
MT#16773 dlgcnt: don't allow negative counters by default
...
- controled by allow_negative config
- add unit test for zero, and negative decr
Change-Id: I2396f1640759f1b9741f0e40ce9505306bd3d27d
10 years ago
Jenkins User
20f3b74e92
Release new version 0.10.0.0+0~mr4.2.0.0
10 years ago
Victor Seva
cf064365b6
MT#15389 $dlg_var support
...
Change-Id: I7408a639ee63e055c8030acdff9cf926c01fa2cb
10 years ago
Kirill Solomko
07c995bfd6
MT#12707 - fix log string format
...
Change-Id: If1b93160c293b6bb6db9a96656dc8712c25a261a
10 years ago
Kirill Solomko
fd5d1e9c1d
MT#12707 - recentcalls: add source field
...
Change-Id: I061a292546e16974fde39e59f72e097be6bca2ee
10 years ago
Victor Seva
9a28c0496c
MT#12937 fix c1c423688e
order by id when selecting user preferences
...
sql result is inserted in a xavp so we need to do it
backwards in order to get the proper order
Change-Id: Ibd61b2fe723cbe2e6e889d8451544cb3d849f306
10 years ago
Kirill Solomko
2bfe436066
MT#12707 - add recentcalls lua (store in redis)
...
Change-Id: Ie1d900c491bbc27f8319d2b323d991d84c567862
10 years ago
Victor Seva
7a52fc6ad5
MT#12025 clean luacheck error
...
Change-Id: I247be4018189e393c1a8d7ee9fa7b455cc38f1a7
10 years ago
Victor Seva
203896e16a
.luacheckrc files for known globals
...
Change-Id: I2a31f703a2dd8f25b42930b89e454e1bdc212d3d
10 years ago
Jenkins User
c86e581af5
Release new version 0.9.0.0+0~mr4.1.0.0
10 years ago
Victor Seva
f04eed6d7e
MT#12025 fix for lua-unit 3.1
...
Versions of LuaUnit before version 3.1 would export all assertions
functions to the global namespace
Change-Id: I0bdc03f63acbbe05c49ce10a00e551e60f914b3f
10 years ago
Victor Seva
6b86ab977a
MT#12025 fix dlgcnt test
...
Change-Id: Ibfa6873c7fcd8d716925002238d5a0a139e0dc58
10 years ago
Victor Seva
1e181e0457
MT#12025 fix includes
...
Change-Id: I0ed4c41ae01a26e072cf3c5b3351cc647a19029d
10 years ago
Victor Seva
9afb7095d7
MT#12025 move NGCPConfig to new config.lua file
...
Change-Id: I5ce296dd8cd77317b642e0b5988487bf8922d3b3
10 years ago
Victor Seva
c1c423688e
MT#12937 order by id when selecting user preferences
...
Change-Id: Id754cee5e208f570bd0f8f93ca485c6a6751b47d
10 years ago
Victor Seva
484aed28b0
fix xavp test
...
Change-Id: Ib6722a27423b091881e8199aad79c3e0eeeb5f60
10 years ago
Victor Seva
9870438d30
MT#11921 run_test: select by FORMAT envVar
...
- FORMAT can be JUNIT, TAP or TEXT
Change-Id: I294a22c2ca9d2283c4f2eb37d5fb5825da4aff98
10 years ago
Jenkins User
7344fa0b62
Release new version 0.8.0.0+0~mr4.0.0.0
10 years ago
Michael Prokop
acc17ba848
MT#9127 Bump Standards-Version to 3.9.6
10 years ago
Michael Prokop
14223addc5
MT#11513 Debian packaging: update Homepage header
...
Change-Id: I1843b0dd6edd1b95b6290b0e103bd084c34f9695
10 years ago
Michael Prokop
0790c3c19c
MT#11387 Switch from Pre-Dependency on ngcp-system-tools* to Depends
...
Since we invoke the ngcp-sercmd command only in the postinst
script and not in preinst it's ought to be enough to depend
on the ngcp-system-tools-* package, quoting Debian Policy,
section 7.2:
| Pre-Depends are also required if the preinst script depends
| on the named package. It is best to avoid this situation if possible.
As piuparts doesn't support resolving Pre-Dependencies yet
this also solves our failing piuparts runs.
Change-Id: Ife43bfb7547c3331d541723782d8b374894e30b5
10 years ago
Victor Seva
4c5b94b998
MT#11005 add dlglist class
...
Change-Id: I1f3fe3df48c39e2aad3222431c4b518ce16094ff
10 years ago
Jenkins User
32bf614917
Release new version 0.7.0.0+0~mr3.8.0.0
11 years ago
Victor Seva
c2cb6e6896
MT#10521 dlgcnt: add exists function
...
Change-Id: Ibac4bacbe4af66b44901eeb2cd8b74211a719ff4
11 years ago
Victor Seva
d41435695a
MT#10749 dlgcnt: add check_pair_dup option and is_in_set()
...
if true it will check for duplication of keys at the list of counters used
when calling set(). Added is_in_set() to check if a key is already there
Change-Id: Ib1da91dd3cdb13c537577d8e36c1a22920112ce0
11 years ago
Victor Seva
b59bf13125
MT#10601 dlgcnt: remove central counters when it reaches to 0
...
Change-Id: I67c4339b90fe5862b41b01ca4b3d5352a11e39b4
11 years ago
Alexander Lutay
c225239f37
MT#7505 Add .gitreview file for lua-ngcp-kamailio
11 years ago
Victor Seva
e6d69e0dc0
MT#9067 set message of reconnection to debug level
...
People are scared of the warning message
11 years ago
Victor Seva
555326aa09
MT#10199 remove defaults from profile. Fix empty results on profile load
11 years ago
Victor Seva
78cb22c686
MT#10199 select tap output
11 years ago
Victor Seva
3cb2ea70a9
MT#10199 add prof_preferences
11 years ago
Victor Seva
6c341f966a
MT#10199 add table.merge function
11 years ago
Jenkins User
eb6180a84f
Release new version 0.6.0.0+0~mr3.7.0.0
11 years ago
Jenkins User
c5dfefaa18
Release new version 0.5.0.0+0~mr3.6.0.0
11 years ago
Victor Seva
cd32667b03
MT#9067 change warn message on reconnection
11 years ago
Victor Seva
530a07f2af
MT#9067 fix tests
11 years ago
Victor Seva
e0d2b5b3b7
MT#9067 update tests
11 years ago
Victor Seva
e9be0888eb
MT#9067 NGCPConfig: check connection before
11 years ago
Victor Seva
6f8b67f4d5
MT#9067 use one MySQL connection only on NGCP
...
Don't close the connection, just the cursor.
We may need a ping function to test the connection.
https://github.com/keplerproject/luasql/pull/12
11 years ago
Victor Seva
1ff1867560
MT#8243 add tostring() to sr.log on possible nil results
11 years ago
Victor Seva
3a60d1b574
MT#8243 add NGCPDlgCounters class.
...
TODO: tests doesn't play nice with redis mocks. Not activated.
11 years ago
Jenkins User
9fa5279301
Release new version 0.4.0.0+0~mr3.5.0.0
11 years ago
Victor Seva
20222e73cc
MT#7679 fix table.shift()
11 years ago