JianBo He
600b1055f3
fix(json): convert a proplists to ejson instead of map
2020-06-20 15:42:07 +08:00
tigercl
1b6a586948
feature(mqtt): support response information ( #3533 )
2020-06-20 15:07:37 +08:00
terry-xiaoyu
66144629bf
feature(json) update jiffy to 1.0.5
2020-06-20 15:00:24 +08:00
zhanghongtong
8707afa54c
fix(enhanced_auth): fix bug when "conn_props = undefined"
2020-06-20 14:29:20 +08:00
JianBo He
9a8859a44c
refactor(topic): move triples/1 func into emqx_trie module
2020-06-18 17:38:34 +08:00
JianBo He
1700a7a98a
refactor(test): put all property cases to test/props directory
2020-06-18 17:38:34 +08:00
JianBo He
e3489b9d46
refactor(style): improve all types declaration
...
- Add dialyzer for code analysis
- Correct all the module type declarations
- Use `-type()` to declaration a type instead of `-opaque`
(It is advantageous to the code dialyzer)
BROKEN CHANGES:
- Add a ?DEFAULT_SUBOPTS for emqx_broker:subscribe/1,2,3
- Remove the needless internal function `emqx_vm:port_info(PortTerm, Keys)`
2020-06-18 17:38:34 +08:00
terry-xiaoyu
6ad65d587e
feature(properties): add properties in message header
...
1. Add MQTT5.0 properties when invoking the hooks.
- Add a new key `properties` into the message header:
We used to put all of the properties into the `#message.headers`:
```erlang
#message{headers = #{'User-Property' => {<<"reason">>,<<"normal">>},
'Message-Expiry-Interval' => 60,
allow_publish => true}
```
I put them instead under a single key:
```erlang
#message{headers = #{properties =>
#{'User-Property' => {<<"reason">>,<<"normal">>},
'Message-Expiry-Interval' => 60},
allow_publish => true}
```
Note that the column `properties` may contain all the properties for
Publish and Will messages.
- Add `disconn_props` into the `Channel.conninfo`
- Add `puback_props` also into the message header:
```erlang
#message{headers = #{puback_props =>
#{'User-Property' => {<<"reason">>,<<"normal">>}},
allow_publish => true}
```
2. Change the data type of `#message.headers` and `#message.flags` to map.
It used to support `undefined`.
2020-06-17 18:46:26 +08:00
JianBo He
a05c411566
fix(confs): delete `X-Forwarded-*` options for wss listener
2020-06-06 13:54:27 +08:00
tigercl
6093432834
Merge pull request #3514 from emqx/develop
...
Auto-pull-request-by-2020-06-04
2020-06-04 15:58:22 +08:00
JianBo He
ea2a424ce2
Add ensure/2 funcs to avoid needless logs ( #3483 )
2020-06-04 10:46:53 +08:00
zhouzb
f456f40c59
Subscribe or unsubscribe via HTTP API skip ACL checking
2020-06-04 10:45:58 +08:00
JianBo He
42fc81338c
Fix(modules): correct the bad return value for emqx_modules:load/0
2020-06-04 10:38:28 +08:00
JianBo He
ee757402ad
chore(deps): upgrade esockd to 5.6.2
...
esockd: avoid the `ssl_close_timeout` send to channel
2020-06-04 10:37:05 +08:00
JianBo He
3fb82f7234
Fix(connect): fix the race condition for openning session
...
- Remove the register_channel/1,2 functions
2020-06-02 17:21:06 +08:00
terry-xiaoyu
ac82ad12e3
Add log overload protection parameters
2020-05-28 21:18:32 +08:00
zhanghongtong
dba1e405bc
Merge remote-tracking branch 'origin/develop'
2020-05-27 17:33:51 +00:00
CrazyWisdom
aaa2c48758
Update README
2020-05-26 16:09:28 +08:00
CrazyWisdom
c4232bfae4
Update README
2020-05-26 15:20:30 +08:00
turtleDeng
f238414826
Merge pull request #3480 from emqx/develop
2020-05-23 10:13:22 +08:00
turtleDeng
9a7dd4579e
Update run_test_case.yaml
2020-05-23 10:04:59 +08:00
terry-xiaoyu
59f95f8421
Helpful message when no commands available
2020-05-23 09:41:25 +08:00
zhanghongtong
a69efa31c4
Merge remote-tracking branch 'origin/develop'
2020-05-23 01:07:42 +00:00
zhouzb
83b1f3e6c8
Fix unexpected packet before connected
2020-05-22 18:18:52 +08:00
JianBo He
361730558f
Check xref
2020-05-22 10:09:52 +08:00
JianBo He
639d0ca25e
Upgrade ekka to 0.7.3
2020-05-22 09:27:23 +08:00
JianBo He
18ae15ef9a
Fix typos
2020-05-21 17:51:22 +08:00
张奇怪
ce180ca38f
Update weekly-digest.yml
...
chore(weekly-digest): change publishDay
2020-05-19 10:05:35 +08:00
terry-xiaoyu
1f07700930
Print helpful messages when no commands available
2020-05-16 08:48:05 +08:00
zhanghongtong
75b28e807c
Merge remote-tracking branch 'origin/develop'
2020-05-15 03:47:16 +00:00
zhouzb
80e2bd19b9
Fix case_clause in issue#3455
2020-05-12 10:39:22 +08:00
zhouzb
10ba930f32
Update job links
2020-05-12 10:38:05 +08:00
tigercl
7a0ad0f8af
Update certs ( #3447 )
...
* Update certs
* Update certs
* Fix test cases fail
Co-authored-by: turtleDeng <deng@emqx.io>
2020-05-12 10:37:26 +08:00
zhanghongtong
3950918acb
chore(weekly-digest): update weekly-digest configure
2020-05-08 16:51:16 +08:00
zhanghongtong
8e11583cee
Merge remote-tracking branch 'origin/develop'
2020-04-30 09:33:01 +00:00
JianBo He
48d6acdb25
Replace peercert with cn/dn feilds in ClientInfo
2020-04-30 16:35:15 +08:00
zhouzb
b3505c6799
Update minimum erlang/otp version
2020-04-30 16:33:53 +08:00
zhanghongtong
c35a40a6b6
Fix some error for reauthentication
2020-04-28 11:48:07 +08:00
turtleDeng
db76b8449b
Merge pull request #3412 from emqx/develop
...
Update rebar.config
2020-04-26 20:56:39 +08:00
turtled
5f4417c193
Update rebar.config
2020-04-26 20:55:18 +08:00
zhanghongtong
931bcb1421
Merge remote-tracking branch 'origin/develop'
2020-04-26 11:19:00 +00:00
qingchuwudi
7ba801c8d4
Fix reload acl module and clean acl caches ( #3409 )
2020-04-26 15:45:55 +08:00
zhouzb
7cf97acddd
Delete expiried client
2020-04-26 15:38:29 +08:00
tigercl
7643a6a9f5
Merge pull request #3410 from emqx/update_enhanced_auth_hooks
...
Update enhanced auth hooks
2020-04-24 10:36:20 +08:00
zhanghongtong
021520315a
Update enhanced auth hooks
2020-04-24 10:21:22 +08:00
turtleDeng
42de682428
Update issue templates
2020-04-22 17:15:58 +08:00
张奇怪
4613778839
Update issue templates
2020-04-21 09:45:03 +08:00
zhanghongtong
f3bcec7e31
Merge remote-tracking branch 'origin/develop'
2020-04-17 12:48:41 +00:00
zhouzb
d5f405259d
Fix test case
2020-04-17 20:46:57 +08:00
tigercl
d4e71cf43b
Merge pull request #3383 from emqx/jiffy
...
Update jiffy to 1.0.4
2020-04-17 18:06:16 +08:00