Commit Graph

11353 Commits

Author SHA1 Message Date
Thales Macedo Garitezi
7e6b94fc12 test: avoid stopping cover and using meck 2022-08-04 10:23:49 -03:00
Benjamin Krenn
5fa2a2aa44
Merge branch 'emqx:master' into feat_round_robin_per_node 2022-08-04 11:02:51 +02:00
Benjamin Krenn
dec892e867 feat(shared-sub): add round_robin_per_group strategy
add round robin per group strategy that balances load in a more predictable fashion when using no replication
2022-08-04 10:40:50 +02:00
William Yang
01b9115fd8 fix: keep alive check
According to MQTT spec, MQTT Server should check a complete MQTT message
recv in last keep-alive time frame instead of number of received bytes
from the socket.

This commit change to check the recv pkt counter from process dict
instead.

Also it could save some calls to erlang port.
2022-08-03 17:14:19 +02:00
Thales Macedo Garitezi
7f932d64be docs: adjust descriptions
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-08-03 09:38:51 -03:00
Thales Macedo Garitezi
19e101445c feat: add option to gc after TLS/SSL handshake 2022-08-03 09:38:51 -03:00
JianBo He
2203852ad9
Merge pull request #8616 from mindrunner/helm_ssl_support
feat(helm): add ssl support for helm chart
2022-08-03 17:21:08 +08:00
zhongwencool
27aebf8ee5
Merge pull request #8647 from zhongwencool/fvt-test-http-server-update
chore: bump fvt_test's minirest to latest(1.3.6)
2022-08-03 17:05:33 +08:00
zhongwencool
8e062df809
Merge pull request #8642 from zhongwencool/fix-node-status
chore: update Running/Stopped to running/stopped
2022-08-03 16:32:01 +08:00
Zhongwen Deng
abcdad39e5 chore: bump fvt_test's minirest to latest(1.3.6) 2022-08-03 16:29:06 +08:00
lafirest
11165f4a9c
Merge pull request #8626 from lafirest/fix/connect_event_5
fix(channel): Adjust the timing of the `client.connected` event
2022-08-03 16:01:17 +08:00
Zhongwen Deng
fd7c97735d chore: make sure path is binary 2022-08-03 12:58:20 +08:00
Zhongwen Deng
a19514f000 chore: bump emqx_management to 5.0.3 2022-08-03 12:34:30 +08:00
Zhongwen Deng
4869225395 chore: update Running/Stopped to running/stopped 2022-08-03 12:24:03 +08:00
zhongwencool
c6f879e03b
Merge pull request #8634 from zhongwencool/improve-swagger-router-generate
fix: return 503 instead of crash when dashboard generate router timeout
2022-08-03 10:46:59 +08:00
Thales Macedo Garitezi
69ec76f586 chore(license): treat license file API as an upload (5.0)
Improving the HTTP API for license after PR feedback.
2022-08-02 17:25:33 -03:00
Thales Macedo Garitezi
1454ef72d7
Merge pull request #8610 from thalesmg/license-http-api-50
feat(license): add HTTP API for license
2022-08-02 14:48:35 -03:00
Thales Macedo Garitezi
f0f1a7ad05 chore: update changelog 2022-08-02 09:34:56 -03:00
Thales Macedo Garitezi
889829e47d docs: use better translation 2022-08-02 09:31:59 -03:00
Thales Macedo Garitezi
1a66e53c49 chore(license): change api responses after review 2022-08-02 09:31:59 -03:00
Thales Macedo Garitezi
b19e8fb3cd feat(license): add HTTP API for license 2022-08-02 09:31:59 -03:00
Zhongwen Deng
8e53a61791 fix: return 503 instead of crash when dashboard generate router timeout 2022-08-02 19:49:06 +08:00
JianBo He
cffaf95d00
chore: update apps/emqx/src/emqx_channel.erl 2022-08-02 17:20:58 +08:00
Thales Macedo Garitezi
da6d6e8a9d
Merge pull request #8611 from thalesmg/fix-flaky-gw-test-50
test: fix flaky gateway tests
2022-08-01 12:08:56 -03:00
Thales Macedo Garitezi
4a1ede7e7e test: fix flaky gateway tests 2022-08-01 10:57:34 -03:00
Thales Macedo Garitezi
a78760dbac chore: bump app vsns 2022-08-01 10:57:34 -03:00
firest
78deee6846 fix(channel): Adjust the timing of the client.connected event 2022-08-01 17:35:48 +08:00
JianBo He
14920743ca
Merge pull request #8513 from lafirest/fix/limiter_interface
refactor(limiter): refactor the user interface
2022-08-01 11:02:15 +08:00
lukas
c56f84b997 feat(helm): add ssl support for helm chart 2022-07-31 17:32:19 +02:00
Thales Macedo Garitezi
a9b176b8bd
Merge pull request #8598 from thalesmg/license-fixes-50
license fixes (5.0)
2022-07-29 13:13:51 -03:00
JianBo He
be679f8128
Merge pull request #8589 from emqx/release-v5.0.4
Merge v5.0.4 into master branch
2022-07-29 08:49:10 +08:00
Thales Macedo Garitezi
8e08f045aa chore(bpapi): add new vsn 2022-07-28 17:59:54 -03:00
Thales Macedo Garitezi
7c34011c12 chore: bump app vsns 2022-07-28 17:45:44 -03:00
Thales Macedo Garitezi
f8a1bd0715 feat(license): copy license file to cluster when updating it 2022-07-28 17:29:59 -03:00
Thales Macedo Garitezi
80d35feb33 fix(license): change schema to allow updating license to different type
Before this change, if a license in `emqx.conf` was of type
`key`/`file` and then changed to the opposite type, such change would
be saved to `{cluster,local}-overrides.conf`.  When the node restarts
after that, the configs are merged naively and becomes invalid, as it
contains both the `key` and `file` keys, and crashes.
2022-07-28 17:29:59 -03:00
Thales Macedo Garitezi
5f49f9058f
Merge pull request #8586 from thalesmg/mix-ee
chore(mix): configure ee apps in `mix.exs`
2022-07-28 14:10:20 -03:00
Thales Macedo Garitezi
aff3afb385 ci: use Path.basename 2022-07-28 12:23:38 -03:00
JianBo He
5835120d8e chore: relealse v5.0.4 2022-07-28 13:47:41 +08:00
JianBo He
a850ca143c
Merge pull request #8588 from HJianBo/update-dashboard-vsn
chore: update dashboard vsn to v1.0.5
2022-07-28 13:40:37 +08:00
JianBo He
b780d944ab chore: update dashboard vsn to v1.0.5 2022-07-28 13:39:32 +08:00
Thales Macedo Garitezi
9cb37e06a2 ci: add mix format to make fmt 2022-07-27 16:36:03 -03:00
Thales Macedo Garitezi
aa8026104a chore(mix): configure ee apps in mix.exs 2022-07-27 16:35:54 -03:00
ieQu1
390ebd8ffc
Merge pull request #8584 from ieQu1/windows-without-rocksdb
fix(windows): Build without rocksdb on windows
2022-07-27 18:35:28 +02:00
ieQu1
5a7d0fff88 fix(windows): Build without rocksdb on windows 2022-07-27 17:04:34 +02:00
Thales Macedo Garitezi
90a6421c7d
Merge pull request #8576 from thalesmg/bump-ekka-0-13-3
chore: bump ekka -> 0.13.3
2022-07-27 10:46:14 -03:00
Xinyu Liu
527289090d
Merge pull request #8580 from terry-xiaoyu/webhook_max_retries
fix(webhook): the 'max_retries' opt means request retry times
2022-07-27 17:42:33 +08:00
Shawn
23eeb21b13 fix(webhook): the 'max_retries' opt means request retry times 2022-07-27 17:06:14 +08:00
zhouzb
9323878442 chore: bump vsn 2022-07-27 16:23:54 +08:00
JianBo He
ec9cf0cb9a
Merge pull request #8571 from HJianBo/listener-apis
Format the listeners API fields
2022-07-27 09:48:02 +08:00
Thales Macedo Garitezi
b4be9b6fae chore: bump ekka -> 0.13.3
Mainly: https://github.com/emqx/erlang-rocksdb/pull/7
2022-07-26 09:50:14 -03:00