Feng Lee
42da51e1c5
Implement batch delivery for the new channel design
...
- Implement a new emqx_channel module
- Improve the emqx_frame:serialize/2 API
- Improve the emqx_connection, emqx_ws_connection modules
2019-07-02 13:40:52 +08:00
Feng Lee
177dc44155
Define 'Otherwise' macro
2019-07-02 13:39:23 +08:00
zhanghongtong
86feae6adc
Merge remote-tracking branch 'origin/develop'
2019-06-29 18:38:45 +08:00
周子博
8234b616e5
Fix test case
2019-06-29 12:38:57 +08:00
周子博
3ad5700442
Support getting the history of alarms
2019-06-29 12:38:57 +08:00
terry-xiaoyu
96fff39535
Change default logger level to warning
2019-06-28 21:34:21 +08:00
terry-xiaoyu
0e2e4e73ca
Clean staled sesssions
2019-06-26 20:04:32 +08:00
Gilbert
9df6345a6c
Remove bridge functions from emqx ( #2652 )
...
* Remove bridge functions from emqx
2019-06-26 19:33:17 +08:00
tradingtrace
0b116bc208
Fix the massages order when batch dispatching
2019-06-26 19:32:15 +08:00
zhanghongtong
5835c06745
Merge remote-tracking branch 'origin/develop'
2019-06-26 04:22:32 +08:00
Feng Lee
9ee0a4d171
Fix the function_clause error when publishing QoS2 message
2019-06-25 17:35:58 +08:00
Feng Lee
67b7266438
Rename TimerInterval to Interval
2019-06-25 15:58:09 +08:00
Feng Lee
f32a415a83
Merge branch 'channel3'
2019-06-25 15:55:31 +08:00
GilbertWong
22f7280d8e
Make sure the default make behaviour is `make distclean`
2019-06-25 15:27:05 +08:00
Feng Lee
4974eab20e
Improve the channel design
2019-06-25 14:53:45 +08:00
Feng Lee
c4eb283517
Add spec for validate/1 function
2019-06-25 14:50:51 +08:00
Feng Lee
242a1ae453
Use emqx_mqtt:qos() type
2019-06-25 14:47:42 +08:00
Feng Lee
72331d8ad0
Move emqx_mqtt_types module to emqx_mqtt
2019-06-25 14:46:21 +08:00
Feng Lee
fb54fe0fad
Improve export_type attr
2019-06-25 14:45:23 +08:00
Feng Lee
795fe4e0bc
Add 'PUBLISH_PACKET(QoS, Topic, PacketId)' macro
2019-06-25 14:29:26 +08:00
zhanghongtong
7c3e5d765c
Merge remote-tracking branch 'origin/develop'
2019-06-25 04:17:20 +08:00
GilbertWong
13d33985be
Fix enoent error in run_setup rule of the makefile
...
Prior to this change, if user's computer has no `~/.config/rebar3`
path, `make run` would fail and report enoent error.
This change fix the problem I described above.
2019-06-24 11:42:24 +08:00
zhanghongtong
411f8a0ec7
Merge remote-tracking branch 'origin/develop'
2019-06-22 09:24:41 +08:00
Gilbert
475cabde4d
Fix issue#2619 ( #2646 )
...
* Fix issue#2619
Prior to this change, websocket connection would not be disconnected
when dataframe type is other frametype. However, in mqtt spec, it
shoud be disconnected.
This change fix this inconsistent behaviour with mqtt 5.0
2019-06-21 21:21:49 +08:00
Gilbert
20188f9189
Optimize develop workflow and support make run and code hot swapping ( #2644 )
...
* Optimize develop workflow and support make run and code hot swapping
2019-06-21 20:52:27 +08:00
turtled
481458d8ec
Add plugin type
2019-06-21 19:52:53 +08:00
tigercl
0c7c4ee417
Using fixed topic for system message of alarm ( #2647 )
...
* Using fixed topic for system message of alarm
2019-06-21 19:51:58 +08:00
tigercl
37eef7b72a
Add 'auth.mqtt.anonymous' metric ( #2631 )
...
* Add 'auth.mqtt.anonymous' metric
2019-06-21 19:21:26 +08:00
zhanghongtong
e76451000c
Merge remote-tracking branch 'origin/develop'
2019-06-20 17:30:36 +08:00
Gilbert
138d7727fa
Compact windows platform which has no cpu_sup util function. ( #2629 )
...
* Compact windows platform which has no cpu_sup util function.
* Fix wrong os type clause
* Do not start timer when platform is windows
2019-06-20 11:45:44 +08:00
Gilbert
1d23d7de86
Optimize test workflow ( #2642 )
...
* Optimize test suites workflow
* Better format of makefile
* Fix protocol suite
* Add emqx_access_SUITE
2019-06-20 11:44:44 +08:00
GilbertWong
bcae452e42
Fix the flapping bug
...
Prior to this change, the banned until value will not be set
correctly because of wrong spell of config entry name .
This change fix this bug
2019-06-20 10:59:42 +08:00
zhanghongtong
65ae10a651
Merge remote-tracking branch 'origin/develop'
2019-06-20 10:49:01 +08:00
GilbertWong
ffbb598a73
Increase time precision for emqx_mod_presence
2019-06-20 09:50:05 +08:00
zhanghongtong
b9715b9e71
Merge remote-tracking branch 'origin/develop'
2019-06-19 04:16:00 +08:00
Feng Lee
3877c4db1a
Merge branch 'channel2' into channel3
2019-06-18 16:49:26 +08:00
Feng Lee
7774b85f81
Implement the channel architecture
2019-06-18 15:03:51 +08:00
terry-xiaoyu
ebeb2c5545
Compile emqx_logger first
2019-06-18 14:37:32 +08:00
terry-xiaoyu
09dd65b9fa
Add logger header validation
2019-06-18 14:37:32 +08:00
terry-xiaoyu
7092748266
Improve log messages using logger header
2019-06-18 14:37:32 +08:00
terry-xiaoyu
c64751a53c
Support module level logger header
2019-06-18 14:37:32 +08:00
Feng Lee
21162f88b8
Update copyright
2019-06-18 14:27:06 +08:00
Feng Lee
d065847665
Remove session record
2019-06-16 10:28:23 +08:00
zhanghongtong
6b43acc1c1
Merge remote-tracking branch 'origin/develop'
2019-06-14 18:24:56 +08:00
terry-xiaoyu
3f1b788fe8
Remove unused PSK TAB macro
2019-06-14 16:58:46 +08:00
GilbertWong
19822c15bd
Add websocket_info to match {stop, Reason} msg
2019-06-14 16:22:57 +08:00
Feng Lee
1d88f8fd9e
Improve the emqx_connection, emqx_ws_connection and emqx_frame modules ( #2611 )
...
* Adopt channel architecture and improve the MQTT frame parser
* Update the test cases for emqx_channel, emqx_protocol
- Improve emqx_client to Use the new emqx_frame:parse/2
- Update the ct suites for emqx_channel, emqx_ws_channel
* Fix test case
2019-06-14 12:44:27 +08:00
Gilbert
d3e7d1f0c9
Fix websocket bug ( #2615 )
...
Fix websocket bug.
Prior to this change, websocket connection would be closed directly
without sending connack packet when acl check fails.
This change fix this bug.
2019-06-14 11:33:44 +08:00
zhanghongtong
854a48d77c
Merge remote-tracking branch 'origin/develop'
2019-06-13 14:35:14 +08:00
terry-xiaoyu
c4de0b1792
No chars limit by default
2019-06-13 13:53:59 +08:00