Commit Graph

6638 Commits

Author SHA1 Message Date
Chris a1a37bcbee feat: Add mongo_date function to support saving timestamp as MongoDB Date object 2022-03-25 17:43:32 +01:00
JimMoen 38c515908f feat(hook): put emqx_hook with more fields 2022-03-25 09:58:13 +08:00
JimMoen 09b9015c51 chore: rm rebar.lock when make target `clean-all` 2022-03-25 09:58:13 +08:00
Zaiming (Stone) Shi d3bcc201d6
Merge pull request #7401 from zmstone/ci-add-build-base-option-to-appup-update-script
chore: update-appup.sh always rebuild baseline
2022-03-24 15:58:25 +01:00
Zaiming (Stone) Shi b8afa16b53 chore: fix shellcheck 2022-03-24 12:28:34 +01:00
Zaiming (Stone) Shi 3944888a19 chore: update-appup.sh always rebuild baseline
Reasons
* OTP version might be different in developer's env and build env
* For some tags, we do not build release. e.g. rel-v4.4.X
2022-03-24 11:23:47 +01:00
JianBo He 242035139e
Merge pull request #7394 from HJianBo/update-dashboard-vsn
Pre-release v4.3.13: Update dashboard vsn
2022-03-24 17:11:33 +08:00
JianBo He 61d3ed31e8 chore: bump vsn to 4.3.13-rc.2 2022-03-24 14:23:19 +08:00
JianBo He 5e42a67c8d chore: update dashboard vsn 2022-03-24 14:22:19 +08:00
DDDHuang c3237b6281 fix(rule): connection test when creating a resource 2022-03-24 10:39:54 +08:00
JianBo He 0a63de9277
Merge pull request #7378 from HJianBo/refine_webhook_appups
Pre-release v4.3.13: Fix some app.src and appup.src files
2022-03-23 21:28:54 +08:00
Zaiming (Stone) Shi 3868fb088c chore: bump emqx_web_hook to 4.3.10 2022-03-23 13:35:05 +01:00
JianBo He b76372e621 chore: remove duplicated emqx_rule_funcs in appup.src 2022-03-23 19:29:58 +08:00
JianBo He 5492ab2cc9 chore(bridge-mqtt): use `VSN` placeholder instead of vsn number 2022-03-23 18:37:40 +08:00
JianBo He a4d2aa1dd4 chore: correct the app.src & appup.src 2022-03-23 18:37:40 +08:00
JianBo He 0309302c42
Merge pull request #7376 from lafirest/fix/flaky_test
fix(mod_subscription): fix test case error
2022-03-23 18:37:24 +08:00
Xinyu Liu 0a98086329
Merge pull request #7379 from terry-xiaoyu/update_changes2
fix(doc): update CHANGES-4.3.md for #7374
2022-03-23 18:31:49 +08:00
Shawn ac8bb41ea8 fix(doc): update CHANGES-4.3.md for #7374 2022-03-23 18:31:09 +08:00
Xinyu Liu 0348707aca
Merge pull request #7374 from terry-xiaoyu/resource_get_status_timeout
fix(rule): get the cached status when calling emqx_rule_engine:get_resource_status/1
2022-03-23 18:00:07 +08:00
Xinyu Liu 0d55b9242d
Merge branch 'main-v4.3' into resource_get_status_timeout 2022-03-23 17:59:59 +08:00
Xinyu Liu c9ed3cb657
Merge pull request #7367 from zhongwencool/fix-bad-authorization-500-crash
fix: bad authorization format crash with 500
2022-03-23 17:58:19 +08:00
firest a2085555e9 fix(mod_subscription): fix test case error 2022-03-23 17:37:06 +08:00
Shawn e8c7388aa4 chore: update appup file for emqx_rule_engine 2022-03-23 16:21:27 +08:00
zhongwencool b993595c6d fix: add emqx_rule_funcs to appup.src 2022-03-23 15:42:53 +08:00
zhongwencool 99dfd8504c fix: bad authorization format crash with 500 2022-03-23 15:34:23 +08:00
Shawn 5275e6a30f fix(rule): get the cached status when calling emqx_rule_engine:get_resource_status/1 2022-03-23 15:33:50 +08:00
lafirest ce2e4f51ac
Merge pull request #7353 from lafirest/fix/auto_sub_empty_topic_4.3
fix(auto_subscribe): make log if the topic is empty when auto subscribe
2022-03-23 11:20:19 +08:00
firest b12b72df99 chore: update changes-4.3.md 2022-03-23 10:55:19 +08:00
Yang Miao d4fdbb3020
Merge pull request #7364 from EMQ-YangM/feat_add_zip_gzip
feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip
2022-03-22 18:44:37 +08:00
firest c43f179204 fix(mod_subscription): improve the log information 2022-03-22 18:09:06 +08:00
Rory Z 479d0bf5a4
Merge pull request #7210 from Rory-Z/fix/fix-helm-upgrade-error
fix(helm): delete needless labels for support helm upgrade
2022-03-22 15:20:21 +08:00
EMQ-YangM 62eff94249 feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip 2022-03-22 15:16:31 +08:00
firest 4fe9275103 chore(modules): update appup file 2022-03-22 10:08:52 +08:00
firest c2b1571134 fix(auto_subscribe): make log if the topic is empty when auto subscribe 2022-03-21 18:32:42 +08:00
JianBo He e4b5001a57
Merge pull request #7309 from HJianBo/send_disconnect_pkt_while_kicked
fix(channel): send DISCONNECT packet if connection has been kicked
2022-03-21 11:56:18 +08:00
JianBo He 706c7725f9 test: update test/emqx_channel_SUITE.erl
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-21 10:56:55 +08:00
JianBo He 604c384660 fix(channel): send will_msg if client has been kicked 2022-03-21 10:56:55 +08:00
JianBo He 75239c1388 chore: update changes-4.3.md 2022-03-21 10:56:54 +08:00
JianBo He 8d3e953eef fix(channel): send DISCONNECT packet if connection has been kicked
fix #7241
2022-03-21 10:56:37 +08:00
zhongwencool bce4ca2fbd
Merge pull request #7345 from zhongwencool/subscribe-crash-with-bad-qos
fix: subscribe api crash with bad qos.
2022-03-21 10:40:09 +08:00
zhongwencool 2be97a24dd fix: subscribe api crash with bad qos. 2022-03-21 09:19:28 +08:00
DDDHuang 479507b96a
Merge pull request #7344 from DDDHuang/up_jmeter_43x
fix(ci): update jmeter to 5.4.3
2022-03-20 23:44:52 +08:00
DDDHuang ece789b58e fix(ci): update jmeter to 5.4.3 2022-03-20 13:07:43 +08:00
Zaiming (Stone) Shi 552e7d175a
Merge pull request #7342 from zmstone/chore-fix-update-appup.sh-for-bash-3.2
chore: fix update-appup.sh for bash 3.2
2022-03-19 09:41:08 +01:00
Zaiming Shi 13086e7259 chore: fix update-appup.sh for bash 3.2 2022-03-19 08:42:52 +01:00
Xinyu Liu 3a89a6a1fe
Merge pull request #7336 from terry-xiaoyu/float_precision_10
fix(rules): enlarge precisions of floats to maximum 17 decimal places.
2022-03-18 18:28:58 +08:00
Shawn 5823751d7d chore: bump emqx_rule_engine to 4.3.9 2022-03-18 18:28:30 +08:00
Shawn 81ae2be760 fix(rules): enlarge precisions of floats to maximum 17 decimal places.
When printing floats to strings, we have to define a small decimal
limits to avoid print a too long and "inaccurate" float number:

```
2> float_to_binary(0.3).
<<"2.99999999999999988898e-01">>
```

This fix sets precision of floats to 17 digits after the decimal point.

This precision is larger than precision of most `double` data type used by
databases(14 digits for mysql and 15 digits for pgsql).
2022-03-18 15:42:01 +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