zhongwencool
8cf97a93af
fix: urldecode appid and username.
2022-03-16 16:33:03 +08:00
DDDHuang
0d7ad25804
Merge pull request #7281 from DDDHuang/backup_json
...
fix: check backup file type & legal json
2022-03-16 16:16:06 +08:00
zhongwencool
bfadcebb9c
chore: remind the user to delete bad appid/username.
2022-03-16 15:23:10 +08:00
zhongwencool
b44512cdab
fix: Add string legitimacy check.
2022-03-16 10:31:41 +08:00
DDDHuang
95cc5a19c8
fix: bad list & bad SUITE
2022-03-16 10:07:13 +08:00
DDDHuang
02e7f3bfe0
feat: backup data support old versions dir
2022-03-15 15:05:48 +08:00
zhongwencool
4adc914372
feat: Support set keepalive via queryString & Body HTTP API.
2022-03-15 10:40:01 +08:00
DDDHuang
2da3333879
fix: check backup file type & legal json
2022-03-14 14:16:34 +08:00
Zaiming (Stone) Shi
c157a16907
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-02-26 01:05:06 +01:00
JianBo He
ddf2022542
Merge pull request #6983 from HJianBo/fix-exproto-online-clients-v4.3
...
Improve ExProto client management
2022-02-23 10:59:19 +08:00
lafirest
9ef760aff9
Merge pull request #7078 from lafirest/fix/api
...
fix(emqx_mgmt_http): add slow subs api into emqx_mgmt_http api list
2022-02-22 20:52:30 +08:00
Zaiming (Stone) Shi
43c900bb5a
chore: rename more descriptive EQM X to EMQX
2022-02-22 11:16:38 +01:00
JianBo He
521bdd20b4
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-02-22 11:43:46 +08:00
JianBo He
a2d8405f99
chore: update appup.src
2022-02-22 10:30:52 +08:00
JianBo He
b802bcb6fc
refactor(exproto): pre-register the anonymous client
2022-02-22 10:23:16 +08:00
lafirest
9abbe4eafc
chore(emqx_management): bump app version
2022-02-21 14:56:15 +08:00
lafirest
62ced62aac
fix(emqx_mgmt_http): add slow subs api into emqx_mgmt_http api list
2022-02-21 14:33:36 +08:00
Ilya Averyanov
557c52dd8a
chore(codestyle): remove Elvis
2022-02-18 20:35:19 +03:00
Zaiming (Stone) Shi
e09e5673eb
docs(README): EMQ X -> EMQX
2022-02-15 16:15:25 +01:00
Zaiming (Stone) Shi
91180595d0
refactor(cli): simplify ACL cache CLI logging
2022-02-14 14:52:34 +01:00
Zaiming (Stone) Shi
f6ca64c76d
feat: add pem cache CLI
2022-02-14 14:52:34 +01:00
JianBo He
a88dd4aaa5
Merge tag 'v4.3.12' into main-v4.4
2022-02-14 19:37:59 +08:00
Thales Macedo Garitezi
e053700441
style: please elvis checks
2022-02-09 11:02:05 -03: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
e5fab4df25
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-24 15:25:01 +08:00
JianBo He
680339ff14
Merge pull request #6840 from zhongwencool/auth-default-user-warnring
...
fix(auth_mnesia): don't force update default user.
2022-01-24 15:24:13 +08:00
zhongwencool
efa3e32ee5
fix(auth_mnesia): don't force update default user.
2022-01-24 13:58:37 +08:00
JimMoen
287b48d49a
chore(app_vsn): revert management app.src repetitive increased
2022-01-24 11:38:25 +08:00
JianBo He
b635d56aec
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-21 16:27:56 +08:00
zhongwencool
140a1c0276
chore(api): add api_sub http api test
2022-01-21 10:56:41 +08:00
zhongwencool
f36791bab9
fix(api): sub api return meta
2022-01-20 18:40:25 +08:00
zhongwencool
50606a7eab
fix(data_import): support v4.4
2022-01-19 11:55:39 +08:00
zhongwencool
24f8c353dc
Merge branch 'main-v4.4' into sync-from-4.3-to-4.4
2022-01-19 11:24:57 +08:00
zhongwencool
506be21aa2
fix(auth_mnesia): bump up emqx_mgmt to 4.3.10
2022-01-19 10:36:12 +08:00
zhongwencool
19fc143f41
fix(auth_mnesia): import auth acls data according to different data format
2022-01-19 00:12:30 +08:00
DDDHuang
5397d80680
feat(metrics): session metrics & api format
2022-01-17 15:15:00 +08:00
zhongwencool
e96c9ada52
chore(test): fix typo error
2022-01-14 00:43:27 +08:00
JianBo He
b3862fb283
chore: fix the app vsn and appup.src
2022-01-13 17:30:20 +08:00
zhongwencool
27f5e765b5
fix(export): emqx_auth_mnesia import failed after 4.3.x
2022-01-13 13:53:37 +08:00
JianBo He
492f4dceff
Merge remote-tracking branch 'ce/main-v4.3' into main-v4.4-merged-main-v4.3
2022-01-12 13:59:07 +08:00
JimMoen
556a81a80e
chore(appup): app version updated after last tag
2022-01-12 10:09:51 +08:00
JimMoen
47ba72729f
chore(appup): update appup.src
2022-01-11 16:23:25 +08:00
JimMoen
f2cfde7421
fix(mgmt): fix subscription info format
2022-01-11 15:54:37 +08:00
JianBo He
5424588a72
chore: remove unwanted appup commands that came with merge
2022-01-11 11:13:37 +08:00
JianBo He
b297388c20
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-11 10:03:28 +08:00
JianBo He
d6f56cbcbe
fix(mgmt): convert timestamp to milliseconds
2022-01-05 16:38:27 +08:00
JianBo He
9cf03bb18a
fix(mgmt): fix substring matching alg
2022-01-05 16:38:22 +08:00
JimMoen
bec742b1be
Merge pull request #6505 from JimMoen/v4.x-fix-node-info-format
...
fix(mgmt): fix node info format for specific node
2021-12-31 13:39:43 +08:00
Zaiming (Stone) Shi
967dc7d55e
fix: portable shebang
2021-12-27 15:40:25 +01:00
JimMoen
7e9870cc3f
chore(mgmt): update appup.src
2021-12-21 01:12:17 -05:00
JimMoen
0ee589ca61
fix(mgmt): fix node info format for specific node
2021-12-21 01:07:01 -05:00
zhongwencool
2c2145dfe6
Merge branch 'main-v4.3' into sync-from-4.3
2021-12-07 23:20:01 +08:00
JimMoen
dc2c17826e
chore(appup): update appup.src
2021-12-07 14:23:40 +08:00
JimMoen
14aa408b5e
style: make elvis happy
2021-12-07 14:17:33 +08:00
JimMoen
ceed9678e3
fix(mgmt): node memory usage info
2021-12-07 14:17:33 +08:00
zhongwencool
1b14b79286
fix: create trace schema at runtime
2021-11-29 22:15:31 +08:00
tigercl
25215244be
Merge pull request #6192 from turtleDeng/publish-api-user-properties
...
feat(publish-api): Publish api support user-properties parameters
2021-11-29 15:00:04 +08:00
lafirest
fef3fc27cb
refactor(emqx_slow_subs): refactor use moving average ( #6287 )
...
* refactor(emqx_slow_subs): refactor use moving average
* fix(emqx_slow_subs): change elapsed to latency, and fix some error
* fix(emqx_slow_subs): fix emqx_mgmt_api.erl indent
* fix(emqx_slow_subs): change api name
* fix(emqx_slow_subs): fix and improve some code
* fix(emqx_slow_subs): move clienid filed from latency_stats to session
2021-11-26 10:42:15 +08:00
Zaiming (Stone) Shi
1c64a9d95d
Merge pull request #6251 from zhongwencool/log-trace-api
...
feat: add support ip_address trace options
2021-11-22 16:19:53 +01:00
zhongwencool
a91f975dc2
fix: make sure keepalive only 0~65535 ( #6232 )
2021-11-22 18:08:48 +08:00
zhongwencool
d76275d17d
feat: add support ip_address trace options
2021-11-22 15:20:24 +08:00
Turtle
ca1ece3db0
feat(publish-api): Publish api supports user-properties parameters
2021-11-17 11:17:10 +08:00
zhouzb
2f279b3607
test(migration): fix code scope
2021-11-15 18:14:51 +08:00
zhouzb
fce93c5a17
feat(migration): improve modules migration and add test cases
2021-11-15 17:44:23 +08:00
zhongwencool
8bf6668e4c
Set keepalive via http api ( #6143 )
...
* feat: set keepalive over http api
* chore: elvis warning
* fix: bump retainer to 4.4.0
2021-11-12 20:11:59 +08:00
zhongwencool
835ad52498
feat(trace): http api for trace ( #6052 )
...
* feat(trace): add http trace API
* feat: sub/unsub trace topic
* chore(trace): stream log use _page and _limit
* fix: elvis warning
* fix: mod_trace test failed
* fix: http api meta rename _page/_limit to _page/_limit
* fix: clientid string not working
* fix: add emqx_mod_trace to module
* fix(trace): fixed by review suggestions
2021-11-11 14:54:40 +08:00
Zaiming Shi
9ea5c5e58d
fix(emqx_mgmt): support v4.4 data export
2021-11-08 23:12:18 +01:00
Turtle
f00e254bdf
chore(release): update version to 4.3.9
2021-11-02 18:26:57 +08:00
Zaiming (Stone) Shi
831f2eda0c
Merge pull request #6030 from zmstone/fix-force-kill-after-kick-or-discard-timeout
...
fix(session): force kill session for 'kick' and 'discard'
2021-10-31 09:48:04 +01:00
Zaiming Shi
765a76fa80
fix(emqx_mgmt_cli): idempontent kick. now it always returns ok
2021-10-30 16:38:36 +02:00
Ilya Averyanov
49c7eae211
Merge pull request #5885 from savonarola/fix-acl-schema
...
fix(mnesia_acl): introduce optimized schema and migration process
2021-10-27 10:41:05 +03:00
Ilya Averyanov
8341a4d4a7
fix(mnesia_acl): introduce optimized schema and migration process
2021-10-27 09:58:12 +03:00
JianBo He
99453df637
fix(api-clients): escape the searching string
2021-10-25 09:40:56 +08:00
Ilya Averyanov
3cae4437fa
fix(mgmt api): allow empty clientid in publish
2021-10-18 12:10:21 +03: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
44d16a26ab
fix(mgmt api): validate clientid to avoid crashes and 500 HTTP errors
2021-10-05 12:09:03 +03:00
turtleDeng
ea15aa3f9e
fix(data-import): fix import rule fail ( #5512 )
2021-08-18 09:55:04 +08:00
Turtle
992e094ce9
fix(relup): fix badfun after relup
2021-08-05 14:19:53 +08:00
JianBo He
d3d636fc99
chore(mgmt): update appup.src
2021-07-13 17:53:26 +08:00
JianBo He
8cd1fa41b6
fix(mgmt): fix dump aborted by print function crash
2021-07-13 17:53:26 +08:00
Turtle
f682bfe6e0
fix(api): fix ee call module api 404
2021-06-04 19:47:52 +08:00
JianBo He
665a9d1dee
fix(mgmt): return type conversion error
2021-06-01 17:24:53 +08:00
k32
7dde77bb8a
feat(emqx_management): Import content of the HTTP request
...
Fixes : #4063
2021-05-31 12:06:33 +02:00
Turtle
cf4cbc1677
fix(API): fix get used memory error
2021-05-29 11:42:50 +08:00
Zaiming Shi
4ec1046160
fix: bad test case
2021-05-24 10:45:56 +02:00
Zaiming Shi
ce2739ef3d
chore(emqx_management): update appup
2021-05-21 10:38:39 +02:00
Zaiming Shi
5fe395cee5
test: fix emqx_ctl printout test
2021-05-21 10:25:04 +02:00
Zaiming Shi
48c1d0983d
chore(emqx_ctl): do not print application
2021-05-21 09:24:39 +02:00
Zaiming Shi
c07fe0696b
fix(appup): ensure version bump for emqx_management
2021-05-20 09:03:40 +02:00
Shawn
4cd056cab5
fix(rule_engine): update status to false when refresh resource failed ( #4821 )
...
* fix(rule_engine): update status to false when refresh resource failed
* fix(dialyzer): ignore import_modules/1 created fun has no local return
* fix(appup): update appup for rule engine
2021-05-17 17:59:01 +08:00
Turtle
a7d2f44a5b
chore(optimize): optimize MGMT test cases
2021-05-17 14:28:17 +08:00
Turtle
85937e0007
fix(import): fix import bridge mqtt test cases
2021-05-12 22:46:48 +08:00
wwhai
09fb1461b7
fix(mgmt): fix diylazer warning for function return ( #4786 )
2021-05-12 22:13:26 +08:00
Turtle
c5aeeb3b40
fix(import): fix import bridge mqtt test cases
2021-05-08 15:28:26 +08:00
k32
7cd31028cb
fix(dialyzer): Omit `value is unmatched` warning
2021-05-06 23:28:12 +08:00
wwhai
a9b674c587
fix(deps): fix ee430 problem when remove resources
2021-04-30 06:41:37 -05:00
Zaiming Shi
171933301a
fix(dashboard): display full Erlang/OTP version
2021-04-30 12:26:59 +02:00
wwhai
54dc75ed79
fix(deps): fix function clause at apply_new_config
2021-04-28 20:39:16 +08:00
wwhai
773b8eef2f
fix(deps): increase time sleep
2021-04-27 21:04:24 +08:00
Zaiming Shi
6354e75626
chore: update copyrights
2021-04-23 20:43:00 +02:00
wwhai
73e563c883
test(mgmt): remove macro switch
2021-04-21 09:35:04 +08:00
zhanghongtong
daa3d70ec3
chore(tests): delete enterprise json file
2021-04-19 19:07:49 +08:00
zhouzb
3ae8bae9f3
feat(uri): update urldecode/1
2021-04-16 20:19:45 +08:00
Turtle
5009ec0c34
fix(tests): fix ee import auth mnesia fail
2021-04-16 19:47:49 +08:00
tigercl
1a630a308a
fix(backup): support minimum version number when import ( #4582 )
2021-04-16 15:51:36 +08:00
zhanghongtong
0090295a17
chore(tests): fix import and export test cases for auth mnesia
2021-04-15 23:05:12 +08:00
wwhai
b48c437f97
test(mgmt): add data im/export tests for EE
2021-04-15 21:59:37 +08:00
zhanghongtong
eda783efd0
chore: delete needless ct print
2021-04-14 23:06:34 +08:00
k32
9ead5c8cfd
chore(test): fix shutting down of applications in web hooks suite
2021-04-14 19:18:35 +08:00
k32
8304a96e1d
fix(emqx_management): Don't fix broken emqx_auth_mnesia data
2021-04-14 19:18:35 +08:00
wwhai
8a6f26d170
test(mgmt): remove unused ct log
2021-04-13 09:54:49 +08:00
wwhai
765d84ef48
test(mgmt): add data import tests ( #4481 )
2021-04-12 09:06:22 +08:00
zhouzb
a712606121
fix(http api): fix badarg caused by acl cache api
2021-04-12 09:05:49 +08:00
k32
df3565e23d
fix(emqx_management): Import ACLs from the enterprise version
2021-04-08 18:15:43 +08:00
k32
664b9c79fc
fix(emqx_management): Add clientid data to the migration suite
2021-04-08 18:15:43 +08:00
zhanghongtong
d1284cdcbb
chore(mgmt import cases): import cases support enterprise
2021-04-07 18:40:42 +08:00
zhanghongtong
ada36f5d23
chore(mgmt export): use new create time in export data
2021-04-07 10:35:08 +08:00
k32
d54643e9e1
Merge pull request #4453 from k32/fix-auth-mnesia
...
fix(emqx_auth_mnesia): add missing combinations of permissions
2021-04-06 21:37:50 +02:00
zhanghongtong
15627643e2
chore(mgmt): delete assert in emqx_mgmt_cli
2021-04-06 16:35:44 +08:00
zhanghongtong
0015520a6a
chore(mgmt): fix test case failure caused by slow kick
2021-04-06 15:41:59 +08:00
JianBo He
cff21ba16e
fix(mgmt): exclude telemetry related lines from enterprise
2021-04-06 13:22:23 +08:00
k32
2c029c0607
fix(emqx_management): Allow to specify credential type during import
2021-03-31 14:45:11 +02:00
k32
830cdffe16
fix(emqx_auth_mnesia): add missing combinations of permissions
...
Allow to define different access for pub and sub actions
2021-03-31 10:30:08 +02:00
wwhai
abf26f01d8
fix(mgmt): expose 2 functions to ce
2021-03-25 18:53:17 +08:00
wwhai
3ea8039d90
fix(import): fix import error
2021-03-23 21:57:39 +08:00
wwhai
83b99c09a4
fix(import): add bridge_mqtt compatible <4.2.x
2021-03-23 20:22:22 +08:00
Karol Kaczmarek
844a1ba0af
feat(acl): cache drain cr fixes
2021-03-20 15:21:31 +01:00
Karol Kaczmarek
87ce9d666f
feat(acl): working cache drain cli/rest handlers
2021-03-20 15:21:31 +01:00
Karol Kaczmarek
71a0901c92
feat(acl): CLI and REST handlers for removing acl cache
2021-03-20 15:21:31 +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
wwhai
3f2204fb5c
fix(backup): add compatible for more lower version
2021-03-19 16:24:13 +08:00
wwhai
109b2f4e90
fix(backup): fix data import/export problem
2021-03-19 16:24:13 +08:00
Karol Kaczmarek
796c071af5
style(api): proplists imports removed
2021-03-19 09:20:25 +08:00
Karol Kaczmarek
ea384ec6b5
style(api): minirest imports removed
2021-03-19 09:20:25 +08:00
Zaiming Shi
a5f0ed0356
fix(test): Ensure emqx_modules loaded for emqx_management test
2021-03-17 11:46:45 +01:00
Zaiming Shi
a1f78b5083
refactor(cli): Print node name version and app name version
...
So not to confuse application version with node release version
2021-03-16 11:26:17 +01:00
wwhai
1ddb300a56
feat(mgmt): add http listener restart support ( #4301 )
2021-03-10 17:29:37 +01:00
Zaiming Shi
eb03c343bc
fix(mgmt): Wrong ifdef EMQX_ENTERPRISE compile scope
2021-03-03 19:06:12 +01:00
Zaiming Shi
a368453768
fix(mgmt): typo in ifdef macro
2021-03-03 15:15:33 +01:00
z8674558
1504164933
chore(src): fix dialyzer warnings (match values)
2021-03-03 20:06:31 +09:00
zhanghongtong
db92f79713
chore(emqx_modules): add emqx_modules api path
2021-03-02 18:47:09 +08:00
JianBo He
8477780e2b
fix(mgmt): remove the useless match
...
Currently, the `{topic, Topic}` pattern is not used for management.
Moreover it will casue a `function_caluse` while the previous caluse not
matched
2021-03-02 17:06:34 +08:00
zhanghongtong
f548888af9
chore(emqx_management): judge the version for import and export acl mnesia and auth mnesia
2021-03-02 09:35:47 +08:00
zhanghongtong
b53bdd1450
chore(emqx_management): remove emqx_modules dependency on emqx_management
2021-03-02 09:35:47 +08:00
zhanghongtong
28653bb457
chore(emqx_management): format code
2021-03-02 09:35:47 +08:00
zhanghongtong
baa9fd8255
chore(emqx_management): move emqx management to apps
2021-03-02 09:35:47 +08:00
Zaiming Shi
8f477e8411
refactor(proj): Move opensource apps to lib-opensource
...
One step closer for better code abstraction for opensorce vs enterprise
So far this relocation is to make opensource to enterprise merges
conflict free.
2021-02-11 16:45:05 +01:00
Zaiming Shi
f000b6583c
fix(tls): Ensure tls config integrity
...
For default tsl version and ciphers, we try to use otp release number
to determin if we want to use tlsv1.3
For default configs, we try to porivde both tlsv1.3 and
ciphers in config (even for commented out configs)
2021-02-09 22:56:28 +01:00
Zaiming Shi
e4d3702f15
feat(apps): Ensure emqx_modules started before dependent apps
...
emqx_management and emqx_telemetry calls emqx_modules APIs
2021-02-08 22:07:13 +01:00