Commit Graph

166 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 7d303ae7fe fix(acl): do not leave placeholders unreplaced
If there is no information in the `ClientInfo` map that can be used to
template a placeholder, then we should avoid letting the literal
placeholder match.  Otherwise, the literal placeholder will allow
messages to be published/received unintentionally.

One can still use `{eq, <<"%c">>}` if matching the placeholder is
really desired.
2022-06-20 14:52:51 -03:00
Thales Macedo Garitezi b93a0743ac Merge branch 'main-v4.3' into 'main-v4.4' 2022-06-15 10:48:02 -03:00
JianBo He 00fe560dac
Merge branch 'main-v4.3' into chore/fix-loaded-plugin 2022-06-14 09:47:14 +08:00
JianBo He 9bf1423452 chore: update changes-4.3.md 2022-06-13 15:29:22 +08:00
Thales Macedo Garitezi 1733f19608
chore: bump version and update changelog 2022-06-10 16:30:27 -03:00
Thales Macedo Garitezi 50ff2edf13
feat(tls): add configs for private key password in dashboard/mgmt 2022-06-03 11:21:12 -03:00
JianBo He 25be198d2a Merge tag 'v4.3.15-rc.4' into merge-main-v4.3-into-v4.4 2022-05-31 22:07:57 +08:00
Zaiming (Stone) Shi 8f398b42d4 docs: fix typo in CHANGES-4.3.md 2022-05-31 10:56:59 +02:00
JianBo He 6c765b3e02 Merge tag 'v4.3.15-rc.3' into merge-main-v4.3-into-v4.4 2022-05-27 18:13:38 +08:00
JianBo He 975c7eb095
Merge branch 'main-v4.3' into trace-large-msg-format-as-iolist 2022-05-27 16:42:04 +08:00
zhongwencool 87b4bddaae chore: add changelog for trace 2022-05-27 14:15:43 +08:00
DDDHuang a6c258165a chore(doc): customize log date : update change log 2022-05-27 14:13:32 +08:00
JianBo He 7ee5f90516 Merge tag 'v4.3.15-rc.3' into merge-main-v4.3-into-v4.4 2022-05-27 11:09:11 +08:00
JianBo He 157bcffd6f
Merge branch 'main-v4.3' into shared_dispatch_full_inflight 2022-05-26 16:53:35 +08:00
Georgy Sychev aabfb71804 chore: changes.md 2022-05-26 12:32:15 +04:00
DDDHuang e1ad8aab46 fix: date format funs & logger conf & appup & change log 2022-05-26 13:13:00 +08:00
JianBo He 7862d75ee4 Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-05-25 16:59:04 +08:00
Thales Macedo Garitezi 24f0592e94
fix(node_dump): define `RUNNER_ROOT_DIR` before sourcing vars
Port of https://github.com/emqx/emqx/pull/7733

`emqx_vars` requires `RUNNER_ROOT_DIR` to be defined before being
sourced.
2022-05-23 16:23:46 -03:00
Xinyu Liu 211fee3035
Merge branch 'main-v4.4' into copy-of_main-v4.3 2022-05-23 23:19:19 +08:00
Xinyu Liu a1120ef09b
Merge pull request #8023 from HJianBo/pretty-change-logs
chore: pretty change logs
2022-05-23 21:51:22 +08:00
JianBo He ae8b41e87e
Merge pull request #8015 from zmstone/0523-update-changelog-4.3
docs: add missing docs for changes made in bin/emqx and upgrade script
2022-05-23 21:50:39 +08:00
JianBo He 95d613e204 chore: pretty change logs 2022-05-23 21:48:26 +08:00
JianBo He c93626e97f chore: update changes and appup.src for emqx_management 2022-05-23 18:05:41 +08:00
Zaiming (Stone) Shi 6dcdb58482 docs: add missing docs for changes made in bin/emqx and upgrade script 2022-05-23 11:39:29 +02:00
Shawn ca842aa869 fix: merge main-v4.3 to main-v4.4 2022-05-23 11:23:27 +08:00
JimMoen 4ed8f4d953 chore: update CHANGES.md 2022-05-22 22:06:02 +08:00
gsychev 192c65047e
Merge pull request #7807 from emqx/shared_redispatch43
feat(shared): redispatch to another shared sub, when no ACK received
2022-05-19 12:14:25 +00:00
EMQ-YangM b2176b7652 fix: update CHANGES-4.3.md 2022-05-19 15:39:53 +08:00
EMQ-YangM 7b38c66538 feat: add rule engine function float2str/2 2022-05-19 14:18:22 +08:00
Xinyu Liu 04b02b7b6f
Merge pull request #7979 from DDDHuang/bad_node_name
fix(conf): check node name, otp regular expression
2022-05-19 08:49:26 +08:00
Georgy Sychev b345002e84 feat(shared): redispatch to another shared sub, when no ACK received 2022-05-18 18:28:58 +04:00
EMQ-YangM de1d8909c3 fix: hexstr2bin support half byte 2022-05-18 17:45:26 +08:00
DDDHuang 1adb33a6a0 fix: check node name, regular expression (good idea from stone) 2022-05-18 15:59:33 +08:00
DDDHuang cdb1c149e7 fix(conf): check node name, otp regular expression 2022-05-18 14:30:16 +08:00
zhongwencool 2db123bec6 chore: update auth/acl changelog 2022-05-17 11:34:55 +08:00
JianBo He 7c82b84293
Merge pull request #7960 from HJianBo/fix-mqttsn-qos2
fix(mqttsn): fix mqtt-sn client disconnected due to re-send a duplicated qos2 message
2022-05-16 16:46:21 +08:00
JianBo He 442248f1a4 feat(rule-engine): add proto_name/proto_ver for $event/client_disconnected event 2022-05-16 14:30:41 +08:00
JianBo He 7357ee5918 fix(mqttsn): fix mqtt-sn client disconnected due to re-send a duplicated qos2 message 2022-05-16 13:54:38 +08:00
EMQ-YangM f3d91abe1a fix: update CHANGES-4.3.md 2022-05-09 09:52:11 +08:00
Thales Macedo Garitezi 469d239140
chore(ekka): bump ekka -> 0.8.1.10
Improves autocluster resilience against split-brain during startup.

https://github.com/emqx/ekka/pull/158
2022-05-05 16:32:57 -03:00
zhongwencool 554548dbfb chore: update emqx.appup.src and changelog 2022-05-05 16:52:33 +08:00
Zaiming (Stone) Shi f07bb5a5d1
Merge pull request #7761 from emqx/eredis_cluster_bump
chore(eredis_cluster): bump
2022-04-27 13:22:26 +01:00
gsychev 1bae610c3d
chore(eredis): changelog
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-04-26 18:37:20 +00:00
Georgy Sychev 8385b3cca4 chore(eredis_cluster): bump eredis version to 0.7.2 2022-04-26 19:30:36 +04:00
Zaiming (Stone) Shi 0dd48e30b6 fix(emqx_mgmt_auth): randomise all bytes in app secret
prior to this change, app secrets are uuids which is not
completely random.
2022-04-25 11:34:46 +02:00
zhongwencool 9d4d918e2c
Merge branch 'main-v4.3' into fix-sub-search 2022-04-24 17:18:01 +08:00
zhongwencool 29e453383a chore: update changelog 2022-04-24 16:48:12 +08:00
Ilya Averyanov 41746e8d7a feat(emqx_auth_jwt): use JWT for ACL checks 2022-04-22 12:22:58 +03:00
Zaiming (Stone) Shi 1de3ed8783 Merge remote-tracking branch 'origin/main-v4.3' into dev/v4.3.15 2022-04-22 07:45:00 +02:00
DDDHuang b28c751856 fix: backup data filename, uri decode 2022-04-15 17:12:04 +08:00
JianBo He 47a5bc3f09
Revert "Add support for JWT authorization" 2022-04-14 10:44:06 +08:00
Ilya Averyanov d8db671abb feat(emqx_auth_jwt): use JWT for ACL checks 2022-04-13 13:17:27 +03:00
EMQ-YangM 4893cc2c6c fix: update CHANGES-4.3.md 2022-04-13 15:33:35 +08:00
Zaiming (Stone) Shi 5e652217c8 fix: make possible to have white spaces in root path 2022-04-12 00:05:26 +02:00
DDDHuang 2464c110af fix: add fix sni change log 2022-04-10 12:57:50 +08:00
JianBo He f7d8f16067 chore: improve changes 2022-04-08 18:23:03 +08:00
JianBo He bf1a3fe1eb chore: eliminate some compiling warnings and improve change logs 2022-04-08 11:16:37 +08:00
JianBo He 2b28b5f8c6
Merge pull request #7524 from JimMoen/exhook-cluster-name
Exhook provide `request_meta` to distinguish `cluster_name`
2022-04-07 19:21:51 +08:00
JimMoen 1910249058 chore: update CHANGES-4.3.md and appup 2022-04-07 17:26:59 +08:00
William Yang cb6b20c720 feat: mnesia wait_for_table diagnosis logging
bump ekka to 0.8.1.9
2022-04-07 08:40:47 +02:00
Thales Macedo Garitezi d99d531b8f
chore: update changelog 2022-04-06 09:19:19 -03:00
JianBo He 18a084017a chore: update CHANGES-4.3.md 2022-04-06 10:44:06 +08:00
Georgy Sychev 1a715c8708 feat(emqx_dashboard): subsciption to update password
emqx_dashboard restarted in ekka hook
Closes #3155
2022-04-05 10:40:09 +02:00
Xinyu Liu 7b4d3ecb3a
Merge pull request #7504 from EMQ-YangM/update_mongodb_driver
fix: update mongodb driver to fix potential process leak
2022-04-03 11:59:09 +08:00
EMQ-YangM 299c369d80 feat: enhanced rule engine error handling when json parsing error 2022-04-02 16:24:07 +08:00
EMQ-YangM c84a4b2b6b fix: update mongodb driver to fix potential process leak 2022-04-02 10:27:44 +08:00
zhongwencool fa8a222b38 fix: force delete ehttpc pool. 2022-04-01 17:41:12 +08:00
Xinyu Liu b84ef11935
Merge branch 'dev/v4.3.14' into dev/v4.3.14 2022-04-01 09:32:42 +08:00
Zaiming (Stone) Shi 5467262b0f Merge remote-tracking branch 'origin/main-v4.3' into dev/v4.3.14 2022-04-01 00:37:59 +02:00
EMQ-YangM ea17dd776c fix: update CHANGES-4.3.md 2022-03-31 18:21:40 +08:00
Zaiming (Stone) Shi 9cd63c87fc docs: Update CHANGES-4.3.md to cover changes made in build env 2022-03-31 10:25:57 +02:00
firest ea8ddcef60 fix: fix spell error in CHANGES-4.3.md 2022-03-31 10:34:06 +08:00
firest 22beba8ebd chore: update changes-4.3.md 2022-03-30 11:12:33 +08:00
JimMoen a168f08850 chore: update CHANGES-4.3.md 2022-03-28 15:54:38 +08:00
Shawn ac8bb41ea8 fix(doc): update CHANGES-4.3.md for #7374 2022-03-23 18:31:09 +08:00
firest b12b72df99 chore: update changes-4.3.md 2022-03-23 10:55:19 +08:00
JianBo He 75239c1388 chore: update changes-4.3.md 2022-03-21 10:56:54 +08:00
zhongwencool 2be97a24dd fix: subscribe api crash with bad qos. 2022-03-21 09:19:28 +08:00
Shawn 5823751d7d chore: bump emqx_rule_engine to 4.3.9 2022-03-18 18:28:30 +08:00
JianBo He 72e37dd144
Merge pull request #7300 from HJianBo/mqtt-sn-resume-subs
feat(mqttsn): introduce subs_resume option
2022-03-17 17:51:41 +08:00
zhongwencool b8afd2760c
Merge pull request #7318 from zhongwencool/fix-bad-str
fix: Add name string legitimacy check.
2022-03-17 17:49:25 +08:00
JianBo He b09b6ca6d2
Merge branch 'main-v4.3' into mqtt-sn-resume-subs 2022-03-17 09:39:21 +08:00
zhongwencool 6b91a80712 chore: update changelog-4.3 2022-03-16 10:47:18 +08:00
William Yang 81ed61b001 feat: add load control app 2022-03-15 14:02:42 +01:00
JianBo He fcf1178f3b chore: update CHANGES-4.3.md 2022-03-15 10:51:29 +08:00
Zaiming (Stone) Shi 223642e62b chore: ensure bash wraper in emqx.service, restart wait 60 seconds 2022-03-14 08:08:04 +01:00
zhongwencool f82550ddc6 chore: Prompt user how to change the dashboard default password when emqx start 2022-03-10 23:01:58 +08:00
JimMoen 892600f43f docs: update CHANGES-4.3.md 2022-03-10 13:13:07 +08:00
DDDHuang 7884238073
fix(doc): better change log
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-03-07 09:53:19 +08:00
DDDHuang 278fa96bc1 fix(plugins): usort plugin list 2022-03-04 10:46:09 +08:00
zhongwencool 2c47d2c391 chore: update changelog-4.3 2022-03-01 14:19:37 +08:00
zhongwencool ed41a66c6e fix: rpc get node info maybe crash when emqx_sys process is not start yet. 2022-03-01 14:19:35 +08:00
gsychev 19fcd6a4f6
Merge branch 'main-v4.3' into bridge_config_topic_node_template_43 2022-02-25 10:05:36 +00:00
JianBo He b2093409b6
Merge pull request #6970 from HJianBo/fix-no-register-msg-replaying
Fix the MQTT-SN message replay when the topic is not registered to the client
2022-02-24 16:14:27 +08:00
Xinyu Liu 75b322cc2a
Merge pull request #7121 from terry-xiaoyu/fix_rel_upgrade_failed_on_eexists
fix(relup): release upgrade failed on symlink already exists
2022-02-24 16:10:10 +08:00
Shawn 815096063a chore: update the change logs 2022-02-24 16:09:23 +08:00
JianBo He bf565efc99 chore: update CHANGES-4.3.md 2022-02-24 11:51:00 +08:00
JianBo He 2c512c2097 docs: update CHANGES-4.3.md 2022-02-24 11:30:15 +08:00
William Yang 2c4fc6f6f7 docs(changelog): system mem false alarm 2022-02-23 11:47:19 +01:00
JianBo He ddf2022542
Merge pull request #6983 from HJianBo/fix-exproto-online-clients-v4.3
Improve ExProto client management
2022-02-23 10:59:19 +08:00