Commit Graph

7690 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 0031595770
Merge pull request #9263 from JimMoen/fix-typo
chore: fix ci typo
2022-10-28 17:09:23 +02:00
zhongwencool 9167055f56 chore: refactor init_default_admin_user/0 function 2022-10-28 21:49:16 +08:00
zhongwencool 93924f567f chore: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-10-28 21:44:38 +08:00
zhongwencool d37ad38e7a chore: clear_table mqtt_admin when failed 2022-10-28 21:44:05 +08:00
zhongwencool 47d88186d1 chore: update emqx_auth_mnesia appup 2022-10-28 21:44:05 +08:00
zhongwencool ab51684b36 chore: add more test for emqx_dashboard 2022-10-28 21:44:05 +08:00
zhongwencool ec426df0a7 fix: typo error 2022-10-28 21:44:03 +08:00
zhongwencool 04c0caefac feat: bootstrap dashboard users from dashboard.bootstrap_users_file 2022-10-28 21:43:20 +08:00
JimMoen 844ebf5ed6
chore: fix ci typo 2022-10-28 20:34:45 +08:00
Zaiming (Stone) Shi dd95a26270 Merge remote-tracking branch 'origin/main-v4.3' into release-v43 2022-10-28 14:12:44 +02:00
Zaiming (Stone) Shi 4614167488
Merge pull request #9234 from savonarola/update-emqx-cm
chore(cm): sync emqx_cm with ee
2022-10-28 14:09:06 +02:00
Zaiming (Stone) Shi 86329075cb
Merge pull request #9242 from lafirest/fix/log_sensitive_acl
Use LOG_SENSITIVE to replace the risky LOG in ACL
2022-10-28 13:16:08 +02:00
zhongwencool c2c089d0e9 chore: remove useless information from the dashboard listener failure log 2022-10-28 17:26:25 +08:00
JimMoen 139aabd078
Merge pull request #9190 from JimMoen/rule-engine-api-id
fix(rule_engine): rule id in path urlencoded
2022-10-28 15:41:40 +08:00
Xinyu Liu 8260c55530
Merge pull request #9254 from terry-xiaoyu/webhook_support_placeholders_in_headers
feat: support to use placeholders as http headers in webhook actions
2022-10-28 09:43:11 +08:00
Xinyu Liu eeb87fd253
Merge pull request #9239 from emqx/webhook_support_placeholders_in_headers
feat: support to use placeholders as http headers in webhook actions
2022-10-28 09:01:29 +08:00
Zaiming (Stone) Shi 307ff6b97b
Merge pull request #9244 from HJianBo/using-warning-level
chore(auth-http): using warning level instead of error
2022-10-27 20:42:00 +02:00
JimMoen a9e835113d
chore: update chanegs 2022-10-27 17:32:22 +08:00
JimMoen c21a2cf4c6
test(rule_engine): test some unicode chars as rule id 2022-10-27 17:32:21 +08:00
Shawn 982fc9b4fe feat: support to use placeholders as http headers in webhook actions 2022-10-27 17:24:05 +08:00
firest eddbf3dc9e chore: update changes 2022-10-27 17:03:12 +08:00
firest b70feef432 chore: bump version && update appup 2022-10-27 17:03:12 +08:00
firest 4fc56a6e5b fix(log): Use LOG_SENSITIVE to replace the risky LOG in ACL
We should ensure that neither client nor backend database passwords should be printed out when users use ACLs
2022-10-27 17:02:57 +08:00
JianBo He d0ad44d364 chore(auth-http): using warning level instead of error 2022-10-27 16:23:30 +08:00
JianBo He 49a5862a63
Merge pull request #9046 from HJianBo/more-logs-for-auth-http
More logs for http authn/authz
2022-10-27 15:42:36 +08:00
JimMoen 892becb5bf
fix(rule_engine): rule_id and resource_id in path urlencoded 2022-10-27 00:39:13 +08:00
lafirest 6feaf1a8cf
Merge pull request #9189 from lafirest/1003-add-a-sensitive-logger
fix(logger): add new macro `?LOG_SENSITIVE` and use it to replace some `?LOG`  for security reason
2022-10-26 19:05:51 +08:00
firest 6783c640a6 chore: update changes 2022-10-26 17:16:36 +08:00
firest e66e563648 fix(logger): add new macro `?LOG_SENSITIVE` and use it to replace some `?LOG` for security reason
some arguments  passed to external API may contain sensitive data, when the API execution fails, sensitive data may be returned as a part of the failure reason, if this reason printed to the log, it will lead to sensitive data leakage, so we should check carefully and scan these failed returns
2022-10-26 17:14:46 +08:00
Ilya Averyanov cc468dca4e chore(cm): sync emqx_cm with ee 2022-10-26 11:49:22 +03:00
Zaiming (Stone) Shi f5c0ef3e56
Merge pull request #9226 from zmstone/1025-fix-drop-tuple-value-message-headers
fix(emqx_rule_events): do not keep tuple-value message headers
2022-10-26 09:59:12 +02:00
Xinyu Liu 7f63912bba
Merge pull request #9224 from terry-xiaoyu/utf8_backup_filenames
fix: list exported json files failed with utf8 filenames
2022-10-26 15:47:00 +08:00
Zaiming (Stone) Shi ebd01da78b
Merge pull request #9229 from zmstone/1025-sync-modules-from-diverged-ee
chore: sync changes back from ee to ce
2022-10-26 09:23:08 +02:00
Zaiming (Stone) Shi 81e6a40454 fix(emqx_rule_events): do not keep tuple-value message headers
the converted message is for JSON encoding, keeping the tuple-values
will lead to encoding error.
2022-10-26 08:52:20 +02:00
Zaiming (Stone) Shi c6067447ac chore: sync changes back from ee to ce 2022-10-26 08:49:52 +02:00
Xinyu Liu 90ef9254fd
Merge pull request #9199 from terry-xiaoyu/boot_blocked_by_unreachable_resources
fix: refresh resources and rules asynchronously
2022-10-26 13:41:07 +08:00
Shawn fa333157eb fix: list exported json files failed with utf8 filenames 2022-10-26 11:46:45 +08:00
Zaiming (Stone) Shi 51c73eed55
Merge pull request #9044 from HJianBo/fix-jwt-acl-rules
fix(acl): support all rules in JWT ACL
2022-10-25 20:33:22 +02:00
Shawn 006d2e5f29 fix: rolling upgrade failed on undef funcs 2022-10-25 20:41:31 +08:00
Thales Macedo Garitezi 41a488b6ec
Merge pull request #9210 from thalesmg/fix-mgmt-endpoint-status-code-v43
fix(mgmt_api): return 503 when emqx is not running in `/status` (v4.3)
2022-10-24 16:24:53 -03:00
Thales Macedo Garitezi 51f2414eaa
docs: improve changelog
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-10-24 15:24:49 -03:00
Thales Macedo Garitezi c0b5b887c3 fix(mgmt_api): return 503 when emqx is not running in `/status` 2022-10-24 14:22:28 -03:00
Ivan Dyachkov d0a4f75bf2
Merge pull request #9214 from emqx/chore-update-codeowners-paths
chore: add leading slash for paths in codeowners
2022-10-24 13:16:18 +02:00
JimMoen 3c1608f883
Merge pull request #9174 from emqx/1019-fix-ci-workflow
1019 fix ci workflow
2022-10-24 17:42:35 +08:00
Ivan Dyachkov 78fc9ff64e chore: add leading slash for paths in codeowners 2022-10-24 11:28:39 +02:00
JimMoen 34d73960e7
ci: fix macos erlang-otp cache hitting 2022-10-24 16:58:19 +08:00
JianBo He bd59197a58 chore: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-10-24 16:28:25 +08:00
JimMoen 075228aadc
chore: fix local actions path 2022-10-24 14:15:20 +08:00
JianBo He 4a9b5662f8 chore: fix diaylzer warnings 2022-10-24 09:51:05 +08:00
Zaiming (Stone) Shi 3b59f1440b chore: bump lc from 0.3.1 to 0.3.2
there is no beam change in 0.3.2 (comparing to 0.3.1)
2022-10-22 15:14:58 +02:00