Commit Graph

11652 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
d49675cde5 chore: supprot DNS discovery test for 4.x 2022-09-28 21:31:18 +02:00
Zaiming (Stone) Shi
c3f6c302ec
Merge pull request #8998 from zmstone/0918-build-force-fetch-tags-when-update-appup
chore: force fetch upstream tags before appup updates
2022-09-27 21:45:02 +02:00
Thales Macedo Garitezi
8d1b58b821
Merge pull request #9058 from thalesmg/mix-snk-kind
feat(mix): set `snk_kind` from `$kind` to `msg` in Mix build
2022-09-27 10:40:20 -03:00
Thales Macedo Garitezi
10c24a9f48
Merge pull request #9057 from thalesmg/fix-remove-extra-info-lwt-50
chore: remove extra information from denied lwt log
2022-09-27 08:53:27 -03:00
Thales Macedo Garitezi
4e2aba33aa feat(mix): set snk_kind from $kind to msg in Mix build
Log before:

```
2022-09-26T15:51:30.982183-03:00 [warning] '$kind': last_will_testament_publish_denied, clientid: myclient, line: 2132, mfa: emqx_channel:publish_will_msg/2, peername: 127.0.0.1:35228, topic: $SYS/lwt
```

Log after:

```
2022-09-26T16:25:50.799914-03:00 [warning] clientid: myclient, line: 2132, mfa: emqx_channel:publish_will_msg/2, msg: last_will_testament_publish_denied, peername: 127.0.0.1:47080, topic: $SYS/lwt
```
2022-09-26 16:26:16 -03:00
Thales Macedo Garitezi
129f09f88b chore: remove extra information from denied lwt log 2022-09-26 15:23:59 -03:00
Xinyu Liu
b2d69b85dc
Merge pull request #9032 from JimMoen/merge-release-v5.0.8-into-master
Merge release v5.0.8 into master
2022-09-23 17:42:19 +08:00
JimMoen
2984397e73 chore: apps vsn bump 2022-09-23 17:09:15 +08:00
JimMoen
fc3fdfb994 fix(build): apply PR#8956 changes 2022-09-23 17:09:10 +08:00
JimMoen
85835256f1 Merge tag 'v5.0.8' into merge-release-v5.0.8-into-master 2022-09-23 16:06:44 +08:00
JimMoen
d914f465da
Merge pull request #9029 from JimMoen/chore-githook-and-ignore-files
chore: add git commit hook for git-blame-ignore-revs
and ignore redis log files
2022-09-23 13:58:26 +08:00
JimMoen
7aa99b26b9 chore: add git commit hook for git-blame-ignore-revs
ignore redis log files
2022-09-23 12:37:07 +08:00
lafirest
100b53d17c
Merge pull request #8986 from lafirest/fix/slow_subs_unit
fix(slow_subs): fix timestamp unit error and update config not work
2022-09-23 10:55:29 +08:00
firest
5ef1a978bd chore: bump slow subs version && update CHANGES 2022-09-22 17:59:11 +08:00
firest
89af9c4a5f fix(slow_subs): fix timestamp unit error and update config not work
1. The unit of `deliver_begin_at` is incorrectly used the `seconds`, the resulting is incorrect when `stats_type` is `internal` or `response`
2. The config update doesn't actually take effect, the `load` function always used the old config
2022-09-22 17:57:51 +08:00
Kjell Winblad
a71aa4ca9c
Merge pull request #8917 from kjellwinblad/kjell/rule_engine_jq_func_implementation_module_config
Add rule engine configuration option for changing the implementation of the jq function
2022-09-22 10:41:32 +02:00
Kjell Winblad
9ea0147a8c feat(rule engine jq function): config for changing implementation
This commit adds a rule engine configuration option for changing the
implementation module used for the rule engine function jq. The two
options are `jq_port` (uses Erlang port programs to interact with jq)
and `jq_nif` (uses an Erlang NIF library to interact with jq).

Thanks to @terry-xiaoyu (Xinyu Liu <506895667@qq.com>) for Chinese
translations
2022-09-22 09:02:30 +02:00
Ilya Averyanov
f54e3c1695
Merge pull request #8963 from savonarola/improve-interpolation
fix(auth): use empty strings for absent placeholder values
2022-09-20 17:34:36 +03:00
Ilya Averyanov
c11afc357e fix(auth): use empty strings for absent placeholder values 2022-09-20 15:20:55 +03:00
zhongwencool
8c718d891f
Merge pull request #9002 from zhongwencool/fix-listener-crash
fix: /listeners API crash when there are nodes still in initial conf
2022-09-20 15:25:03 +08:00
Zhongwen Deng
2551c51a8c fix: ct failed 2022-09-20 11:37:49 +08:00
ieQu1
ed23107561
Merge pull request #9006 from ieQu1/master
chore(ekka): Bump version to 0.13.5
2022-09-19 22:48:07 +02:00
Ivan Dyachkov
ff2a9897c8
Merge pull request #8999 from emqx/build-fix-cross-build-packages-workflow
build: extract macos packaging into reusable action
2022-09-19 21:45:07 +02:00
Ivan Dyachkov
fe80dccf9b build: extract macos packaging into reusable action 2022-09-19 19:25:27 +02:00
ieQu1
62957b298b chore(ekka): Bump version to 0.13.5 2022-09-19 18:21:32 +02:00
Thales Macedo Garitezi
0ca18af96d
Merge pull request #8990 from thalesmg/gpb-rebar3-mix
chore: use `:rebar3` as `:gpb`'s manager
2022-09-19 09:30:10 -03:00
Zhongwen Deng
0241185225 chore: Add test coverage for listeners API 2022-09-19 18:25:25 +08:00
Zhongwen Deng
386110ae1e fix: /listeners API crash when some nodes still in init configuration 2022-09-19 15:24:36 +08:00
zhongwencool
e8e23938a2
Merge pull request #8971 from zmstone/0915-ensure-log-dir-created-by-runner
0915 ensure log dir created by runner
2022-09-19 09:19:18 +08:00
Zaiming (Stone) Shi
595f19cddd chore: force fetch upstream tags before appup updates 2022-09-18 11:35:39 +02:00
zhouzb
f4cb8610ea
Merge pull request #8997 from tigercl/chore/bump-chart-vsn
chore: bump vsn for helm chart
2022-09-17 22:00:09 +08:00
zhouzb
f0db2c0f12 chore: bump vsn for helm chart 2022-09-17 21:56:47 +08:00
Zaiming (Stone) Shi
d4b272b0ed
Merge pull request #8930 from thalesmg/bugfix-will-msg-check-conn-state
fix: check conn state before sending will message
2022-09-17 08:12:20 +02:00
Thales Macedo Garitezi
c20ad3733a fix: check for authorization on topic before publishing last will testament
fixes #8978

Without checking for authorization, a client can, on abnormal
termination, publish a message to any topic, including `$SYS` ones.
2022-09-16 17:31:22 -03:00
Thales Macedo Garitezi
dca522d7d3 test: add tests for publishing lwt when deny_action is disconnect 2022-09-16 15:11:54 -03:00
Thales Macedo Garitezi
87ab2e3a2d fix: check conn state before sending will message 2022-09-16 15:11:54 -03:00
Thales Macedo Garitezi
368954001d chore: upgrade :gpb to use :rebar3 as its manager
```
dependency :gpb is using Rebar 2, which is no longer maintained and no longer works in recent Erlang/OTP versions. Remove the :manager option or set it to :rebar3 instead
```
2022-09-16 10:10:00 -03:00
zhouzb
b48e3a5264
Merge pull request #8989 from tigercl/chore/bump-vsn
chore: bump vsn to 5.0.8
2022-09-16 19:32:59 +08:00
zhouzb
ba37ab4938 chore: bump vsn to 5.0.8 2022-09-16 19:32:17 +08:00
lafirest
6269c10502
Merge pull request #8982 from lafirest/chore/CHANGES
chore: update CHANGES-5.0.md
2022-09-16 19:20:57 +08:00
zhouzb
eb21947c46
Merge pull request #8988 from tigercl/chore/bump-dashboard-vsn
chore: bump dsahboard vsn
2022-09-16 19:20:17 +08:00
zhouzb
a9e6e1b6c8 chore: bump dsahboard vsn 2022-09-16 19:18:56 +08:00
JimMoen
a48160eae2
Merge pull request #8979 from JimMoen/fix-mqtt-bridge-anonymous-client
fix(bridge): mqtt bridge client info `username` & `password`
2022-09-16 16:06:01 +08:00
JimMoen
a660004fa4 fix(bridge): mqtt bridge client info username & password
for non configured `username` and `password`, default values `<<>>` should be
used. emqtt needs the values.
2022-09-16 15:09:51 +08:00
lafirest
5537f8396a
Merge pull request #8973 from lafirest/feat/authz_http_cert_placeholder
feat(authz): Support `cert_common_name` and `cert_subject` in Authz
2022-09-16 14:09:35 +08:00
Zaiming (Stone) Shi
9bd9e2ecd8 feat: add EMQX_LOG_DIR env 2022-09-16 09:49:55 +08:00
Zaiming (Stone) Shi
f272495b8e fix(bin/emqx): ensure log dir is created by runner user 2022-09-16 09:49:55 +08:00
firest
baa9266428 chore: update CHANGES-5.0.md 2022-09-16 08:21:19 +08:00
Zaiming (Stone) Shi
6991b42f14
Merge pull request #8961 from thalesmg/drop-license-file-master
chore: drop support for license files
2022-09-15 21:03:49 +02:00
firest
14b5977996 feat(authz): Support cert_common_name and cert_subject in Authz 2022-09-15 18:02:54 +08:00