Commit Graph

11935 Commits

Author SHA1 Message Date
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
zhongwencool 5056cbebf4 chore: update apps/emqx_authn/src/emqx_authn_app.erl
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-09-16 09:45:37 +08:00
Zhongwen Deng 6bd72fe5a1 fix: check authn's mechanism field 2022-09-16 09:45:37 +08:00
Zhongwen Deng 0ca89da1a7 chore: add authn changelog 2022-09-16 09:45:36 +08:00
Zhongwen Deng 49829caaa0 fix: check authn(lazy type) config when boot 2022-09-16 09:45:36 +08:00
Zhongwen Deng 0b07561e9b fix: ensure authentication is array, not struct 2022-09-16 09:45:36 +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
zhouzb 2985810763
Merge pull request #8969 from tigercl/chore/bump-vsn
chore: bump vsn
2022-09-15 10:22:53 +08:00
zhouzb 8054144357 chore: bump vsn 2022-09-15 10:20:25 +08:00
Xinyu Liu d9c9a1dec3
Merge pull request #8958 from JimMoen/fix-ssl-drop-invalid-certs
fix(bridge/authz/exhook): no need to drop invalid certs
2022-09-15 09:01:08 +08: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
JianBo He 8845da130e
Merge pull request #8957 from HJianBo/strip-double-quote
chore: support strip double quote in authn/authz
2022-09-14 17:35:41 +08:00
lafirest 9ffbff11c2
Merge pull request #8956 from lafirest/fix/redis_authn
fix(authn_redis): Add new clause for non-existent key check
2022-09-14 17:05:34 +08:00
firest 8590fef829 fix(authn_redis): Avoid duplicating check for non-existent keys 2022-09-14 16:30:59 +08:00
JianBo He a461375b30 chore: support strip double quote in authn/authz
more compatibility for https://github.com/emqx/emqx/pull/8827
2022-09-14 15:25:31 +08:00
firest 62fd955a0e fix(authn_redis): make dialyzer happy 2022-09-14 14:16:43 +08:00
JimMoen f018b8ab49 fix(bridge/authz/exhook): no need to drop invalid certs 2022-09-14 14:08:55 +08:00
firest 9e97760520 fix(authn_redis): Add new clause for non-existent key check
fix #8800
when the key not-existing, redis may return a list that all elements are `undefined`
2022-09-14 11:30:26 +08:00