Commit Graph

361 Commits

Author SHA1 Message Date
JianBo He
bd935e34e6
chore: update apps/emqx_modules/README.md 2023-04-19 21:12:24 +08:00
JianBo He
acea64790b chore: add README for emqx_modoules 2023-04-18 22:47:26 +08:00
Ivan Dyachkov
9fc8a498f8 chore: bump apps versions 2023-04-17 09:09:08 +02:00
Stefan Strigler
4f80690162 fix: byebye jsx 2023-04-14 13:41:34 +02:00
Stefan Strigler
062ce5f819 refactor: rename emqx_map_lib to emqx_utils_maps 2023-04-14 13:41:34 +02:00
Stefan Strigler
6e8665365b refactor: rename emqx_tables to emqx_utils_ets 2023-04-14 13:41:33 +02:00
Stefan Strigler
9c11bfce80 refactor: rename emqx_misc to emqx_utils 2023-04-14 13:41:27 +02:00
Stefan Strigler
f8e9e54393 refactor: move emqx_json to emqx_utils_json 2023-04-14 13:31:27 +02:00
某文
58e31d5efd feat: hide ex_hook/rewrite/topic_metric/persistent_session_store/overload_protection 2023-04-13 21:52:35 +08:00
JianBo He
702ecbcb6e Merge remote-tracking branch 'upstream/master' into refactor-gw-dir 2023-04-06 10:44:59 +08:00
Stefan Strigler
f3446c48f7
Merge pull request #10315 from sstrigler/EMQX-8945-crash-for-bad-param-value-to-mqtt-delayed-messages-api-call
EMQX 8945 crash for bad param value to mqtt delayed messages api call
2023-04-05 13:44:22 +02:00
Stefan Strigler
0efa9c7a11 fix: pretty format error responses 2023-04-03 15:48:52 +02:00
Stefan Strigler
c1cb5357e1 fix: enable schema check 2023-04-03 15:48:33 +02:00
Zaiming (Stone) Shi
36000abf51 refactor: relocate i18n files for apps/emqx 2023-04-03 13:12:24 +02:00
JianBo He
b2d018f249 chore: fix test cases 2023-04-01 18:51:39 +08:00
Stefan Strigler
327b782210 style: lower case in descriptions 2023-03-21 17:04:42 +01:00
ieQu1
e3595f2e79 chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
Ilya Averyanov
5bfd690df6 fix(dashboard): fix swagger spec generation 2023-02-23 22:09:36 +02:00
ieQu1
794bedef9f fix(emqx_ctl): Start CLI before ekka 2023-02-17 09:50:50 +01:00
Zaiming (Stone) Shi
5df667738a docs: fix bad i18n files 2023-02-08 17:25:22 +01:00
firest
908ac8d948 fix: speed up banned test cases 2023-01-26 13:04:55 +08:00
firest
c5f557e315 fix: disable basic auth for HTTP API 2023-01-12 21:35:49 +08:00
Zaiming (Stone) Shi
dbc10c2eed chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
Zaiming (Stone) Shi
981f75dc73 test(emqx_modules): do not expect badmatch in test cases!!! 2022-12-30 14:20:24 +01:00
Stefan Strigler
2443500884 fix: return 404 for /telemetry/data in case it's disabled 2022-12-05 12:41:27 +01:00
JianBo He
edb35c08a8 chore: refactor ms2qs function type 2022-11-24 20:14:33 +01:00
JianBo He
b9c5a5f822 fix(delayed): return correct node name 2022-11-24 20:14:33 +01:00
JianBo He
9c7bf9d601 chore: update app.src 2022-11-24 20:14:33 +01:00
JianBo He
1fe9c105aa refactor(mgmt): smplify the node_query/cluster_query implementation 2022-11-24 20:14:33 +01:00
JianBo He
08121e7df6 fix(mgmt): optimize the speed of query tail pages
In the previous, when you query the tail pages, all the front of rows
will be queried out and formatted. It greatly hurts the speed of query.

Currently, we only format the final result rows. i.e, the query for the
last page of data will be 10x faster.
2022-11-24 20:14:33 +01:00
firest
4290847b9d feat: filter out messages which the source client is banned when delivering the retained message 2022-11-10 10:21:21 +08:00
firest
dd7d4224ce feat(delayed): check if the source client is banned when publishing a delayed message 2022-11-08 16:32:24 +08:00
firest
ebaba0c2b1 fix: Revert "feat(banned): clean retained/delayed data when client is banned"
This reverts commit 69701ff578.
2022-11-08 11:36:11 +08:00
Zaiming (Stone) Shi
93195f7b5b chore: fix introduced_in for new proto APIs 2022-10-24 11:53:51 +02:00
Zaiming (Stone) Shi
e3240b52a8 chore: bump app versions 2022-10-24 11:48:17 +02:00
firest
bdaadda479 fix(banned): fix nit code 2022-10-18 13:39:48 +08:00
firest
3f1f244310 fix: fix bpapi versions 2022-10-18 13:39:48 +08:00
firest
69701ff578 feat(banned): clean retained/delayed data when client is banned 2022-10-18 13:35:09 +08:00
firest
56816559d9 chore: bump emqx_modules && update CHANGES 2022-09-27 13:39:25 +08:00
firest
6836a502ac fix(delayed): Improve time precision of delayed messages
Use milliseconds internally in emqx_delayed to store the publish time, improving precision
2022-09-27 13:24:54 +08:00
JianBo He
641763d4d7 chore: update app.src 2022-09-08 16:14:42 +08:00
JianBo He
8521d8dac5 fix(time): replace os:system_time with erlang:system_time
Avoid the problem of inaccurate timers caused by mixing erlang:system_time/0-1
and os:system_time/0-1
2022-09-08 16:13:05 +08:00
ieQu1
d906715e0a refactor(telemetry): Export transactions 2022-08-22 19:52:37 +02:00
Zhongwen Deng
bfa6acd350 chore: bump emqx_modules to 5.0.3 2022-08-17 23:59:59 +08:00
Zhongwen Deng
49b95b0aa8 chore: improve swagger tags 2022-08-17 23:32:19 +08:00
Zhongwen Deng
dd59c850e0 chore: make sure swagger's tags always titlecase 2022-07-25 16:09:17 +08:00
DDDHuang
8f18bdff15 fix(api): topic metrics check exist before create 2022-07-13 13:50:30 +08:00
Zaiming (Stone) Shi
b467e11b2e fix(appup): fixed appup and version check scripts for 5.0 2022-06-20 22:20:31 +02:00
Zaiming (Stone) Shi
385566c1a0 docs: change descriptive info from 'community' to 'opensource' 2022-06-20 19:38:29 +02:00
Xinyu Liu
3b00b16abe
Merge pull request #8221 from terry-xiaoyu/fix_delayed_module_disbled_after_emqx_stop
feat: fix the hook priorities
2022-06-16 09:42:42 +08:00
Zaiming (Stone) Shi
738a551550 refactor: best-effort json for hocon validation errors 2022-06-15 15:01:15 +02:00
Shawn
39b1b20506 feat: fix the hook priorities 2022-06-15 19:03:40 +08:00
Shawn
4ef86b47c7 fix: flaky test case for emqx_delayed 2022-06-15 18:21:57 +08:00
Shawn
590a87a72b fix: the delayed module is disbled after ./bin/emqx stop 2022-06-15 12:00:41 +08:00
Georgy Sychev
c29eb8a409 feat(testing): Multinode testing helper 2022-06-09 13:33:01 +04:00
Zhongwen Deng
5e92ef54c5 fix: ct failed 2022-06-07 20:13:57 +08:00
Zhongwen Deng
618a3e0cb8 fix: emqx_topic_metrics CT failed 2022-06-07 10:39:07 +08:00
Zhongwen Deng
c7cc2e85b2 fix: add default&example for schema 2022-06-06 09:52:10 +08:00
Zhongwen Deng
d61b44ef97 fix: ct failed again 2022-05-31 19:20:27 +08:00
Zhongwen Deng
8aa60cc0a5 feat: generate a minimized emqx.conf 2022-05-31 19:20:27 +08:00
JianBo He
33774c8b16
Merge pull request #8068 from lafirest/feat/topic_rewrite_5
feat(rewrite): Support %u and %c placeholders in topic rewrite rules
2022-05-31 10:14:18 +08:00
Thales Macedo Garitezi
1892e67547
fix: fix flaky test 2022-05-27 11:05:25 -03:00
firest
1d0b479d8e feat(rewrite): Support %u and %c placeholders in topic rewrite rules
fix #7438
2022-05-27 17:36:07 +08:00
Shawn
55fce33477 fix: add telemetry testcases in all/0 2022-05-25 21:55:28 +08:00
Shawn
a157539710 refactor(rule): rename http_bridge -> webhook 2022-05-25 18:56:12 +08:00
Shawn
71de9616d3 refactor(rule): rename outputs -> actions 2022-05-25 17:02:37 +08:00
Thales Macedo Garitezi
0333e6f860
Merge pull request #8027 from thalesmg/telemetry-uuid-file
feat(telemetry): save uuids to files
2022-05-24 16:55:09 -03:00
Thales Macedo Garitezi
4afb4d9dd8
feat(telemetry): save uuids to files
In order for the node and cluster UUIDs used by telemetry to survive
database purges, we'll save the generated UUIDs to files in EMQX's
data directory as well.
2022-05-24 09:32:04 -03:00
ieQu1
9474241ad9 fix(emqx_telemetry): Async start of telemetry module 2022-05-24 11:28:35 +02:00
Thales Macedo Garitezi
e0a6ebbd56
fix(telemetry): use the live connection count instead of max conns 2022-05-13 09:02:15 -03:00
Zhongwen Deng
f0cb72dda6 fix: telemetry can't get active plugins list 2022-05-12 11:18:44 +08:00
Thales Macedo Garitezi
47ed9cbc76
fix(telemetry): count bridges referenced in from rule clauses 2022-05-11 15:15:17 -03:00
Thales Macedo Garitezi
9e706fc76d
feat(telemetry): count advanced mqtt feature usage
Originally, we wanted to just check if certain features were enabled.
Now, we want to count certain usage metrics for them.
2022-05-11 15:15:17 -03:00
Shawn
0c8a7e751f fix(test): clear emqx_cluster_rpc mnesia table at the end of the suite 2022-04-29 18:53:01 +08:00
Shawn
ef0e6d7fd8 fix(test): ensure the test node removed from the ekka cluster 2022-04-29 16:43:51 +08:00
Shawn
1393ab677d fix(test): race condition in emqx_telemetry_SUITE 2022-04-29 16:43:51 +08:00
JianBo He
2dded74584
Merge pull request #7716 from lafirest/fix/delayed_disable_action
fix(delayed): unify and optimize the enable/disable codes
2022-04-28 09:39:41 +08:00
firest
3429eaabcd test(delayed): add enable/disable test for delayed 2022-04-27 13:52:42 +08:00
Thales Macedo Garitezi
f8f97d39d3
Merge pull request #7766 from thalesmg/bugfix-telemetry-bridge
fix: avoid crashing telemetry if bridge app is not ready
2022-04-26 09:03:29 -03:00
firest
fc391c7b9e fix(delayed): unify and optimize the enable/disable codes 2022-04-26 15:26:40 +08:00
Thales Macedo Garitezi
727bc712e6
fix(telemetry): avoid hanging emqx_modules_app init with request 2022-04-25 11:54:01 -03:00
Zaiming (Stone) Shi
d6b3ecf75e fix(telemetry): add verify_none ssl option
To stop the "Authenticity is not established by certificate path
validation", Reason: "Option {verify, verify_peer} and
cacertfile/cacerts is missing" warning message
2022-04-25 09:56:15 +02:00
Zaiming (Stone) Shi
c32fc33c1a style: cosmetic fix for code style 2022-04-23 09:48:58 +02:00
DDDHuang
575d34cb69
Merge pull request #7724 from DDDHuang/tm_t_api_desc
fix: telemetry & topic metrics support i18n
2022-04-22 22:02:13 +08:00
JianBo He
92e010b652
Merge pull request #7727 from HJianBo/text-improve
chore: improve error message
2022-04-22 21:55:31 +08:00
Thales Macedo Garitezi
14d80c7c46
Merge pull request #7692 from thalesmg/bugfix-telemetry-enable-official
feat(telemetry): enable/disable even in non-official versions
2022-04-22 10:16:40 -03:00
JianBo He
239f159306 chore: improve error message 2022-04-22 17:08:18 +08:00
DDDHuang
de7c15dd19 fix: telemetry & topic metrics support i18n 2022-04-22 16:34:06 +08:00
ieQu1
f0455b32f8 chore(schema): Fix grammar 2022-04-21 23:41:06 +02:00
JianBo He
d6a9072bb0 chore: make spellcheck happy 2022-04-21 21:19:24 +08:00
Thales Macedo Garitezi
6e819b5ecb
feat(telemetry): enable/disable even in non-official versions
- Makes telemetry enabled by default on official versions.
- Allow enabling/disabling telemetry even on non-official versions.
2022-04-20 07:42:03 -03:00
Thales Macedo Garitezi
097b38e418
Merge pull request #7678 from thalesmg/fix-flaky-prop-and-test
Fix flaky tests and properties
2022-04-20 07:41:24 -03:00
lafirest
758c115556
Merge pull request #7671 from lafirest/feat/chinese_desc_api_delayed
feat(delayed): add i18n support
2022-04-20 17:42:30 +08:00
Thales Macedo Garitezi
ec1ff14759
fix(test): fix flaky test node setup 2022-04-20 05:05:48 -03:00
Thales Macedo Garitezi
ac7a13f9f2
fix(test): fix flaky property 2022-04-20 05:05:48 -03:00
Thales Macedo Garitezi
f5dea51e24
Merge pull request #7614 from thalesmg/telemetry-cluster-uuid
feat(telemetry): add cluster uuid
2022-04-19 09:06:11 -03:00
firest
d02ac812e6 feat(delayed): add i18n support for delayed 2022-04-19 18:21:52 +08:00
DDDHuang
39d3d6a3d3 fix: auto sub & banned & topics rewrite, add required 2022-04-19 17:08:19 +08:00
DDDHuang
330e302a7c fix: better atom name 2022-04-19 11:28:50 +08:00
DDDHuang
f47f5db521 fix: prometheus & statsd & topic rewrite docs 2022-04-19 10:55:37 +08:00