Commit Graph

8900 Commits

Author SHA1 Message Date
DDDHuang 6cc39dfa23
Merge pull request #8463 from DDDHuang/rewrite_log
chore(rewrite): add some log
2022-07-12 11:26:07 +08:00
DDDHuang 13e9e9de51 chore(rewrite): add some log 2022-07-12 10:54:55 +08:00
Thales Macedo Garitezi bc132a4275 fix: default config should specify `cacert` file (4.3)
The default configuration had the `cacert` option for the
`ssl.external` listener commented out.  If one is to set `verify =
verify_peer` in that listener without noticing that `cacert` is
unspecified, all connections will fail with:

```
2022-07-11T11:48:28.540807-03:00 [error] supervisor: 'esockd_connection_sup - <0.3971.0>', errorContext: connection_shutdown, reason: {ssl_error,{options,{cacertfile,[]}}}, offender: [{pid,<0.8225.13>},{name,connection},{mfargs,{emqx_connection,start_link,[[{deflate_options,[]},{max_conn_rate,10000},{active_n,100},{zone,external},{proxy_address_header,<<>>},{proxy_port_header,<<>>},{supported_subprotocols,[]}]]}}]
```
2022-07-11 11:50:20 -03:00
Zaiming (Stone) Shi cd8a4503f8 Merge tag 'v4.4.5' into main-v4.4 2022-07-08 11:53:52 +02:00
zhongwencool d1254faf6f feat: list rules support for pagination and fuzzy filtering 2022-07-08 16:54:35 +08:00
JimMoen 419ab97e72
Merge pull request #8449 from JimMoen/update-ekka
chore: update ekka version
2022-07-08 14:35:51 +08:00
JianBo He 838ced7840 test: no shared subscription lost 2022-07-08 10:54:05 +08:00
JianBo He 7c1a680c33 chore: allow restarting children for emqx_broker_sup 2022-07-08 10:54:04 +08:00
JimMoen 2abeb53eb7 chore: update ekka version 2022-07-08 09:48:48 +08:00
ieQu1 445926c550
Merge pull request #8444 from ieQu1/shared-sub-dispatch-v4.3
chore: Update changelog
2022-07-07 15:12:58 +02:00
ieQu1 77e974971e chore: Update changelog 2022-07-07 14:02:11 +02:00
ieQu1 a344487935
Merge pull request #8441 from ieQu1/shared-sub-dispatch-v4.3
fix(shared_sub): Fix crash on dispatch with subscribers disconnected
2022-07-07 12:02:25 +02:00
ieQu1 e145fdbef3 fix(shared_sub): Fix crash on dispatch with subscribers disconnected 2022-07-07 11:15:58 +02:00
lafirest aaaa65786a
Merge pull request #8342 from lafirest/fix/pipeling
fix: change the type of enable_pipelining from bool to integer
2022-07-07 09:36:08 +08:00
Zaiming (Stone) Shi 3db6fd85bb
Merge pull request #8426 from zmstone/0705-add-quick-deny-for-anonymous
feat: add a quick deny option to allow_anonymous config
2022-07-06 14:00:03 +01:00
Zaiming (Stone) Shi 820d981b4d
docs: fix typo in code comment
Co-authored-by: Ilya Averyanov <av@rubybox.ru>
2022-07-06 13:33:52 +02:00
firest e1346148ec chore: bump version && update appup 2022-07-06 18:28:08 +08:00
firest 5c2797e1ca chore: Add compatibility note 2022-07-06 18:13:26 +08:00
firest 6cd79f92e0 fix(emqx_auth_http): make configure backward compatible 2022-07-06 18:06:06 +08:00
firest 85b0ce3843 fix: change the type of enable_pipelining from bool to integer 2022-07-06 18:05:56 +08:00
Zaiming (Stone) Shi 998f79070d feat: add a quick deny option to allow_anonymous config
prior to this change, allow_anonymous is only true | false
when set to 'false', even if the client is connected without
a username, the auth backends will be invoked.

this commit introduced a new config value `false_quick_deny`
to deny access immediately without involving auth backends
2022-07-06 11:40:24 +02:00
zhongwencool 5a9638b09b fix: get subscriptions crash when subid is undefined 2022-07-06 17:12:11 +08:00
JianBo He ad7c2456e6
Merge pull request #8386 from HJianBo/port-new-4316
Fix fail to join old version cluster crash
2022-07-05 09:38:27 +08:00
Zaiming (Stone) Shi 6cbc91f60f
Merge pull request #8411 from thalesmg/fix-list-diff-prec
fix: fix list difference precedence
2022-07-04 22:30:53 +01:00
Thales Macedo Garitezi 1a6cf38c00 fix: fix list difference precedence
```erlang
1> [a, b, c] ++ [d] -- [a].
[a,b,c,d]
2> ([a, b, c] ++ [d]) -- [a].
[b,c,d]
```
2022-07-04 16:38:49 -03:00
JianBo He c1b3cc756c chore: bump mgmt/dashboard vsn 2022-07-04 13:57:00 +08:00
JianBo He 6eadacd5a2 chore: bump rule-engine app vsn 2022-07-04 11:32:05 +08:00
Zaiming (Stone) Shi 0e55fabfda
Merge pull request #8400 from zmstone/0702-4.3-fix-app-vsn-check-script-with-include-dir
4.3 fix app vsn check script with include dir
2022-07-03 07:13:04 +01:00
Zaiming (Stone) Shi 0e4626aab3 ci: app version check script should also check include dir 2022-07-02 11:35:47 +02:00
Zaiming (Stone) Shi 9390fe665c
Merge pull request #8390 from thalesmg/update-appup-tool-vsns
chore: copy `.tool-versions` when calculating appups
2022-07-02 09:27:14 +01:00
Thales Macedo Garitezi 0e82979ce3
Merge pull request #8391 from thalesmg/ci-xref
ci: run xref checks in CI
2022-07-01 16:26:31 -03:00
Thales Macedo Garitezi fcb2d3dc51 fix(mgmt): use correct arity fn 2022-07-01 15:54:02 -03:00
Thales Macedo Garitezi 84c6a27758 ci: run xref checks in CI 2022-07-01 13:19:41 -03:00
Thales Macedo Garitezi 03649cc3f3 chore: copy `.tool-versions` when calculating appups
This can make it simpler to ensure the same OTP version that builds
the current checkout will match the one that builds the appup base,
since one may change the version locally.
2022-07-01 13:05:29 -03:00
JianBo He 12056d3f11
Merge pull request #8385 from emqx/fix-exclusive-sub-roll-upgrading
Merge v4.3.16 into hotfix/v4.4.5
2022-07-01 22:42:04 +08:00
JianBo He 92d1c37662 Merge v4.3.16 into hotfix/v4.4.5 2022-07-01 22:40:45 +08:00
lafirest 3dd523bdff
Merge pull request #8380 from lafirest/fix/exclusive_upgarde_4.3.16
Fix/exclusive upgarde 4.3.16
2022-07-01 19:11:50 +08:00
firest 59ce864f45 chore: add upgrade callback for exclusive_subscription 2022-07-01 18:43:18 +08:00
firest 8abf647452 fix(exclusive): add upgarde codes 2022-07-01 18:35:08 +08:00
Thales Macedo Garitezi 866ad5b1fa
Merge pull request #8354 from thalesmg/fix-run-mgmt-tests
test(mgmt): run all tests in suite
2022-06-30 13:26:10 -03:00
zhouzb c74bbae22b
Merge pull request #8364 from emqx/sync-4.3
Sync from 4.3
2022-06-30 21:48:44 +08:00
zhouzb 9539446ca6
Merge branch 'main-v4.4' into sync-4.3 2022-06-30 21:48:29 +08:00
Zaiming (Stone) Shi 1b3f54c3be
Merge pull request #8361 from zmstone/0630-ensure-os-mon-app-env
chore: ensure os_mon.memsup_improved_system_memory_data is set to true
2022-06-30 14:43:00 +01:00
zhouzb 9d50e8f66b
Merge pull request #8363 from tigercl/chore/bump-release
chore: bump version
2022-06-30 21:41:41 +08:00
zhouzb 7415e2dbc7 chore: bump version 2022-06-30 21:40:40 +08:00
zhouzb 56f76c61b0
Merge pull request #8362 from tigercl/chore/bump-release
chore: bump vsn
2022-06-30 21:36:14 +08:00
zhouzb 3fcd28882e chore: bump vsn 2022-06-30 21:34:36 +08:00
Zaiming (Stone) Shi 237afd0984 chore: ensure os_mon.memsup_improved_system_memory_data is set to true 2022-06-30 14:57:01 +02:00
lafirest b4ab6d91af
Merge pull request #8358 from lafirest/fix/rmv_zone_def_val
fix: remove the default value of zone's exclusive_subscription
2022-06-30 19:51:57 +08:00
firest 6a741f2085 fix: remove the default value of zone's exclusive_subscription 2022-06-30 19:48:35 +08:00