Commit Graph

19069 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 79cf0a2ced fix(kafka_producer): correctly handle metrics for connector that have internal buffers
Fixes https://emqx.atlassian.net/browse/EMQX-11086

There’s currently a metric inconsistency due to the internal buffering nature of Kafka
Producer (wolff).

We use simple_sync_query to call the Kafka Producer bridge.  If that times out, the call
is accounted as failed, even though the message is buffered in wolff and later sent
successfully.
2023-10-09 15:02:25 -03: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
Ivan Dyachkov 74686ed86b ci: update labels 2023-10-06 08:44:47 +02:00
Ivan Dyachkov 52f6816cb9 ci: explicitly pull postgres image 2023-10-05 15:55:04 +02:00
Ivan Dyachkov 64f866387c ci: compress ct logs before uploading 2023-10-05 14:36:56 +02:00
Ivan Dyachkov d7725c72cf ci: fix node_dump 2023-10-05 13:33:54 +02:00
Ivan Dyachkov 9a881290b9 ci: use ephemeral self hosted runners 2023-10-05 13:33:51 +02:00
Ilya Averyanov 398a62031e chore: update app versions 2023-10-05 13:41:50 +03:00
Ilya Averyanov 5dff36474d chore(auth): get rid of hardcoded schema modules in auth 2023-10-05 13:41:50 +03:00
Ilya Averyanov c2c56ba481 chore(auth): update tests 2023-10-05 13:41:50 +03:00
Ilya Averyanov 1eb75b43c4 chore(auth): split emqx_authn and emqx_authz apps 2023-10-05 13:41:50 +03:00
Stefan Strigler e049dc0e76
Merge pull request #11716 from sstrigler/dev_script_sname
some minor improvements to ./dev
2023-10-04 08:57:56 +02:00
Zaiming (Stone) Shi 9e11c13266
Merge pull request #11718 from zmstone/1003-fix-authn-schema
fix(authn): "authentication" importance should not be "hidden"
2023-10-03 15:45:19 +02:00
Zaiming (Stone) Shi fd75dc895d fix(authn): "authentication" importance should not be "hidden" 2023-10-03 11:18:21 +02:00
Stefan Strigler ad4dac52eb feat: dev script support short names 2023-10-03 09:08:28 +02:00
Stefan Strigler a8740c42cc fix: dev script be more user-friendly 2023-10-03 09:07:28 +02:00
Stefan Strigler c181a0a702 fix: make dev script play nice with _checkouts 2023-10-03 09:07:28 +02:00
Zaiming (Stone) Shi ca8da5723a
Merge pull request #11704 from zmstone/0928-sync-release-53
0928 sync release 53
2023-10-02 21:57:32 +02:00
Zaiming (Stone) Shi 3f6e0e890b chore: bump emqx_durable_storage and emqx_license app vsn 2023-10-02 20:13:09 +02:00
Thales Macedo Garitezi 519a492879
Merge pull request #11713 from thalesmg/message-replay-mkII-m-20230928
refactor: move session stuff from `emqx_ds` to `emqx_persistent_session_ds`
2023-10-02 09:58:10 -03:00
Thales Macedo Garitezi 2358d67908 refactor: move session stuff from `emqx_ds` to `emqx_persistent_session_ds`
Part of https://emqx.atlassian.net/browse/EMQX-10942
2023-09-29 18:00:24 -03:00
Zaiming (Stone) Shi abe086e1a0 chore: update trial license warning text
Prior to this change, the "apply for a new license" sentence
period symbol corrupted the http URL
2023-09-29 21:48:27 +02:00
Zaiming (Stone) Shi bce8fd2fbc chore: bump app versions 2023-09-29 18:56:52 +02:00
Zaiming (Stone) Shi ed5b456d62 Merge remote-tracking branch 'origin/release-53' into 0928-sync-release-53 2023-09-29 18:24:44 +02:00
Zaiming (Stone) Shi 7b3ce3cbc7
Merge pull request #11710 from zmstone/0929-release-5.3.0
0929 release 5.3.0
2023-09-29 18:15:06 +02:00
Zaiming (Stone) Shi a852400fb3 chore: add 5.3.bpapi 2023-09-29 16:34:04 +02:00
Zaiming (Stone) Shi deece276be chore: add bpapi check cut.sh 2023-09-29 16:34:04 +02:00
Zaiming (Stone) Shi eb4a2ad4d5 chore: do not auto generate changelog for ce 2023-09-29 14:10:24 +02:00
Zaiming (Stone) Shi f69702b82e docs: delete typo-named changelog file 2023-09-29 14:03:30 +02:00
Zaiming (Stone) Shi cd3029a40f docs: add changelog for v5.3.0 2023-09-29 13:55:34 +02:00
Zaiming (Stone) Shi 9bbabdf216 docs: add changelog for e5.3.0 2023-09-29 13:51:41 +02:00
Zaiming (Stone) Shi fe01aaff4f chore: prepare for e5.3.0 promotion 2023-09-29 13:32:57 +02:00
Zaiming (Stone) Shi b7587fe48e ci: add -y to apt update 2023-09-29 13:31:46 +02:00