zhongwencool
e6a98524b5
chore: improve retainer ct init between ce and ee
2022-08-15 09:42:21 +08:00
Ilya Averyanov
a19fbe214f
feat(node_rebalance): implement node evacuation and rebalancing
2022-08-13 11:32:14 +03:00
JianBo He
3e0f9b3881
Merge pull request #8628 from HJianBo/start-idle-checking-timer
...
Fix(exproto): start idle timer to avoid client leaking
2022-08-10 17:03:18 +08:00
Zaiming (Stone) Shi
56a0a19807
Merge pull request #8654 from zmstone/0804-chore-improve-lwm2m-object-id-error
...
fix(lwm2m): improve error logging for bad lwm2m requests
2022-08-09 10:05:12 +01:00
zhongwencool
19792bc2d0
Merge pull request #8660 from zhongwencool/enabled-default-modules
...
fix: enable emqx_mod_module if default_plugins
2022-08-09 14:17:31 +08:00
zhongwencool
25228ed248
test: fix compile warning
2022-08-09 09:37:05 +08:00
zhongwencool
4869c94e97
chore: replace / with _ in match_spec
2022-08-08 10:25:01 +08:00
zhongwencool
43e1087e13
test: add auth_mnesia count test
2022-08-05 11:34:04 +08:00
zhongwencool
f97820f913
test: add auth_mnesia count test
2022-08-05 11:07:16 +08:00
zhongwencool
1d9ee25c92
fix: support custom count function
2022-08-05 10:33:57 +08:00
Zaiming (Stone) Shi
616a2235f2
fix(lwm2m): improve error logging for bad lwm2m requests
2022-08-04 19:14:53 +02:00
Thales Macedo Garitezi
5e9462afc8
feat: add option to gc after TLS/SSL handshake (4.3)
...
Port of https://github.com/emqx/emqx/pull/8637
2022-08-04 08:51:50 -03:00
JianBo He
ec5c0816f7
chore: update app.src & appup.src
2022-08-03 14:01:01 +08:00
JianBo He
9e2987034b
chore(exproto): start idle timer for udp clients
2022-08-03 13:58:48 +08:00
Zaiming (Stone) Shi
744af708f1
chore: update appup files for 4.3.18
2022-08-02 15:58:04 +02:00
JianBo He
448ae41a64
chore: update changes
2022-07-27 09:58:27 +08:00
JianBo He
a5bf1a3b2d
chore(exproto): update app.src & appup.src
2022-07-27 09:38:46 +08:00
JianBo He
c188eeb1d9
fix(exproto): refine keepalive timer checking
2022-07-27 09:36:18 +08:00
JianBo He
db26956f3e
feat(exproto): keeping client information up to date
2022-07-27 09:36:18 +08:00
zhongwencool
91a7022e83
fix: duplicate rule when query by page
2022-07-26 11:13:29 +08:00
Ilya Averyanov
afbb3f295b
fix(lua_hooks): fix on_message_publish lua hook
2022-07-21 13:52:52 +03:00
Shawn
691407f9fd
fix: add type binary_file to emqx_rule_validator
2022-07-20 11:16:44 +08:00
zhongwencool
5a25c8b682
Merge pull request #8428 from zhongwencool/fix-subid-undefined
...
fix: get subscriptions crash when subid is undefined
2022-07-13 17:08:55 +08:00
zhongwencool
c5dc86a060
Merge pull request #8450 from zhongwencool/list-rules-with-filter
...
feat: list rules support for pagination and fuzzy filtering
2022-07-13 14:21:40 +08:00
zhongwencool
9b433eb002
fix: list_rules support enable_paging
2022-07-13 10:06:18 +08:00
DDDHuang
790f97c853
fix: better zh param name
2022-07-12 14:53:25 +08:00
zhongwencool
d1254faf6f
feat: list rules support for pagination and fuzzy filtering
2022-07-08 16:54:35 +08:00
firest
e1346148ec
chore: bump version && update appup
2022-07-06 18:28:08 +08:00
firest
5c2797e1ca
chore: Add compatibility note
2022-07-06 18:13:26 +08:00
firest
6cd79f92e0
fix(emqx_auth_http): make configure backward compatible
2022-07-06 18:06:06 +08:00
firest
85b0ce3843
fix: change the type of enable_pipelining from bool to integer
2022-07-06 18:05:56 +08:00
zhongwencool
5a9638b09b
fix: get subscriptions crash when subid is undefined
2022-07-06 17:12:11 +08:00
JianBo He
ad7c2456e6
Merge pull request #8386 from HJianBo/port-new-4316
...
Fix fail to join old version cluster crash
2022-07-05 09:38:27 +08:00
Thales Macedo Garitezi
1a6cf38c00
fix: fix list difference precedence
...
```erlang
1> [a, b, c] ++ [d] -- [a].
[a,b,c,d]
2> ([a, b, c] ++ [d]) -- [a].
[b,c,d]
```
2022-07-04 16:38:49 -03:00
JianBo He
c1b3cc756c
chore: bump mgmt/dashboard vsn
2022-07-04 13:57:00 +08:00
JianBo He
6eadacd5a2
chore: bump rule-engine app vsn
2022-07-04 11:32:05 +08:00
Thales Macedo Garitezi
fcb2d3dc51
fix(mgmt): use correct arity fn
2022-07-01 15:54:02 -03:00
Thales Macedo Garitezi
5c89998049
fix(hooks): return error on hook-removed subscription rather than deleting it
...
Following https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901178
2022-06-29 11:08:22 -03:00
JianBo He
e3bf11fe39
chore: stop http listener to load latest http hanlders
2022-06-29 20:52:11 +08:00
Ilya Averyanov
4447948c5e
fix: handle claim verification errors correctly
2022-06-28 19:36:46 +03:00
Ilya Averyanov
f238e8f83d
fix: update JWKS renewal timer correctly
2022-06-28 09:54:12 +03:00
Zaiming (Stone) Shi
9af4cb75ef
Merge pull request #8324 from zmstone/0626-fix-mem-stats
...
chore: return system total and used memory in node_info
2022-06-27 07:04:45 +01:00
JianBo He
9bb3533d11
fix(exhook): guarantee sequential dispatch of client's events from the same node
...
fix: https://github.com/emqx/emqx/issues/7569
2022-06-27 11:27:44 +08:00
JianBo He
08976c6946
Merge pull request #8314 from lafirest/feat/exhook_tcp_opts
...
Feat/exhook tcp opts
2022-06-27 11:26:02 +08:00
Zaiming (Stone) Shi
c4f1c83003
chore: return system total and used memory in node_info
2022-06-26 21:16:55 +02:00
firest
9ad1e5c08e
chore(exhook): bump version && update appup
2022-06-24 17:52:29 +08:00
firest
abe2a9cb45
feat(exhook): expose tcp some options for grpc client
2022-06-24 17:50:05 +08:00
Shawn
0a99e835e7
fix: fallback action not triggered when send to webhook failed
2022-06-24 14:34:40 +08:00
Xinyu Liu
14a37bbc89
Merge pull request #8288 from thalesmg/fix-client-sub-hook
...
fix(hooks): use hook response to stop subscriptions
2022-06-23 11:42:42 +08:00
DDDHuang
5b62334e89
Merge pull request #8291 from DDDHuang/kafka_import
...
fix(kafka): data backup, support old strategy style
2022-06-22 11:49:48 +08:00
DDDHuang
6cf583a301
fix(kafka): data backup, support old strategy style
2022-06-22 11:03:34 +08:00
Thales Macedo Garitezi
4bda62b195
fix(hooks): use hook response to stop subscriptions
...
Fixes https://github.com/emqx/emqx-lua-hook/issues/118
1) If the Lua hook returns an empty list, it should replace the final
topic filter list.
2) The subscribed topics after running the 'client.subscribe' hook
should not contain topics filtered out by the hooks.
2022-06-21 17:06:39 -03:00
Zaiming (Stone) Shi
b4cdfcb709
Merge pull request #8160 from gsychev/webhook_json_fix
...
fix(web_hook): proper json encoding
2022-06-16 20:11:28 +01:00
DDDHuang
fcdb6217db
fix: update grpc deps & deps in root rebar.config
2022-06-16 10:49:53 +08:00
Georgy Sychev
f3b596eb7e
fix(webhook): removed User-Property field from message
2022-06-15 20:29:41 +04:00
Zaiming (Stone) Shi
83e9876e68
Merge pull request #8188 from zmstone/0612-build-exclude-sub-build-dirs
...
build: ignore _build sub-dir in release dir
2022-06-13 15:53:02 +01:00
Zaiming (Stone) Shi
38b7e5fa11
chore: bump app vsn for emqx_dashboard
2022-06-13 15:00:03 +02:00
DDDHuang
fbd179b5f5
Merge pull request #8166 from DDDHuang/republish
...
feat: republish support qos & retain placeholder
2022-06-13 16:46:30 +08:00
DDDHuang
1e02656035
fix(rule): better func name for emqx_rule_utils
2022-06-13 16:27:41 +08:00
DDDHuang
c5f754c3b8
fix(suite): add republish qos & retain test case
2022-06-10 17:21:45 +08:00
DDDHuang
e1e2fd50fd
fix(republish): action input editable_select
2022-06-10 16:22:35 +08:00
DDDHuang
7d848950c7
fix(republish): to_qos & to_retain, add new util funcs
2022-06-10 16:10:30 +08:00
DDDHuang
ac700b8e6f
fix(rule): replubish SUIT
2022-06-09 17:35:55 +08:00
DDDHuang
6b1da3bcc8
feat: republish support qos & retain placeholder
2022-06-09 14:55:07 +08: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
1acbe4f721
chore(emqx_rule_engine): bump app vsn and update appup
2022-06-06 23:19:39 +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
JianBo He
bfa54523c6
chore: revert the needless appup.src changes by #8061
2022-05-27 16:15:00 +08:00
DDDHuang
78e5aa30d7
fix: rule engine clear resource bad name & type
2022-05-27 11:00:03 +08:00
DDDHuang
64a455bf8e
fix: old date format style example & some code format
2022-05-26 16:06:04 +08:00
DDDHuang
e1ad8aab46
fix: date format funs & logger conf & appup & change log
2022-05-26 13:13:00 +08:00
DDDHuang
4fc5cb2817
fix: rule engine date format fun & date to timestamp
2022-05-26 12:57:53 +08:00
Shawn
d9252dc672
fix(schema): init resources before restoring schema registry
2022-05-24 14:37:44 +08:00
JianBo He
355f859a9b
test: format data-export files
2022-05-24 14:37:44 +08:00
JianBo He
0eef297747
chore: fix dialyzer error
2022-05-24 14:37:44 +08:00
JianBo He
1531b34f8a
test: add cases for importing e427
2022-05-24 14:37:44 +08:00
JianBo He
8fe933e885
fix: ensure auth_mnesia started first
2022-05-24 14:37:44 +08:00
Shawn
6e7cbc1b9b
chore: move epgsql deps to the top-level rebar.config
2022-05-24 09:33:17 +08:00
JianBo He
2b81839126
chore(pgsql): restart emqx_auth_pgsql due to the egpsql upgraded
...
We have to restart the emqx_auth_pgsql because epgsql has upgraded 4.4.0 to 4.6.0
see: #8001
2022-05-23 20:27:41 +08:00
JianBo He
c93626e97f
chore: update changes and appup.src for emqx_management
2022-05-23 18:05:41 +08:00
JianBo He
b97f7fa8fc
Merge pull request #8005 from thalesmg/fix-mgmt-listener-port
...
fix(mgmt): allow binding to specific interface
2022-05-23 18:01:45 +08:00
DDDHuang
e73cd57b5a
fix: epgsql use emqx fork
2022-05-23 14:35:23 +08:00
JimMoen
69abca17f2
chore(appup): bump app version & update appup
2022-05-22 22:06:02 +08:00
JimMoen
bd23dae523
refactor(auth): auth apps use counter in emqx_metrics
2022-05-22 22:06:02 +08:00
Thales Macedo Garitezi
e57e2f68d4
fix(mgmt): allow binding to specific interface
...
When one tries to define the management http listener as, for example,
`172.25.0.2:8081`, ranch is given `{port, {"172.25.0.2",8081}}` and
breaks.
```sh
env EMQX_MANAGEMENT__LISTENER__HTTP=172.25.0.2:8081 make quickrun
```
```
2022-05-20T13:14:19.451272-03:00 [error] Supervisor: {<0.2485.0>,ranch_listener_sup}. Context: start_error. Reason: badarg. Offender: id=ranch_acceptors_sup,pid=undefined.
2022-05-20T13:14:19.451400-03:00 [error] crasher: initial call: supervisor:ranch_acceptors_sup/1, pid: <0.2487.0>, registered_name: [], exit: {badarg,[{inet_tcp,listen,2,[{file,"inet_tcp.erl"},{line,166}]},{ranch_acceptors_sup,init,1,[{file,"ranch_acceptors_sup.erl"},{line,39}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,330}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,423}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}, ancestors: [<0.2485.0>,ranch_sup,<0.2187.0>], message_queue_len: 0, messages: [], links: [<0.2485.0>], dictionary: [{logger,error_logger}], trap_exit: true, status: running, heap_size: 610, stack_size: 29, reductions: 612; neighbours:
2022-05-20T13:14:19.451754-03:00 [error] Minirest(Handler): Start http:management listener on {"172.25.0.2",8081} unsuccessfully:
```
So, it’s currently not possible to make the management listener bind
to a specific interface.
2022-05-20 16:50:36 -03:00
DDDHuang
e6a2a3d5d2
Merge pull request #7999 from terry-xiaoyu/ldap_flaky_tests
...
fix(test): flaky test cases of auth_ldap
2022-05-20 15:26:22 +08:00
Xinyu Liu
e68c100cb2
Merge pull request #8001 from DDDHuang/up_pgsql_v43
...
Update pgsql SDK for otp23 & otp24
2022-05-20 15:19:09 +08:00
Shawn
35d091aa1b
fix(test): flaky test cases of auth_ldap
2022-05-20 14:18:39 +08:00
DDDHuang
c10c75ce00
fix: appup for epgsql 4.4.0 -> 4.6.0
2022-05-20 14:15:52 +08:00
DDDHuang
ae71125271
fix: update pgsql sdk for otp23 & otp24
2022-05-20 14:04:53 +08:00
Xinyu Liu
5806d5107f
Merge pull request #7991 from EMQ-YangM/add_rule_engine_func
...
feat: add rule engine function float2str/2
2022-05-19 15:31:45 +08:00
EMQ-YangM
7b38c66538
feat: add rule engine function float2str/2
2022-05-19 14:18:22 +08:00
zhongwencool
3df5c15819
feat: client apisupport mqueue_len/mqueue_dropped filter
2022-05-18 23:05:02 +08:00
Xinyu Liu
03c1efa439
Merge pull request #7977 from EMQ-YangM/hexstr2bin_support_half_byte
...
fix: hexstr2bin support half byte
2022-05-18 17:47:23 +08:00
EMQ-YangM
de1d8909c3
fix: hexstr2bin support half byte
2022-05-18 17:45:26 +08:00
DDDHuang
f269260293
Merge pull request #7745 from DDDHuang/fetch_re_status
...
fix: test resource with fetch new status
2022-05-18 15:55:07 +08:00
DDDHuang
71a7d71f68
fix(rule_engine): bad status SUITE
2022-05-18 15:18:12 +08:00
DDDHuang
a67dff4568
fix(rule_engine): better function name for resource
2022-05-18 11:17:06 +08:00
DDDHuang
f3bef3c81c
fix(rule_engine): remove resource with clean alarms
2022-05-18 10:37:54 +08:00
DDDHuang
a5716318b6
fix: better code format
2022-05-18 09:59:35 +08:00