Commit Graph

4484 Commits

Author SHA1 Message Date
Feng Lee 306151bdb8
Merge pull request #1795 from emqplus/emqx30-code-review
Code Review: update the emqx_zone module
2018-09-07 12:23:19 +08:00
Feng Lee 304a24ca6a Code Review: Update the zone module
1. Add force_reload/0 management API
2. Change the reload interval to 5 minutes
2018-09-07 10:26:14 +08:00
Feng Lee d9ad29476a Code Review: Update the zone module
1. Add force_reload/1 API
2. Change the default reload interval to 5 minutes
2018-09-07 10:23:43 +08:00
周子博 d819ec0b58 Comment unused function in emqx_frame.erl 2018-09-07 10:18:21 +08:00
Gilbert Wong 765ab5ad7b Add condition to handle when mqx_topic_alias do not exist 2018-09-06 19:09:29 +08:00
Feng Lee 328d035dab Replace 'state' record with map 2018-09-06 18:43:47 +08:00
Feng Lee 60fb2a1007
Merge pull request #1791 from emqplus/emqx30-code-review
Rename emqx_mqtt_properties module to emqx_mqtt_props
2018-09-06 18:21:56 +08:00
周子博 f95c82e37a Add metric for DISCONNECT packet 2018-09-06 18:14:14 +08:00
Feng Lee 5774ba542c Rename the emqx_mqtt_properties SUITE to emqx_mqtt_props 2018-09-06 18:10:01 +08:00
HuangDan 7c688a4839 Add test case for mqtt5 connect packet 2018-09-06 18:09:58 +08:00
Feng Lee edf654727c Rename emqx_mqtt_properties module to emqx_mqtt_props 2018-09-06 18:09:22 +08:00
Feng Lee d99d0a22d0 Rename 'ignore' to 'ignored' 2018-09-06 17:54:32 +08:00
Feng Lee 324cc15dd4 Update README 2018-09-06 17:38:01 +08:00
周子博 917eb8e29f Make DISCONNECT packet with reason code 0x00 when this packet doesn't have payload 2018-09-06 17:17:09 +08:00
Feng Lee 2a75105580 Improve the Hooks's design 2018-09-06 16:27:16 +08:00
Gilbert Wong c145cb89f4 add validate_properties for PUBLISH and fix error for SUB 2018-09-06 15:45:18 +08:00
周子博 42b3c9b4d6 Send DISCONNECT packet with reason code PROTOCOL_ERROR when topic is empty, add checks for topics 2018-09-06 14:47:34 +08:00
Gilbert Wong 9189d4ff41 catch topic_alias_invalid reasoncode 2018-09-06 14:24:07 +08:00
Gilbert Wong 876a983e93 Pub Packet delivered from client to server cannot contain sub id 2018-09-06 13:37:26 +08:00
Feng Lee 5e3aed0b73 Add ok_or_error/1 type 2018-09-06 09:10:47 +08:00
Feng Lee 4635921458 Rewrite the hooks module 2018-09-05 23:21:06 +08:00
Gilbert Wong c8b92a59b1 check topic alias 2018-09-05 19:06:34 +08:00
周子博 9029ee29d3 Drop will msg when receive the DISCONNECT packet whose reason code is equal to 0x00 2018-09-05 18:03:28 +08:00
周子博 47955f4309 fix bug in retain as published flag 2018-09-05 15:18:26 +08:00
周子博 aa34258f1e Support Retain As Published in Subscription Options 2018-09-05 14:25:33 +08:00
tigercl b34a4efd8b
Merge pull request #5 from emqtt/emqx30
Emqx30
2018-09-05 14:21:38 +08:00
周子博 f0f818ab1a Fix bug in emqx_frame 2018-09-05 10:28:49 +08:00
Feng Lee 96122cf966 Rename 'already_existed' to 'already_exists' 2018-09-04 19:14:25 +08:00
Feng Lee 9f8461c67b
Merge pull request #1783 from tigercl/emqx30
Change in CONNECT packet
2018-09-04 14:14:50 +08:00
周子博 842f4fbf13 Crash when reserved flag in CONNECT packet doesn't equal to 0, and remove repeated check for protocol version 2018-09-04 11:16:15 +08:00
tigercl fe91484806
Merge pull request #4 from emqtt/emqx30
emqx30
2018-09-04 09:05:21 +08:00
Feng Lee eb53d366e9 Update README.md 2018-09-03 17:57:53 +08:00
Gilbert 564a590a75
Merge pull request #1781 from Gilbert-Wong/emqx30
add editorconfig for emqx
2018-09-03 14:37:56 +08:00
Gilbert Wong 7f12db0180 add editorconfig for emqx 2018-09-03 14:03:20 +08:00
Shawn 06e6e5a3fa
Merge pull request #1779 from yy-chen/fix_error_spelling_word
fix error spelling word
2018-09-02 19:33:50 +08:00
chenyy abc6081282 fix error spelling word 2018-09-01 11:54:28 +08:00
terry-xiaoyu ec456dcc73 Fix dialyze issue 2018-08-31 20:48:57 +08:00
Gilbert Wong 2f63b7a487 update broker suite for latest code 2018-08-31 20:21:28 +08:00
Gilbert Wong 14ba395c21 fix seesion and connectiong test suites 2018-08-31 19:15:17 +08:00
terry-xiaoyu 3f42f1271b bug fix 2018-08-31 18:14:10 +08:00
Feng Lee 880c6ab5fe Fix typo 2018-08-31 17:27:36 +08:00
Feng Lee 7d90f603b5 Update README.md 2018-08-31 17:10:40 +08:00
Feng Lee ec7b39f3fd
Merge pull request #1777 from emqtt/emqx30-dialyzer
Add banned support, and fix dialyzer errors
2018-08-31 16:58:57 +08:00
Feng Lee 7c45d988f2 Update the spec of deliver/2 function 2018-08-31 16:57:43 +08:00
Feng Lee ea1ae70833 Fix errors found by dialyzer 2018-08-31 16:46:51 +08:00
Gilbert Wong e6fd7faa4b add format_variable for disconnect packet 2018-08-31 16:24:10 +08:00
Feng Lee 3045ec10ab Add banned feature 2018-08-31 14:04:26 +08:00
Feng Lee 237e65a4e0 Use emqx_mqueue:init/1 to create a mqueue 2018-08-31 10:22:16 +08:00
terry-xiaoyu 23e72feab7 fix reason codes 2018-08-31 01:54:25 +08:00
terry-xiaoyu 9406bc1fd1 fix typo 2018-08-31 01:39:56 +08:00