Commit Graph

11590 Commits

Author SHA1 Message Date
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
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
lafirest
6269c10502
Merge pull request #8982 from lafirest/chore/CHANGES
chore: update CHANGES-5.0.md
2022-09-16 19:20:57 +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
Ivan Dyachkov
982abd96bf
Merge pull request #8972 from emqx/chore-skip-signing-macos-binaries-when-secrets-not-available
chore: skip signing macos binaries when dev cert of pw are not set
2022-09-15 11:58:49 +02:00
Ivan Dyachkov
501667dc1f chore: skip signing macos binaries when dev cert of pw are not set 2022-09-15 10:27:09 +02:00
Thales Macedo Garitezi
deff429579 chore: unify default license references in fn 2022-09-14 17:26:48 -03:00
Thales Macedo Garitezi
741eb4ff51
docs: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-09-14 17:08:45 -03:00
Thales Macedo Garitezi
21f89fd83e chore(license): delete default config and add info to i18n 2022-09-14 17:00:21 -03:00
Thales Macedo Garitezi
8cefdb00b8 chore(license): add default key as default value in schema 2022-09-14 09:45:01 -03:00
Thales Macedo Garitezi
d4416dc581 chore: drop support for license files (ee5.0)
Related issue: EMQX-7247

EMQX ee5.0 is to drop support for both the old license format (x509)
and for files containing the new format.
2022-09-14 09:44:59 -03:00
zhouzb
25b29de821
Merge pull request #8921 from Rory-Z/ci/fix-helm-push-error
ci(helm): fix helm push error
2022-09-14 09:21:31 +08:00
Ivan Dyachkov
cb5be71165
Merge pull request #8897 from emqx/build-sign-macos-binaries
build: sign binary files in macos package
2022-09-13 16:31:32 +02:00
Zaiming (Stone) Shi
752eaeb899
Merge pull request #8944 from zmstone/0912-spellcheck-dict
0912 spellcheck dict
2022-09-13 12:15:09 +02:00
Rory Z
b3355ff035 chore(helm): rename emqx-ee helm chart to emqx-enterprise 2022-09-13 17:43:00 +08:00
Zaiming (Stone) Shi
d4e8a5377c ci: run spellcheck 0.4.0 2022-09-13 09:45:37 +02:00
Rory Z
cbe2173547 chore(helm): add image.tag for helm chart 2022-09-13 15:31:14 +08:00
Rory Z
874414793f chore: add emqx enterprise helm chart 2022-09-13 14:06:39 +08:00
JianBo He
0bac4e200e
Merge pull request #8926 from HJianBo/using-erlang-system-time-5
fix(time): replace os:system_time with erlang:system_time
2022-09-13 09:09:16 +08:00
JianBo He
a715573c64
Merge branch 'master' into using-erlang-system-time-5 2022-09-13 09:09:06 +08:00
Ivan Dyachkov
7cfca31aaf build: sign binary files in macos package 2022-09-12 21:50:00 +02:00
Zaiming (Stone) Shi
d6bd1555ec refactor: move spellcheck dictionary to this repo
prior to this change, the EMQX spellcheck dictionary
is baked into the docker image, which makes adding
new words to the dict more complicated long process:
you'd have to send a separate PR to the docker image
repo and tag a new docker image and update the dokcer
iamge tag in emqx.git
2022-09-12 20:02:16 +02:00
Ivan Dyachkov
732a183576
Merge pull request #8919 from emqx/build-respect-PKG_VSN-variable-in-rebar.config.erl
build: take into account PKG_VSN env variable in rebar.config.erl
2022-09-09 14:28:09 +02:00
lafirest
13efe71b9f
Merge pull request #8934 from lafirest/fix/redis_authn
fix(authn_redis): fix that redis authn will deny the unknown users
2022-09-09 15:23:52 +08:00
firest
a770447e75 fix(authn_redis): fix that redis authn will deny the unknown users 2022-09-09 14:53:31 +08:00