Commit Graph

17998 Commits

Author SHA1 Message Date
zhongwencool
b1a3bc8565
Merge pull request #11745 from zhongwencool/cli-fix
fix: cli list return nothing when list is empty
2023-10-12 09:07:08 +08:00
Ivan Dyachkov
f84efd98e5
Merge pull request #11746 from id/1011-add-ossf-scorecard-analysis-workflow
chore(ci): add ossf scorecard analysis workflow
2023-10-11 14:57:27 +02:00
zhongwencool
cc392cadb8
chore: update apps/emqx_retainer/src/emqx_retainer_mnesia_cli.erl
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-10-11 18:40:09 +08:00
Ivan Dyachkov
7212e8acee chore(ci): add ossf scorecard analysis workflow 2023-10-11 09:59:27 +02:00
zhongwencool
f4a88f717b feat: support retainer Start Length command 2023-10-11 11:47:37 +08:00
zhongwencool
8e7ba16c3a fix: nothing show when run clients list command 2023-10-11 11:47:15 +08:00
zhongwencool
574dc2f243 fix: observer load command crash when loading noexist module 2023-10-11 10:36:33 +08:00
Zaiming (Stone) Shi
0f07f678e7
Merge pull request #11742 from zmstone/1010-sync-release-53-to-master
1010 sync release-53 to master
2023-10-10 18:56:23 +02:00
Thales Macedo Garitezi
196b24c0cb
Merge pull request #11741 from thalesmg/test-fix-flaky-http-test-m-20231010
test: attempt to fix flaky http bridge suite
2023-10-10 13:52:08 -03:00
Andrew Mayorov
7bbb5250e7
Merge pull request #11739 from keynslug/fix/flaky-kafka-testcase
test(kafka): try to stabilize `t_dynamic_mqtt_topic/1` testcase
2023-10-10 23:00:20 +07:00
Zaiming (Stone) Shi
5502d34225 chore: fix enterprise chart version typo 2023-10-10 15:28:02 +02:00
Zaiming (Stone) Shi
2066147b84
Merge pull request #11740 from zmstone/1010-release-5.3.1-alpha.1
chore: bump release version to 5.3.1-alpha.1
2023-10-10 15:26:41 +02:00
Ivan Dyachkov
f5b0f96521 chore(docker): use public.ecr.aws registry for base image 2023-10-10 14:51:07 +02:00
Thales Macedo Garitezi
ec588f94e2 test: attempt to fix flaky http bridge suite
```
 =CRASH REPORT==== 10-Oct-2023::05:35:30.911371 ===
  crasher:
    initial call: ehttpc:init/1
    pid: <0.23358.2>
    registered_name: []
    exception error: bad argument
      in function  persistent_term:get/1
         called as persistent_term:get({emqx_bridge_http_SUITE,
                                        do_t_async_retries,attempts})
         *** argument 1: no persistent term stored with this key
      in call from emqx_bridge_http_SUITE:'-do_t_async_retries/3-fun-2-'/0 (/__w/emqx/emqx/apps/emqx_bridge_http/test/emqx_bridge_http_SUITE.erl, line 697)
      in call from emqx_bridge_http_SUITE:'-do_t_async_retries/3-fun-4-'/6 (/__w/emqx/emqx/apps/emqx_bridge_http/test/emqx_bridge_http_SUITE.erl, line 705)
```
2023-10-10 09:50:53 -03:00
Ivan Dyachkov
bfb2218392 chore: fix release version 2023-10-10 14:50:49 +02:00
Zaiming (Stone) Shi
143673b703 chore: bump release version to 5.3.1-alpha.1 2023-10-10 14:35:46 +02:00
Zaiming (Stone) Shi
d14e86d14f Merge remote-tracking branch 'origin/master' into release-53 2023-10-10 14:32:38 +02:00
Zaiming (Stone) Shi
0122574563
Merge pull request #11735 from id/1009-switch-to-public.ecr.aws-docker-registry
ci(docker): use public.ecr.aws registry
2023-10-10 14:30:51 +02:00
Zaiming (Stone) Shi
0a9e1dfa88
Merge pull request #11734 from zmstone/1002-support-ipv6-only-clustering
Make IPv6 clustering options configurable
2023-10-10 14:29:52 +02:00
Andrew Mayorov
5fff2ffe45
test(kafka): try to stabilize t_dynamic_mqtt_topic/1 testcase 2023-10-10 17:18:24 +07:00
Andrew Mayorov
9b573834f9
Merge pull request #11736 from keynslug/fix/eval-erl-audit
fix(audit): handle abstract forms when logging `eval_erl`
2023-10-10 15:49:19 +07:00
Zaiming (Stone) Shi
d651764ff4 docs: add changelog for pull request 11734 2023-10-10 10:05:14 +02:00
Zaiming (Stone) Shi
2c13a26cac test: add support of ipv6 in start-two-nodes-in-docker.sh 2023-10-10 10:05:14 +02:00
Zaiming (Stone) Shi
e7e696cd66 feat(rpc): add ipv6_only config 2023-10-10 10:05:14 +02:00
lafirest
24a68401d5
Merge pull request #11737 from lafirest/fix/ldap_backslash
fix(ldap): escape the escape character (\)
2023-10-10 15:59:43 +08:00
Ivan Dyachkov
31840068d4 ci(docker): use public.ecr.aws registry 2023-10-10 09:15:08 +02:00
firest
e07937a3ef fix(ldap): escape the escape character (\) 2023-10-10 13:49:36 +08:00
Andrew Mayorov
2a291dfd27
fix(audit): handle abstract forms when logging eval_erl 2023-10-10 12:31:19 +07:00
Zaiming (Stone) Shi
1e93d2f1fc chore: upgrade to ekka 0.15.16 gen_rpc 3.2.0
* ekka 0.15.16 supports 'inet6_tls' as ekka.proto_dist
* gen_rpc 3.2.0 supports true | false as gen_rpc.ipv6_only
2023-10-09 20:03:21 +02:00
Zaiming (Stone) Shi
497e08448d feat(cluster): support ipv6 and tls on ipv6 for clustering
Made possible to configure inet6_tls for Erlang distribution
Also, added support to configure ipv6 listener for gen_rpc
2023-10-09 20:03:21 +02:00
Zaiming (Stone) Shi
4654458cb0 build: use env variable to disalbe buildx provenance attestations
So it can work with older version docker buildkit
2023-10-09 20:03:21 +02:00
Zaiming (Stone) Shi
03d8e06ff7 chore(emqx_rule_funcs): regroup export functions 2023-10-09 20:03:21 +02:00
Zaiming (Stone) Shi
c60915293a
Merge pull request #11634 from savonarola/0919-auth-refactor
Auth refactor
2023-10-09 19:51:26 +02:00
lafirest
8f4cdc3fcf
Merge pull request #11732 from lafirest/test/sso_cli
test(ldap): add test suite for SSO CLI
2023-10-09 20:35:23 +08:00
Zaiming (Stone) Shi
9ab49a7ae3 Merge remote-tracking branch 'origin/master' into 0919-auth-refactor 2023-10-09 14:18:10 +02:00
lafirest
2c7e5eb1cb
Merge pull request #11728 from lafirest/fix/ldap_filter
fix(ldap): improve the filter lex && parse
2023-10-09 18:24:57 +08:00
Ivan Dyachkov
35a3136660
Merge pull request #11621 from bzuelly/master
fix: emqx user home folder permissions
2023-10-09 10:34:16 +02:00
zhongwencool
363d073b85
Merge pull request #11729 from zhongwencool/api-tags-fix
docs: swagger api tags should camel case
2023-10-09 03:18:46 -05:00
firest
e3550fc07b test(ldap): add test suite for SSO CLI 2023-10-09 16:05:56 +08:00
zhongwencool
617a1dcc9d docs: license update cli usage 2023-10-09 15:44:56 +08:00
zhongwencool
0c89b6b213 docs: swagger api tags should camel case 2023-10-09 15:21:51 +08:00
zhongwencool
4898d2377b
Merge pull request #11726 from zhongwencool/audit-cli-args-bin
fix: cli's args in audit log should be array
2023-10-08 21:29:39 -05:00
firest
bff048d183 chore: update changes 2023-10-08 18:45:39 +08:00
firest
b2a6724dc2 fix(ldap): improve the filter lex && parse
1. auto escape special chars in the filter
2. fix a bug that the value can't be `dn`
2023-10-08 18:39:20 +08:00
JianBo He
b1b89907ab
Merge pull request #11723 from thalesmg/ci-fix-ldap-image-m-20231006
ci(ldap): fix ldap container for running locally on linux
2023-10-08 14:37:31 +08:00
zhongwencool
482e82f914 fix: cli's args in audit log should be array 2023-10-07 17:38:02 +08:00
Thales Macedo Garitezi
2fe6e8e431
Merge pull request #11722 from thalesmg/fix-bridge-buffer-supported-m-20231006
fix(kafka_producer): send messages to wolff producer to buffer even when connector is in `connecting` state (sync query mode)
2023-10-06 15:32:04 -03:00
Thales Macedo Garitezi
22ba4db955 ci(ldap): fix ldap image start command
When running locally (linux):

```
65203b70.18825a20 0x7f38a4b17540 @(#) $OpenLDAP: slapd 2.5.16 (Sep 28 2023 21:52:49) $
	@buildkitsandbox:/openldap-2.5.16/servers/slapd
65203b70.1c1e0a61 0x7f38a4b17540 ch_calloc of 1 elems of 60129541696 bytes failed
slapd: ch_malloc.c:107: ch_calloc: Assertion `0' failed.
```

Reference: https://github.com/moby/moby/issues/8231#issuecomment-65230477
2023-10-06 15:30:21 -03:00
Thales Macedo Garitezi
34186fcc74 fix(kafka_producer): send messages to wolff producer to buffer even when connector is in connecting state
Fixes https://emqx.atlassian.net/browse/EMQX-11085

Messages would not be sent to wolff if the connection was down, so they were effectively lost.
2023-10-06 11:43:29 -03:00
Ivan Dyachkov
10bd74002a
Merge pull request #11648 from id/0921-switch-to-ephemeral-runners
ci: use ephemeral self hosted runners
2023-10-06 13:18:52 +02:00