Commit Graph

13812 Commits

Author SHA1 Message Date
Stefan Strigler
6cbabab35c
Merge pull request #10059 from sstrigler/EMQX-8740-e-5-0-optimize-the-api-to-return-error-messages
rule engine api format errors in a human readable way
2023-03-03 11:31:41 +01:00
Stefan Strigler
6ebd3dc747 feat(emqx_rule_engine): decompose error tuples
sqltester for instance returns sth like {"...sytnax error...", OrigSql}
2023-03-03 09:59:24 +01:00
Stefan Strigler
44eca1fa72 fix(emqx_rule_engine): don't crash if we can't encode json 2023-03-03 09:36:13 +01:00
Stefan Strigler
072d310507 style: fix zn translation 2023-03-03 09:32:28 +01:00
Kjell Winblad
6a87b119b0 docs: add word to spellcheck dict 2023-03-03 08:32:43 +01:00
Stefan Strigler
64b5e9585e feat(emqx_rule_engine): API format errors in a human readable way 2023-03-02 16:49:11 +01:00
William Yang
6649a4f7d1 docs: add change logs 2023-03-02 15:57:01 +01:00
Zaiming (Stone) Shi
4eb9a69df0 feat(bin/emqx): diagnose boot failure
Prior to this change, when EMQX daemon mode failed to start
it's not quite easy for users to understand what went wrong.
All the know is the node did not start in time
and then instructed to boot the node in 'console' mode wishing
for some logs.
However, the node might actuay be running, causing 'console' mode
to fail with a different reason.

With this change, after a filure of daemon mode boot,
we issue a diagnosis.
1. if node can not be found from ps -ef, instruct the user
   to find information in erlang.log.N
2. if the node is found running, but not responding to pings
   instruct the user to check if the node name is
   resolvable and reachable
3. if the node is responding to pings but emqx app is not
   running, then it's likely a bug. so the user is advised
   to report a github issue.
2023-03-02 14:46:09 +01:00
Zaiming (Stone) Shi
c4c0c9cc7e fix(bin/emqx): no need to ping node before attach 2023-03-02 14:32:10 +01:00
Zaiming (Stone) Shi
8a9984cce9 docs: add a comment in docker README.md 2023-03-02 14:32:10 +01:00
William Yang
baf01617cd fix(quic): mark unsupp TLS options deprecated 2023-03-02 14:03:44 +01:00
SergeTupchiy
806503e36e
Merge pull request #10054 from emqx/9031-handle-obfuscated-fields-in-bridges-probe
fix: Handle obfuscated fields in bridges_probe API
2023-03-02 14:49:53 +02:00
Stefan Strigler
be3fd24019
Merge pull request #10056 from sstrigler/EMQX-9064-bridge-api-do-not-return-403-in-case-of-inconsistency-in-application-logic
Bridge API: do not return 403 in case of inconsistency in application logic
2023-03-02 13:34:29 +01:00
Kjell Winblad
65f4a6feab build: fix diverged dependencies 2023-03-02 13:02:11 +01:00
Zaiming (Stone) Shi
8ec8b9075e
Merge pull request #10057 from id/ci-build-slim-packages-for-release-branch
ci: build slim packages on push to release-50
2023-03-02 12:31:04 +01:00
Kjell Winblad
96318bda1d build: run run.sh tests without being asked for sudo password
This commit makes it possible to run the scripts/ct/run.sh script
without being asked for sudo password if one instead wants to use the
run docker container with root user trick to reset owner of files.

One simply has to set the environment variable
EMQX_TEST_DO_NOT_RUN_SUDO.
2023-03-02 12:22:11 +01:00
Kjell Winblad
67acdf0888 feat: add clickhouse database bridge
This commit adds a Clickhouse bridge to EMQX 5. The bridge is similar to
the Clickhouse bridge in the 4.4, but adds the possibility to use
different formats (such as JSON) for values to be inserted.
2023-03-02 12:22:11 +01:00
Stefan Strigler
8bdef1300b
style: fix punctuation changes/ce/fix-10056.en.md
Co-authored-by: ieQu1 <99872536+ieQu1@users.noreply.github.com>
2023-03-02 12:16:17 +01:00
Ivan Dyachkov
258329b9c7 ci: build slim packages on push to release-50 2023-03-02 11:57:38 +01:00
Stefan Strigler
57ea098d90 chore: add changelog 2023-03-02 11:30:38 +01:00
Stefan Strigler
39e1cf9502 fix(emqx_bridge): let it crash instead of 400 on failed reset 2023-03-02 11:23:07 +01:00
Stefan Strigler
4c23ab097d fix(emqx_bridge): return 400 if operation not possible 2023-03-02 11:23:07 +01:00
Stefan Strigler
9fb74bfc87
Merge pull request #10050 from sstrigler/EMQX-9063-bridges-api-consistently-return-404-if-resource-does-not-exist
fix: consistently return 404 in case bridge is not found or invalid
2023-03-02 11:20:56 +01:00
Stefan Strigler
680a4362d1 fix: match macro variables 2023-03-02 10:12:56 +01:00
Zaiming (Stone) Shi
6679bfc49d
Merge pull request #10053 from id/chore-ensure-docker-latest-tag-release-50
Chore ensure docker latest tag release 50
2023-03-02 09:26:22 +01:00
Stefan Strigler
76f97010bb style: change wording 2023-03-02 09:14:52 +01:00
Serge Tupchii
77dea0c77a fix: Handle obfuscated fields in bridges_probe API 2023-03-01 22:05:23 +02:00
Ivan Dyachkov
6be9967d2d chore: add a reminder to push the tags 2023-03-01 20:51:12 +01:00
Ivan Dyachkov
7a154e4d58 chore: docker-latest tag can be create automatically in cut.sh 2023-03-01 20:51:03 +01:00
Zaiming (Stone) Shi
43bedf1d4c
Merge pull request #10048 from zmstone/0301-merge-release-50-to-master
0301 merge release 50 to master
2023-03-01 20:22:07 +01:00
Stefan Strigler
3f324f85bc fix: consistently return 404 in case bridge is not found or invalid
Also: fix some typos and be more verbose
2023-03-01 18:03:49 +01:00
Zaiming (Stone) Shi
a76ef24493 docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
Zaiming (Stone) Shi
a5f31d0bf4 Merge remote-tracking branch 'origin/master' into 0301-merge-release-50-to-master 2023-03-01 14:04:29 +01:00
Stefan Strigler
1b305e66ab
Merge pull request #10047 from sstrigler/EMQX-9056-add-missing-changelog
EMQX-9056 add missing changelog
2023-03-01 13:36:55 +01:00
Stefan Strigler
bc1750703a chore: add changelog for PR 10013 2023-03-01 12:54:36 +01:00
Stefan Strigler
c9f8e3ca03 chore: add changelog for PR 10014 2023-03-01 12:49:21 +01:00
Zaiming (Stone) Shi
b04f7ecccf chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
Zaiming (Stone) Shi
0185c81f69 chore: bump opensource edition version to v5.0.19 2023-03-01 11:53:24 +01:00
Zaiming (Stone) Shi
fdc0ad6669
Merge pull request #10044 from zmstone/0228-fix-node-info-format
fix(emqx_mgmt): format stoped nodes correctly
2023-03-01 11:39:09 +01:00
Zaiming (Stone) Shi
d0f43bead3
Merge pull request #10046 from zmstone/0301-merge-release-50-to-master
0301 merge release 50 to master
2023-03-01 10:58:15 +01:00
Zaiming (Stone) Shi
c616192578
docs: Update changes/ce/fix-10044.zh.md
Co-authored-by: William Yang <mscame@gmail.com>
2023-03-01 09:39:16 +01:00
Zaiming (Stone) Shi
f619f4ff77
Merge pull request #10045 from zmstone/0301-fix-flaky-test-emqx_pool_SUITE
test: stop apps in end_per_suite
2023-03-01 09:38:34 +01:00
Zaiming (Stone) Shi
083330ad80 Merge remote-tracking branch 'origin/master' into 0301-merge-release-50-to-master 2023-03-01 08:53:03 +01:00
Zaiming (Stone) Shi
2b06089250 test: stop apps in end_per_suite 2023-03-01 08:48:23 +01:00
Zaiming (Stone) Shi
8d63c6c08d
Merge pull request #10041 from zmstone/0228-add-influx-line-protocol-desc
0228 add influx line protocol desc
2023-03-01 08:44:26 +01:00
Zaiming (Stone) Shi
ceec7e9707
Merge pull request #10027 from zmstone/0224-fix-docker-entrypoint-env-overrides
0224 fix docker entrypoint env overrides
2023-03-01 08:10:55 +01:00
Zaiming (Stone) Shi
469071df00 fix(emqx_management): ensure binary string for log_path 2023-03-01 07:45:36 +01:00
Zaiming (Stone) Shi
a64f712353
Merge pull request #10043 from zmstone/0228-fix-ssl-dist-optfile
0228 fix ssl dist optfile
2023-03-01 00:33:23 +01:00
Zaiming (Stone) Shi
23fb924e54 docs: add changelogs 2023-02-28 21:53:32 +01:00
Zaiming (Stone) Shi
41cb7263ca docs(influxdb): add a node to the write_syntax config 2023-02-28 21:53:32 +01:00