Commit Graph

165 Commits

Author SHA1 Message Date
zhongwencool 940ceb570d Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-08-19 10:53:48 +08:00
Ilya Averyanov a19fbe214f feat(node_rebalance): implement node evacuation and rebalancing 2022-08-13 11:32:14 +03:00
zhongwencool 6b8d5e10de chore: update emqx_modules version 2022-08-09 17:02:57 +08:00
zhongwencool 4e362d2d0a feat: add GET /trace/:name/detail HTTP API 2022-08-09 16:09:58 +08:00
Zaiming (Stone) Shi f47d952d82 Merge main-4.3 to 0803-sync-v4.3-to-v4.4 2022-08-03 13:41:11 +02:00
Zaiming (Stone) Shi 901d6909f5 chore: ensure enqx_dashboard app version bump 2022-08-02 19:49:01 +02:00
zhongwencool 56eedf0c9d Merge branch 'main-v4.3' into copy-of-main-4.3 2022-07-25 08:47:25 +08:00
DDDHuang b1672a8352 chore: better rewrite load log. do not show re code; loop log rewrite rule info 2022-07-22 16:19:26 +08:00
zhongwencool 368fe40c34 fix: merge appup.src 2022-07-19 11:50:08 +08:00
zhongwencool 3248cb92e8 Merge branch 'main-v4.3' into sync-4.3-to-4.4 2022-07-19 11:02:11 +08:00
DDDHuang 13e9e9de51 chore(rewrite): add some log 2022-07-12 10:54:55 +08:00
JianBo He c1b3cc756c chore: bump mgmt/dashboard vsn 2022-07-04 13:57:00 +08:00
Xinyu Liu 2a89443377
Merge branch 'main-v4.4' into copy-of_main-v4.3 2022-06-29 22:27:49 +08:00
JianBo He e3bf11fe39 chore: stop http listener to load latest http hanlders 2022-06-29 20:52:11 +08:00
Xinyu Liu c812975ca6
Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-06-27 21:34:11 +08:00
zhongwencool ab2e477ffd fix: default_password should not be empty 2022-06-27 14:35:14 +08:00
zhongwencool fd22639bcb chore: remove unnessary function case 2022-06-27 14:35:14 +08:00
zhongwencool 4a87d77be3 fix: can't start dashboard if default_username is missing 2022-06-27 14:35:12 +08:00
DDDHuang 0092d55b46 fix(topic-rewrite): better hooks, max priority 1000 2022-06-24 11:33:01 +08:00
Thales Macedo Garitezi a55d583de6 chore: bump more app versions 2022-06-15 14:14:34 -03:00
Thales Macedo Garitezi 13f575bc84 chore(relup): bump release and app vsns, update appups 2022-06-15 13:45:05 -03:00
Thales Macedo Garitezi b93a0743ac Merge branch 'main-v4.3' into 'main-v4.4' 2022-06-15 10:48:02 -03:00
Thales Macedo Garitezi d91c5806e0
Merge pull request #8129 from thalesmg/key-pass-dash-mgmt-43
feat(tls): add configs for private key password in dashboard/mgmt
2022-06-07 09:14:50 -03:00
Zaiming (Stone) Shi 681d3652c6 chore: bump emqx_dashboard app vsn 2022-06-06 16:16:37 +02:00
Thales Macedo Garitezi 50ff2edf13
feat(tls): add configs for private key password in dashboard/mgmt 2022-06-03 11:21:12 -03:00
firest 1b658171a2 chore(modules): bump version and update appup file 2022-05-30 10:36:31 +08:00
firest 0b52097c78 feat(rewrite): Support %u and %c placeholders in topic rewrite rules
fix #7438
2022-05-27 16:51:05 +08:00
Shawn ca842aa869 fix: merge main-v4.3 to main-v4.4 2022-05-23 11:23:27 +08:00
Thales Macedo Garitezi c705f294a1
fix(dashboard): use atom for `verify` tls option in dashboard listener
```
2022-05-19T10:47:34.262135-04:00 [error] Failed to start Ranch
listener 'https:dashboard' in ranch_ssl:listen <snip> for reason {options,{verify,"verify_none"}} (unknown POSIX error)
```
2022-05-19 13:48:31 -03:00
Zaiming (Stone) Shi ea9af26642 chore(appup): bump emqx_telemetry app vsn and update appup 2022-05-15 23:31:39 +02:00
Zaiming (Stone) Shi ef0c14c522 fix(telemetry): Ensure verify_none for http client 2022-05-15 23:16:32 +02:00
Zaiming (Stone) Shi 4f45670725 fix: add 2 seconds delay penalty for bad logins 2022-04-26 21:02:45 +02:00
Zaiming (Stone) Shi 81d62082ec chore(emqx_dashboard): bump app vsn 2022-04-20 10:41:10 +02:00
JimMoen 6168745f90 chore: update copyright 2022-04-14 11:23:25 +08:00
JianBo He 1ff371bdea test(dashboard): avoid to start useless plugins
The #7520 causes the default load_{plugins,modules} file to be used when
starting the slave node. In this case, the slave will automatically start
the emqx-dashbord plugin with the default configuration when it re-join
cluster, which will cause the applications to fail to start.
2022-04-08 11:16:39 +08:00
JianBo He bf1a3fe1eb chore: eliminate some compiling warnings and improve change logs 2022-04-08 11:16:37 +08:00
Thales Macedo Garitezi 63146cb148
chore: update appup files and bump emqx_modules app vsn 2022-04-06 09:11:07 -03:00
Thales Macedo Garitezi aa19283ff2
fix: ensure default values for `loaded_{plugins,modules}`
Fixes #7455 .

This tries to populate `loaded_{plugins,modules}` files with default
values before loading them, in case they don't exist.
2022-04-06 09:08:21 -03:00
Zaiming (Stone) Shi c422edd977 test(emqx_dashboard_SUITE): add init/end_per_testcase 2022-04-05 23:41:35 +02:00
Zaiming (Stone) Shi 164209b576 test: use end_per_testcase to restore default admin password 2022-04-05 22:29:43 +02:00
Zaiming (Stone) Shi d219e475fb fix(emqx_dashboard_admin): put changed default user pwd in pt
plugin app envs are all unloaded when the app reboots
2022-04-05 13:59:58 +02:00
Zaiming (Stone) Shi 155befe418 chore: no duplicated reads and some comment/message rewording
Co-authored-by: Dmitrii <99872536+ieQu1@users.noreply.github.com>
2022-04-05 13:31:24 +02:00
Zaiming (Stone) Shi 6cc55f5c34 chore: add back the default password warning 2022-04-05 12:22:04 +02:00
Zaiming (Stone) Shi 0d4822ba78 refactor(emqx_dashboard_admin): simplify default pwd read/write 2022-04-05 11:50:18 +02:00
Georgy Sychev 1a715c8708 feat(emqx_dashboard): subsciption to update password
emqx_dashboard restarted in ekka hook
Closes #3155
2022-04-05 10:40:09 +02:00
Zaiming (Stone) Shi 2e7a741022 chore: bump dashboard app version 2022-04-03 08:43:34 +02:00
JianBo He 0309302c42
Merge pull request #7376 from lafirest/fix/flaky_test
fix(mod_subscription): fix test case error
2022-03-23 18:37:24 +08:00
firest a2085555e9 fix(mod_subscription): fix test case error 2022-03-23 17:37:06 +08:00
zhongwencool 99dfd8504c fix: bad authorization format crash with 500 2022-03-23 15:34:23 +08:00
firest c43f179204 fix(mod_subscription): improve the log information 2022-03-22 18:09:06 +08:00
firest 4fe9275103 chore(modules): update appup file 2022-03-22 10:08:52 +08:00
firest c2b1571134 fix(auto_subscribe): make log if the topic is empty when auto subscribe 2022-03-21 18:32:42 +08:00
zhongwencool b8afd2760c
Merge pull request #7318 from zhongwencool/fix-bad-str
fix: Add name string legitimacy check.
2022-03-17 17:49:25 +08:00
zhongwencool f0a81d593d fix: dashboard ct failed 2022-03-16 16:48:03 +08:00
zhongwencool 8cf97a93af fix: urldecode appid and username. 2022-03-16 16:33:03 +08:00
firest 3e6249a8b7 fix: bump emqx_modules version 2022-03-16 15:28:44 +08:00
zhongwencool bfadcebb9c chore: remind the user to delete bad appid/username. 2022-03-16 15:23:10 +08:00
firest 186ff243ed fix(delayed): cancel stats timer when terminate 2022-03-16 14:57:17 +08:00
zhongwencool 0555bce47e chore: add more doc for dashboard.default_user 2022-03-16 10:54:09 +08:00
zhongwencool b44512cdab fix: Add string legitimacy check. 2022-03-16 10:31:41 +08:00
zhongwencool f82550ddc6 chore: Prompt user how to change the dashboard default password when emqx start 2022-03-10 23:01:58 +08:00
Zaiming (Stone) Shi 43c900bb5a chore: rename more descriptive EQM X to EMQX 2022-02-22 11:16:38 +01:00
Zaiming (Stone) Shi e09e5673eb docs(README): EMQ X -> EMQX 2022-02-15 16:15:25 +01:00
Zaiming (Stone) Shi f6ca64c76d feat: add pem cache CLI 2022-02-14 14:52:34 +01:00
Thales Macedo Garitezi b968d4c416
fix(ctl): fix formatting when printing messages without arguments (4.3)
Without passing an empty argument list to `emqx_ctl:print`, formatting
instructions like `~n` are being printed literally.

```
Ignore.~nJoin the cluster successfully.~nCluster status: #{running_nodes =>
                      ['emqx@emqx-0.int.thalesmg','emqx@emqx-1.int.thalesmg',
                       'emqx@emqx-2.int.thalesmg','emqx@emqx-3.int.thalesmg',
                       'emqx@emqx-4.int.thalesmg'],
                  stopped_nodes => []}
```
2022-02-09 09:36:27 -03:00
JianBo He 3b4ddd6f51 chore: bump emqx_modules vsn 2022-01-21 15:05:13 +08:00
JianBo He 8f517cebf7
Merge branch 'main-v4.3' into more-fields-for-webhook 2022-01-21 15:01:38 +08:00
JianBo He 09002c4cd2 revert: revert #6797 due to the acl metrics refactor 2022-01-21 14:24:03 +08:00
JianBo He 77609ebd96 chore: bump vsn and update appup.src 2022-01-21 13:52:07 +08:00
JianBo He ad996afe47 chore: ensure connected_at field for connect/connack/disconnected event 2022-01-21 13:52:05 +08:00
JianBo He d535d44845 revert: revert #6797 due to the acl metrics refactor 2022-01-21 11:32:10 +08:00
zhongwencool 4317845482 fix(test): test case failed by unload 2022-01-19 19:48:07 +08:00
zhongwencool 6378cd1f9a chore(version): bump emqx_modules to 4.3.4 2022-01-19 18:05:51 +08:00
zhongwencool e1274e1117 feat(acl): internal acl should support metrics(client.acl.ignore/allow/deny). 2022-01-19 18:00:54 +08:00
JimMoen 2fba756aea chore(telemetry): update appup.src 2022-01-10 17:01:20 +08:00
JimMoen 5c29c20426 fix(telemetry): use required fields, rolling distro use PRETTY_NAME 2022-01-10 17:01:20 +08:00
Shawn 23e4e101a4 chore(dashboard): bump lib-ce/emqx_dashboard to 4.3.8 2021-12-20 15:42:16 +08:00
Zaiming Shi 21898e1daf chore(emqx_dashboard): bump version after v4.3.10 release 2021-11-11 10:34:29 +01:00
Zaiming Shi ed171b8e60 chore: ensure version bump for dashboard app 2021-11-08 16:17:54 +01:00
Turtle f00e254bdf chore(release): update version to 4.3.9 2021-11-02 18:26:57 +08:00
k32 7e1f3c5882 revert(appup): Revert changes to management and dashboard 2021-10-13 09:19:49 +02:00
k32 b60e33ca41 fix(appup): Always run appup actions for management and dashboard 2021-10-12 19:19:26 +02:00
Ilya Averyanov 188b889ed3 fix(dashboard rest api): improve auth method security
Make messages not differ when authenticating with invalid password and invalid username.

Closes: #5563
2021-09-29 19:33:45 +03:00
Turtle e532fff4df chore: Update dashboard version to 4.3.4 2021-08-27 16:28:01 +08:00
Turtle 35ae097038 fix(relup): upgrade emqx dashboard version 2021-08-03 12:17:35 +08:00
tigercl fee3462603
fix(http pipelining): support to switch http pipelining (#5279) 2021-07-27 17:32:56 +08:00
Turtle befd22282f chore(relup): fix check relup fail 2021-07-16 19:01:05 +08:00
JianBo He 05b16c601b chore(presence): more fields for disconnected event 2021-07-07 18:36:09 +08:00
Zaiming Shi b92940af29 test(ci): add plugin list status check after relup new vsn install 2021-06-22 08:54:55 +08:00
Turtle c02a9f0101 fix(appup): update appup 2021-05-27 13:55:07 +08:00
tigercl 439c0d6fa8
fix(topic metrics): export mandatory functions to support cluster calls (#4870) 2021-05-27 13:35:02 +08:00
Zaiming Shi 8443aa5e21 chore(typo): sepecial -> special 2021-05-24 10:45:56 +02:00
JianBo He 82330ffa00 feat(delayed): record the delayed table size by emqx_stats
There are three indictors about delayed module:
- 'messages.delayed': shows the number of delayed msg received
- 'emqx_delayed_count': shows the delayed table size now
- 'emqx_delayed_max': shows the maximum size that the delayed table has reached
2021-05-12 22:16:14 +08:00
Zaiming Shi 6354e75626 chore: update copyrights 2021-04-23 20:43:00 +02:00
Zaiming Shi ad630f49ef fix(telemetry): wait for emqx to start before sending first report 2021-04-19 09:15:28 +02:00
JianBo He d6bbfdcd51 test(modules): test starting by default 2021-04-13 09:57:33 +08:00
JianBo He 16c999ed9b
Start emqx-modules application by default (#4518)
* fix(modules): start emqx_modules by default

* chore(test): eliminate some compile warnings
2021-04-12 09:45:31 +08:00
zhanghongtong 5e0dfe250d chore: move emqx_telemetry from apps to lib-ce 2021-04-01 14:05:03 +02:00
William Yang b8c7c9c60b fix(cluster-webui): export emqx_modules_api:list_modules/1
Fix http.500 error when loading page:http://127.0.0.1:18083/#/modules on
a emqx cluster,
2021-03-24 21:37:11 +01:00
zhanghongtong beac1f5f59 fix(test cases): fix test case error
ensure emqx_modues loaded before emqx_management in test cases
2021-03-19 17:02:06 +01:00