Commit Graph

19778 Commits

Author SHA1 Message Date
Thales Macedo Garitezi b6689d178f fix(http_bridge): redact headers
Fixes https://emqx.atlassian.net/browse/EMQX-11864

```
2024-02-20T15:51:34.744509+00:00 [debug] msg: http_connector_received, mfa: emqx_bridge_http_connector:on_query_async/4(471), tag: QUERY_ASYNC, request: {"/bah",[{<<"Authorization">>,<<"******">>},{<<"content-type">>,<<"application/json">>},{<<"authorization">>,<<"******">>},{<<"content-type">>,<<"application/json">>}],<<"******">>}, state: #{port => 18083,request => #{path => [<<>>],body => undefined,headers => [{[<<"content-type">>],[<<"application/json">>]},{[<<"Authorization">>],#Fun<emqx_secret.0.85191762>}],method => [<<"undefined">>],max_retries => 2,request_timeout => 30000},host => "localhost",connect_timeout => 15000,pool_type => random,pool_name => <<"connector:http:p1">>,base_path => "/",installed_actions => #{<<"action:http:p1:connector:http:p1">> => #{path => [<<"/bah">>],body => undefined,headers => [{[<<"authorization">>],#Fun<emqx_secret.0.85191762>},{[<<"content-type">>],[<<"application/json">>]}],method => [<<"post">>],max_retries => 2,request_timeout => 30000,render_template_func => fun emqx_bridge_http_connector:render_template/2}}}, connector: <<"connector:http:p1">>, note: the request body is redacted due to security reasons
```
2024-02-20 12:57:13 -03:00
Thales Macedo Garitezi 31d48ad529
Merge pull request #12536 from thalesmg/ci-scorecard-non-default-r55-20240219
ci: disable scorecard check on non-`master` branches
2024-02-19 13:17:34 -03:00
Thales Macedo Garitezi fad73b5ad1 ci: disable scorecard check on non-`master` branches
https://github.com/emqx/emqx/actions/runs/7960101073/job/21728381092#step:4:269

```
2024/02/19 13:11:45 creating scorecard entrypoint: validating options: only default branch is supported
refs/heads/release-55 not supported with push event.
Only the default branch master is supported.
```
2024-02-19 10:18:16 -03:00
Thales Macedo Garitezi fbaa615cc8
Merge pull request #12534 from thalesmg/fix-config-upgrade-r55-20240219
fix(config): apply config upgrade to deprecated configs
2024-02-19 10:11:23 -03:00
Zaiming (Stone) Shi 68baa4dcaf docs: fix i18n 2024-02-19 13:57:44 +01:00
Thales Macedo Garitezi bee7fa630b chore: bump app vsns 2024-02-19 09:05:13 -03:00
Thales Macedo Garitezi dbb6725a47 fix(config): apply config upgrade to deprecated configs
Fixes https://emqx.atlassian.net/browse/EMQX-11845

Fixes https://github.com/emqx/emqx/issues/12452
2024-02-19 09:02:43 -03:00
SergeTupchiy 9ec7393ba5
Merge pull request #12497 from SergeTupchiy/EMQX-11825-mongodb-connector-perf-rel55
mongodb connector perf (release-55)
2024-02-09 16:52:19 +02:00
Serge Tupchii 8ac8d14abd chore(emqx_mongodb): bump app vsn to 0.1.6 2024-02-09 16:29:42 +02:00
Serge Tupchii c3b7d76102 perf: un-deprecate mongodb topology pool_size and set it to 10 by default
Benchmarks proved that it effects performance:
10 ecpool workers / 10 topology pool workers outperform
100 ecpool / 1 topology worker.

Fixes: EMQX-11825
2024-02-09 16:28:53 +02:00
Serge Tupchii e248cd6c66 perf: upgrade mongodb-erlang to v3.0.23
Fixes: EMQX-11825
2024-02-09 16:18:32 +02:00
Ivan Dyachkov bda82834de
Merge pull request #12450 from id/0201-ci-use-v3-artifacts-actions-in-build-packages
ci: use v3 artifacts actions in build packages
2024-02-02 07:01:18 +01:00
Ivan Dyachkov a2e3414805 ci: use v3 artifacts actions in build packages 2024-02-01 18:30:59 +01:00
Ivan Dyachkov 3ce953cb87
Merge pull request #12446 from id/0201-cut-5.5.0
chore: emqx 5.5.0
2024-02-01 12:31:03 +01:00
Ivan Dyachkov 3ad71f75e6 chore: emqx 5.5.0 2024-02-01 11:07:02 +01:00
JianBo He 55e2baa089
Merge pull request #12441 from emqx/0131-ci-fix-otp-version
ci: fix otp version
2024-02-01 09:13:46 +08:00
Ivan Dyachkov 227195df42 ci: fix otp version 2024-01-31 18:02:31 +01:00
Ivan Dyachkov c16a7f623c
Merge pull request #12438 from emqx/0131-ci-use-otp25-for-docker
ci: use OTP 25.3.2-2 for building docker
2024-01-31 17:56:08 +01:00
Ivan Dyachkov 3f71a98e5e chore: 5.5.0-rc.2 2024-01-31 17:06:54 +01:00
Ivan Dyachkov 04cdbe0dc3 ci: use OTP 25.3.2-2 for building docker
due to segfault on 26 https://github.com/erlang/otp/issues/8051
2024-01-31 17:06:51 +01:00
zhongwencool 6ee4439249
Merge pull request #12433 from HJianBo/fix-content-type
chore: compatible the contet-type sytanx
2024-01-31 20:33:04 +08:00
JianBo He b787f28d27 chore: compatible the contet-type sytanx 2024-01-31 17:49:46 +08:00
JianBo He 73a2ae8228
Merge pull request #12431 from id/0130-ci-fix-publish-artifacts
ci: fix publish artifacts job
2024-01-31 09:39:49 +08:00
JianBo He 34adb6a0c5
Merge pull request #12429 from ysfscream/release-55
chore(dashboard): bump dashboard version to v1.7.0 & e1.5.0
2024-01-31 09:14:19 +08:00
Ivan Dyachkov 1e26408812 ci: fix publish artifacts 2024-01-30 20:38:46 +01:00
Zaiming (Stone) Shi cae133a306
Merge pull request #12430 from id/0130-cut-5.5.0-rc.1
chore: 5.5.0-rc.1
2024-01-30 18:55:53 +00:00
Ivan Dyachkov a2ba8fc645 chore: 5.5.0-rc.1 2024-01-30 18:58:00 +01:00
YuShifan 04f08939c0 chore(dashboard): bump dashboard version to v1.7.0 & e1.5.0 2024-01-30 22:45:37 +08:00
JianBo He c0674913e2
Merge pull request #12421 from HJianBo/fix-import-users
fix(user_import): ensure the last record overwrites previous one
2024-01-30 18:49:35 +08:00
SergeTupchiy 03ff6f2ddf
Merge pull request #12410 from SergeTupchiy/EMQX-11812-subscribe-performance-degraded
perf(emqx_broker): pick broker pool worker by topic/shard pair to dis…
2024-01-30 11:48:59 +02:00
JianBo He 4190682a16 chore: fix the data type and example value for cluster invitation result 2024-01-30 15:29:46 +08:00
JianBo He aedfc8e8c0 fix(user_import): ensure the last record overwrites previous one 2024-01-30 14:14:20 +08:00
JianBo He 4688b36cdf
Merge pull request #12396 from HJianBo/import_user_2
feat(import_users): support user's password in plain text
2024-01-30 09:00:00 +08:00
Serge Tupchii 5007650bd2 perf(emqx_broker): pick broker pool worker by topic/shard pair to distribute the load more evenly.
Fixes: EMQX-11812
2024-01-29 20:57:10 +02:00
JianBo He ded1b4d8b3
chore: apply suggestions from code review
Co-authored-by: ieQu1 <99872536+ieQu1@users.noreply.github.com>
2024-01-29 18:24:29 +08:00
JianBo He d12335c4c6 chore: add tests 2024-01-29 18:10:42 +08:00
JianBo He d286b7e28c
Merge pull request #12404 from thalesmg/fix-action-metric-handler-r55-20240126
fix(resource_metrics): avoid detaching handler on crashes
2024-01-29 17:51:04 +08:00
Ivan Dyachkov 35f86ded1a
Merge pull request #12372 from id/0123-add-default-delivery-rate
retainer: add default delivery rate
2024-01-29 10:34:58 +01:00
Ivan Dyachkov fa6d65887d test(retainer): fix test cases 2024-01-29 08:42:36 +01:00
Ivan Dyachkov e4b8d79444 fix(retainer): add default delivery rate in the schema 2024-01-29 08:04:58 +01:00
JianBo He ab99a17c99 chore(utils_stream): simplfy the csv reader implementation 2024-01-29 11:10:50 +08:00
JianBo He 2e35024df1 test: update eunit tests 2024-01-29 10:49:07 +08:00
JianBo He 9915c85b0b chore(authn_mnesia): use emqx_utils_stream module to imporve reusability 2024-01-29 10:49:07 +08:00
JianBo He bcbd48ae58 chore: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2024-01-29 10:49:07 +08:00
JianBo He 4c1f1d97cd chore: update changes 2024-01-29 10:49:07 +08:00
JianBo He 8fc8106819 test: cover password_type and new data format 2024-01-29 10:49:07 +08:00
JianBo He 829887630d test: refine existed test cases 2024-01-29 10:49:07 +08:00
JianBo He fed512689a chore: make elvis checking happy 2024-01-29 10:49:07 +08:00
JianBo He e65cfb836c feat(import_users): support user's password in plain text 2024-01-29 10:49:07 +08:00
JianBo He 3516a01ab9
Merge pull request #12403 from JimMoen/fix-prom-stats-json-format
fix(prom_stats): compatibility with previous api format in json mode
2024-01-29 09:38:24 +08:00