Commit Graph

6037 Commits

Author SHA1 Message Date
Zaiming Shi eb03c343bc fix(mgmt): Wrong ifdef EMQX_ENTERPRISE compile scope 2021-03-03 19:06:12 +01:00
z8674558 284fcab12d test(.github): run dialyzer on pull request 2021-03-04 00:09:44 +09:00
Zaiming Shi a368453768 fix(mgmt): typo in ifdef macro 2021-03-03 15:15:33 +01:00
zhanghongtong f391e039c9 build(CI): fix syntax error for actions 2021-03-03 21:41:09 +08:00
zhanghongtong 7a915efaa2 build(CI): update build packages workflows 2021-03-03 21:38:14 +08:00
zhanghongtong ee776c5099 chore(CI): update events that trigger workflows 2021-03-03 20:55:45 +08:00
zhanghongtong f0d42bc6f5 build(CI): fix build error on windows in github actions 2021-03-03 19:48:34 +08:00
z8674558 3daefe954b chore(src): fix elvis 2021-03-03 20:06:31 +09:00
z8674558 a8558bc7b5 chore(emqx_channel): ignore peer_cert_as/5 from dialyzer 2021-03-03 20:06:31 +09:00
z8674558 119bbc4881 chore(emqx_bridge_msg): add empty props 2021-03-03 20:06:31 +09:00
z8674558 71ca1e4d78 chore(emqx_lwm2m_coap_resource): ignore coap_discover/2 from dialyzer 2021-03-03 20:06:31 +09:00
z8674558 117c0cf252 chore(emqx_lwm2m_message): pass integer from list 2021-03-03 20:06:31 +09:00
z8674558 7edd66e9d6 chore(emqx_lwm2m_message): comment out unused clause 2021-03-03 20:06:31 +09:00
z8674558 467569d5ac chore(emqx_lwm2m_protocol): rm unused clause 2021-03-03 20:06:31 +09:00
z8674558 43fc842057 chore(emqx_lwm2m_protocol): default username, password is null -> undefined 2021-03-03 20:06:31 +09:00
z8674558 e1b915b91c chore(emqx_tracer): pass proper map 2021-03-03 20:06:31 +09:00
z8674558 1f238f4c26 chore(emqx_retainer): avoid race condition 2021-03-03 20:06:31 +09:00
z8674558 70625b1942 chore(emqx_sn_gateway): rm unused clauses 2021-03-03 20:06:31 +09:00
z8674558 1504164933 chore(src): fix dialyzer warnings (match values) 2021-03-03 20:06:31 +09:00
Zaiming Shi bd3bd906ca
Merge pull request #4272 from zmstone/chore-build-remove-env-var-for-ce-ee
chore(build): use only mark file to tell apart ce ee
2021-03-03 11:13:33 +01:00
Zaiming Shi 2c5f2a8cdc
Merge pull request #4269 from zmstone/chore-replayq-upgrade-to-0.3.2
chore(deps): upgrade replayq to version 0.3.2
2021-03-03 06:19:52 +01:00
Zaiming Shi 8316f8cc34 fix(rule-engin-api): transform input config for update requests 2021-03-03 09:19:07 +08:00
Zaiming Shi cd0890796d chore(build): use only mark file to tell apart ce ee 2021-03-02 23:38:10 +01:00
Zaiming Shi b176300635 chore(ci): check rebar dependency integrity in CI 2021-03-02 20:38:44 +01:00
Zaiming Shi c61080c862 chore(build): write rendered rebar.config only when debugging 2021-03-02 20:37:45 +01:00
Zaiming Shi e3407b9556 chore(build): fix rebar dependency and add a script to ensure integrity 2021-03-02 20:30:55 +01:00
Zaiming Shi 6fb5c9de42 chore(deps): upgrade replayq to version 0.3.2 2021-03-02 18:10:26 +01:00
Zaiming Shi 292358dc38
Merge pull request #4267 from zmstone/fix-config-use-config-file-default-value-for-log-to
fix(config): use config value default log.to for daemon mode
2021-03-02 16:37:26 +01:00
Zaiming Shi 5d71e51985 fix(config): Do not allow customizing cuttlefish env override prefix
We have quite a few EMQX_ prefixed variables used in bash scripts
having to meta-programming bash is not quite readable
2021-03-02 15:29:44 +01:00
Zaiming Shi fc03d7aea9 fix(config): use config value default log.to for daemon mode 2021-03-02 15:28:13 +01:00
Zaiming Shi fdc7f2a9ec
Merge pull request #4266 from zmstone/chore-config-change-default-log-to
chore(config): Change default log_to config
2021-03-02 14:48:56 +01:00
Zaiming Shi 6b2949e2c1 chore(config): Change default log_to config
By default log to file.
When start from console or forgreground, only log to console.
Only log to file for package builds.
2021-03-02 14:05:04 +01:00
JianBo He 2fb5dbd546 revert(bridge-mqtt): remove the mqtt_sub resource
We have several reasons to remove this feature:

1. The design does not make sense. A rule engine resource should
not have an impact on the system's messages directly after it is created.
This mqtt_sub actually conflicts with any design concept of the rules engine.

2. The implementation is incorrect. mqtt_sub uses a client pool to establish
a subscription relationship to an MQTT Broker. This causes a message to be
sent repeatedly to EMQ X. Unless a shared subscription is used,
or a Pool Size of 1 is configured.

3. The emqx-bridge-mqtt supports all the features of mqtt_sub.

This feature introduced by https://github.com/emqx/emqx-bridge-mqtt/pull/78.
And it released to v4.2.0 (NOT WORK), v4.2.1-v4.2.7 (FIXED)
2021-03-02 18:56:21 +08:00
Zaiming Shi 7bf5bb26e7 fix(scripts): Ensure ekka in ERL_LIBS for remote nodes 2021-03-02 18:55:55 +08:00
zhanghongtong db92f79713 chore(emqx_modules): add emqx_modules api path 2021-03-02 18:47:09 +08:00
zhanghongtong 8e5cfaf0cc chore(emqx_modules): delete plugin flag for emqx_modules 2021-03-02 18:47:09 +08:00
zhanghongtong 1ea4a9eb7d chore(emqx_modules): enable emqx modules by default 2021-03-02 18:47:09 +08:00
zhanghongtong cae0849152 fix(emqx_channel): fix bug when publish deny
fix the bug of replying to puback when the publish message with Qos equal to 2 is deny
2021-03-02 17:54:22 +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
Shawn cc373df49a fix(etc): remove .d suffix from dir names 2021-03-02 16:47:22 +08:00
JianBo He 9076af1c06 chore(coap): upgrade gen_coap to v0.3.2
The 0.3.2 fixes some redundant log printing in a DTLS
connection
2021-03-02 16:31:18 +08:00
z8674558 2e199126dc fix(emqx_bridge_mqtt_actions): string -> file 2021-03-02 15:00:42 +09:00
z8674558 829a39eade fix(emqx_bridge_mqtt_actions): string -> password 2021-03-02 15:00:42 +09: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
zhanghongtong 24d954282d chore(emqx_management): update test case 2021-03-02 09:35:47 +08:00
zhanghongtong 033f8619eb chore(emqx_management): abstract data backup 2021-03-02 09:35:47 +08:00
zhanghongtong 4e9330a37e chore(emqx_management): merge enterprise to opensource 2021-03-02 09:35:47 +08:00