Thales Macedo Garitezi
|
fdcd73e20c
|
fix(file_logger): change file logger type depending on rotation size
Fixes https://emqx.atlassian.net/browse/EMQX-11036
From `logger_disk_log_h:open_disk_log`:
```erlang
open_disk_log(Name,File,Type,MaxNoBytes,MaxNoFiles) ->
case filelib:ensure_dir(File) of
ok ->
Size =
if Type==halt -> MaxNoBytes;
Type==wrap -> {MaxNoBytes,MaxNoFiles} %% <-------
end,
Opts = [{name, Name},
{file, File},
{size, Size},
{type, Type},
{linkto, self()},
{repair, false},
{format, external},
{notify, true},
{quiet, true},
{mode, read_write}],
case disk_log:open(Opts) of
```
Affects all file loggers (audit included):
```
% emqx_config_logger:update_log_handler/1 -> ok
iex(emqx@127.0.0.1)14> Config override: log.file.emqx_audit is updated, but failed to add handler: {handler_not_added,
{badarg,
[{size,
{infinity,
10}},
{type,
wrap},
{linkto,
<0.1952.0>},
{repair,
false},
{format,
external},
{notify,
true},
{quiet,
true},
{mode,
read_write}]}}
```
|
2023-09-26 09:04:44 -03:00 |
|
JianBo He
|
e9785a6863
|
Merge pull request #11680 from thalesmg/audit-not-on-ce-r53-20230925
fix(audit): only support audit log on enterprise edition
|
2023-09-26 18:57:22 +08:00 |
|
Zaiming (Stone) Shi
|
d31bfc70fb
|
Merge pull request #11659 from zhongwencool/fix-listener-ssl-create-500
fix: create ssl listener return 500 crash
|
2023-09-26 11:38:07 +02:00 |
|
lafirest
|
8cc626d33f
|
Merge pull request #11686 from lafirest/fix/sso_user_backend
fix: fix update SSO user && improve SSO user deletion commnad
|
2023-09-26 16:04:51 +08:00 |
|
firest
|
56917fee5f
|
fix(sso): Improved SSO user deletion command
|
2023-09-26 14:15:41 +08:00 |
|
firest
|
d1af81c86e
|
fix(sso): fix the failure to update SSO users
|
2023-09-26 12:14:45 +08:00 |
|
firest
|
8135e27586
|
fix: redact sensitive data in SSO and LDAP
|
2023-09-26 11:06:47 +08:00 |
|
Thales Macedo Garitezi
|
5d212e1086
|
fix(audit): only support audit log on enterprise edition
Fixes https://emqx.atlassian.net/browse/EMQX-11039
|
2023-09-25 15:59:35 -03:00 |
|
Thales Macedo Garitezi
|
ff7f37ccf5
|
test(cth): allow defining schema to load for app
|
2023-09-25 13:22:41 -03:00 |
|
lafirest
|
1df8326fb8
|
Merge pull request #11677 from lafirest/fix/sso_cfg
adjust the config path for the SSO feature and improve the update logic
|
2023-09-25 23:00:46 +08:00 |
|
William Yang
|
9106eb92d2
|
Merge pull request #11675 from qzhuyan/fix/william/quic-respect-param-verify
|
2023-09-25 15:48:01 +02:00 |
|
firest
|
cfdb25b213
|
fix(sso): updates the SSO backend when the [dashboard] has updated
|
2023-09-25 20:30:47 +08:00 |
|
Ivan Dyachkov
|
f1bc3b68b6
|
Merge pull request #11674 from id/0925-e5.3.0-alpha.2
e5.3.0 alpha.2
|
2023-09-25 14:21:46 +02:00 |
|
JianBo He
|
6f29bbf997
|
Merge pull request #11673 from HJianBo/redact_audit_log_from_cli
Redact audit log from CLI
|
2023-09-25 20:03:45 +08:00 |
|
William Yang
|
36d3a3a524
|
fix: bump to quicer 0.0.201
do not load cacertfile if verify_none
|
2023-09-25 13:02:01 +02:00 |
|
William Yang
|
22193d273a
|
fix(quic): ignore undefined cacertfile
|
2023-09-25 12:57:55 +02:00 |
|
Ivan Dyachkov
|
8c93c79b44
|
chore: e5.3.0-alpha.2
|
2023-09-25 12:52:45 +02:00 |
|
JimMoen
|
7d58f6c61e
|
Merge pull request #11668 from JimMoen/saml-login-redirect
fix: saml login acs redirect to dashboard overview
|
2023-09-25 18:11:03 +08:00 |
|
JianBo He
|
b970a34ee0
|
chore: redact some audit logs from CLI
|
2023-09-25 18:06:39 +08:00 |
|
JianBo He
|
89e15e9134
|
Merge pull request #11665 from HJianBo/typo-fixes
Typo fixes
|
2023-09-25 17:23:40 +08:00 |
|
lafirest
|
1cd9df6461
|
Merge pull request #11669 from lafirest/fix/dashboard_cli
fix(sso): refactor the `admins` CLI
|
2023-09-25 16:57:18 +08:00 |
|
firest
|
e63d484632
|
fix(sso): move the config path of the SSO feature to dashboard.sso
|
2023-09-25 15:23:52 +08:00 |
|
firest
|
e94192d1fa
|
fix(sso): refactor the admins CLI
1. revert the opensource version
2. allow delete the SSO user via CLI
|
2023-09-25 13:53:01 +08:00 |
|
firest
|
4f4868a46c
|
fix(sso): Disable access to logout endpoint by the API key
|
2023-09-25 10:31:38 +08:00 |
|
JianBo He
|
30862a94c6
|
chore: typo fixes
|
2023-09-24 20:19:05 +08:00 |
|
JimMoen
|
ad4fadc2fa
|
fix: saml login acs redirect to dashboard overview
|
2023-09-23 17:29:02 +08:00 |
|
JianBo He
|
f8d06614c0
|
chore: fix dialyzer warnings
|
2023-09-23 07:34:04 +08:00 |
|
JimMoen
|
1dddccb448
|
fix(saml): cert files cleanup when destroy
|
2023-09-22 22:49:08 +08:00 |
|
JimMoen
|
80a6c1150d
|
fix(saml): saml login reply role viewer as default
|
2023-09-22 22:39:02 +08:00 |
|
JimMoen
|
cc3e4e4dc5
|
fix(saml): drop cert and key content and return path
|
2023-09-22 22:37:04 +08:00 |
|
JimMoen
|
6349cd3910
|
fix(saml): sp sign request
|
2023-09-22 21:57:50 +08:00 |
|
JimMoen
|
2a8f3f9eaa
|
fix: saml xml metedata format
|
2023-09-22 21:50:43 +08:00 |
|
JimMoen
|
a318ad486a
|
refactor: behavior login/2 use all http request
|
2023-09-22 21:50:43 +08:00 |
|
JianBo He
|
9181ec844f
|
chore: split out sso_saml_api module
|
2023-09-22 21:50:43 +08:00 |
|
JianBo He
|
df94426ee3
|
chore: make static_check happy
|
2023-09-22 21:50:42 +08:00 |
|
JianBo He
|
ec0894ca0b
|
chore: update esaml vsn
|
2023-09-22 21:50:42 +08:00 |
|
JianBo He
|
4a26f63bd6
|
chore: fix bugs
|
2023-09-22 21:50:41 +08:00 |
|
JianBo He
|
47badc3181
|
chore: make dialyzer happy
|
2023-09-22 21:49:12 +08:00 |
|
JianBo He
|
1c78c6bf6d
|
chore: fix 500 crashes when backend not existed
|
2023-09-22 21:49:12 +08:00 |
|
JimMoen
|
b4fb5196cb
|
fix(sso): SSO management API 500
|
2023-09-22 21:49:12 +08:00 |
|
JimMoen
|
bba5cc44a8
|
fix: keep same API path style
|
2023-09-22 21:49:12 +08:00 |
|
JimMoen
|
8300cd42d4
|
fix: acl url ignore auth check
|
2023-09-22 21:49:12 +08:00 |
|
JimMoen
|
44836ef5ee
|
chore: bump esaml vsn to v1.1.1
|
2023-09-22 21:49:12 +08:00 |
|
JimMoen
|
13666fa9f9
|
refactor: avoid dynamic call
|
2023-09-22 21:49:12 +08:00 |
|
JimMoen
|
c9e0d4fc30
|
feat: saml integration for dashboard sso
|
2023-09-22 21:49:10 +08:00 |
|
JimMoen
|
d9466eef63
|
chore: fix Dashboard RBAC license and rebar.config
|
2023-09-22 21:19:45 +08:00 |
|
Zaiming (Stone) Shi
|
fd932c9bf7
|
Merge pull request #11660 from zmstone/0922-fix-audit-eval-command
fix(audit): make emqx eval command auditable
|
2023-09-22 14:02:47 +02:00 |
|
Zaiming (Stone) Shi
|
a34ab19d93
|
fix(audit): make emqx eval command auditable
|
2023-09-22 12:05:45 +02:00 |
|
zhongwencool
|
0eed01abee
|
fix: create ssl listener return 500 crash
|
2023-09-22 17:34:19 +08:00 |
|
lafirest
|
13b5e4dbc9
|
Merge pull request #11658 from lafirest/fix/sso_misc
Fix/sso misc
|
2023-09-22 14:44:39 +08:00 |
|