周子博
0d65deb9d3
Fix not registering channels in time
2019-08-08 16:59:17 +08:00
Feng Lee
bd061415c9
Rewrite the emqx_mqtt_caps module and add test cases
...
- Rename `mqtt_retain_available` to `retain_available`
- Rename `mqtt_wildcard_subscription` to `wildcard_subscription`
- Rename `mqtt_shared_subscription` to `shared_subscription`
- Add `emqx_zone:unset_env/2` API for unit test
2019-08-08 14:11:26 +08:00
Feng Lee
bfd027cf8b
Rewrite the mqtt_caps module
2019-08-07 14:01:50 +08:00
Gilbert
96b341fde5
Add proper tests for base62 ( #2761 )
...
* Add proper tests for base62
* Delete useless comment
2019-08-07 09:24:03 +08:00
GilbertWong
3230c25b56
Delete replayq from emqx
2019-08-06 10:38:58 +08:00
Feng Lee
efa2de74a3
Merge pull request #2757 from emqx/introduce-proper-testing-framework
...
Update all the test cases and improve some modules
2019-08-06 10:14:55 +08:00
Feng Lee
19a9e30768
Merge branch 'develop' into introduce-proper-testing-framework
2019-08-06 10:14:21 +08:00
GilbertWong
4e0aeee93d
Import emqtt library into emqx for test cases
2019-08-06 09:43:10 +08:00
Feng Lee
f60f127681
Improve the moudules and fix the bugs found in new test cases
...
- Fix the bug that emqx_mountpoint:unmount/2 will throw exception
- Add emqx_banned:info/1 for test cases
- Rename macro TRIE in emqx_trie module to TRIE_TAB
- Rename macro TRIE_NODE in emqx_trie module to TRIE_NODE_TAB
- Rename macro ROUTE in emqx_router module to ROUTE_TAB
2019-08-06 09:05:55 +08:00
Feng Lee
4afa02ee48
Update all the test cases
2019-08-06 09:04:37 +08:00
Feng Lee
c4faeab45a
Move test/run_emqx.escript -> scripts/run_emqx.escript
2019-08-03 14:08:20 +08:00
Feng Lee
c8317a230d
Update copyright
2019-08-03 11:43:30 +08:00
GilbertWong
2aa9b2aa4e
Specify mnesia dir for `make run` command
2019-08-03 11:10:25 +08:00
Feng Lee
f8e28e39ed
Improve the channel modules and fix the extension mods
2019-08-02 18:04:38 +08:00
Feng Lee
32795321f5
Improve the rewrite mod using the new hooks
2019-08-02 11:14:42 +08:00
Feng Lee
cf9caf3c32
Add conn/0 type
2019-08-02 11:14:42 +08:00
Feng Lee
2fdda99d6d
Improve the pipeline design of protocol and session
2019-08-02 11:14:42 +08:00
周子博
ef9cbe51eb
Fix conflict
2019-08-02 10:41:46 +08:00
周子博
a98835279d
Merge branch 'rm-emqx-client-hrl' into develop
2019-08-02 10:31:49 +08:00
周子博
0cdb0d5591
Remove all dependencies on emqx_client.hrl
2019-08-02 10:20:09 +08:00
Feng Lee
c95a89ed1e
Merge branch 'nchannel' into develop
2019-07-31 14:03:48 +08:00
Feng Lee
0a6468cf48
Introduce the 'pipeline' design pattern
...
- Introduce the 'pipeline' design pattern in emqx_protocol module
- Reame the '{dispatch, ...' to '{deliver, ...' in emqx_broker module
- Rename type 'credentials' to 'client'
2019-07-31 08:09:47 +08:00
Feng Lee
b32156bd68
Rename the type 'credentials' to 'client'
2019-07-31 08:08:11 +08:00
Feng Lee
41dfbd4165
Add 'packets.pubrec.inuse' counter
2019-07-30 19:12:42 +08:00
Feng Lee
c880668419
Register channel in this module
2019-07-30 19:11:21 +08:00
Feng Lee
51fb4e33d6
Rename 'Credentials' to 'Client'
2019-07-30 19:10:38 +08:00
terry-xiaoyu
20a7ed6f53
RPC batch
2019-07-29 09:35:06 +08:00
Feng Lee
c55ada3526
Improve the types
2019-07-27 23:24:38 +08:00
Feng Lee
d99c9daf76
Replace credentials with client
2019-07-27 23:22:02 +08:00
terry-xiaoyu
b0e2b7db0c
Support inter-node messages via RPC cast
2019-07-27 12:59:07 +08:00
terry-xiaoyu
11fdf101f0
Configurable rpc client number
2019-07-26 15:13:58 +08:00
terry-xiaoyu
c5ff902974
Update gen_rpc to 2.4.1
2019-07-26 14:46:24 +08:00
terry-xiaoyu
b61d72cdcd
Add options for gen_rpc
2019-07-26 11:22:25 +08:00
Feng Lee
32b2a01d68
Fix function_clause error and improve ws channel
2019-07-26 00:18:25 +08:00
Feng Lee
64148ac0e8
Improve the 'info/1', 'attrs/1' and 'stats/1' APIs
2019-07-25 09:26:36 +08:00
Feng Lee
b4a0a1c228
Fix whitespace
2019-07-25 09:26:02 +08:00
Feng Lee
5b3a61b799
Merge the connection and session tabs into channel tab
2019-07-25 09:25:45 +08:00
Feng Lee
a0a2375810
Update the .app file
2019-07-25 09:25:00 +08:00
Feng Lee
2de4bb0b8f
Improve the channel modules and add 'attrs/1' API
2019-07-25 09:24:10 +08:00
Gilbert
c3478eceea
Update gen_rpc tag to 2.4.0 ( #2715 )
...
Update gen_rpc tag to 2.4.0
2019-07-23 14:46:52 +08:00
GilbertWong
07d815b3f7
Update gen_rpc tag to 2.4.0
2019-07-23 14:45:24 +08:00
Feng Lee
c091e89796
Remove the unnecessary include/emqx_client.hrl
2019-07-23 10:56:14 +08:00
Feng Lee
6b84eb0595
Rewrite the channel, protocol and session modules.
2019-07-22 17:08:53 +08:00
Feng Lee
a6262ffb30
Remove the 'rc' field from DEFAULT_SUBOPTS
2019-07-22 17:07:58 +08:00
Shawn
3410151c24
Merge pull request #2709 from emqx/develop
2019-07-20 19:08:57 +08:00
terry-xiaoyu
0569388f0f
Fix websocket still send willmsg even after disconnect is received
2019-07-20 19:02:49 +08:00
terry-xiaoyu
fa7292560a
Fix heartbeat interval
2019-07-20 16:21:44 +08:00
terry-xiaoyu
4559b5023e
Fix heartbeat interval
2019-07-20 16:20:53 +08:00
aruldd
a6210f7142
updated the location of built emqx
2019-07-20 14:32:25 +08:00
turtleDeng
2fc3e560d2
Merge pull request #2705 from emqx/develop
...
Fix session termiated without ws_channel
2019-07-20 14:25:01 +08:00