Commit Graph

7721 Commits

Author SHA1 Message Date
zhongwencool e4c2715842 fix: add ip to dashboard listener_on 2022-09-16 15:36:17 +08:00
Thales Macedo Garitezi 6204481d71 test: avoid inter-suite flakiness
This test runs most of the time fine in CI.  But, if run alone
locally, will fail consistently because the default `acl.conf` has a
catch-all `{allow, all}` clause.  Probably another suite that runs
before this in CI unloads that and everything seems fine.
2022-09-15 18:08:20 -03:00
Zaiming (Stone) Shi f2f14573d3
Merge pull request #8865 from qzhuyan/ci/william/add-xref-escript
Ci/william/add xref escript
2022-09-15 14:16:32 +02:00
Zaiming (Stone) Shi a90d289480 chore: update release version to v4.3.20-alpha.2 2022-09-15 09:35:48 +02:00
Zaiming (Stone) Shi 16d2d86d09
Merge pull request #8964 from emqx/0914-do-not-skip-relup-download
build: do not skip downloading relup base package
2022-09-15 09:34:38 +02:00
Zaiming (Stone) Shi 1ec8e1deed
Merge pull request #8939 from zmstone/0909-ci-add-chart-version-check
0909 ci add chart version check
2022-09-15 09:19:01 +02:00
Zaiming (Stone) Shi ab21801449 ci: exclude v4.3.13 for centos8 2022-09-15 09:07:20 +02:00
Zaiming (Stone) Shi 2fbb79f84f build: do not skip downloading relup base package
do not skip downloading only because of curl error
for known missing base packages, we should list them in the script
2022-09-15 09:07:20 +02:00
Thales Macedo Garitezi 0599393741
Merge pull request #8942 from thalesmg/fix-ignore-dialyzer-pt1-43
chore: fix ignored dialyzer warnings (part 1) (4.3)
2022-09-14 14:56:59 -03:00
Zaiming (Stone) Shi 05129bd919 refactor: rename check scripts to start with 'check-' 2022-09-14 19:32:02 +02:00
Zaiming (Stone) Shi 4ff34e3188 ci: ensure chart version is in sync with the release version 2022-09-14 19:32:02 +02:00
ieQu1 2990d16544
Merge pull request #8955 from ieQu1/prom-4-3-disable
fix(prometheus): Disable auth for prometheus endpoint
2022-09-14 09:29:37 +02:00
ieQu1 eee1869981 fix(prometheus): Disable auth for prometheus endpoint 2022-09-13 20:27:14 +02:00
Thales Macedo Garitezi 9a184642cf
Merge pull request #8938 from thalesmg/ci-dialyzer-check-43
ci: enable dialyzer checks (4.3)
2022-09-13 09:46:27 -03:00
Thales Macedo Garitezi 6fc7df9c54
Merge pull request #8894 from thalesmg/bugfix-will-msg-authn-43
test: add test case for not publishing will msg when not authorized
2022-09-13 09:46:14 -03:00
JianBo He 5592b1503d
Merge pull request #8908 from HJianBo/using-erlang-system-time
fix(time): replace os:system_time with erlang:system_time
2022-09-13 09:09:54 +08:00
Thales Macedo Garitezi fa6c22b366 chore: update appups 2022-09-12 10:56:35 -03:00
Thales Macedo Garitezi d72ca84af0 chore: fix ignored dialyzer warnings (part 1) (4.3) 2022-09-12 10:56:35 -03:00
Thales Macedo Garitezi 1f5103b390 test: add test case for not publishing will msg when not authorized 2022-09-12 09:04:54 -03:00
Zaiming (Stone) Shi b6f24b3ffe
Merge pull request #8940 from emqx/dev/v4.3.20
Merge dev/v4.3.20 back to main-v4.3
2022-09-12 09:32:42 +02:00
Zaiming (Stone) Shi 4597344881
Merge pull request #8941 from thalesmg/fix-appup-check-contains-re
ci(fix): fix check for appup coverage
2022-09-11 17:27:38 +02:00
Thales Macedo Garitezi 94afb633f8 chore: update missing appup instructions 2022-09-09 13:37:00 -03:00
Thales Macedo Garitezi 9e122f38b9 ci(fix): fix check for appup coverage
Before:

```elixir
iex(14)> :re.run('4.3.10', "4\\.3\\.[0-4]", [{:capture, :first, :list}])
{:match, ['4.3.1']}
```
2022-09-09 13:21:05 -03:00
Zaiming (Stone) Shi c463569d88 chore: bump versions in Chart 2022-09-09 17:10:39 +02:00
Zaiming (Stone) Shi cecedaccba docs: remove stale changlog 2022-09-09 17:01:50 +02:00
Thales Macedo Garitezi c65fad3014 ci: enable dialyzer checks (4.3) 2022-09-09 10:51:58 -03:00
Zaiming (Stone) Shi 9e4cebd192
Merge pull request #8937 from zmstone/fix-revert-some-dialyzer-changes
fix: revert 'accepted' state of exproto plugin
2022-09-09 15:00:48 +02:00
Zaiming (Stone) Shi 2c54190479 fix: revert 'accepted' state of exproto plugin 2022-09-09 12:27:02 +02:00
zhongwencool 2bd6e253f3
Merge pull request #8927 from terry-xiaoyu/fix_sql_topic_matching_to_null_val
Fix sql topic matching to null val
2022-09-09 14:53:54 +08:00
zhongwencool f2165e3e9b
Merge branch 'main-v4.3' into using-erlang-system-time 2022-09-09 09:57:10 +08:00
zhongwencool 754273f2cb
Merge pull request #8928 from zhongwencool/bump-minirest-0.3.9
chore: bump minirest to 0.3.9 to fix bind output
2022-09-09 09:50:18 +08:00
Zaiming (Stone) Shi 2ef6008599
Merge pull request #8918 from HJianBo/fix-shared-subs-dead-msg-loop
fix(shared-sub): fix dead loop if all subscribers are disconected
2022-09-08 13:25:10 +02:00
Shawn 93d10e63b0 chore: update CHANGES-4.3.md for #8927 2022-09-08 16:53:24 +08:00
zhongwencool 9d1f2c802f chore: bump minirest to 0.3.9 to fix bind output 2022-09-08 16:53:22 +08:00
Shawn b9d75181e5 chore: update emqx_rule_engine.appup.src 2022-09-08 16:38:34 +08:00
Shawn f0cc75d144 fix(sql): topic matching to null values should return false 2022-09-08 16:37:38 +08:00
JianBo He ce5cca438a
Merge branch 'main-v4.3' into fix-shared-subs-dead-msg-loop 2022-09-08 16:18:50 +08:00
JianBo He ced06efab2
Merge branch 'main-v4.3' into using-erlang-system-time 2022-09-08 16:08:40 +08:00
JianBo He 7b4fbfef3b chore: update app.src & appup.src 2022-09-08 15:46:47 +08:00
JianBo He 271112ad68 chore: update changes 2022-09-08 15:46:47 +08:00
JianBo He 0d5c32a706 fix(time): use erlang:system_time/0-1 consistently
Avoid the problem of inaccurate timers caused by mixing
erlang:system_time/0-1 and os:system_time/0-1
2022-09-08 15:46:44 +08:00
zhongwencool 408482392b
Merge pull request #8916 from zhongwencool/dashboard-support-ip-bind
feat: dashboard support bind with specific ip
2022-09-08 14:31:44 +08:00
JianBo He 2440733a6f test: ensure shared messages queued by session 2022-09-08 13:59:23 +08:00
JianBo He 95bc9cd8e0 chore: update changes 2022-09-08 13:59:23 +08:00
JianBo He ecae9b5d40 chore: update appup.src 2022-09-08 13:59:21 +08:00
zhongwencool 4f81a49391 feat: dashboard support bind with specific ip 2022-09-08 09:37:00 +08:00
JianBo He 8ec432481d fix(shared-sub): fix dead loop if all subscribers are disconected
In `broker.shared_dispatch_ack_enabled=true`, if all subscribers seesion are
kept and but connnection gone. the subscribers will reply NACKs if someone shared
delivers reached. However, the shared subscription always pick a subscriber to retry,
even if it has already replied with NACKs.

After this PR, the subscriber replies with an ACK and stores it into mqueue,
instead of replying with a NACK
2022-09-07 17:03:41 +08:00
William Yang 432eae6e55 ci(xref): support emqx-ee profile 2022-09-07 10:22:46 +02:00
lafirest ad31dfff35
Merge pull request #8898 from lafirest/fix/jwt_exp_float
fix(jwt): make jwt support float timestamp claims
2022-09-06 16:09:11 +08:00
firest d5494897c7 fix(jwt): make jwt support float timestamp claims 2022-09-06 11:51:39 +08:00