HuangDan
3822ff987b
Fix function args
...
Add test cases for emqx_pool module
2018-09-18 09:15:46 +08:00
Feng Lee
ec061f7a21
Merge branch 'emqx30' of github.com:emqx/emqx into emqx30
2018-09-16 20:50:35 +08:00
Feng Lee
69e5869fa0
Add submit/2, async_submit/2 functions for emqx_pool module.
2018-09-16 20:49:47 +08:00
Michal-Drobniak
737dcff44e
Add space before plugins.etc_dir in emqx.conf
2018-09-14 19:13:43 +02:00
周子博
f5ed6ddb05
Change comments
2018-09-14 11:49:17 +08:00
周子博
5eb92e37cc
Remove check for MQTT path, and normalize code
2018-09-14 11:49:17 +08:00
周子博
5465b015be
Add test case for last change
2018-09-14 11:49:17 +08:00
周子博
6f536eaac4
Add customized mqtt path for websocket
2018-09-14 11:49:17 +08:00
周子博
0c6a268539
Set default value of message expiry interval for not mqtt 5.0 message
2018-09-14 11:49:17 +08:00
周子博
88b3460715
Add feature for issue#1809
2018-09-14 11:49:17 +08:00
周子博
49ed6f800c
Change comments
2018-09-14 11:40:57 +08:00
周子博
c7928235c3
Remove check for MQTT path, and normalize code
2018-09-14 11:29:38 +08:00
周子博
a38d357847
Add test case for last change
2018-09-14 10:40:16 +08:00
周子博
e33414aca1
Add customized mqtt path for websocket
2018-09-14 10:10:32 +08:00
Gilbert Wong
45b2686e1c
Delete unnecessary code
...
Prior to this change, there are multiple deprecated functions.
2018-09-14 09:45:34 +08:00
spring2maz
35d209f364
Fix travis build
2018-09-14 00:52:03 +08:00
HuangDan
fde6a2a4c3
Fixed issue #1811
...
Add tests case for issue #1811
2018-09-13 22:55:15 +08:00
周子博
713c43b833
Set default value of message expiry interval for not mqtt 5.0 message
2018-09-13 10:31:36 +08:00
spring2maz
8db9f3e81d
Update & clarify module doc for emqx_mqueue.erl
2018-09-13 09:08:07 +08:00
tigercl
2008e9d0a4
Merge pull request #7 from emqx/emqx30
...
emqx30
2018-09-12 15:20:24 +08:00
周子博
d29069a50d
Add feature for issue#1809
2018-09-12 15:17:18 +08:00
spring2maz
0c39a7620e
Rebar3 and erlang.mk dual support. ( #1806 )
...
* Rebar3 and erlang.mk dual support.
There was only erlang.mk support prior to this change.
The main reasons for this dual support are:
* Cover report upload can only be done by rebar3 in travis.ci
* We want to prepare for the future to build emqx releases using rebar3
* We do not want to stop supporting erlang.mk in one single step
* Add depencency version consistency check between erlang.mk and rebar.config
2018-09-09 21:51:42 +08:00
周子博
3caa41f751
Add run hook when duplicated subscription
2018-09-08 19:01:03 +08:00
周子博
5b47df1631
Add run hook when duplicated subscription
2018-09-08 18:59:57 +08:00
周子博
23c91c0a40
no message
2018-09-08 18:31:44 +08:00
周子博
40977e529a
Retain flag in retained message must set to 1
2018-09-08 18:31:44 +08:00
周子博
758d18e21f
no message
2018-09-08 18:05:04 +08:00
Gilbert Wong
caedcee2de
fix listerners and access suites
...
Prior to this change, listeners test suites did not start cowboy which
is responsible for websocket connections. and access suites start
duplicated processes and these actions are wrong
This change fix the problem states above.
2018-09-08 09:33:37 +02:00
周子博
fdd9377a65
Retain flag in retained message must set to 1
2018-09-08 13:35:23 +08:00
Gilbert
d42a6dd4dc
Merge pull request #1801 from tigercl/emqx30
...
update test cases for latest code
2018-09-08 13:19:04 +08:00
Shawn
e199e29b67
Merge pull request #1802 from Gilbert-Wong/emqx30
...
Add pattern match for topic alias
2018-09-08 12:58:43 +08:00
Gilbert Wong
78020de302
fix pattern match bu
...
Prior to this change, when packet have topic alias, the check_pub_caps
function could not be matched correctly
This change fix this bug.
2018-09-08 12:50:14 +08:00
Gilbert Wong
2d10d6971d
add pattern match for topic alias
...
Prior to this change, it assume that topic_alias exists defaultly
which may cause the unexpected bug
This change fix this bug above
2018-09-08 12:01:22 +08:00
周子博
08bab7efa4
Fix bugs in test cases
2018-09-08 11:49:20 +08:00
turtleDeng
c8341c85ba
Merge pull request #1800 from terry-xiaoyu/ignor_zero_will_delay
...
Ignore Will-Delay-Interval = 0
2018-09-08 10:40:12 +08:00
terry-xiaoyu
2121da3755
Ignore Will-Delay-Interval = 0
2018-09-08 10:10:22 +08:00
tigercl
c8361124ae
Merge pull request #6 from emqx/emqx30
...
Emqx30
2018-09-08 10:04:35 +08:00
turtleDeng
c0ddbba5db
Merge pull request #1794 from spring2maz/generate-temp-config-for-test
...
Generate a config file for testing
2018-09-07 21:50:35 +08:00
turtleDeng
0ec461484e
Merge pull request #1790 from emqx/emqx30-feng
...
Improve the Hooks' design
2018-09-07 21:46:30 +08:00
turtleDeng
66e9f9b02a
Merge pull request #1789 from Gilbert-Wong/emqx30
...
Check topic alias
2018-09-07 21:44:20 +08:00
turtleDeng
5ca61dd45c
Merge pull request #1788 from tigercl/emqx30
...
Support retain as published in subscription options
2018-09-07 21:43:56 +08:00
Gilbert
84e43c587d
Merge branch 'emqx30' into emqx30
2018-09-07 18:49:11 +08:00
周子博
6f6e24592b
Fix the reverse match
2018-09-07 18:32:03 +08:00
turtleDeng
cb058143a5
Merge pull request #1792 from huangdan/master
...
Add test cases for mqtt5 connect packet
2018-09-07 18:03:37 +08:00
turtleDeng
ba176f2073
Merge pull request #1797 from terry-xiaoyu/banned_api_v2
...
Update for banned API
2018-09-07 17:50:30 +08:00
周子博
1c5615c957
Stop emqx_zone when emqx_mqtt_caps test over
2018-09-07 17:22:24 +08:00
周子博
1326e89593
Fix a bug in emqx_protocol.erl
2018-09-07 15:16:32 +08:00
terry-xiaoyu
dd8513ad35
Update for banned API
...
Use `mnesia:foldl` to traverse mnesia rather than `mnesia:first` and
`mnesia:next`, as a badarg exception would occur if the record was
deleted while travering the whole table.
2018-09-07 14:10:16 +08:00
周子博
f8471afb97
Add handling of retain handling subscription option
2018-09-07 13:50:12 +08:00
spring2maz
3a94d7ddae
Generate a config file for testing
...
Prior to this change, the template file etc/emqx.conf is used
directly in testing, as a result, mustache style directories
are created e.g. `{{ platform_log_dir }}` which should have been
replaced with a config varialbe e.g. `log`
In this change, Makefile targets are added as `ct` dependency
to download bbmustach, load the template input, replace with
variableds defined in 'vars' file, finally to etc/gen.emqx.conf.
The direct usage of etc/emqx.conf in test code are replaced with
gen.emqx.conf
2018-09-07 07:04:04 +02:00