Commit Graph

201 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 51412e25c8 fix(emqx_rule_engine): fix rule update function
Prior to this change, the update of a rule will always try to
initialise the action because the 'enabled' flag is by default 'true'
2022-08-31 15:13:38 +02:00
Zaiming (Stone) Shi 886b084a67 docs: update CHANGES-4.3.md 2022-08-29 11:14:41 +02:00
JimMoen b083a1cd2d chore: appup.src and CHANGES.md 2022-08-26 03:35:00 +08:00
JianBo He a66dc7c02b chore: update changes-4.3 2022-08-19 16:03:15 +08:00
Xinyu Liu 70b8f427d8
Merge pull request #8743 from terry-xiaoyu/fix_sql_compare
Fix sql compare to undefined values
2022-08-18 17:33:38 +08:00
JianBo He 1eadd4f750
Merge pull request #8736 from lafirest/fix/init_jwt
fix(jwt): change `request_jwks` to be called after initialization
2022-08-18 10:19:30 +08:00
zhongwencool a583c221f0 fix: list_listener crash with invaild json 2022-08-17 23:12:51 +08:00
Xinyu Liu 88cf427ecc
Merge branch 'main-v4.3' into fix_sql_compare 2022-08-17 18:24:03 +08:00
Shawn e1615e86df chore: update the change log 2022-08-17 18:14:29 +08:00
firest 1bcc58e298 chore: update CHANGES-4.3.md 2022-08-17 17:59:16 +08:00
JimMoen 4a89dfe362 chore: update CHANGES.md and appup.src
This reverts commit 7af25a82e70845a631be0c8b83ba7f1838d68389.
2022-08-17 11:48:59 +08:00
Zaiming (Stone) Shi 9435b6aa82
docs: Update CHANGES-4.3.md 2022-08-13 14:07:55 +02:00
Ilya Averyanov a19fbe214f feat(node_rebalance): implement node evacuation and rebalancing 2022-08-13 11:32:14 +03:00
Zaiming (Stone) Shi 4ca487af35
Merge pull request #8671 from zmstone/0809-add-tzdata-package-to-alpine
chore: add tzdata to alpine docker image
2022-08-10 12:38:55 +01:00
JianBo He 3e0f9b3881
Merge pull request #8628 from HJianBo/start-idle-checking-timer
Fix(exproto): start idle timer to avoid client leaking
2022-08-10 17:03:18 +08:00
Zaiming (Stone) Shi 20d6a53fa1 chore: add changelog for tzdata addition in alpine image 2022-08-09 13:23:22 +02:00
Zaiming (Stone) Shi 56a0a19807
Merge pull request #8654 from zmstone/0804-chore-improve-lwm2m-object-id-error
fix(lwm2m): improve error logging for bad lwm2m requests
2022-08-09 10:05:12 +01:00
zhongwencool b8a2b8f4f4
Merge pull request #8655 from zhongwencool/fix-auth-user-count-error
fix: support custom count function
2022-08-09 09:12:58 +08:00
zhongwencool f2a248d83f
chore: update CHANGES-4.3.md
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-08-08 09:35:26 +08:00
Zaiming (Stone) Shi 5ff864af15 docs: update CHANGES-4.3.md 2022-08-05 15:48:24 +02:00
Zaiming (Stone) Shi f943892fa8 docs: update changelog for SSL gc 2022-08-05 11:41:00 +02:00
zhongwencool 43e1087e13 test: add auth_mnesia count test 2022-08-05 11:34:04 +08:00
Thales Macedo Garitezi 5e9462afc8 feat: add option to gc after TLS/SSL handshake (4.3)
Port of https://github.com/emqx/emqx/pull/8637
2022-08-04 08:51:50 -03:00
JianBo He ec5c0816f7 chore: update app.src & appup.src 2022-08-03 14:01:01 +08:00
Zaiming (Stone) Shi a3c6c9125e docs: update changes made for v4.3.18 2022-08-02 15:26:49 +02:00
Zaiming (Stone) Shi 3cd513d74e
Merge pull request #8553 from zmstone/0722-add-ssl-debug
feat: make possible to debug ssl handshake
2022-08-02 12:07:16 +01:00
JianBo He 448ae41a64 chore: update changes 2022-07-27 09:58:27 +08:00
Zaiming (Stone) Shi 935e6e2f36 feat: make possible to debug ssl handshake 2022-07-22 15:00:23 +02:00
Ilya Averyanov afbb3f295b fix(lua_hooks): fix on_message_publish lua hook 2022-07-21 13:52:52 +03:00
ieQu1 e7c117ef19 fix(shared_session): Don't redispatch inflight messages on takeover 2022-07-20 16:54:42 +02:00
zhongwencool 87aeead653 feat: add check_conf cli to check config format 2022-07-14 17:17:03 +08:00
zhongwencool d1254faf6f feat: list rules support for pagination and fuzzy filtering 2022-07-08 16:54:35 +08:00
ieQu1 77e974971e chore: Update changelog 2022-07-07 14:02:11 +02:00
Thales Macedo Garitezi 1a6cf38c00 fix: fix list difference precedence
```erlang
1> [a, b, c] ++ [d] -- [a].
[a,b,c,d]
2> ([a, b, c] ++ [d]) -- [a].
[b,c,d]
```
2022-07-04 16:38:49 -03:00
Ilya Averyanov 4447948c5e fix: handle claim verification errors correctly 2022-06-28 19:36:46 +03:00
Ilya Averyanov f238e8f83d fix: update JWKS renewal timer correctly 2022-06-28 09:54:12 +03:00
zhongwencool 4a87d77be3 fix: can't start dashboard if default_username is missing 2022-06-27 14:35:12 +08:00
JianBo He ee05895058 chore(exhook): update changes-4.3 for #8314 2022-06-27 11:30:54 +08:00
JianBo He e4df71d90e chore: update changes-4.3 2022-06-27 11:27:45 +08:00
Xinyu Liu 14a37bbc89
Merge pull request #8288 from thalesmg/fix-client-sub-hook
fix(hooks): use hook response to stop subscriptions
2022-06-23 11:42:42 +08:00
DDDHuang 990f02928e fix: add some changelog 2022-06-22 19:05:42 +08:00
Thales Macedo Garitezi 4bda62b195 fix(hooks): use hook response to stop subscriptions
Fixes https://github.com/emqx/emqx-lua-hook/issues/118

1) If the Lua hook returns an empty list, it should replace the final
topic filter list.
2) The subscribed topics after running the 'client.subscribe' hook
should not contain topics filtered out by the hooks.
2022-06-21 17:06:39 -03:00
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
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
Zaiming (Stone) Shi 8f398b42d4 docs: fix typo in CHANGES-4.3.md 2022-05-31 10:56:59 +02: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 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
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 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
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