Commit Graph

7749 Commits

Author SHA1 Message Date
Feng Lee a5ba86fd1a Update rebar.config 2017-02-16 11:46:21 +08:00
Feng Lee bad855bdd9 Improve the session design, support tune_qos, enable_stats 2017-02-16 11:46:06 +08:00
Feng Lee a345b3682b Rename emqttd_hook to emqttd_hooks 2017-02-16 11:39:48 +08:00
Feng Lee 45a379f112 Replace 'size/1' with 'byte_size/1', serialize to output iolist 2017-02-16 11:38:40 +08:00
Feng Lee d69d769797 Upgrade copyright info 2017-02-16 11:36:57 +08:00
Feng Lee 78c8856eda Update copyright info 2017-02-16 11:36:24 +08:00
Feng Lee fa8882b499 Support client, session stats 2017-02-16 11:36:08 +08:00
Feng Lee d91e49a5a5 Change the restart strategy of the top supervisor 2017-02-16 11:35:33 +08:00
Feng Lee d5ac9f0dcb Update protocol_name/1, type_name/1 functions for MQTT 5 2017-02-16 11:33:50 +08:00
Feng Lee bbbfafb759 Update protocol_name/1, type_name/1 functions for MQTT 5 2017-02-16 11:33:27 +08:00
Feng Lee 67566ca372 Add dropped/1 function 2017-02-16 11:32:24 +08:00
Feng Lee a5ac32b49b add 'packets/puback/missed', 'packets/pubrec/missed', 'packets/pubrel/missed', 'packets/pubcomp/missed' metrics 2017-02-16 11:31:46 +08:00
Feng Lee 6b22fb0a0c Remove the 'DOWN' client from emqttd_stats 2017-02-16 11:30:43 +08:00
Feng Lee 2021667021 Add 'local_session/0 function, change reg_session/3 unreg_session/1 functions 2017-02-16 11:29:55 +08:00
Feng Lee 5a49196a07 Update copyright info and format code 2017-02-16 11:28:35 +08:00
Feng Lee a54076cf0a Change the 'Env' 2017-02-16 11:25:44 +08:00
Feng Lee 90ff296ebe Improve the module and support statistics 2017-02-16 11:25:10 +08:00
Feng Lee 23e49c317d Improve the module and support statistics 2017-02-16 11:24:46 +08:00
Feng Lee dbcd79fb74 Move the 'MQTT_SOCKOPTS' macro to include/emqttd_protocol.hrl 2017-02-16 11:22:48 +08:00
Feng Lee 1222746b79 Update copyright and format code 2017-02-16 11:21:31 +08:00
Feng Lee d93caa7c9e Update copyright and format code 2017-02-16 11:19:02 +08:00
Feng Lee 640c9287c2 Rename now_to_secs, now_to_ms functions 2017-02-16 11:18:37 +08:00
Feng Lee 796d5df1c0 Upgrade parse/2 function 2017-02-16 11:17:57 +08:00
Feng Lee 0019fb2b49 Change the message timestamp to 'os:timestamp()' 2017-02-16 11:10:47 +08:00
Feng Lee 9e0b2ed57b Update copyright and change the format of -type, -callback 2017-02-16 11:07:47 +08:00
Feng Lee cae247be97 Rename 'emqttd_hook' module to 'emqttd_hooks' 2017-02-16 10:56:53 +08:00
Feng Lee 4df2a71c27 Update copyright, format record, add 'AUTH' packet type for MQTT 5.0 2017-02-16 10:53:51 +08:00
Feng Lee a52754df56 Add 'syslog' config and update client, session config 2017-02-16 10:51:03 +08:00
Feng Lee 0bc071d792 Add emqttd_misc module 2017-02-16 10:48:31 +08:00
Feng Lee 08100525a5 Add inflight module and test suite 2017-02-16 10:44:00 +08:00
Feng Lee 61a54b4b33 Bump version to 2.1 2017-02-16 10:27:27 +08:00
Feng a59d5bb459 Rename the emqttd_time APIs 2017-02-15 22:05:28 +08:00
Chimit aefe0ab4ac Add ClientId parameter into the auth on HTTP Publish 2017-02-07 18:24:37 +08:00
Feng Lee ed05521725 Merge pull request #882 from varnerac/remove_gen_logger
Remove gen_logger references
2017-01-24 11:22:54 +08:00
Drew Varner 8e60b8f00a Remove gen_logger references 2017-01-23 20:02:02 -05:00
Feng Lee 153ed22da5 Merge pull request #868 from emqtt/emq20
Merge PR #864 from grutabow
2017-01-17 10:40:18 +08:00
Feng Lee eb05cfdca9 Merge pull request #864 from grutabow/master
Hook 'client.unsubscribe' need to handle 'stop'
2017-01-17 09:33:07 +08:00
Lei Chen 4606eaeb58 delete a comma. 2017-01-16 16:27:10 +08:00
Lei Chen ff6acbf293 Client unsubscribe hook does not handle 'stop' value.
Insert a statement to prevent calling emqttd_session:unsubscribe() if hook returns stop.
2017-01-16 16:24:19 +08:00
Feng Lee 448176c504 Merge pull request #857 from emqtt/emq20
Replace the 'runner_' variables with 'platform_'
2017-01-12 12:26:07 +08:00
Feng Lee 72ed291947 Replace the 'runner_' variables with 'platform_' 2017-01-12 11:56:30 +08:00
turtleDeng d62a374cc1 Merge pull request #856 from emqtt/emq20
Support variables in etc/emq.conf: {{ runner_etc_dir }}, {{ runner_etc_dir }}, {{ runner_data_dir }}
2017-01-12 11:20:00 +08:00
Feng Lee a5de6d0d1a Merge branch 'master' into emq20 2017-01-12 11:01:17 +08:00
turtled 96d053dbd1 Merge branch 'emq20' of https://github.com/emqtt/emqttd into emq20 2017-01-12 10:54:02 +08:00
Feng Lee 0cd4afaa8e Merge pull request #855 from emqtt/emq20
Copyright (c) 2016-2017
2017-01-12 10:49:06 +08:00
黄丹 101532980b Update emqttd_pmon.erl
Copyright (c) 2016-2017
2017-01-11 21:38:34 +08:00
Feng Lee 6af4badc0a Merge pull request #854 from emqtt/emq20
Copyright (c) 2012-2017
2017-01-11 21:12:52 +08:00
Feng Lee 56992cd48b Bump version to 2.0.7 2017-01-11 19:36:38 +08:00
huangdan 8092543efb Copyright (c) 2012-2017 2017-01-11 19:34:48 +08:00
turtled b892bc703b vars template emq.conf 2017-01-11 19:05:42 +08:00