Commit Graph

3864 Commits

Author SHA1 Message Date
Dmitrii
dd61f86c2f
Merge pull request #7436 from ieQu1/doc-schema-5
docs(schema): Add descriptions for the records
2022-03-30 11:35:19 +02:00
Dmitrii
fcc99b484f
docs(schema): Apply suggestions from code review
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-30 10:12:04 +02:00
lafirest
694d3b1782
Merge pull request #7439 from lafirest/fix/empty_topic_5
fix(frame): forbidden empty topic in strict mode
2022-03-30 09:54:33 +08:00
lafirest
55516364ae
Merge pull request #7444 from lafirest/test/delayed_api
test(delayed): add test case for emqx_delayed_api
2022-03-30 09:53:06 +08:00
Yang Miao
97ff2a78bb
Merge pull request #7448 from EMQ-YangM/fix_use_maps_get
fix: use masp:get/3 to avoid crash after match failure
2022-03-30 09:37:33 +08:00
Thales Macedo Garitezi
187079859b
chore: bump hocon -> 0.26.6 2022-03-29 15:54:45 -03:00
Thales Macedo Garitezi
f9597bb247
fix: set default db backend in etc/emqx_conf.conf 2022-03-29 15:54:00 -03:00
Ilya Averyanov
eac09eed7c
Merge pull request #7446 from savonarola/emqx_telemety-total-memory-macos-fix
fix(emqx_telemety): use total_memory memsup key
2022-03-29 15:44:05 +03:00
ieQu1
465e0e418c docs(schema): Document rate_limit fields 2022-03-29 14:09:32 +02:00
ieQu1
410b69d616 docs(schema): Document records for gateway 2022-03-29 14:09:32 +02:00
ieQu1
fff6bffa0c docs(schema): Add descriptions of the records 2022-03-29 14:09:32 +02:00
ieQu1
aecfa77985 chore(hocon): Bump version 2022-03-29 14:09:32 +02:00
EMQ-YangM
3b43cca5bf fix: use masp:get/3 to avoid crash after match failure 2022-03-29 18:51:10 +08:00
firest
410bc8005e test(delayed): add test case for emqx_delayed_api 2022-03-29 17:23:00 +08:00
firest
ed7ce7078a test(frame): add test case for empty topic check 2022-03-29 17:14:36 +08:00
Ilya Averyanov
f85fc98b39 fix(emqx_telemety): use total_memory memsup key 2022-03-29 11:56:50 +03:00
Yang Miao
d72da3ecf6
Merge pull request #7440 from EMQ-YangM/add_connack_and_cac
feat: add rule events: 'client.connack', 'client.check_authz_complete'
2022-03-29 16:50:18 +08:00
EMQ-YangM
4c8deeb544 fix(emqx_access_control): reformat code 2022-03-29 14:11:45 +08:00
EMQ-YangM
ccc134d061 fix(emqx_rule_api_schema): add rule events schema 2022-03-29 14:03:15 +08:00
firest
978350b643 fix(frame): make elvis && erlfmt happy 2022-03-29 11:58:59 +08:00
EMQ-YangM
4791c64b73 feat: add rule event 'client.check_authz_complete' 2022-03-29 11:24:36 +08:00
firest
5febf480a2 fix(frame): forbidden empty topic in strict mode 2022-03-29 10:34:50 +08:00
JimMoen
e9ce91b60c
Merge pull request #7429 from JimMoen/fix-authn-redis-api
fix authn redis api and eredis_cluster version
2022-03-29 09:57:02 +08:00
Thales Macedo Garitezi
7b6a71c117
Merge pull request #7369 from thalesmg/telemetry-revamp-part2
Telemetry revamp part2
2022-03-28 09:03:45 -03:00
JimMoen
e0fbf08d7e chore: update eredis_cluster version to 0.7.1 2022-03-28 14:37:38 +08:00
EMQ-YangM
65164fb046 feat: add rule event 'client.connack' 2022-03-28 11:32:07 +08:00
JimMoen
9554255449 fix(authn): fix delete authn redis crashed 2022-03-28 10:56:11 +08:00
ieQu1
32584650de docs(schema): Fix definition 2022-03-25 16:12:32 +01:00
Zaiming (Stone) Shi
39d477e77c
Merge pull request #7413 from zmstone/docs-add-more-schema-desc
docs: add more schema desc
2022-03-25 16:10:00 +01:00
Thales Macedo Garitezi
105ec5104a
fix: set own app environment and expose convenient api
... for accessing advanced mqtt features in use.
2022-03-25 10:12:50 -03:00
zhouzb
3b387cfd9e chore: revert ee vsn bump 2022-03-25 19:49:13 +08:00
zhouzb
098ba91351 chore: bump release vsn 2022-03-25 19:43:22 +08:00
JimMoen
81243b43e8 fix(os_mon): fix wrongly high mem alarm 2022-03-25 19:21:03 +08:00
zhongwencool
d7bd09b2e1
Merge pull request #7416 from zhongwencool/conf-readyonly
fix: cluster conf must be readonly; add dashboard listener update hook
2022-03-25 19:06:26 +08:00
Zhongwen Deng
86f455fd3a fix: cluster conf must be readonly; add dashboard listener update hook 2022-03-25 18:43:15 +08:00
Xinyu Liu
0f4f6b4fb4
Merge pull request #7419 from EMQ-YangM/fix_health_check_crash
fix(emqx_resource_instance): improve the pattern match of the call_health_check
2022-03-25 18:42:22 +08:00
EMQ-YangM
9a2d70f98e fix(emqx_resource): remove extra space 2022-03-25 18:26:18 +08:00
EMQ-YangM
6b662d87ba fix(emqx_resource): fix dialyzer warning 2022-03-25 18:15:23 +08:00
Zaiming (Stone) Shi
036266769c docs: add more schema desc 2022-03-25 10:52:58 +01:00
EMQ-YangM
bb12378806 fix(emqx_resource_instance): improve the pattern match of the function call_health_check 2022-03-25 17:35:55 +08:00
Xinyu Liu
1fc2124ff9
Merge pull request #7414 from terry-xiaoyu/list_connectors_with_default_values
fix: list connectors with default values
2022-03-25 16:52:25 +08:00
zhongwencool
aa831d6c3f
Merge pull request #7406 from zhongwencool/monitor-api-crash
fix: dashboard_monitor crash
2022-03-25 16:30:30 +08:00
Shawn
79222e694e fix: list connectors with default values 2022-03-25 15:15:27 +08:00
Zhongwen Deng
8d46332b30 chore: upgrade hocon to 0.26.4 to limit HOCON_MAP's key format 2022-03-25 15:00:51 +08:00
JianBo He
e6cd3ad3ac
Merge pull request #7405 from HJianBo/remove-event-message
refactor: remove event_messages mod
2022-03-25 14:22:19 +08:00
Zhongwen Deng
55f805bac0 fix: dashboard_monitor crash 2022-03-25 14:18:56 +08:00
DDDHuang
16f943459e
Merge pull request #7391 from DDDHuang/as_doc
fix(doc): add auto sub docs & more notes
2022-03-25 13:54:32 +08:00
JianBo He
7f1082a0bb chore: make xref happy 2022-03-25 11:20:18 +08:00
zhongwencool
f1b511023d
Merge pull request #7400 from DDDHuang/fix_examples_spec
fix: api examples spec error
2022-03-25 11:03:27 +08:00
JianBo He
ec0c698914 refactor: remove event_messages mod 2022-03-25 10:20:11 +08:00
lafirest
68961c7479
Merge pull request #7397 from lafirest/test/prometheus_coverage
test(prometheus): improve test coverage to 88%
2022-03-25 02:40:13 +08:00
Thales Macedo Garitezi
2e05e45245
Merge pull request #7385 from thalesmg/bump-ekka-0-12-3
chore: bump ekka -> 0.12.3, mria -> 0.2.2
2022-03-24 11:47:28 -03:00
Dmitrii
f4125fbe0d
Merge pull request #7386 from ieQu1/doc-schema-3
docs(schema): Add descriptions to the schema
2022-03-24 14:05:38 +01:00
Zaiming (Stone) Shi
14e12a79d8
Merge pull request #7388 from zmstone/chore-delete-epmd-related
chore: delete epmd related ports and settings
2022-03-24 13:16:54 +01:00
Thales Macedo Garitezi
a310d2390e
Merge pull request #7381 from thalesmg/fix-telemetry-mac-symlink
fix(test): use a real copy of BUILD_INFO for testing
2022-03-24 09:04:28 -03:00
DDDHuang
88403559af
fix(conf): auto subscription, batter docs
Co-authored-by: Dmitrii <99872536+ieQu1@users.noreply.github.com>
2022-03-24 18:42:54 +08:00
Dmitrii
fa8ab06368
docs: Apply remark
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-24 11:39:35 +01:00
Dmitrii
1c65176362
docs: Apply remark
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-24 11:39:11 +01:00
DDDHuang
08de17e631 fix: api examples spec error 2022-03-24 18:01:47 +08:00
firest
8c8162facb test(prometheus): improve test coverage to 88% 2022-03-24 16:17:40 +08:00
DDDHuang
9037b807ae fix: add api auth failed code def & fix bad spelling 2022-03-24 12:12:19 +08:00
DDDHuang
ad12c3a4e3 fix(doc): add auto sub docs & more notes 2022-03-24 10:02:59 +08:00
JianBo He
5a6023676e
Merge pull request #7360 from JimMoen/fix-authz-cluster-update-config
fix authz cluster update config
2022-03-24 09:21:27 +08:00
Zaiming (Stone) Shi
0a5d1b0f52 chore: delete epmd related ports and settings 2022-03-23 22:16:10 +01:00
Zaiming (Stone) Shi
5458490bc3 chore: add namespace to bridge schema 2022-03-23 21:12:55 +01:00
ieQu1
077ef073e5 docs(schema): Add descriptions to the schema 2022-03-23 19:05:25 +01:00
Thales Macedo Garitezi
29ca83184a
chore: bump ekka -> 0.12.3, mria -> 0.2.2 2022-03-23 14:41:10 -03:00
Thales Macedo Garitezi
d312bc0f28
feat: add advanced mqtt features to telemetry 2022-03-23 14:05:04 -03:00
Thales Macedo Garitezi
7e3b9bb356
fix(test): use a real copy of BUILD_INFO for testing
On macOS, apparently symlinks can cause problems when rebar3 tries to
copy files to the `_build` directory.  So we now use a copy of
`rel/BUILD_INFO`.  Unfortunately, this has the downside of this copy
possibly going stale over time.
2022-03-23 13:29:11 -03:00
Dmitrii
b163fce35b
Merge pull request #7382 from ieQu1/doc-schema-2
docs: Add definitions to the schema
2022-03-23 15:19:20 +01:00
JimMoen
d20388cf01 test(authz): acl file rules update 2022-03-23 21:14:43 +08:00
JimMoen
fc687bed27 test(authz): authz mnesia suite json body 2022-03-23 21:14:43 +08:00
JimMoen
41c808a262 fix(authz): write acl and cert files after nodes config synced 2022-03-23 21:14:43 +08:00
JimMoen
c2e1c38fdf refactor(authz): prepend and append only allow one source 2022-03-23 21:14:43 +08:00
JimMoen
843e12ad16 refactor(authz): unifined function names and var names 2022-03-23 21:14:43 +08:00
Chris Hicks
e659748153
Merge pull request #7306 from mononym/EMQX-3917-add-test-cases-for-connectors-mongo-db
refactor: refactor mongo connector test suite
2022-03-23 14:01:26 +01:00
ieQu1
8967e13eee docs(schema): Move descriptions from emqx.conf.all 2022-03-23 13:52:54 +01:00
ieQu1
ee805f12a6 docs(schema): Add documentation for prometheus and logger 2022-03-23 13:52:54 +01:00
ieQu1
d1e8fefa1f docs(schema): Add descriptions of events 2022-03-23 13:52:51 +01:00
JianBo He
617022f276
Merge pull request #7372 from lafirest/fix/coap_events
fix(coap): trigger disconnect logic when the client manually disconne…
2022-03-23 19:36:23 +08:00
Dmitrii
a0bec0d921
Merge pull request #7103 from ieQu1/doc-schema
docs: Add to the schema
2022-03-23 10:46:11 +01:00
firest
ab2f5b9bb7 fix(coap): fix system topic case 2022-03-23 17:25:52 +08:00
ieQu1
503c7f00ae docs(schema): Fix typos 2022-03-23 08:40:59 +01:00
firest
ab51d8ab8e fix(coap): trigger disconnect logic when the client manually disconnected 2022-03-23 14:19:00 +08:00
JianBo He
97c05d3a72 chore(emqx): fmt codes 2022-03-23 09:53:18 +08:00
JianBo He
a889b0b6a9 test: update test/emqx_channel_SUITE.erl
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-23 09:53:18 +08:00
JianBo He
df74c180b7 fix(channel): send will_msg if client has been kicked 2022-03-23 09:53:18 +08:00
JianBo He
87a29beb5f fix(channel): send DISCONNECT packet if connection has been kicked
fix #7241
2022-03-23 09:53:18 +08:00
ieQu1
6f4e7dc118 docs(schema): Formatting 2022-03-22 20:19:18 +01:00
Zaiming (Stone) Shi
ab40036a45
Merge pull request #7363 from zmstone/docs-add-more-desc
docs: add doc for stats
2022-03-22 19:41:35 +01:00
Thales Macedo Garitezi
fbfbaa8a9a
test: add more tests to telemetry 2022-03-22 15:28:42 -03:00
Thales Macedo Garitezi
35a523230f
feat: add mqtt runtime insights to telemetry data 2022-03-22 15:28:19 -03:00
ieQu1
c6b0e8806f docs(schema): Add descriptions to the schema 2022-03-22 19:09:20 +01:00
Zaiming (Stone) Shi
f08c317939 docs: fix spellcheck 2022-03-22 14:07:51 +01:00
Thales Macedo Garitezi
4d3157743e
style: format emqx_modules 2022-03-22 09:31:55 -03:00
Thales Macedo Garitezi
650683ac19
Merge pull request #7333 from thalesmg/telemetry-revamp1
Telemetry revamp part 1

- Remove obsolete `active_modules`.
- Don't use `mnesia(boot)` callback for indirect initialization.
- Add build info and vm specs to the exported data.
2022-03-22 09:03:13 -03:00
Zaiming (Stone) Shi
7a9ad86574 chore: increase line width to 120
and fix bad formats from erlfmt
2022-03-22 11:34:29 +01:00
Zaiming (Stone) Shi
f9bad0412b docs: add doc for stats 2022-03-22 11:34:29 +01:00
JianBo He
83e16a5bc5
Merge pull request #7343 from HJianBo/fix-gw-bugs 2022-03-22 17:49:02 +08:00
firest
49fc1ab1c0 fix(exhook): use emqx_hook_metrics to count hook call information 2022-03-22 16:59:49 +08:00