Xinyu Liu
b84ef11935
Merge branch 'dev/v4.3.14' into dev/v4.3.14
2022-04-01 09:32:42 +08:00
Xinyu Liu
3cc0bb8284
Merge branch 'dev/v4.3.14' into fix_patter_match_v4.3
2022-04-01 09:14:34 +08:00
EMQ-YangM
326634c287
feat: impl api PUT /rules/{id}/reset_metrics
2022-03-31 18:00:57 +08:00
zhongwencool
fe6af95f88
chore: remove useless stacktrace from catch.
2022-03-31 16:01:20 +08:00
EMQ-YangM
510e4d31e4
fix: load_module emqx_rule_events
2022-03-31 13:48:12 +08:00
EMQ-YangM
cead8c9056
fix: use masp:get/3 to avoid crash after match failure
2022-03-30 09:44:06 +08:00
DDDHuang
6ab0934674
fix(rule): connection test when creating a resource
2022-03-30 09:23:51 +08:00
DDDHuang
47e807b2ac
Revert "fix(rule): connection test when creating a resource"
2022-03-29 19:16:06 +08:00
DDDHuang
d297e883c2
fix: appup
2022-03-29 17:37:00 +08:00
zhongwencool
4ee586a738
fix: appup.src
2022-03-29 17:12:35 +08:00
DDDHuang
46cfcf662e
fix(rule): safe apply & test resource in cluster
2022-03-29 13:37:32 +08:00
JianBo He
22573ff294
Merge pull request #7408 from JimMoen/exhook-priority
...
Support exhook customize hook priority
2022-03-28 18:29:25 +08:00
JimMoen
b17fd40091
chore(exhook): update appup.src, add field when updating module
2022-03-28 15:54:38 +08:00
JimMoen
1a57d0d2ca
test(exhook): customized hooks priority
2022-03-28 15:54:38 +08:00
JimMoen
b7f10b67a8
feat(exhook): support customize hook_priority
2022-03-28 15:54:38 +08:00
Chris
a1a37bcbee
feat: Add mongo_date function to support saving timestamp as MongoDB Date object
2022-03-25 17:43:32 +01:00
DDDHuang
c3237b6281
fix(rule): connection test when creating a resource
2022-03-24 10:39: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
Xinyu Liu
0d55b9242d
Merge branch 'main-v4.3' into resource_get_status_timeout
2022-03-23 17:59:59 +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
EMQ-YangM
62eff94249
feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip
2022-03-22 15:16:31 +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
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
8cf97a93af
fix: urldecode appid and username.
2022-03-16 16:33:03 +08:00
zhongwencool
bfadcebb9c
chore: remind the user to delete bad appid/username.
2022-03-16 15:23:10 +08:00
zhongwencool
b44512cdab
fix: Add string legitimacy check.
2022-03-16 10:31:41 +08: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
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
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
Chris
ca5637b4a3
fix: update mongodb client to include deadloop fix
2022-03-09 10:57:29 +01:00
Zaiming (Stone) Shi
d8e29f19cb
refactor(appup): always generate appup from script
2022-03-08 13:24:54 +01:00
Zaiming (Stone) Shi
52ff180e55
chore: pin esockd 5.8.5
2022-03-01 17:02:29 +01:00
Zaiming (Stone) Shi
cca9e52c9a
chore(appup): add missing appup instructions
2022-03-01 11:41:52 +01:00
ieQu1
06db325b5f
fix(auth_mnesia): Fix error message
2022-02-28 18:11:55 +01:00
gsychev
19fcd6a4f6
Merge branch 'main-v4.3' into bridge_config_topic_node_template_43
2022-02-25 10:05:36 +00:00
Thales Macedo Garitezi
cf1cc7e9db
chore(appup): update appup files
2022-02-24 17:14:47 -03: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
JianBo He
d943cc2f1c
chore(exproto): update appup.src
2022-02-24 11:51:00 +08:00
JianBo He
7236206373
fix(exproto): handle discard call
2022-02-24 11:51:00 +08:00
JianBo He
76d0835e4f
chore(mqttsn): update appup.src
2022-02-24 11:30:12 +08:00
JianBo He
e9031ea4c1
fix(mqttsn): cache and replay the invaild-topic-id delivery
2022-02-24 11:28:04 +08:00
JianBo He
96a86061c2
refactor(sn): pretty frame print formation
2022-02-24 11:28:04 +08: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
Zaiming (Stone) Shi
1fa27b28e4
fix: bump emqx_web_hook app version
2022-02-22 16:15:15 +01:00
Zaiming (Stone) Shi
43c900bb5a
chore: rename more descriptive EQM X to EMQX
2022-02-22 11:16:38 +01:00
JianBo He
7adc5fb158
Merge branch 'main-v4.3' into fix-exproto-online-clients-v4.3
2022-02-22 15:46:27 +08:00
JimMoen
3cc2f0e2d3
fix(stomp): `conn_props` should be map
2022-02-22 11:31:14 +08:00
JianBo He
a2d8405f99
chore: update appup.src
2022-02-22 10:30:52 +08:00
JianBo He
b802bcb6fc
refactor(exproto): pre-register the anonymous client
2022-02-22 10:23:16 +08:00
Ilya Averyanov
557c52dd8a
chore(codestyle): remove Elvis
2022-02-18 20:35:19 +03:00
Georgy Sychev
0bd080c063
feat(emqx_bridge_mqtt): ${node} in topic config
...
Adds ${node} interpolation in topic option of configuration
Just like the clientid already works
Closes : #6431
feat(emqx_bridge_mqtt): bumped versions the right way
chore(appup): appups for mqtt bridge
feat(mqtt_bridge): test for bridge config
And also bumped one small version
chore(mqtt_bridge): updated CHANGES-4.3.md
fix(mqtt_bridge): conditional export
chore(mqtt_bridge): appup
2022-02-17 16:05:34 +03:00
DDDHuang
42c70cd2a5
fix(doc): code spelling
2022-02-17 14:06:17 +08:00
Zaiming (Stone) Shi
a5f6e94467
docs: EMQ X -> EMQX
2022-02-15 22:12:46 +01:00
Zaiming (Stone) Shi
e09e5673eb
docs(README): EMQ X -> EMQX
2022-02-15 16:15:25 +01:00
JianBo He
74aa209207
chore(lwm2m): update app.src & appup.src
2022-02-15 11:59:43 +08:00
JianBo He
425546864d
fix(lwm2m): fix querying lwm2m client list on the another node
2022-02-15 11:23:44 +08:00
Zaiming (Stone) Shi
91180595d0
refactor(cli): simplify ACL cache CLI logging
2022-02-14 14:52:34 +01:00
Zaiming (Stone) Shi
f6ca64c76d
feat: add pem cache CLI
2022-02-14 14:52:34 +01:00
Thales Macedo Garitezi
fdef292ef7
fix(appup): rm redundant `load_module` instruction after `update`
2022-02-10 09:31:36 -03:00
Shawn
646ef25d96
Merge branch 'main-v4.3' into fix-ctl-print-43
2022-02-10 19:13:29 +08:00
JianBo He
cdfeb46951
test(mqttsn): remove unused vars
2022-02-10 15:30:10 +08:00
JianBo He
289904bbcf
fix(stomp): fix unexpected_linefeed error if the packet truncated on headers
2022-02-10 14:48:45 +08:00
Thales Macedo Garitezi
e053700441
style: please elvis checks
2022-02-09 11:02:05 -03:00
Thales Macedo Garitezi
5e223ac64f
chore(appup): update appup files
2022-02-09 09:54:39 -03:00
Thales Macedo Garitezi
b968d4c416
fix(ctl): fix formatting when printing messages without arguments (4.3)
...
Without passing an empty argument list to `emqx_ctl:print`, formatting
instructions like `~n` are being printed literally.
```
Ignore.~nJoin the cluster successfully.~nCluster status: #{running_nodes =>
['emqx@emqx-0.int.thalesmg','emqx@emqx-1.int.thalesmg',
'emqx@emqx-2.int.thalesmg','emqx@emqx-3.int.thalesmg',
'emqx@emqx-4.int.thalesmg'],
stopped_nodes => []}
```
2022-02-09 09:36:27 -03:00
zhongwencool
e2dec09b0d
fix(alarm): watermark replace >= =< with > <
2022-01-27 11:59:48 +08:00
JianBo He
4cdd529b5a
Merge pull request #6866 from HJianBo/remove_connected_at_feild
...
fix(webhook): remove the connected_at field for client.connect
2022-01-27 10:41:53 +08:00
JianBo He
18ed00e57e
test(stomp): add testcase for sticky tcp strem
2022-01-26 15:49:51 +08:00
JianBo He
fd88f484d2
fix(stomp): fix the sticky tcp stream parsing
2022-01-26 15:41:14 +08:00
JianBo He
85652aa373
fix(webhook): remove the connected_at field for client.connect
2022-01-26 15:01:36 +08:00
JianBo He
680339ff14
Merge pull request #6840 from zhongwencool/auth-default-user-warnring
...
fix(auth_mnesia): don't force update default user.
2022-01-24 15:24:13 +08:00
zhongwencool
efa3e32ee5
fix(auth_mnesia): don't force update default user.
2022-01-24 13:58:37 +08:00
JianBo He
7c31de7c55
Merge pull request #6839 from JimMoen/chore-mgmt-app-vsn
...
chore(app_vsn): revert management app.src repetitive increased
2022-01-24 12:08:52 +08:00
JimMoen
287b48d49a
chore(app_vsn): revert management app.src repetitive increased
2022-01-24 11:38:25 +08:00
EMQ-YangM
03d240c59e
fix(emqx_rule_engine_metrics): fix code_change vsn value
2022-01-24 11:14:31 +08:00
JianBo He
8f517cebf7
Merge branch 'main-v4.3' into more-fields-for-webhook
2022-01-21 15:01:38 +08:00
JianBo He
c5f9bfc305
Merge pull request #6811 from HJianBo/acl-metrics-fixes
...
refactor(metrics): more clear for acl metrics
2022-01-21 15:00:56 +08:00
JianBo He
f86c1316e7
chore(auth): bump version & update appup.src
2022-01-21 14:24:03 +08:00
JianBo He
f0a3b7754e
refactor: remove the acl metrics for all auth plugins
2022-01-21 14:24:03 +08:00
JianBo He
77609ebd96
chore: bump vsn and update appup.src
2022-01-21 13:52:07 +08:00
JianBo He
ad996afe47
chore: ensure connected_at field for connect/connack/disconnected event
2022-01-21 13:52:05 +08:00
zhongwencool
140a1c0276
chore(api): add api_sub http api test
2022-01-21 10:56:41 +08:00
zhongwencool
f36791bab9
fix(api): sub api return meta
2022-01-20 18:40:25 +08:00
Shawn
2d00373e49
fix(appup): update appup file for emqx_rule_engine_api
2022-01-19 19:51:25 +08:00
Shawn
70c6ac4e0d
fix(rule): deny POST rules or resources with empty ids
2022-01-19 19:22:25 +08:00
zhongwencool
506be21aa2
fix(auth_mnesia): bump up emqx_mgmt to 4.3.10
2022-01-19 10:36:12 +08:00
zhongwencool
19fc143f41
fix(auth_mnesia): import auth acls data according to different data format
2022-01-19 00:12:30 +08:00
zhongwencool
51e62468ed
Merge pull request #6717 from zhongwencool/auth-mnesia-default-import
...
fix(auth): force update default mqtt_user when password or hash_type changed.
2022-01-14 15:35:10 +08:00