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
lafirest
2133f8c4a3
Merge pull request #7320 from lafirest/fix/delayed_terminate
...
Fix/delayed terminate
2022-03-17 10:05:31 +08:00
JianBo He
b09b6ca6d2
Merge branch 'main-v4.3' into mqtt-sn-resume-subs
2022-03-17 09:39:21 +08:00
William Yang
e8bbfc3806
Merge pull request #7303 from qzhuyan/dev/william/add-olp
...
feat: add load control app
2022-03-16 15:36:53 +01:00
zhongwencool
f0a81d593d
fix: dashboard ct failed
2022-03-16 16:48:03 +08:00
zhongwencool
8cf97a93af
fix: urldecode appid and username.
2022-03-16 16:33:03 +08:00
firest
3e6249a8b7
fix: bump emqx_modules version
2022-03-16 15:28:44 +08:00
zhongwencool
bfadcebb9c
chore: remind the user to delete bad appid/username.
2022-03-16 15:23:10 +08:00
firest
186ff243ed
fix(delayed): cancel stats timer when terminate
2022-03-16 14:57:17 +08:00
zhongwencool
f70d777623
chore: update appup
2022-03-16 11:19:25 +08:00
zhongwencool
0555bce47e
chore: add more doc for dashboard.default_user
2022-03-16 10:54:09 +08:00
zhongwencool
6b91a80712
chore: update changelog-4.3
2022-03-16 10:47:18 +08:00
zhongwencool
b44512cdab
fix: Add string legitimacy check.
2022-03-16 10:31:41 +08:00
William Yang
81ed61b001
feat: add load control app
2022-03-15 14:02:42 +01:00
JianBo He
a3d8981635
refactor(mqttsn): assign subs_resume to mqtt-sn client process state
2022-03-15 11:28:40 +08:00
JianBo He
af65310ce7
chore(script): update_appup.escript support the update cmd
...
We often use the advanced directive `update` when hot upgrading
gen_server, gen_statem, and other such processes, and it will be
parsed as:
```
{suspend,[Mod]},
{load,{Mod,brutal_purge,brutal_purge}},
{code_change,up,[{Mod,[Extra]}]},
{resume,[Mod]},
```
So, we should treat the update instruction as having completed the
upgrade of this module.
2022-03-15 10:51:30 +08:00
JianBo He
3823ab8693
fix: typos in emqx_sn.appup.src
2022-03-15 10:51:30 +08:00
JianBo He
f8b7b9415d
chore(mqttsn): update appup.src
2022-03-15 10:51:30 +08:00
JianBo He
fcf1178f3b
chore: update CHANGES-4.3.md
2022-03-15 10:51:29 +08:00
JianBo He
d4c1b3acc6
test(mqttsn): more tests for topic register and subs_resume
2022-03-15 10:51:05 +08:00
JianBo He
3201d11212
feat(mqttsn): introduce subs_resume option
...
As the mqtt-sn v1.2 spec metioned, the gateway will be able to sync the
subscriptions topic-name registry to client when the client resume it's
session
port from: https://github.com/emqx/emqx-sn/pull/195
2022-03-15 10:51:05 +08:00
Chris Hicks
eb5d9fa501
Merge pull request #7298 from mononym/fix-mongodb-timeout-crash
...
fix: prevent crash when mongodb connection times out
2022-03-14 17:01:09 +01:00
Chris
440523138b
fix: prevent crash when mongodb connection times out
2022-03-14 15:09:49 +01:00
Zaiming (Stone) Shi
c4f609eb42
Merge pull request #7295 from zmstone/fix-ensure-bash-for-systemd-service
...
chore: ensure bash wraper in emqx.service, restart wait 60 seconds
2022-03-14 13:28:35 +01:00
Chris Hicks
32fac8b67b
Merge pull request #7299 from mononym/fix-typo-in-log-message
...
fix: typo in log message
2022-03-14 12:55:04 +01:00
Chris
55eddfa16c
fix: typo in log message
2022-03-14 10:18:18 +01:00
Zaiming (Stone) Shi
223642e62b
chore: ensure bash wraper in emqx.service, restart wait 60 seconds
2022-03-14 08:08:04 +01:00
JianBo He
59bae0a27a
Merge pull request #7274 from zhongwencool/dashboard-login-warning
...
chore: Prompt user how to change the dashboard default password when emqx start
2022-03-11 12:41:56 +08:00
zhongwencool
f82550ddc6
chore: Prompt user how to change the dashboard default password when emqx start
2022-03-10 23:01:58 +08:00
JianBo He
ecc2f069f6
Merge pull request #7261 from JimMoen/mqtt-frame-utf8-check
...
feat(frame): utf-8 string check in `strict_mode`
2022-03-10 13:21:14 +08:00
JimMoen
892600f43f
docs: update CHANGES-4.3.md
2022-03-10 13:13:07 +08:00
JimMoen
8ea84e4a01
chore(appup): update appup.src
2022-03-10 12:12:42 +08:00
JimMoen
dce513df0e
test(frame): malformed utf-8 packet
2022-03-10 11:39:44 +08:00
JimMoen
c0b688b51f
feat(frame): utf-8 string check in `strict_mode`
2022-03-10 11:23:44 +08:00
Rory Z
96695bcec5
Merge pull request #7245 from Rory-Z/build/update-helm
...
build(helm): add preStop command for container
2022-03-10 09:20:38 +08:00
Chris Hicks
2a4aa5a8b5
Merge pull request #7249 from mononym/fix-mongodb-deadloop
...
fix: update mongodb client to include deadloop fix
2022-03-09 11:49:23 +01:00
Zaiming (Stone) Shi
cedeff4dab
build(appup): fix module delete instructions
...
when there is a application_restart instruction, there is no
need to add module delete instructions
2022-03-09 11:18:02 +01:00
Chris
ca5637b4a3
fix: update mongodb client to include deadloop fix
2022-03-09 10:57:29 +01:00
zhanghongtong
8057282d7d
build(helm): add preStop command for container
...
update probe for container
2022-03-09 11:26:03 +08:00
Zaiming (Stone) Shi
04fa1980c0
Merge pull request #7229 from zmstone/build-fix-update_appup
...
build(update_appup): refactor appup update scripts
2022-03-08 15:20:44 +01:00
Zaiming (Stone) Shi
d8e29f19cb
refactor(appup): always generate appup from script
2022-03-08 13:24:54 +01:00
Xinyu Liu
9fbc211fd0
Merge pull request #7196 from DDDHuang/usort_plugins
...
fix(plugins): usort plugin list
2022-03-08 11:03:00 +08:00
Zaiming (Stone) Shi
f8004fdd26
Merge pull request #7221 from zmstone/build-exclude-gpb-in-appup-update
...
build(appup): exclude gpb from appup checks
2022-03-07 06:47:00 +01:00
DDDHuang
fbd70b02bc
fix: override plugins list
2022-03-07 10:32:49 +08:00