ieQu1
e7d70c142c
fix(emqx_shared_sub): Don't crash on table schema change
2022-05-24 13:03:18 +02:00
Georgy Sychev
d0cf112e17
fix(shared): dialyzer
2022-05-24 11:17:34 +04:00
zhongwencool
875b40a4fc
Merge pull request #8016 from lafirest/fix/simplify_limiter_cfg
...
fix(limiter): Simplified limiter configuration
2022-05-24 14:01:08 +08:00
firest
89de8274a0
test(retainer): fix flow control test case error
2022-05-24 12:44:47 +08:00
Georgy Sychev
ea313df2cc
fix(shared): removed emqx_message:format
2022-05-24 00:06:29 +04:00
Georgy Sychev
671906dd59
fix: typo
2022-05-23 22:46:49 +04:00
Georgy Sychev
f964989d6b
feat(shared): redispatch QoS1 messages when sub dies
2022-05-23 17:52:39 +04:00
firest
74f715ca08
fix(limiter): Simplified limiter configuration
...
1. Simplified limiter configuration
2. add switch for limiter server
2022-05-23 17:45:42 +08:00
firest
6a2a7b96ea
fix(limiter): remove the unused limit conf
2022-05-20 18:02:14 +08:00
JianBo He
0a6276f9fe
test: suppress ct:print/2 producing ton of useless logs
2022-05-19 14:16:21 +08:00
Yang Miao
bf552f2c4b
Merge pull request #7980 from EMQ-YangM/fix_zero_padding
...
fix: zero padding should be to the MSB side
2022-05-18 17:22:23 +08:00
EMQ-YangM
66c62f432b
fix: zero padding should be to the MSB side
2022-05-18 15:28:01 +08:00
Yang Miao
2b58733571
Merge pull request #7971 from EMQ-YangM/fix_hexstring_to_binary
...
fix: hexstr_to_bin support half byte
2022-05-18 10:14:25 +08:00
EMQ-YangM
d8da8f1686
fix: hexstr_to_bin support half byte
2022-05-17 16:47:59 +08:00
Zaiming (Stone) Shi
d1ffba7ff4
Merge pull request #7966 from zmstone/0516-ignore-bad-metrix-value
...
fix(emqx_map_lib): ignore non-number non-map values
2022-05-17 07:33:15 +01:00
Shawn
c4faaee555
chore: release 5.0.0-rc.3
2022-05-16 18:10:42 +08:00
Zaiming (Stone) Shi
5deb0c4878
fix(emqx_map_lib): ignore non-number non-map values
2022-05-16 10:59:18 +02:00
Zaiming (Stone) Shi
3524fb6994
Merge pull request #7775 from zmstone/0426-5.0-hint-metrics-merge-errors
...
fix: hint metrics merge errors
2022-05-16 07:42:01 +01:00
Zaiming (Stone) Shi
522bd935ba
fix(authn): check authenticator config existence in pre-update callback
...
prior to this change, the authenticator existence check was done
in the post-update callback, this causes confusion as teh list
already contains duplication.
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi
9527561125
refactor: ensure auth mechanism is binary
2022-05-15 09:19:28 +02:00
Zaiming (Stone) Shi
382d9079e1
Merge pull request #7923 from zmstone/0511-pin-lc-0.3.0-fix-memory-usage-false-alarm
...
pin lc 0.3.0 fix memory usage false alarm
2022-05-13 21:55:23 +01:00
Zaiming (Stone) Shi
2eb621ba57
fix: hint metrics merge errors
2022-05-13 21:38:51 +02:00
Zaiming (Stone) Shi
d48528d74f
chore(emqx_os_mon): no need for special handling of 0
2022-05-13 21:12:08 +02:00
Zaiming (Stone) Shi
5f3780a032
fix(os_mon): ensure float point number for ~f format
2022-05-13 20:55:28 +02:00
Zaiming (Stone) Shi
99d50d2455
Merge pull request #7496 from zmstone/0401-5.0-add-parallel-map-lib
...
refactor: refine pmap with nolink_apply
2022-05-13 18:40:36 +01:00
Zaiming (Stone) Shi
c355c40ea8
refactor: call emqx_alarm:ensure_deactivated everywhere
2022-05-13 16:02:55 +02:00
Zaiming (Stone) Shi
4013dd2f14
refactor: refine pmap implementation
2022-05-13 15:22:42 +02:00
Georgy Sychev
0522361604
feat(shared_sub): Per-group shared subscription and local strategy
2022-05-13 14:23:06 +02:00
Zaiming (Stone) Shi
1ea0639321
fix(os_mon): do mem check and alarm triggers in emqx_os_mon
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi
95f81126ca
fix(emqx_os_mon): call load_ctl (lc) to get accurate memory stats
...
Prior to this commit, the RAM usage ratio reported by memsup is
used to trigger EMQX alarm.
This ratio counted system cache as 'used', so quite often
a false alarm is triggered.
With lc 0.3.0, the usage is caculated without cached RAM
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi
eb592df275
chore: pin lc version 0.3.0
...
lc 0.3.0 has new APIs added to get total RAM and usage ratio
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi
44b14fc019
Merge pull request #7948 from zmstone/0513-fix-flaky-test
...
0513 fix flaky test
2022-05-13 12:06:03 +01:00
ieQu1
d277e2b644
Merge pull request #7897 from ieQu1/persist-sess-schema
...
feat(persistent_session): Make schema more flexible
2022-05-13 11:53:30 +02:00
Zaiming (Stone) Shi
7207b2fa70
test: ensure emqx app stoped for emqx_ctl_SUITE run
2022-05-13 11:52:41 +02:00
Zaiming (Stone) Shi
002249a89a
docs: water mark -> watermark
2022-05-13 08:35:33 +02:00
ieQu1
8dbd080e45
docs(persistent_session): Apply suggestions from William
2022-05-12 14:29:25 +02:00
ieQu1
b06c4cb6cc
docs(persistent_session): Apply suggestions from code review
...
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-05-12 14:29:25 +02:00
ieQu1
03cfb67a45
docs(persistent_session): Fix Chinese translation
2022-05-12 14:29:25 +02:00
ieQu1
a1285cd308
fix(persistent_sessions): Enhance documentation
2022-05-12 14:29:25 +02:00
ieQu1
39aa7de88f
fix(grammar): Fix Chinese translations
...
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-05-12 14:29:25 +02:00
ieQu1
5221c6b2f9
feat(persistent_session): Make schema more flexible
2022-05-12 14:29:25 +02:00
ieQu1
e71cac5031
chore(bpapi): Ensure versions are sorted alphabetically
2022-05-12 11:49:01 +02:00
ieQu1
ace6ad25e9
fix(bpapi): Compile the code in check profile before running xref
2022-05-12 11:30:05 +02:00
ieQu1
c39665edbd
refactor(bpapi): Un-chew formatting
2022-05-12 10:55:22 +02:00
lafirest
d06377d82d
Merge pull request #7925 from lafirest/chore/esockd_version
...
chore: update esockd to 5.9.2
2022-05-12 15:49:08 +08:00
zhongwencool
dbfbdb930f
Merge pull request #7920 from zhongwencool/remove-enable-from-server-ssl-options
...
fix: remove enable from server_ssl_opts_schema
2022-05-12 14:47:26 +08:00
Zhongwen Deng
f0cb72dda6
fix: telemetry can't get active plugins list
2022-05-12 11:18:44 +08:00
firest
8a5c11744f
chore: update esockd to 5.9.2
2022-05-12 10:18:37 +08:00
lafirest
dc77c052cf
Merge pull request #7904 from lafirest/fix/listener_limiter_update
...
fix(listener): when update listener conf, should override limiter con…
2022-05-12 09:13:38 +08:00
Thales Macedo Garitezi
11b61881de
chore: bump ekka -> 0.12.6, mria -> 0.2.5
...
reduce mria logs when in RLOG mode.
https://github.com/emqx/ekka/pull/161
https://github.com/emqx/mria/pull/84
https://github.com/emqx/mria/pull/86
2022-05-11 15:15:41 -03:00
Thales Macedo Garitezi
0925f2104c
test: fix flaky tests
2022-05-11 13:42:47 -03:00
Zhongwen Deng
e929da2e68
fix: remove enable from server_ssl_opts_schema
2022-05-11 22:08:24 +08:00
Zaiming (Stone) Shi
41448849ff
test: ensure no timeout when waiting for dashboard listener
2022-05-11 08:45:32 +02:00
firest
c9227703fc
fix(listener): when update listener conf, should override limiter config not merge
2022-05-11 14:00:54 +08:00
Zhongwen Deng
83b4b658e2
fix: assert not empty list
2022-05-10 09:39:53 +08:00
Zhongwen Deng
068421d0e1
feat: don't dispatch requests until dispatch is ready
2022-05-10 09:38:48 +08:00
Zhongwen Deng
b91e9e59ba
chore: bump minirest to 1.3.1(generate api_spec concurrency)
2022-05-10 09:38:48 +08:00
Zhongwen Deng
5c66b6f04d
feat: generate dashboard's dispatch asynchronously
2022-05-10 09:38:48 +08:00
firest
93ab0458d1
fix(gateway): make gateway listeners list return act like MQTT listeners
2022-05-09 12:37:15 +08:00
firest
db9cb6c4a0
fix(gateway): add node_status into the result of /gateway/{name}/listeners
2022-05-09 12:37:15 +08:00
JianBo He
4d3aa16ceb
Merge pull request #7881 from lafirest/fix/limiter_update
...
fix(limiter): add config update handler for limiter
2022-05-09 11:07:26 +08:00
firest
1355f7c887
fix(retainer): fix test case and xref error
2022-05-07 17:01:51 +08:00
firest
a4a9650e66
fix(limiter): add config update handler for limiter
2022-05-07 17:01:51 +08:00
firest
ba683167bd
fix(limiter): remove unused rate limit codes
2022-05-07 17:00:13 +08:00
JianBo He
6e03a7c686
fix(authn): use a random group id to void data overlap
2022-05-07 10:16:58 +08:00
lafirest
495ef7f301
Merge pull request #7879 from lafirest/fix/listener_with_limiter
...
fix(listeners): add limiter info into the listener config
2022-05-06 20:34:57 +08:00
Thales Macedo Garitezi
ef19fa7cc9
Merge pull request #7877 from thalesmg/bump-ekka-0-12-5
...
chore(ekka): bump ekka -> 0.12.5
2022-05-06 09:02:02 -03:00
Ilya Averyanov
4cff19985e
Merge pull request #7872 from savonarola/fix-mongo-conn-healthcheck
...
fix(mongodb): fix mongodb connection healthcheck
2022-05-06 11:47:26 +03:00
firest
b394d18852
fix(listeners): add limiter info into the listener config
2022-05-06 13:33:03 +08:00
Yang Miao
c7826db3f7
Merge pull request #7865 from EMQ-YangM/fix_imporve_authn_authz_metrics
...
fix: improve authn, authz metrics
2022-05-06 11:19:47 +08:00
Thales Macedo Garitezi
2771193359
chore(ekka): bump ekka -> 0.12.5
...
Improves autocluster resilience against split-brain during startup.
https://github.com/emqx/ekka/pull/160
2022-05-05 17:02:47 -03:00
William Yang
7dcdae4672
Merge pull request #7874 from qzhuyan/dev/william/logging-fix
...
chore: minor logging fix
2022-05-05 20:23:21 +02:00
William Yang
5ffce8d619
chore: minor logging fix
2022-05-05 16:04:51 +02:00
Ilya Averyanov
0dae3f43a9
fix(mongodb): fix mongodb connection healthcheck
2022-05-05 15:36:38 +03:00
lafirest
97e778e797
Merge pull request #7868 from lafirest/feat/limiter_api
...
feat(limiter): add limiter view/update api
2022-05-05 19:08:47 +08:00
EMQ-YangM
30b3060327
fix: improve authn, authz metrics
2022-05-05 18:53:31 +08:00
JianBo He
39a26f8225
Merge pull request #7853 from HJianBo/fix-gw-bad-ssl
...
Fix gateway listener API return 500
2022-05-05 18:47:41 +08:00
zhongwencool
7f0f2571d0
Merge pull request #7861 from zhongwencool/username-as-clientid-not-valid
...
fix: don't allow empty username if username_as_clientid is true
2022-05-05 17:32:32 +08:00
firest
1a7c870b7d
test(limiter): add more cases for rate parser
2022-05-05 16:06:22 +08:00
Zhongwen Deng
41268dba01
fix: can't get emqx's priv_dir when whitespace in install path
2022-05-05 15:59:14 +08:00
firest
acb78d53eb
fix(limiter): fix rate parser, support this format: xMB/s
2022-05-05 15:38:04 +08:00
firest
f2e7563b0c
feat(limiter): add limiter view/update api
2022-05-05 13:08:33 +08:00
JianBo He
62a0df69fc
fix(limiter): avoid maps:get/2 crash
2022-05-05 10:47:59 +08:00
Zhongwen Deng
2987bd47ad
fix: don't allow empty username if username_as_clientid is true
2022-05-05 10:30:59 +08:00
JianBo He
5bfb9367ea
chore(tls): guard empty pem/path string
2022-05-03 17:54:00 +08:00
Shawn
be60b3330d
chore: release 5.0.0-rc.2
2022-04-29 19:01:44 +08:00
zhouzb
fc2169ba18
Merge pull request #7842 from zmstone/0429-refactor-rename-funs-to-please-elvis
...
refactor: rename functions to please elvis
2022-04-29 17:38:17 +08:00
JianBo He
d36d27c533
Merge pull request #7781 from HJianBo/rename-acl-metrics
...
feat(metrics): refactor authz metrics name
2022-04-29 16:52:43 +08:00
Zaiming (Stone) Shi
6b44d96c0d
refactor: rename functions to please elvis
2022-04-29 10:52:08 +02:00
JianBo He
7bbed713f4
Merge pull request #7835 from JimMoen/fix-mongo-require-fields
...
fix(auth): mongo field `filter` not required and have default value
2022-04-29 15:38:54 +08:00
JianBo He
1597ea50c1
feat(metrics): refactor authz metrics name
...
In the current implementation:
```
Authz checking times = client.authorize + client.authorization.cache_hit
= client.authorization.allow + client.authorization.deny
client.authorize means how many times the `client.authorize` hook has been executed.
client.authorize = client.authorization.matched.allow +
client.authorization.matched.deny +
client.authorization.nomatch
```
2022-04-29 15:20:05 +08:00
Xinyu Liu
f28559ef62
Merge pull request #7820 from zmstone/0428-fix-flaky-test
...
test: ensure emqx_metrics gen_server stopped after each test
2022-04-29 14:21:21 +08:00
JimMoen
22c25fc7e8
fix(tls_lib): ssl file key list contains atom and bin
2022-04-29 14:05:55 +08:00
Zaiming (Stone) Shi
1e170da9e8
test: ensure emqx_metrics gen_server stopped after each test
2022-04-29 12:41:36 +08:00
Zaiming (Stone) Shi
4e65322667
refactor: move emqx_plugin_libs_metrics to emqx app
...
because it can not depend on other apps
2022-04-29 12:41:36 +08:00
Zhongwen Deng
591b7c4fdb
fix: make ssl options's required keys is []
2022-04-29 11:45:22 +08:00
Zhongwen Deng
e91d6f9806
fix: ensure tls option keys
2022-04-29 11:45:22 +08:00
Zhongwen Deng
352984efe7
fix: dashboard https without deafult pem/keyfile
2022-04-29 11:45:22 +08:00
Zhongwen Deng
6f1610257f
feat: bump hocon to 0.27.5 to remove FROM_ENV
2022-04-29 08:48:12 +08:00
Zhongwen Deng
1ffb7f5f94
fix: remove '\$FROM_ENV_VAR' from raw conf
2022-04-29 08:41:31 +08:00
Zaiming (Stone) Shi
a0a1a2b972
style: make elvis happy
2022-04-28 22:09:05 +02:00
Zaiming (Stone) Shi
a4d0a9266a
test: fix flaky test emqx_ctl_SUITE.erl
2022-04-28 21:46:36 +02:00
lafirest
828f1b0730
Merge pull request #7819 from lafirest/fix/limiter_schema
...
fix(limiter): fix schema parse error
2022-04-29 01:32:52 +08:00
Xinyu Liu
8528d76371
Merge pull request #7815 from terry-xiaoyu/fix_bridge_ssl_dry_run_fail
...
fix: convert ssl certfiles for dry-run creating bridges
2022-04-28 22:41:50 +08:00
Shawn
6c9e0d62e2
fix(test): ensure emqx_metrics stopped before testing
2022-04-28 22:40:05 +08:00
Xinyu Liu
8380efef16
Merge pull request #7809 from EMQ-YangM/authn_add_metrics
...
feat: authn new metrics
2022-04-28 19:24:09 +08:00
firest
60c2427874
fix(limiter): fix schema parse error
2022-04-28 18:30:32 +08:00
EMQ-YangM
4365de9ad5
fix: format code
2022-04-28 15:39:08 +08:00
EMQ-YangM
5b0ee30d72
fix: ignore unwanted results
2022-04-28 15:02:07 +08:00
EMQ-YangM
6530604f40
fix: add authn authz metrics supervisor
2022-04-28 14:38:45 +08:00
EMQ-YangM
2a7bd74ef1
feat: authn add new metrics
2022-04-28 11:16:45 +08:00
JimMoen
e5d4e272b2
fix(ssl): sni option should be atom
2022-04-28 09:46:14 +08:00
JimMoen
0c7bbf9e64
revert: ssl option should not provide default cert file
...
revert commit 3b9b12fe36
in PR#7527
2022-04-28 09:46:14 +08:00
JianBo He
cd9e7c9a49
Merge pull request #7805 from tigercl/chore/zone-i18n
...
docs: improve i18n for zone
2022-04-28 08:28:55 +08:00
Xinyu Liu
46e993fa81
Merge pull request #7786 from terry-xiaoyu/save_tls_files_for_bridges
...
Save tls files for bridges
2022-04-27 21:48:18 +08:00
zhongwencool
6825aa66fc
Merge pull request #7780 from zhongwencool/log-bug-fix
...
fix: make logger config more friendly 🤖
2022-04-27 19:42:20 +08:00
zhouzb
a83268a0f1
docs: improve descs that mention configuration items
2022-04-27 18:35:34 +08:00
zhouzb
bad3adbee6
docs: improve i18n for zone
2022-04-27 18:26:40 +08:00
Zhongwen Deng
ab9e93e8a7
fix: websocket's max_connection not work
2022-04-27 14:18:26 +08:00
Shawn
0635918d16
fix: define ssl SNI field as a non-empty-string
2022-04-27 14:17:22 +08:00
Zhongwen Deng
08cad804bf
fix: bump hocon to 0.27.4 to obfuscate sensitive as binary
2022-04-27 13:55:42 +08:00
ieQu1
73733221d5
chore: Bump versions of mria, ekka, snabbkaffe
2022-04-26 17:35:30 +02:00
JianBo He
44689f0f63
Merge pull request #7768 from HJianBo/fix-bad-alarm-msg
...
fix(alarm): use gen_event:noifty/2 to generate alarm event
2022-04-26 21:18:57 +08:00
JianBo He
9f35dd7f80
Merge pull request #7730 from savonarola/jwt-authz
...
feat(emqx_auth_jwt): use JWT for ACL checks
2022-04-26 14:18:50 +08:00
JianBo He
bbcbe01501
fix(alarm): use gen_event:noifty/2 to generate alarm event
...
Uniformly report high_system_memory_usage event by gen_event:notify/2 to
ensure generate a same alarm structure
2022-04-26 13:46:52 +08:00
JianBo He
c921207b82
Merge pull request #7721 from HJianBo/make-spell-check-happy
...
Make spellcheck happy
2022-04-26 13:42:55 +08:00
JianBo He
81e9000c72
Merge pull request #7764 from HJianBo/fix-authn-proc-crash
...
fix(authn): avoid crashing emqx_authentication process due to un-safe call
2022-04-26 10:06:53 +08:00
JianBo He
81b5d7959b
chore(i18n): add desc for authentication field
2022-04-26 10:01:39 +08:00
JianBo He
2f967bdfe7
chore(fmt): format emqx_schema and emqx_authz_api_sources_SUITE
2022-04-26 09:28:05 +08:00
JianBo He
be05f54053
docs(emqx): fix i18n desc
2022-04-26 09:28:05 +08:00
JianBo He
a58b88aeec
chore(i18n): fix more and more typos
2022-04-26 09:28:05 +08:00
JianBo He
6581680970
chore: correct emqx_limiter_i18n.conf
2022-04-26 09:28:05 +08:00
zhongwencool
4b763a3a12
Merge pull request #7742 from zhongwencool/schema-namespace
...
fix: add namespace to schema
2022-04-26 09:26:04 +08:00
JianBo He
5ac842b657
fix(authn): avoid crashing emqx_authentication process due to un-safe call
2022-04-25 21:22:17 +08:00
Ilya Averyanov
fc2ea9e484
feat(emqx_auth_jwt): use JWT for ACL checks
2022-04-25 11:59:04 +03:00
Yang Miao
9c297acb00
Merge pull request #7750 from EMQ-YangM/fix_miss_params
...
fix: 'ComFun' missing parameter
2022-04-25 13:43:43 +08:00
Zhongwen Deng
55f8f7277d
fix: imporve hocon check failed error
2022-04-25 11:47:18 +08:00
EMQ-YangM
2d553d711f
fix: 'ComFun' missing parameter
2022-04-25 11:38:48 +08:00
JimMoen
e9843aa225
fix(doc): html line break use `</br>`
2022-04-24 18:56:21 +08:00
Zhongwen Deng
7d9403d056
fix: add namespace to schema
2022-04-24 15:47:23 +08:00
zhongwencool
a27caff5af
Merge pull request #7739 from DDDHuang/better_dashboard_log
...
fix: better listener log
2022-04-24 14:08:27 +08:00
zhongwencool
b4b9853cfc
Merge pull request #7732 from terry-xiaoyu/rule_bridges_api_docs2
...
emqx_schema i18n docs
2022-04-24 14:05:48 +08:00
zhongwencool
cee4607472
Merge pull request #7738 from zhongwencool/obfuscate_sensitive_config
...
feat: obfuscate sensitive values default_password
2022-04-24 14:05:23 +08:00
Zhongwen Deng
a77bb994e1
fix: add timeout for schema json gen test
2022-04-24 12:05:07 +08:00
Zhongwen Deng
38215f73fc
fix: rate limiter schema check crash and return 500
2022-04-24 11:59:08 +08:00
DDDHuang
1752257169
fix: better listener log
2022-04-24 09:55:35 +08:00
Zhongwen Deng
5223c3ee61
feat: obfuscate sensitive values default_password
2022-04-24 09:41:29 +08:00
JimMoen
78d582447c
feat: emqx core provides api to get cluster name
2022-04-23 19:45:34 +08:00
Shawn
52864e0413
docs: add Chinese doc for emqx schema
2022-04-23 17:59:45 +08:00
Shawn
093d121bb2
docs: changes desc to ?DESC
2022-04-23 03:59:50 +08:00
Shawn
86863690ce
docs: add generated i18n conf
2022-04-23 03:52:20 +08:00
Shawn
984a26945c
docs: add i18n ids
2022-04-23 03:51:38 +08:00
JimMoen
14e0296221
Merge pull request #7728 from zhongwencool/fix-swagger
...
fix: swagger crash/ copy conf failed from core node
2022-04-22 20:49:21 +08:00
JimMoen
1fab779db8
fix(i18n): rm double quotes in i18n confs, add missing translation
2022-04-22 19:26:44 +08:00
Zhongwen Deng
11a404842e
fix: don't show quic in dashboard
2022-04-22 17:32:41 +08:00
Zaiming (Stone) Shi
9212906c5b
chore: pin hocon 0.27.2
2022-04-22 08:53:30 +02:00
JianBo He
97f28c0d5a
Merge pull request #7699 from lafirest/feat/limiter_i18n
...
feat(limiter): add i18n support
2022-04-22 10:31:21 +08:00
JianBo He
950beea24c
Merge pull request #7712 from ieQu1/fix-grammar-i18n
...
chore(grammar): Fix grammar i18n
2022-04-22 09:18:10 +08:00
Xinyu Liu
ae49c0bad5
Merge pull request #7709 from terry-xiaoyu/emqx_schema_i18n
...
doc: update i18n for emqx_schema.erl
2022-04-22 08:33:11 +08:00
Shawn
2137d0a763
docs: update i18n for emqx_schema.erl
2022-04-22 08:32:46 +08:00
ieQu1
f0455b32f8
chore(schema): Fix grammar
2022-04-21 23:41:06 +02:00
Zaiming (Stone) Shi
282766db32
Merge pull request #7323 from savonarola/retainer-indexes
...
feat(retainer): add topic indexing
2022-04-21 20:16:18 +01:00
JianBo He
b89ed9a139
chore(emqx): assign zones i18n description
2022-04-21 22:26:01 +08:00
JianBo He
ae1b435ace
chore: format emqx apps
2022-04-21 21:34:21 +08:00
JianBo He
0c27613ce4
Merge pull request #7700 from HJianBo/emqx-schema-i18n-mqtt
...
docs(emqx): i18n support for emqx_schema.erl
2022-04-21 18:06:52 +08:00
JianBo He
e1eb6591af
docs(emqx): add emqx_schema_in18.conf chinese
2022-04-21 16:08:52 +08:00
JianBo He
bf7182ddc9
docs(emqx): i18n support for emqx_schema.erl
2022-04-21 15:07:31 +08:00
firest
7a17d92c9b
feat(limiter): add i18n support
2022-04-21 15:01:30 +08:00
lafirest
597bdcd4aa
Merge pull request #7691 from lafirest/fix/limiter_schema
...
fix(limiter): change 'bucket name' to 'bucket_name'
2022-04-21 14:51:27 +08:00
Xinyu Liu
0986a1c8c4
Merge pull request #7694 from terry-xiaoyu/mqtt_bridge_issues
...
feat: save ssl cert files for data bridges
2022-04-21 13:32:36 +08:00
Shawn
4047617ed0
fix: only delete SSL files generated by us
2022-04-21 12:13:25 +08:00
zhongwencool
1cd871eaf2
Merge pull request #7693 from zhongwencool/pem-cache-clean-cli
...
feat: support clean pem_cache cli
2022-04-21 09:38:44 +08:00
Shawn
19630e9a99
feat: save ssl cert files for data bridges
2022-04-21 09:00:06 +08:00
Ilya Averyanov
9b61997dc0
feat(retainer): add topic indexing
2022-04-20 19:55:57 +03:00
Zhongwen Deng
8a322f1548
feat: support clean pem_cache cli
2022-04-20 22:05:38 +08: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
Xinyu Liu
f8d046b259
Merge pull request #7673 from terry-xiaoyu/mqtt_bridge_issues
...
fix: improve the error logs if update bridge failed
2022-04-20 18:37:48 +08:00
firest
5b79f6466f
fix(limiter): change 'bucket name' to 'bucket_name'
...
the space in name field will make some problems in frontend
2022-04-20 17:46:45 +08:00
Thales Macedo Garitezi
ac7a13f9f2
fix(test): fix flaky property
2022-04-20 05:05:48 -03:00
JianBo He
99bcf5a69f
Merge pull request #7656 from HJianBo/support-disable-salt
...
feat(authn): support disable salt
2022-04-20 15:29:22 +08:00
zhongwencool
051ed84fc8
Merge pull request #7675 from zhongwencool/api-listener
...
refatcor: simplify updating the listener
2022-04-20 14:10:01 +08:00
Shawn
56044085c8
fix(test): make mria fall back to use mnesia db_backend when running test
2022-04-20 12:04:29 +08:00
Zhongwen Deng
17ef987d25
fix: add proxy_protocol_timeout/access_rules default value
2022-04-20 09:54:09 +08:00
Zhongwen Deng
f8a2831c5d
fix: xref/dialyzer warning
2022-04-20 02:52:31 +08:00
Zhongwen Deng
a131535c60
chore: bypass emqx_authn's listener change
2022-04-20 02:52:31 +08:00
Zhongwen Deng
2b73a80dba
refactor: simplify updating the listener
2022-04-20 02:52:19 +08:00
JimMoen
cc220694fd
Merge pull request #7628 from JimMoen/refine-authn-authz-api-fields
...
refine authn/authz api fields
2022-04-19 22:44:30 +08:00
zhongwencool
ae005f6e69
Merge pull request #7651 from HJianBo/hot-confs-sys-topics-limiter
...
Add APIs for System Topics
2022-04-19 20:11:36 +08:00
Thales Macedo Garitezi
f691d9ef9d
Merge pull request #7598 from thalesmg/gen-rpc-oc
...
feat: use gen_rpc ordered cast for `emqx_rpc:cast/5`
2022-04-19 09:06:51 -03:00
Shawn
1b79b3f3c9
fix: improve the error logs if update bridge failed
2022-04-19 19:45:46 +08:00
JimMoen
341973880d
fix(authz): refine authz-http api with default headers
2022-04-19 18:57:01 +08:00
JimMoen
14a97d777d
fix(authz): api required fields
2022-04-19 18:57:01 +08:00
JianBo He
ba24f0309d
Merge branch 'master' into hot-confs-sys-topics-limiter
2022-04-19 17:38:49 +08:00
Zaiming (Stone) Shi
c71302ae27
refactor(ssl): show file paths for SSL certs in dashboard
2022-04-19 08:43:37 +02:00
Zaiming (Stone) Shi
3b9b12fe36
feat: add default ssl files to ssl options
2022-04-19 08:43:37 +02:00
Zhongwen Deng
0de367dc63
feat: Make api_listener align with gateway and remove unused APIs.
2022-04-19 10:42:08 +08:00
JimMoen
9998b613c8
refactor: mgmt rm `generate_response/1`
2022-04-19 10:39:10 +08:00
JianBo He
86d8dd2fb6
chore(sys): improve diff_hooks implement
2022-04-19 10:03:40 +08:00
JianBo He
75f6484032
feat(authn): support disable salt
2022-04-19 09:29:56 +08:00
JianBo He
65eae13e0b
chore: make prop pass
2022-04-18 18:37:52 +08:00
JianBo He
59c41c7c6e
feat(sys): add sys_topics http api
2022-04-18 15:32:34 +08:00
firest
c6b5bcd973
fix(frame): remove empty topic check, because it checked in emqx_channel
2022-04-18 15:03:45 +08:00
DDDHuang
a1ef677e33
fix: remove duplicate references
2022-04-16 16:37:10 +08:00
zhongwencool
ce915f0bbd
Merge pull request #7590 from zhongwencool/doc-i18n
...
feat: desc/label support i18n
2022-04-15 17:43:16 +08:00
Zhongwen Deng
630cc8ee34
feat: support i18n with desc struct.
2022-04-15 08:42:13 +08:00
Zhongwen Deng
da7bda3540
fix: can't shutdown emqx_config_handler process.
2022-04-14 17:02:07 +08:00
DDDHuang
b8e2c76382
fix: remove routes
2022-04-13 16:16:12 +08:00
Thales Macedo Garitezi
3602e7552d
feat: use gen_rpc ordered cast for `emqx_rpc:cast/5`
...
From: https://github.com/emqx/emqx/pull/6554
2022-04-12 17:22:03 -03:00
firest
907e643e20
fix(frame): fix empty topic check error
2022-04-12 12:14:48 +08:00
zhongwencool
72e16eb7d1
Merge pull request #7557 from zhongwencool/api-cluster
...
feat: add api_cluster api.
2022-04-11 16:47:57 +08:00
Zhongwen Deng
5acf19a947
chore: add invite_node/2 bpapi
2022-04-11 15:32:49 +08:00
EMQ-YangM
fa0c4d17ee
feat: impl rule_engine reset_metrics api
2022-04-11 10:25:48 +08:00
Zaiming (Stone) Shi
2d374a3b0d
chore: no need for erlang:demonitor optimisation
2022-04-08 15:53:58 +02:00
Zhongwen Deng
a8386adea3
fix: list listeners cli not working
2022-04-08 09:47:06 +08:00
Zhongwen Deng
1664438b4f
fix: dialyzer warning.
2022-04-08 09:47:06 +08:00
Zhongwen Deng
63d6682a7d
feat: refactor api_listeners api
2022-04-08 09:47:06 +08:00
William Yang
4fac090f7f
fix: text logger
...
Fix following "FORMAT ERROR"
logger:warning(["line1\n", "line2\n","line3\n"]).
2022-04-06T18:44:07.412131+02:00 [warning] FORMAT ERROR: "~ts " - ["line1\n","line2\n","line3\n"]
ok
2022-04-06 18:44:20 +02:00
Zaiming (Stone) Shi
356fbf6ce1
Merge pull request #7519 from zmstone/0405-5.0-sync-ssl-lib-from-4.3
...
5.0 refactor: delete deprecated emqx_plugin_libs_ssl module
2022-04-05 22:57:56 +01:00
Zaiming (Stone) Shi
32694e601a
refactor: rename RUNNER_ETC_DIR to EMQX_ETC_DIR
2022-04-05 23:08:45 +02:00
Zaiming (Stone) Shi
1ac19b42e4
refactor(emqx_tls_lib): allow undefined for string fields
2022-04-05 22:38:08 +02:00
Zaiming (Stone) Shi
ba51f03cb7
refactor: remove the deprecated save_files_return_opts
2022-04-05 17:38:33 +02:00
Zaiming (Stone) Shi
822a4f9f73
feat: parameterise EMQX_ETC_DIR
...
both at build time and at runtime
2022-04-05 16:36:13 +02:00
ieQu1
8df76da9ac
chore(formatting): Fix formatting of modules, authz and authn
2022-04-05 11:01:53 +02:00
ieQu1
251192f84c
docs(schema): Fix typo
2022-04-05 09:54:06 +02:00
ieQu1
99b3f2f83e
docs(schema): Document missing records and fields
2022-04-04 23:58:43 +02:00
Zaiming (Stone) Shi
067e553c84
Merge pull request #7513 from zmstone/0404-5.0-bump-app-emqtt-version-to-1.5.0-and-app-lc-to-0.2.1
...
chore: update dependency app versions
2022-04-04 22:35:27 +01:00
Zaiming (Stone) Shi
6fd902ebc8
chore: update dependency app versions
...
lc: 0.2.1
emqtt: 1.5.0
2022-04-04 21:07:02 +02:00
Thales Macedo Garitezi
1df850710e
Merge pull request #7457 from thalesmg/telemetry-revamp-part3
...
feat(telemetry): add authn and authz info to telemetry data
2022-04-04 09:12:37 -03:00
Zaiming (Stone) Shi
850a95a43e
style: avoid using function-like macros in catch clauses
2022-04-01 16:58:51 +02:00
Zaiming (Stone) Shi
67608f623f
perf: improve demonitor performance
...
demonitor(Ref, [flush]) often will not be be able to get optimised
by the compiler hence fallback to a full mailbox scan to drain
the DOWN message.
This commit tries to avoid the 'flush' when it's for sure
that there is no 'DOWN' message sent.
2022-04-01 16:58:51 +02:00
Thales Macedo Garitezi
1fa68a277e
docs: fix some typos
2022-04-01 09:23:41 -03:00
JianBo He
2dce43ac8e
chore: ignore 'if' expression checking
2022-03-31 17:41:43 +08:00
JianBo He
244b123742
style(emqx): reformat emqx application
2022-03-31 17:41:43 +08:00
JianBo He
6a4d823b24
fix(sys): compatible with binary type protocol
2022-03-31 09:54:56 +08:00
ieQu1
d23a88d0a9
docs(schema): Minor improvements to spelling and formatting.
2022-03-30 13:05:56 +02:00
ieQu1
edb91e2e4a
docs(schema): Add descriptions for authZ and connector
2022-03-30 13:01:01 +02:00
ieQu1
d8e16b37da
docs(schema): Add documentation for the fields and records
2022-03-30 11:53:53 +02:00
ieQu1
c0e5139e9f
docs(schema): Add description for clientinfo_override
2022-03-30 11:53:51 +02:00
ieQu1
abb4d42406
docs(schema): Document conn_congestion fields
2022-03-30 11:53:38 +02:00
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
ieQu1
465e0e418c
docs(schema): Document rate_limit fields
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
firest
ed7ce7078a
test(frame): add test case for empty topic check
2022-03-29 17:14:36 +08:00
EMQ-YangM
4c8deeb544
fix(emqx_access_control): reformat code
2022-03-29 14:11:45 +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
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
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
Zhongwen Deng
86f455fd3a
fix: cluster conf must be readonly; add dashboard listener update hook
2022-03-25 18:43:15 +08:00
Zaiming (Stone) Shi
036266769c
docs: add more schema desc
2022-03-25 10:52:58 +01: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
Zhongwen Deng
55f805bac0
fix: dashboard_monitor crash
2022-03-25 14:18:56 +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
DDDHuang
9037b807ae
fix: add api auth failed code def & fix bad spelling
2022-03-24 12:12:19 +08: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
ieQu1
8967e13eee
docs(schema): Move descriptions from emqx.conf.all
2022-03-23 13:52:54 +01:00
ieQu1
d1e8fefa1f
docs(schema): Add descriptions of events
2022-03-23 13:52:51 +01:00
Dmitrii
a0bec0d921
Merge pull request #7103 from ieQu1/doc-schema
...
docs: Add to the schema
2022-03-23 10:46:11 +01:00
ieQu1
503c7f00ae
docs(schema): Fix typos
2022-03-23 08:40:59 +01: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
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
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
Zaiming (Stone) Shi
91bcf02970
chore: format code apps/emqx
2022-03-21 16:51:31 +01:00
Xinyu Liu
ecf4d4b206
Merge pull request #7356 from DDDHuang/update_version
...
chore: release 5.0.0 beta4
2022-03-21 21:16:48 +08:00
DDDHuang
e86fd9c4cb
feat: release V5.0.0 beta4
2022-03-21 19:45:03 +08:00
Zhongwen Deng
88e0c4067f
fix: api_plugins common test failed bump dashboard to v0.25.0.
2022-03-21 17:56:22 +08:00
Zhongwen Deng
5c9a87f251
chore: fix elvis warning: len_length is too long.
2022-03-21 17:56:22 +08:00
Zhongwen Deng
bf6339ebf4
chore: upgrade hocon to 0.26.3 to fix dialyzer warning
2022-03-21 17:56:22 +08:00
Zhongwen Deng
267fd398a6
fix: elvis warning
2022-03-21 17:56:22 +08:00
Zhongwen Deng
be0c26130a
feat: add transate_to meta to root schema.
2022-03-21 17:56:22 +08:00
Zhongwen Deng
18886f657b
feat: add emqx_config_logger.
2022-03-21 17:56:22 +08:00
DDDHuang
74e6fa5a94
fix: generate bridge api response code
...
fix: generate connector api response code SUITE
fix: generate exhook api response code
2022-03-21 14:12:19 +08:00
firest
8e5c118562
fix(retainer): fix spellcheck in schema
2022-03-21 10:14:05 +08:00
firest
beba7c9692
fix(limiter): improve code style and description
2022-03-18 16:00:42 +08:00
firest
d28b34f0d1
fix(limiter): improve test case and fix some bugs
2022-03-18 16:00:42 +08:00
firest
32030c8369
feat(limiter): remove the group(zone) level
2022-03-18 16:00:42 +08:00
lafirest
e7dec7835f
feat(limiter): change zone to group and simplify config
2022-03-18 16:00:42 +08:00
lafirest
d231b2222e
Merge pull request #7328 from lafirest/fix/delayed_lookup
...
fix(delayed): make it possible to lookup/delete other node's delayed …
2022-03-18 00:53:53 +08:00
firest
3fc4236565
fix(delayed): make it possible to lookup/delete other node's delayed message
2022-03-17 14:36:55 +08:00
Thales Macedo Garitezi
c45578c130
chore: bump gen_rpc
2022-03-16 15:20:13 -03:00
Zaiming (Stone) Shi
4a35aaa50e
Merge pull request #7304 from zmstone/update-emqtt-to-1.4.8
...
chore: update emqtt to 1.4.8
2022-03-15 17:50:38 +01:00
Zaiming (Stone) Shi
d7d0525733
Merge pull request #7313 from zmstone/chore-pin-ekka-0.12.2
...
chore: pin ekka 0.12.2
2022-03-15 14:30:18 +01:00
Thales Macedo Garitezi
58705a1383
Merge pull request #7289 from thalesmg/fix-ekka-monitor-cleanups
...
fix(ekka): run cleanups on node down events
2022-03-15 09:39:37 -03:00
Zaiming (Stone) Shi
f8d8bcb8bc
chore: pin ekka 0.12.2
...
with mnesia_down vs node_down fix
and fast rocksdb build
2022-03-15 12:16:47 +01:00
Zaiming (Stone) Shi
420ad32aa7
chore: update emqtt to 1.4.8
2022-03-15 12:11:44 +01:00
JimMoen
02ed2148d7
refactor: move api `top` -> `front`, `bottom` -> `rear`
2022-03-15 10:28:46 +08:00
JimMoen
e96bbf5c8b
refactor(authn_api): add 'after related' for move api
2022-03-15 10:28:46 +08:00
Thales Macedo Garitezi
2748c22b0c
fix(ekka): run cleanups on node down events
...
When using the RLOG DB Backend with Mria, replicant nodes do not
generate `mnesia down` events. Therefore, cleanup procedures that
some modules do when a node goes down do not work for replicants.
However, replicant do generate `node down` events, so that may be a
safer way to handle cleanup to take into account that type of node.
2022-03-14 15:55:58 -03:00
DDDHuang
e67138a6a7
fix: trace data dir suffix
2022-03-14 16:15:53 +08:00
Yang Miao
4c93a71446
Merge pull request #7290 from EMQ-YangM/add_metrics_and_status_to_authz
...
feat(emqx_authz): add metrics and status to authz
2022-03-14 09:34:11 +08:00
zhongwencool
f0f03d8a96
Merge pull request #6566 from zhongwencool/plugin-http-api
...
Plugin http api
2022-03-14 09:17:11 +08:00
EMQ-YangM
f287547251
feat(emqx_authz): add metrics and status to authz
2022-03-13 12:41:03 +08:00
Zhongwen Deng
704d1b20c6
fix: add bpapi.versions
2022-03-12 00:29:18 +08:00
Xinyu Liu
4025e79d1b
Merge pull request #7283 from terry-xiaoyu/default_value_for_rates
...
Fix HTTP APIs for getting rule events and testing rule SQLs
2022-03-11 20:17:58 +08:00
Xinyu Liu
3cf18a293d
Merge pull request #7271 from EMQ-YangM/add_metrics_and_status_to_authn
...
feat(emqx_authn_api): add metrics and status to authn
2022-03-11 19:21:44 +08:00
Shawn
590fa1b375
fix(rule): check request body for /rule_test crashes
2022-03-11 18:13:12 +08:00
EMQ-YangM
81f9482fac
fix(bpapi): add authn bpapi version
2022-03-11 17:41:39 +08:00
EMQ-YangM
b7a9f1e087
fix(emqx_map_lib): fix static checks errors
2022-03-11 15:56:14 +08:00
Zhongwen Deng
ab10163abf
chore: redefined qos
2022-03-11 15:27:40 +08:00
Zhongwen Deng
3938aa127b
feat: add /configs/global_zones API to aggregate emqx_zone_schema
2022-03-11 15:27:40 +08:00
EMQ-YangM
8af7131a49
fix(emqx_autn_api): wo do not need fixpoint
2022-03-11 14:18:50 +08:00
EMQ-YangM
7165fbc5ca
fix(emqx_authn_api): fix elvis error
2022-03-11 14:18:50 +08:00
EMQ-YangM
dce602c251
fix(emqx_authn_api): format metrics and status
2022-03-11 14:18:15 +08:00
JimMoen
f5caf66253
refactor(api): unified api name style
2022-03-11 11:07:55 +08:00
JimMoen
593e1a3efb
feat(authn): authn mnesia rows fuzzy searching by `clientid` or `username`
2022-03-10 10:01:40 +08:00
zhongwencool
f7ec74d367
Merge pull request #7248 from zhongwencool/improve-ct-coverage
...
test: Improve test coverage
2022-03-10 09:47:10 +08:00
Zhongwen Deng
7beaa91814
fix: schema mod error
2022-03-09 19:24:33 +08:00
JianBo He
857bd1e12a
test(exhook): remove helpless test case
2022-03-09 13:50:17 +08:00
JianBo He
0c8d739e2f
test: change assert condition
2022-03-09 13:50:17 +08:00
JianBo He
6dac422c93
chore: rename sys_topic to sys_topics
2022-03-09 13:50:17 +08:00
JianBo He
ecc8d92e6c
test(sys): refine prop_emqx_sys
2022-03-09 13:50:16 +08:00
JianBo He
ba6cfd595b
feat(sys): support client events notification
2022-03-09 13:50:16 +08:00
zhongwencool
514e374868
Merge pull request #7215 from thalesmg/fix-congestion-log
...
fix(congestion): fix congestion message formatting
2022-03-08 22:45:38 +08:00
zhongwencool
a5b2300ce4
Merge pull request #7236 from zhongwencool/config-api
...
feat(config): Filter unnecessary HTTP APIs
2022-03-08 22:33:45 +08:00
Zhongwen Deng
512a5c3b8e
fix: elvis warning
2022-03-08 14:50:10 +08:00
Zhongwen Deng
1244391cb7
fix: alarm crash when safe_publish not ready. Filter out unnecessary APIs
2022-03-08 14:14:54 +08:00
Xinyu Liu
c5f92ef856
Merge branch 'master' into improve_rule_bridge_apis
2022-03-08 11:12:30 +08:00
zhongwencool
2d9a086bbb
Merge pull request #7198 from zhongwencool/emqx-conf-ct-coverage
...
chore: add more test for emqx_config_handler
2022-03-08 10:04:02 +08:00
Zhongwen Deng
a7ba678463
fix: elvis warning
2022-03-08 09:05:23 +08:00
Zhongwen Deng
9b00f2756b
feat: Make sure that Specify Key and ?WKEY cannot be on the same level.
2022-03-07 21:48:31 +08:00
Shawn
9a9c92ae88
fix: update testcases for emqx_bridge
2022-03-07 16:48:36 +08:00
Thales Macedo Garitezi
3e08282ffb
chore: improve formatting
...
Without `~0p`, had some weird indentation while printing
2022-03-04 15:22:33 -03:00
Thales Macedo Garitezi
e76f67e985
style: please elvis checks
2022-03-04 11:14:13 -03:00
Thales Macedo Garitezi
0c76b6cf4d
fix(congestion): fix congestion message formatting
...
It seems that the `~ts` in the format string does not handle maps,
which results in a crash when trying to format the congestion message.
```erlang
28> io_lib:format("~ts", [#{}]).
** exception error: bad argument
in function io_lib:format/2
called as io_lib:format("~ts",[#{}])
```
Example:
```
2022-03-04T12:43:26.900609+00:00 [warning] '$kind': unclean_terminate, clientid: 192.168.2.116_bench_sub_11412_1782328074, context: badarg, exception: error, line: 582, mfa: emqx_connection:terminate/2, peername: 192.168.2.116:47358, stacktrace: [{io_lib,format,["connection congested: ~ts",[#{buffer => 4096,clientid => <<"192.168.2.116_bench_sub_11412_1782328074">>,conn_state => disconnected,connected_at => 1646397524470,high_msgq_watermark => 8192,high_watermark => 1048576,memory => 57064,message_queue_len => 20,peername => <<"192.168.2.116:47358">>,pid => <<"<0.259.28>">>,proto_name => <<"MQTT">>,proto_ver => 5,recbuf => 4096,recv_cnt => 2,recv_oct => 81,reductions => 267523,send_cnt => 333,send_oct => 149869,send_pend => 128,sndbuf => 332800,sockname => <<"10.10.1.13:1883">>,socktype => tcp,username => undefined}]],[{file,"io_lib.erl"},{line,187}]},{emqx_congestion,do_cancel_alarm_congestion,4,[{file,"/emqx/apps/emqx/src/emqx_congestion.erl"},{line,88}]},{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},{emqx_connection,terminate,2,[{file,"/emqx/apps/emqx/src/emqx_connection.erl"},{line,576}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}]
```
2022-03-04 11:00:49 -03:00
Zhongwen Deng
6ff2db6180
fix: elvis warning
2022-03-04 15:10:10 +08:00
Zhongwen Deng
153e1bcb91
fix: pre_update_config is executed one more time than expected
2022-03-04 14:43:51 +08:00
JimMoen
fab9ad91de
fix(schema): nullable => required
2022-03-04 10:06:36 +08:00
Zhongwen Deng
e2f386383d
fix: replace local ref by remote ref
2022-03-04 09:13:56 +08:00
Zhongwen Deng
71d20d153b
fix: replace deep_merge with merge.
2022-03-03 22:52:46 +08:00
Zhongwen Deng
4dfcb90b16
fix: get_roots broken
2022-03-03 20:31:30 +08:00
Zhongwen Deng
a862eb0252
chore: add more test for emqx_config_handler
2022-03-03 17:39:32 +08:00
JianBo He
7ba1db759e
Merge pull request #7182 from HJianBo/mqttsn-replay-register
2022-03-03 10:55:45 +08:00
Zaiming (Stone) Shi
4e64010a3b
build: more structured build info
2022-03-02 21:22:03 +01:00
JianBo He
5b1ba335cb
chore(session): add obtain_next_pkt_id/1
...
In the current implement, mqtt-sn gateway is using the emqx_session as
its session structure. We need a method to get a pkt_id for sending like
REGISTER related messages
2022-03-02 14:58:43 +08:00
JianBo He
123b667eb0
Merge pull request #7128 from lafirest/refactor/retainer_flow_control
...
refactor(emqx_retainer): use hierarchical limiter for the flow control
2022-03-02 14:46:56 +08:00
lafirest
9bdebabdbc
fix(retainer): fix/add some comment
2022-03-02 11:34:19 +08:00
Dmitrii
b4439c6710
Merge pull request #7176 from ieQu1/fix-add-hook
...
test(emqx_hook): Fix flaky t_add_hook_order test
2022-03-01 15:52:22 +01:00
Zaiming (Stone) Shi
f39ae6dfa7
Merge pull request #7177 from zmstone/docs-add-more-detailed-desc-for-strict-mode
...
docs: add more details desc for strct_mode config
2022-03-01 14:58:14 +01:00
ieQu1
87d7698e1e
test(emqx_hook): Fix flaky t_add_hook_order test
2022-03-01 14:15:11 +01:00
Zaiming (Stone) Shi
be34b927ad
docs: add more detailed description for strict_mode config
2022-03-01 13:11:16 +01:00
JimMoen
0849a2d4c7
test(frame): malformed utf-8 packet
2022-03-01 18:55:31 +08:00
JimMoen
9a75004759
feat(frame): utf-8 string check in `strict_mode`
2022-03-01 18:51:56 +08:00
Zaiming (Stone) Shi
b3745715c4
build: support a default edition
2022-02-28 17:03:42 +01:00
Zaiming (Stone) Shi
d029a73b99
refactor: make release edition static info at compile time
2022-02-28 16:37:47 +01:00
Zaiming (Stone) Shi
7df2a4655a
chore: pin hocon 0.26.1
...
0.26.0 had a bug where 'mapping' field is encoded as a integerx- list
2022-02-28 12:54:49 +01:00
firest
ec17c4d63c
fix(emqx_limiter): fix schema error
2022-02-27 23:37:20 +08:00
Zaiming (Stone) Shi
edb16f902e
chore: pin hocon 0.16.0 for 'mappings' in generated config doc
2022-02-27 14:44:28 +01:00
Thales Macedo Garitezi
69e0f9c6cf
Merge pull request #7109 from thalesmg/elixir-plugin-test
...
Add Elixir Plugin Template Test
2022-02-25 11:31:41 -03:00
zhongwencool
8d26ba6e9f
Merge pull request #7108 from thalesmg/fix-sys-mon-portinfo
...
fix(sys_mon): guard before calling `erlang:port_info`
2022-02-25 17:38:24 +08:00
zhongwencool
13a0eff678
Merge pull request #7125 from zhongwencool/schema-json
...
feat: generate hot config's schema.json and remove nullable option.
2022-02-25 17:18:20 +08:00
JianBo He
f45a00f3c1
Merge pull request #7126 from HJianBo/force-kill-takeover-failure-proc-5.0
...
refactor(cm): force kill the proc that failed to response takeover call
2022-02-25 17:11:37 +08:00
Zhongwen Deng
3aa9afc5bf
fix: rpc get node info maybe crash when emqx_sys process is not start yet.
2022-02-25 14:20:19 +08:00
Zhongwen Deng
4eec83b0e5
fix: memsup's memory alway false.
2022-02-25 14:19:57 +08:00
Thales Macedo Garitezi
0e319d5e4e
fix: rm useless `catch`
2022-02-24 16:28:00 -03:00
Thales Macedo Garitezi
427866f8ad
test(sys_mon): add test for closed port
2022-02-24 15:13:18 -03:00
Thales Macedo Garitezi
b46af91e74
test: disable export warning during tests
2022-02-24 14:20:36 -03:00
Thales Macedo Garitezi
d89925ce7b
fix(sys_mon): guard before calling `erlang:port_info`
...
Sometimes, the `emqx_sys_mon:procinfo/1` might be called with
something that is not a port, like `[]`. Not sure on the conditions
for this to happen.
```
2022-02-18T20:05:02.671592+00:00 [error] Generic server emqx_sys_mon terminating. Reason: {badarg,[{erlang,port_info,[[]],[{error_info,#{module => erl_erts_errors}}]},{emqx_sys_mon,portinfo,1,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,205}]},{emqx_sys_mon,'-handle_info/2-fun-5-',2,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,150}]},{emqx_sys_mon,suppress,3,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,184}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}]}. Last message: {monitor,<0.7796.0>,busy_dist_port,[]}. State: #{events => [{busy_dist_port,#Port<0.127>}],timer => #Ref<0.2758388682.1853620226.133920>}.
```
2022-02-24 14:07:09 -03:00
Zhongwen Deng
db584f79d6
feat: upgrade hocon to 0.25.0 to replace nullable with required.
2022-02-24 22:39:03 +08:00
JianBo He
ffafbfaaa6
test(cm): refine testcases
2022-02-24 21:00:54 +08:00
JianBo He
9c1fe4336b
refactor(cm): force kill the proc that failed to response takeover call
...
port from: #7026
2022-02-24 21:00:45 +08:00
firest
5bf1d77993
refactor(emqx_retainer): use hierarchical limiter for the flow control
2022-02-24 18:06:40 +08:00
JianBo He
fa921775e7
Merge pull request #6999 from lafirest/feat/esockd_limiter
...
feat(emqx_limiter): use hierarchical limiter for esockd
2022-02-24 17:33:51 +08:00
Thales Macedo Garitezi
278361e6b6
Merge pull request #7110 from thalesmg/fix-flaky-order-prop
...
test(fix): fix flaky prop
2022-02-23 09:09:23 -03:00
Zaiming (Stone) Shi
e6380a1911
Merge pull request #7104 from zmstone/fix-windows-build-5.0
...
[5.0] Fix windows build
2022-02-23 10:22:45 +01:00
zhongwencool
b7f808db9e
Merge pull request #7027 from DDDHuang/error_code
...
feat: support http error code & error code api
2022-02-23 16:12:20 +08:00
firest
511be52326
fix(emqx_limiter): fix dialyzer error
2022-02-23 10:29:25 +08:00
firest
e1875880bb
fix(emqx_limiter): rename emqx_htb_generic to emqx_esockd_htb_limiter
2022-02-23 09:56:26 +08:00
Zaiming (Stone) Shi
08d1b38bbe
chore: refine console printout about quic not started
2022-02-22 22:33:33 +01:00
Thales Macedo Garitezi
8141c38ce1
test(fix): fix flaky prop
...
Failing when duplicate elements were being generated.
```
An exception was raised: error:{assertEqual,
[{module,emqx_hooks_SUITE},
{line,65},
{expression,"Order"},
{expected,
[{5,'',''},
{5,'',''},
{4,'\223',''},
{2,'}Ijrµ\036',''}]},
{value,
[{5,'',''},
{4,'\223',''},
{2,'}Ijrµ\036',''}]}]}.
```
2022-02-22 17:57:00 -03:00
Thales Macedo Garitezi
3d19e77f00
Merge pull request #7090 from thalesmg/fix-use-tags-in-deps
...
fix(deps): use tags for dependencies
2022-02-22 09:09:37 -03:00
DDDHuang
a5d8f2ce3b
fix(api): banned api error code format
2022-02-22 17:14:35 +08:00
DDDHuang
98a11f3c15
fix(api): emqx_connector_api error code format
2022-02-22 17:14:35 +08:00
DDDHuang
90ee450a84
feat: support http error code & error code api
2022-02-22 17:14:35 +08:00
JimMoen
437feefdc0
fix(channel): server_keepalive only for MQTT v5.0
2022-02-22 10:50:49 +08:00
Thales Macedo Garitezi
16ad442bc3
fix(deps): use tags for dependencies
...
Some dependencies, like `bcrypt` and `quic`, have their references
declared as `branch`, yet there are no branches with those names, but
tags. Despite rebar3 managing somehow to handle that, if a project
managed by Mix tries to declare EMQX as its dependency, it's not able
to fetch those dependencies.
```
$ mix deps.get
* Updating emqx (https://github.com/emqx/emqx - v5.0-beta.3)
* Updating lc (https://github.com/qzhuyan/lc.git - 0.1.2)
* Updating gproc (https://github.com/uwiger/gproc - 0.8.0)
* Updating typerefl (https://github.com/k32/typerefl - 0.8.6)
* Updating jiffy (https://github.com/emqx/jiffy - 1.0.5)
* Updating cowboy (https://github.com/emqx/cowboy - 2.9.0)
* Updating esockd (https://github.com/emqx/esockd - 5.9.0)
* Updating ekka (https://github.com/emqx/ekka - 0.11.1)
* Updating gen_rpc (https://github.com/emqx/gen_rpc - 2.5.1)
* Updating hocon (https://github.com/emqx/hocon.git - 0.22.1)
* Updating pbkdf2 (https://github.com/emqx/erlang-pbkdf2.git - 2.0.4)
* Updating recon (https://github.com/ferd/recon - 2.5.1)
* Updating snabbkaffe (https://github.com/kafka4beam/snabbkaffe.git - 0.16.0)
* Updating bcrypt (https://github.com/emqx/erlang-bcrypt.git - origin/0.6.0)
error: pathspec 'origin/0.6.0' did not match any file(s) known to git
** (Mix) Command "git --git-dir=.git checkout --quiet origin/0.6.0" failed
```
Therefore, we change them to `tag`s.
2022-02-21 15:36:24 -03:00
JimMoen
e816e3e4a3
Merge pull request #7075 from JimMoen/refactor-authz-sources-api
...
refactor: authz_api_sources swagger spec
2022-02-22 01:24:42 +08:00
k32
d4458618b2
fix(hook): Executed hooks in deterministic order
2022-02-21 14:27:24 +01:00
k32
115c3f2d29
chore: Fix URLs
2022-02-21 10:13:09 +01:00
JimMoen
000020617c
refactor: authz_api_sources spec
2022-02-21 16:33:08 +08:00
lafirest
be2c36cfa0
feat(emqx_limiter): use hierarchical limiter for esockd
2022-02-21 11:37:38 +08:00
k32
9fb35a1d64
docs: Fix typo
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-02-18 18:35:16 +01:00
k32
1c62c6e60b
docs: Add documentation for the sysmon roots
2022-02-18 16:26:18 +01:00
k32
8566d2e246
Merge pull request #7051 from k32/schema-typos
...
docs: Fix typos
2022-02-18 15:38:51 +01:00
Zaiming (Stone) Shi
e330f789af
fix(ekka): pin version 0.12.1
...
print lock owner status before killing it
2022-02-18 09:19:57 +01:00
zhongwencool
0b74373464
Merge pull request #7043 from lafirest/test/ratelimiter
...
test(emqx_limiter): improve the code coverage of RateLimit to 87%
2022-02-18 09:59:23 +08:00
k32
5638bcb92b
docs: Fix typos
2022-02-17 23:22:31 +01:00
Zaiming (Stone) Shi
2a6d11c7f1
Merge pull request #7038 from zmstone/chore-rename-emqx-no-space-source-code
...
chore: EMQ X -> EMQX in source code
2022-02-17 21:13:43 +01:00
Zaiming (Stone) Shi
6a354d910e
chore: rename EMQ_X to EMQX in hrl file macros
2022-02-17 15:55:46 +01:00
zhongwencool
c88504f918
Merge pull request #7023 from zhongwencool/license-alarm-support
...
License alarm support
2022-02-17 22:09:51 +08:00
lafirest
3c92906405
test(emqx_limiter): improve the code coverage of RateLimit to 87%
2022-02-17 14:50:27 +08:00
Zaiming (Stone) Shi
64db085163
chore: EMQ X -> EMQX in source code
2022-02-16 22:08:12 +01:00
Zaiming (Stone) Shi
0528262705
chore(app.src): EMQ X -> EMQX in .app.src files
2022-02-16 17:51:45 +01:00
Zaiming (Stone) Shi
b3d9605722
chore(conf): EMQ X -> EMQX in conf files
2022-02-16 17:50:41 +01:00
Zaiming (Stone) Shi
79d7832a07
Merge pull request #7020 from zmstone/docs-more-renames-in-descriptive-info
...
docs: More EMQ X -> EMQX rename in descriptive strings
2022-02-16 13:43:19 +01:00
zhongwencool
310a97305a
Merge pull request #6997 from zhongwencool/epoch-rfc3339-convert
...
feat(schema): schema support epoch_second, epoch_millisecond type.
2022-02-16 16:51:38 +08:00
zhongwencool
34fe5082c4
fix(schema): schema global validations not working
2022-02-16 14:20:15 +08:00
Zaiming (Stone) Shi
2e94880bb6
docs: More EMQ X -> EMQX rename in descriptive strings
2022-02-15 22:39:11 +01:00
zhongwencool
1413809b81
Merge pull request #6948 from zhongwencool/fix-watermark-master
...
fix(watermark): watermark should use > instead of >=
2022-02-14 16:11:47 +08:00
zhongwencool
80169ccb68
chore: add more eunit for emqx_datetime
2022-02-14 15:30:03 +08:00
JianBo He
229a62bcc9
Merge pull request #6988 from HJianBo/acl-metrics-add
...
feat(metrics): add acl metrics statistics
2022-02-14 15:06:04 +08:00
zhongwencool
498434826a
feat(schema): schema support epoch_second, epoch_millisecond type.
2022-02-14 11:35:32 +08:00
Zaiming (Stone) Shi
b9343891e4
Merge pull request #6946 from zmstone/refactor-license-simplify-parser-error
...
refactor: treat throw exception as `{error, Reason}` return
2022-02-11 19:09:40 +01:00
Zaiming (Stone) Shi
e2a67760b1
fix(emqx_authz_file): throw exception for catch
2022-02-11 17:16:00 +01:00
JianBo He
f471214956
feat(metrics): add acl metrics statistics
2022-02-11 15:20:18 +08:00
JianBo He
e895de2c5e
Merge branch 'master' into port/slow_subs
2022-02-11 14:37:10 +08:00
DDDHuang
fbefc92178
Merge pull request #6969 from DDDHuang/ws_client_metrics
...
feat(metrics): ws client support more send&recv metrics
2022-02-11 11:14:56 +08:00
DDDHuang
511060adb4
fix(test): ws conn metrics
2022-02-11 09:38:41 +08:00
DDDHuang
0826084ce9
feat(metrics): ws client support more send&recv metrics
2022-02-11 09:38:41 +08:00
Thales Macedo Garitezi
609d8a5efa
fix(channel): wrong case clause when alias is inexistent (5.0)
...
Fixes #6978 .
2022-02-10 16:23:54 -03:00
Zaiming (Stone) Shi
91366a71a4
fix: try Expr of only catches exceptions in Expr but not cases clauses
2022-02-10 13:12:22 +01:00
Zaiming (Stone) Shi
a86b684535
fix(emqx_config_handler): do not log throw exception
2022-02-10 12:40:46 +01:00
Chris
14630568d6
feat: create tests for connector pgsql module and refactoring
2022-02-10 10:40:46 +01:00
firest
361ca5be42
fix(emqx_slow_subs): change rpc call to bpapi
2022-02-10 17:40:19 +08:00
firest
b9884de1d0
fix: fix proper test error
2022-02-10 16:09:17 +08:00
firest
2fcc24dea6
fix(emqx_slow_subs): fix test case error
2022-02-10 15:16:37 +08:00
lafirest
b09683bfcd
fix(emqx_slow_subs): fix some errors and test cases
2022-02-10 14:55:19 +08:00
lafirest
0c48bd92db
feat: port slow subs from v4.4
2022-02-10 14:51:37 +08:00
DDDHuang
fbb8f46fcd
fix(api): qos shcema & code formate
2022-02-10 10:33:39 +08:00
Shawn
fd87bce8f7
Merge pull request #6950 from terry-xiaoyu/remove_extra_spaces
...
fix: format the code to remove extra spaces
2022-02-10 09:35:18 +08:00
Thales Macedo Garitezi
e861f3963e
Merge pull request #6947 from thalesmg/fix-mgmt-cluster-print
...
fix(ctl): fix formatting when printing messages without arguments
2022-02-09 11:50:59 -03:00
Shawn
8207090419
fix: format the code to remove extra spaces
2022-02-09 18:46:49 +08:00
Shawn
e6997dc1ce
Merge pull request #6942 from terry-xiaoyu/hook_delivery_drop
...
Hook delivery drop
2022-02-09 18:28:56 +08:00
zhongwencool
47b1dde7fd
Merge pull request #6949 from zhongwencool/add-qos-type
...
feat(schema): support qos type.
2022-02-09 16:13:11 +08:00
Shawn
9118cfb4ad
fix(connection): revert metric names for 'recv_msg.dropped.await_pubrel_timeout'
2022-02-09 15:41:28 +08:00
zhongwencool
36cf00108c
feat(schema): support qos type.
2022-02-09 15:16:43 +08:00
zhongwencool
b2d77cac39
fix(watermark): watermark should use greater than(>), not greater than or equal to(>=).
2022-02-09 11:17:45 +08:00
lafirest
de75edd176
Merge pull request #6925 from lafirest/fix/flaky-test
...
fix(emqx_ratelimiter): relax the rate bound of test cases
2022-02-09 10:01:38 +08:00
Thales Macedo Garitezi
152bbe6bb3
refactor: rm unused fn
2022-02-08 18:18:18 -03:00
Thales Macedo Garitezi
01794c2d2c
fix(ctl): fix formatting when printing messages without arguments
...
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-08 17:48:19 -03:00
k32
5a1b18ae86
fix(system_monitor): Fix conditional start
2022-02-08 12:46:27 +01:00
Shawn
707284db31
fix(session): update calling to session APIs
2022-02-08 18:49:38 +08:00
Shawn
93092657b9
fix(session): update testcases
2022-02-08 18:33:06 +08:00
zhongwencool
3b4eade1ad
Merge pull request #6900 from zhongwencool/restricted-shell
...
feat(shell): add restricted shell and user_default
2022-02-08 17:25:28 +08:00
Shawn
2879001694
fix(metrics): rename metrics 'messages.dropped.expired' to 'messages.dropped.await_pubrel_timeout'
2022-02-08 17:14:59 +08:00
Shawn
06168f7080
refactor(session): pass ClientInfo as first params to APIs of emqx_session
2022-02-08 16:52:47 +08:00
zhongwencool
f3fa302d84
chore: print only the port number when bound on all interfaces.
2022-02-08 15:25:22 +08:00
zhongwencool
b50ceac9bb
chore(listener): change the listener binding format 0.0.0.0:port to :port.
2022-02-08 10:28:10 +08:00
Ilya Averyanov
17599432d1
feat(license): add license application
2022-02-07 19:05:47 +03:00
k32
9c5d35e0db
chore(ekka): Bump version to 0.12.0
2022-02-07 14:39:43 +01:00
k32
78c762479f
feat(router): Mark CM_SHARD and ROUTE_SHARD as dirty
2022-02-07 12:38:59 +01:00
k32
dbe1282d32
chore(mria): Bump version to 0.2.0
2022-02-07 12:37:13 +01:00
zhongwencool
6a701e098f
feat(shell): add restricted shell and user_default
2022-02-07 15:33:59 +08:00
lafirest
467bb830b1
fix(emqx_ratelimiter): relax the rate bound of test cases
2022-02-07 13:57:48 +08:00
k32
f699de9773
feat(system_monitor): Bump version to 3.0.0
2022-02-07 02:22:11 +01:00
Zaiming (Stone) Shi
507952c473
feat: dump schema json file to dashbarod static dir
2022-01-31 16:38:41 +01:00
Zaiming (Stone) Shi
fe24892b6d
fix(emqx_limiter): no white space in schema map name
2022-01-31 16:04:37 +01:00
Zaiming (Stone) Shi
f7703c906e
refactor: move plain_check impl to emqx_hocon
2022-01-29 10:16:55 +01:00
k32
052bd9081d
docs(schema): Fix typos in the schema files
2022-01-27 22:39:19 +01:00
Zaiming (Stone) Shi
0cde9e6ecf
Merge pull request #6878 from zmstone/slog-ftw
...
refactor: delete deprecated logging macros
2022-01-27 16:15:47 +01:00
Zaiming (Stone) Shi
d6f7ffec3c
Merge pull request #6881 from zmstone/refactor-upgrade-hocon-0.23.0
...
refactor: upgrade to hocon 0.23.0
2022-01-27 15:48:23 +01:00
zhongwencool
c049e296d4
Merge pull request #6852 from zhongwencool/fix-keepalive-init
...
fix(keepalive): keepalive desc improvement.
2022-01-27 22:41:10 +08:00
Zaiming (Stone) Shi
815c47e169
test: call logger apis directly
2022-01-27 15:19:50 +01:00
Thales Macedo Garitezi
bd0d331b64
Merge pull request #6636 from emqx/elixir-packages-mkII
...
ci(mix): build emqx packages with elixir
2022-01-27 11:10:30 -03:00
Kian-Meng Ang
fc92e4c8bf
docs: fix typos
2022-01-27 12:29:38 +01:00
zhongwencool
a7676d0163
fix(doc): Update the documentation/keepalive according to the review.
2022-01-27 18:57:35 +08:00
Zaiming (Stone) Shi
6bf5f2c426
test: fix old hocon API calls
2022-01-27 08:21:31 +01:00
zhongwencool
3ce3c5c805
fix(doc): Update the documentation according to the review
2022-01-27 10:54:11 +08:00
Zaiming (Stone) Shi
252d7e85d9
refactor: call new hocon apis
2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
8c114db168
chore: pin hocon 0.23.0
2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
1718360156
refactor: delete deprecated logging macros
2022-01-26 23:25:11 +01:00
Thales Macedo Garitezi
12f1757328
chore(mix): fix include path for mix
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
f34e87daeb
chore(ekka): update ekka -> 0.11.3
...
This ekka tag contains the core node discovery callback feature.
2022-01-26 14:19:39 -03:00
Zaiming (Stone) Shi
b9e507110c
build: add EMQX_ENTERPRISE compile flag
2022-01-26 14:25:59 +01:00
Zaiming (Stone) Shi
391e480824
build: parameterise package version
...
so that community and enterprise edition can be built from the
same branch
2022-01-26 14:25:59 +01:00
k32
6f8aa016c3
test(bapapi): Print errors to the console
2022-01-26 11:59:32 +01:00
k32
bdc6d18589
feat(bpapi): Version negotiation
2022-01-26 11:59:21 +01:00
zhongwencool
abc0a3526e
fix(keepalive): keepalive init with right recv_oct
2022-01-26 18:27:15 +08:00
zhongwencool
e458d4790c
chore(docs): update mqtt schema desc
2022-01-26 16:38:24 +08:00
Zaiming (Stone) Shi
2105d1f22b
test: call ct helpers to load config
2022-01-25 11:50:18 +01:00
Zaiming (Stone) Shi
bf7ac80a83
feat: add api to delete override conf files
...
used in tests
2022-01-25 08:29:04 +01:00
Zaiming (Stone) Shi
f1937e261c
refactor(emqx_config): apply cluster|local overrides on top of base
2022-01-24 13:30:42 +01:00
k32
d90566be5c
ci(bpapi): Fail static check on BPAPI violations
2022-01-21 13:55:09 +01:00
k32
9fad296385
Merge pull request #6809 from k32/bpapi-resource
...
refactor(emqx_resource): Decorate RPCs
2022-01-20 12:54:46 +01:00
zhongwencool
5bbe2ec1c6
Merge pull request #6766 from zhongwencool/fix-trace-api-return
...
fix(trace): create_trace return new trace; delete_trace return 204
2022-01-20 10:41:45 +08:00
k32
c2e5dfae97
fix(bpapi): Ignore emqx_plugin_libs_rule:cluster_call/3 function
2022-01-19 22:00:34 +01:00
k32
177c9c7f77
fix(bpapi): Ignore pmap for now
2022-01-19 19:09:55 +01:00
k32
7061e6eefe
refactor(emqx_exhook): Decorate RPCs
2022-01-19 18:18:20 +01:00
k32
ded45b161a
test(emqx_cm_SUITE): Fix flaky test
2022-01-19 16:48:53 +01:00
k32
a469c466a6
test(emqx_mgmt): Exempt do_query function from BPAPI static check
2022-01-19 16:48:53 +01:00
k32
97078002f2
refactor(emqx_cm): Decorate RPCs
2022-01-19 16:48:53 +01:00
DDDHuang
e7dd401de9
Merge pull request #6776 from DDDHuang/client_metrics_5x
...
feat(metrics): client metrics with more detail
2022-01-19 13:36:57 +08:00
k32
4e9fb00a0e
refactor(mgmt_trace): Decorate RPCs
2022-01-18 16:46:32 +01:00
k32
39766d0ab4
refactor(emqx_bridge): Decorate remote procedure calls
2022-01-18 15:25:34 +01:00
k32
fbd7b132ca
docs(bpapi): Clarify deprecation procedure
2022-01-18 15:25:34 +01:00
k32
2ccf02cea9
refactor(emqx_mgmt): Decorate RPCs
2022-01-18 14:07:02 +01:00
DDDHuang
98e7ce7b7c
fix(test): for paho qos3
2022-01-18 18:06:47 +08:00
DDDHuang
f87f80f6e4
feat(metrics): client metrics with more detail
2022-01-18 11:28:41 +08:00
zhongwencool
75ad2ba65c
fix(trace): create_trace return new trace; delete_trace return 204
2022-01-18 09:34:36 +08:00
k32
52441c92fa
Merge pull request #6758 from k32/bpapi-mgmt
...
refactor(emqx_mgmt): Decorate RPCs
2022-01-17 11:12:02 +01:00
k32
428eeeffc0
refactor(emqx_cm): Move lookup_client/1 to emqx_cm
2022-01-14 16:45:14 +01:00
k32
288f9254ba
refactor(emqx_mgmt): Decorate RPCs
2022-01-14 15:41:10 +01:00
zhongwencool
8b31466538
chore(trace): replace trace_filter by is_trace
2022-01-14 15:33:43 +08:00
zhongwencool
681ab6b754
fix(review): refactor function name base on review sugguestion
2022-01-14 15:00:05 +08:00
zhongwencool
9727eb514d
feat(trace): improve debug msg format
2022-01-14 15:00:05 +08:00
zhongwencool
dc6c49d7f5
chore(trace): always ?SLOG when ?TRACE
2022-01-14 15:00:05 +08:00
JimMoen
d8f49f8a5f
Merge pull request #6732 from JimMoen/telemetry-api-refactor
...
refactor(api): telemetry api swagger spec
2022-01-14 09:36:54 +08:00
k32
aa54c6135b
fix(bpapi): Move static checks to test directory
2022-01-13 20:58:33 +01:00
JimMoen
8c9d98b583
chore: LICENSE Copyright reserved
2022-01-13 16:40:08 +08:00
JimMoen
82e3565344
chore: major mode file variable for Emacs
2022-01-13 15:53:47 +08:00
k32
64d594d1df
Merge pull request #6705 from k32/bpapi-conf
...
refactor(emqx_conf): Decorate remote procedure calls
2022-01-12 22:32:35 +01:00
k32
1e795759ce
docs(bpapi): Add README
2022-01-12 21:36:24 +01:00
Zaiming (Stone) Shi
cc2ae5ed71
Merge pull request #6624 from HJianBo/fix-conf-name-prefix
...
Remove `emqx_` prefix for some config scopes
2022-01-12 20:36:52 +01:00
k32
784ca5bf24
fix(emqx_map_lib): Fix underspec
2022-01-12 16:20:13 +01:00
k32
d25258943b
feat(bpapi): Verify emqx cluster RPC
2022-01-12 16:19:46 +01:00
k32
04bac16741
fix(bpapi): Use argument types from the spec
2022-01-12 15:40:21 +01:00
k32
7b65684c45
refactor(emqx_conf): Decorate remote procedure calls
2022-01-12 15:40:21 +01:00
JianBo He
6e0a248555
chore: add namespace for _schema.erl module
2022-01-12 15:01:00 +01:00
JianBo He
b1959086d9
chore: fix elvis warnings
2022-01-12 13:51:37 +08:00
JianBo He
12cc9065f8
chore(limiter): change root name emqx_limiter > limiter
2022-01-12 13:51:37 +08:00
k32
cad4eff283
refactor(persistent_session): Decorate API calls
2022-01-11 14:28:29 +01:00
k32
26f4b2495b
test(bpapi): Run verification in CI
2022-01-11 11:26:35 +01:00
k32
f4bf749134
Merge pull request #6679 from k32/bpapi-emqx
...
refactor(emqx): Decorate remote procedure calls
2022-01-07 19:52:45 +01:00
k32
9602ce0250
Merge pull request #6678 from k32/broker-bpapi
...
refactor(emqx_broker): Decorate remote procedure calls
2022-01-07 16:23:12 +01:00
k32
8c72eeb8d1
refactor(emqx): Decorate remote procedure calls
2022-01-07 12:59:10 +01:00
k32
1754afdab0
refactor(emqx_broker): Decorate remote procedure calls
2022-01-07 12:07:29 +01:00
k32
de89f7b253
fix(emqx_rpc): Add types and remove impossible clauses
2022-01-07 12:06:41 +01:00
k32
2307040bec
fix(bpapi): Add more static checks exceptions
2022-01-07 10:57:53 +01:00
zhongwencool
977b1bb7ec
chore(test): add snabbkaffe for create_trace test
2022-01-07 11:08:40 +08:00
zhongwencool
07ba4ad05e
fix: delete error log when file enoent.
...
delete emqx_trace_api, replace LOG by SLOG
2022-01-07 10:24:26 +08:00
Thales Macedo Garitezi
9059f2005a
fix(elixir): put Patch in version and add missing deps
...
Elixir requires that we use version of the form `Major.Minor.Patch`.
Also, Mix requires dependecies to be declared in `rebar.config` so it
can include the header files correctly.
2022-01-06 10:54:45 -03:00
Zaiming (Stone) Shi
e9fb999236
Merge pull request #6667 from zmstone/chore-fix-copyright-update-script
...
chore: fix copyright update script to include more files
2022-01-06 13:45:24 +01:00
zhongwencool
3bdfa183f3
Merge pull request #6666 from JimMoen/merge-5.0-beta.3-to-master
...
Merge 5.0 beta.3 to master
2022-01-06 18:20:30 +08:00
Zaiming (Stone) Shi
9f7b513a3f
chore: fix copyright update script to include more files
2022-01-06 08:44:35 +01:00
JimMoen
9a115b99a4
Merge remote-tracking branch 'emqx/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-06 14:08:45 +08:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
zhouzb
f4ed3ccdd7
chore(release): update emqx release version
2022-01-05 23:30:06 +08:00
k32
22bdcfa4b5
fix(bpapi): Apply remarks
2022-01-05 14:37:26 +01:00
zhongwencool
d3d240e8d5
fix: revert hocon to 0.22.1
2022-01-05 19:50:11 +08:00
k32
9c675194f5
fix(bpapi): Fix dialyzer warnings
2022-01-05 12:10:48 +01:00
zhongwencool
c6c7f70a30
chore(hocon): upgrade hocon to 0.22.3
2022-01-05 15:57:19 +08:00
lafirest
81d862061a
Merge pull request #6557 from lafirest/fix/limiter
...
feat(emqx_limiter): improve burst implementation
2022-01-05 09:43:22 +08:00
k32
4f3f938d71
feat(bpapi): Introduce bpapi behavior
2022-01-05 01:43:18 +01:00
k32
0f6ec9d646
fix(bpapi): Fix build
2022-01-05 01:28:34 +01:00
k32
eaa71438b2
feat(bpapi): Typecheck function parameters
2022-01-05 01:28:34 +01:00
k32
64378be9a0
fix(bpapi): Optimize BPAPI dump size
2022-01-05 01:28:34 +01:00
k32
2c3af8d9fe
feat(bpapi): Move to emqx
...
Fix standalone build
2022-01-05 01:28:34 +01:00