Commit Graph

5031 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
999eac5376 chore: bump emqx app version to 5.0.2 2022-07-02 11:44:19 +02:00
Zaiming (Stone) Shi
c602ef708f chore: bump version to 5.0.2 2022-07-02 11:44:19 +02:00
Zhongwen Deng
3675ba0c9f fix: restricted_shell not working 2022-07-02 16:58:52 +08:00
zhouzb
0cce1df2b6 chore: bump release vsn 2022-07-01 22:03:47 +08:00
zhouzb
1b211434d0
Merge pull request #8381 from HJianBo/fix-content-type
chore: treat 200 and no body as ACL nomatch
2022-07-01 21:56:40 +08:00
JianBo He
2d8231c638 chore: fix gateway authz cases 2022-07-01 21:08:58 +08:00
JimMoen
2ad99fca7a chore: update appup.src 2022-07-01 21:07:33 +08:00
JimMoen
7b825fe4bd test(authn): authn is_superuser default value false. 2022-07-01 21:07:26 +08:00
JimMoen
f0c783b260 test(authn): emqx_authn and gateway_athn http content-type 2022-07-01 20:55:39 +08:00
JimMoen
b88796518e fix(authn): authn http is_superuser field
only support true|false|[num]
and for [num]: zero => false | non-zero => true

other type and string will fallback to default vaule => false
i.e null|undefined|[empty string]
2022-07-01 20:55:39 +08:00
ieQu1
7d46e8671e
Merge pull request #8376 from ieQu1/nicer-bpapi-errors
fix(bpapi): Make error messages nicer
2022-07-01 14:50:49 +02:00
JianBo He
4c17b38102 chore: treat 200/204 as acl nomatch 2022-07-01 20:42:22 +08:00
JianBo He
83f5da8f9d fix(authz-http): fix https://github.com/emqx/emqx/pull/8377#discussion_r911743360 2022-07-01 17:46:55 +08:00
JianBo He
52b77b570f refactor: authz-http return body to reject pub/sub 2022-07-01 17:46:55 +08:00
zhongwencool
670f83e415
Merge pull request #8369 from zhongwencool/sync-authz-certs
fix: sync data's authz and certs
2022-07-01 17:32:22 +08:00
DDDHuang
25c37a63ef
Merge pull request #8356 from DDDHuang/pubsub_api
Pubsub api
2022-07-01 17:24:18 +08:00
lafirest
62d822ee96
Merge pull request #8378 from lafirest/fix/hide_limiter_api
fix(api): temporarily hide the limiter's API
2022-07-01 17:14:33 +08:00
JianBo He
8f429b5ea3
Merge pull request #8316 from zmstone/0624-chore-add-a-note-in-authz-config
docs: refine authz file path doc
2022-07-01 16:56:27 +08:00
Zhongwen Deng
cbf467ee3d chore: update emqx_conf.appup.src 2022-07-01 16:44:29 +08:00
DDDHuang
07f8a93af3 fix: update mgmt bpapi version 2022-07-01 16:43:42 +08:00
firest
325997c592 fix(api): temporarily hide the limiter's API 2022-07-01 16:31:56 +08:00
JianBo He
a13d726d17
Merge pull request #8315 from lafirest/v5.0
feat: add exclusive subscription
2022-07-01 16:00:10 +08:00
JianBo He
127ecdbf77
Merge pull request #8375 from lafirest/fix/authn_metrics_clause
fix(metrics): fix authn metrics count clause error
2022-07-01 15:53:52 +08:00
Zhongwen Deng
c23ccbd370 chore: update bpapi.verions 2022-07-01 15:51:25 +08:00
ieQu1
e2c2f7b224 feat(bpapi): Add a header to bpapi.versions file 2022-07-01 09:50:04 +02:00
ieQu1
2f7078f314 fix(bpapi): Make error messages nicer 2022-07-01 09:34:35 +02:00
Zhongwen Deng
3d6f98e5f6 fix: filter data's dir 2022-07-01 15:32:12 +08:00
DDDHuang
6c9cad366b fix(api): client sub & unsub batch 2022-07-01 15:21:11 +08:00
William Yang
ff9ed0eab9
Merge pull request #8365 from qzhuyan/dev/william/bump-quicer
fix(quic): overload protection follows zone config
2022-07-01 09:17:22 +02:00
firest
9170a05990 fix(metrics): fix authn metrics count clause error 2022-07-01 15:14:46 +08:00
Zhongwen Deng
9af470dee9 chore: upgrade emqx_conf bpapi to version 2 2022-07-01 15:00:14 +08:00
firest
d205f10fab chore: add upgarde callback for emqx_exclusive_subscription 2022-07-01 14:59:10 +08:00
firest
5981a23fe4 fix(exclusive): add upgarde API && fix description error 2022-07-01 14:44:51 +08:00
firest
b1b1d40528 fix(exclusive): fix xref error && change exclusive default value 2022-07-01 14:43:32 +08:00
firest
85f6846f89 chore: update emqx.appup.src 2022-07-01 14:43:30 +08:00
firest
af5bf52ddf feat: add exclusive subscription 2022-07-01 14:36:41 +08:00
JianBo He
c32a416a2a
Merge pull request #8371 from HJianBo/auto-retry-auth-resource
AuthN/Z: automaticly re-connect to disconnected resources
2022-07-01 14:32:50 +08:00
Zhongwen Deng
aabdb07447 chore: always delete data zip file 2022-07-01 14:18:03 +08:00
Zhongwen Deng
8ba2b6cc18 fix: bpapi chekc failed 2022-07-01 14:08:16 +08:00
firest
9ce2dbb77a fix(metrics): adjust metrics count codes 2022-07-01 13:42:40 +08:00
firest
7f18969f1e fix(metrics): revert client.authenticate count method 2022-07-01 12:22:48 +08:00
firest
c45cf62b3d chore: update emqx.appup.src 2022-07-01 12:22:48 +08:00
firest
9415a94c7f feat(metrics): optimize client.authenticate 2022-07-01 12:22:48 +08:00
Zaiming (Stone) Shi
9a6f776f82
Merge pull request #8353 from zmstone/0630-chore-update-config-style
chore: update authz default config style
2022-07-01 05:21:02 +01:00
JianBo He
eac21e5b0a chore: make spellcheck happy 2022-07-01 12:10:37 +08:00
Zaiming (Stone) Shi
c3ffdef872 docs: Update apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-07-01 12:10:36 +08:00
Zaiming (Stone) Shi
fd86e8bf0b docs: Update apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-07-01 12:10:36 +08:00
Zaiming (Stone) Shi
3963856480 docs: Update apps/emqx_authz/i18n/emqx_authz_schema_i18n.conf
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-07-01 12:10:36 +08:00
Zaiming (Stone) Shi
5ac9e9f824 docs: refine authz file path doc 2022-07-01 12:10:36 +08:00
JianBo He
a78a389206 chore: using standard log format 2022-07-01 12:06:35 +08:00
JianBo He
f8c90452cc chore: auto retry disconnected authn/authz resources 2022-07-01 12:01:39 +08:00
Zhongwen Deng
740ff3587c fix: sync data's authz and certs 2022-07-01 12:01:32 +08:00
Xinyu Liu
b134c3562a
Merge pull request #8367 from terry-xiaoyu/release_5.0.1-beta.1
chore: release 5.0.1-beta.1
2022-07-01 11:15:10 +08:00
Shawn
264cf036c7 chore: release 5.0.1-beta.1 2022-07-01 11:12:08 +08:00
JianBo He
094ed05897
Merge pull request #8351 from HJianBo/compatible-password-field
Authn: backword compatibility for 4.x authn data
2022-07-01 11:10:59 +08:00
zhongwencool
e0ab8e58cf
Merge pull request #8360 from zhongwencool/example-name
chore: mv i18n.conf to emqx_dashboard/priv/
2022-07-01 10:23:10 +08:00
DDDHuang
c64f589ef5
Merge pull request #8286 from DDDHuang/fix_rm_dashboard_user
fix: dashboard users api, cannot delete self
2022-07-01 09:42:46 +08:00
Zhongwen Deng
92019e4d4c chore: don't copy i18n.conf 2022-07-01 09:33:35 +08:00
DDDHuang
4f95f097f7 fix: publish api rename param from - clientid 2022-07-01 09:19:19 +08:00
William Yang
ecf0c8d7e2 fix(quic): overload protection follows zone config 2022-06-30 20:51:45 +02:00
Zhongwen Deng
9768e302c2 chore: mv i18n.conf to emqx_dashboard/priv/ 2022-06-30 21:15:57 +08:00
Zhongwen Deng
eb6977f23e fix: display The log path has not been set when can't find log_path 2022-06-30 21:15:57 +08:00
ieQu1
227602fa3a fix(bpapi): Don't check forward compatibility from old release 2022-06-30 14:09:43 +02:00
JianBo He
9acfd0ff9e chore: update emqx_authn.appup.src 2022-06-30 15:23:09 +08:00
DDDHuang
f502e09f5f fix(dashboard): add more test suite 2022-06-30 14:52:48 +08:00
Zaiming (Stone) Shi
95706cf45f chore: update authz default config style 2022-06-30 08:09:38 +02:00
JianBo He
7de23f5863 chore(authn-redis): checking password field 2022-06-30 13:26:58 +08:00
JianBo He
8f696b6f8c fix(authn): correct peerhost placeholder rendering 2022-06-30 12:50:56 +08:00
JianBo He
d7c21020f6 feat(authn-redis): needs to compatible with 4.x auth data 2022-06-30 11:26:56 +08:00
DDDHuang
0b32bf72f7 fix: dashboard users api, cannot delete self 2022-06-30 10:51:44 +08:00
Thales Macedo Garitezi
e70ab24a48 fix(hooks): return error on hook-removed subscription rather than deleting it (5.0)
Port of https://github.com/emqx/emqx/pull/8346
2022-06-29 11:10:36 -03:00
Zaiming (Stone) Shi
79be7f9420
Merge pull request #8308 from zmstone/0623-fix-relup
5.0: fix relup
2022-06-29 13:41:24 +01:00
lafirest
8eca7d485c
Merge pull request #8317 from lafirest/feat/exhook_tcp_opts-v5
Feat/exhook tcp opts v5
2022-06-29 17:33:45 +08:00
zhongwencool
f947aa2d77
Merge pull request #8331 from zmstone/0627-docs-add-cn-vsn-config-doc
docs: add zh version config doc template
2022-06-29 11:06:50 +08:00
zhongwencool
eb7a039316
Merge pull request #8326 from HJianBo/docs-fixes
docs: improved comprehensibility for some fields
2022-06-29 09:09:02 +08:00
Zaiming Shi
a548b82bc9 docs: add zh version config doc template 2022-06-28 22:34:24 +02:00
Zaiming (Stone) Shi
b3f16ccb36 fix: Erlang distribution over TLS 2022-06-28 21:49:02 +02:00
Zaiming (Stone) Shi
e4b22e2dc7 fix: enable -ssl_dist_optfile option in vm.args by default
this config has no effect if inet_tcp is in use
2022-06-28 21:49:02 +02:00
Zaiming (Stone) Shi
b85abde9c0 Merge remote-tracking branch 'origin/master' into 0623-fix-relup 2022-06-28 12:52:16 +02:00
Zhongwen Deng
c3cd36f610 fix: elvis warning 2022-06-28 15:29:26 +08:00
Zhongwen Deng
6372456211 chore: move vm.args.* to etc/ 2022-06-28 10:36:43 +08:00
Zhongwen Deng
130d1f7d9c chore: choose core node's max tnxid as source conf 2022-06-28 10:11:52 +08:00
Thales Macedo Garitezi
57a36e53da
Merge pull request #8304 from thalesmg/fix-client-sub-hook-50
fix(hooks): allow `client.subscribe` hook to reject subscriptions
2022-06-27 10:44:55 -03:00
JianBo He
6162ca3264 docs: improved comprehensibility for some fields 2022-06-27 18:21:10 +08:00
firest
11c2860ca2 fix(exhook): make spellcheck happy 2022-06-27 17:59:14 +08:00
Zaiming (Stone) Shi
55558ccfbd chore: allow lazy type environment variable override 2022-06-26 14:16:08 +02:00
Zaiming (Stone) Shi
5dec0be6e4 refactor(emqx_schema): remove union wrapper around array of maps
it's previously a union of array (of maps) and map.
since the second union member has been removed
there is no point of keeping the union wrapper
2022-06-26 14:13:14 +02:00
firest
c696f08f63 chore(exhook): update appup 2022-06-24 19:07:51 +08:00
firest
8d0e95cc6b feat(exhook): expose tcp some options for grpc client 2022-06-24 19:03:23 +08:00
Zaiming (Stone) Shi
18f3920a73 feat: add --json option to 'emqx ctl cluster status' command 2022-06-23 21:59:11 +02:00
Thales Macedo Garitezi
4b44fda16b fix(hooks): allow client.subscribe hook to reject subscriptions
Port of https://github.com/emqx/emqx/pull/8288
2022-06-23 11:33:55 -03:00
ieQu1
a9ec193ef8 fix(prometheus): Disable authorization for metrics scraping endpoint 2022-06-23 00:31:53 +02:00
Shawn
51efe22e57 chore: update the appup files for authz/authn 2022-06-22 15:54:37 +08:00
Shawn
defacb97df fix: disabled resources for authz/authn started after emqx reboot 2022-06-22 14:34:30 +08:00
Xinyu Liu
e1b458a641
Merge branch 'master' into gen_api_schema_json_for_connector_and_bridge 2022-06-22 12:03:58 +08:00
Shawn
613a13e5e4 chore: add appup.src for emqx_conf 2022-06-22 09:18:36 +08:00
Shawn
1e6b3b51c0 feat: generate API schema files for connectors and bridges 2022-06-22 09:18:36 +08:00
Zaiming (Stone) Shi
c269b72f25 docs: fix log_rotation zh text indentation 2022-06-22 00:40:00 +02:00
Zaiming (Stone) Shi
a6f111798b fix(emqx_management): fix topics (routes) cli list command 2022-06-22 00:06:26 +02:00
Zaiming (Stone) Shi
54f3dd3ddc chore(appup): add appup for emqx_conf 2022-06-22 00:06:26 +02:00