Commit Graph

335 Commits

Author SHA1 Message Date
JianBo He 702ecbcb6e Merge remote-tracking branch 'upstream/master' into refactor-gw-dir 2023-04-06 10:44:59 +08:00
Stefan Strigler 576d1524bb style: fix wording of i18n files 2023-04-05 16:29:17 +02:00
Stefan Strigler aea870f319 feat: add `/rule_engine` API endpoint 2023-04-05 15:19:31 +02:00
Zaiming (Stone) Shi a9bf633e03
Merge pull request #10320 from zmstone/0403-sync-release-50-back-to-master
0403 sync release 50 back to master
2023-04-04 23:31:24 +02:00
Zaiming (Stone) Shi 429b3d9efd Merge remote-tracking branch 'origin/master' into 0403-sync-release-50-back-to-master 2023-04-03 20:32:33 +02:00
Thales Macedo Garitezi f3ffc02bff feat(bridges): enable async query mode for all bridges with buffer workers
Fixes https://emqx.atlassian.net/browse/EMQX-9130

Since buffer workers always support async calls ("outer calls"), we
should decouple those two call modes (inner and outer), and avoid
exposing the inner call configuration to user to avoid complexity.

For bridges that currently only allow sync query modes, we should
allow them to be configured with async.  That means basically all
bridge types except Kafka Producer.
2023-04-03 14:49:51 -03:00
Zaiming (Stone) Shi 5f6d318cf0 fix(i18n): fix missing docs for gateway configs 2023-04-03 13:12:24 +02:00
Zaiming (Stone) Shi c17de6c415 docs: fix i18n desc style 2023-04-03 13:12:24 +02:00
Zaiming (Stone) Shi 36000abf51 refactor: relocate i18n files for apps/emqx 2023-04-03 13:12:24 +02:00
Zaiming (Stone) Shi 4d28731176 docs: delete local-override.conf from config template 2023-03-24 08:37:00 +01:00
firest 6f3e952edf fix(psk): add new supported ciphers to the conf template 2022-12-20 22:40:49 +08:00
Zaiming (Stone) Shi 4cadb86b18 docs: fix typos 2022-10-27 20:09:31 +02:00
Zaiming (Stone) Shi c157392452 docs: fix self-closing html tag, change </br> to <br/> 2022-10-27 13:57:18 +02:00
Zaiming (Stone) Shi a314950be9 docs: fix zh punctuations 2022-10-26 16:19:38 +02:00
Zaiming (Stone) Shi cf76267155 docs: add a string value quote example 2022-09-27 09:02:49 +02:00
Zaiming (Stone) Shi 9bd9e2ecd8 feat: add EMQX_LOG_DIR env 2022-09-16 09:49:55 +08:00
Zaiming (Stone) Shi ac840e318e refactor(cookie): Warning message when boot with default Erlang cookie 2022-09-06 18:58:35 +02:00
Zhongwen Deng 29f9258595 chore: update RUNNER_LOG_DIR 2022-09-05 17:36:35 +08:00
zhongwencool 1819b7e224
chore: update rel/emqx_vars
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-09-05 17:34:29 +08:00
Zhongwen Deng e35957af0b chore: add some warning to emqx_vars 2022-09-05 16:12:40 +08:00
Zhongwen Deng 63281e5491 feat: don't override env RUNNER_LOG_DIR in emqx_vars 2022-09-05 16:10:51 +08:00
Zaiming (Stone) Shi 8717535d32 refactor: populate ciphers list at runtime
Populating ciphers list when checking schema makes the
config file example and the schmea documents quite bloated
2022-08-24 21:02:21 +02:00
Zaiming (Stone) Shi 22f5b62531 docs: add default ciphers to document config 2022-08-24 21:02:21 +02:00
Zaiming Shi a548b82bc9 docs: add zh version config doc template 2022-06-28 22:34:24 +02:00
Zaiming (Stone) Shi 4fdd793071 refactor: move config template file to rel dir 2022-06-12 19:57:08 +02:00
Zaiming (Stone) Shi 3c03c0cfc1 feat(bin/emqx): make possible to boot Erlang node from Elixir build 2022-04-13 21:55:05 +02:00
Zaiming (Stone) Shi 72405f977c refactor(bin/emqx): remove unnecessary intermediate env variables 2022-04-13 13:50:56 +02:00
Zaiming (Stone) Shi c8242816b0 refactor(bin/emqx): no need to template-render RUNNER_ROOT_DIR 2022-04-13 13:50:25 +02: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 4e64010a3b build: more structured build info 2022-03-02 21:22:03 +01:00
Zaiming (Stone) Shi e22104476a fix(data_dir): get data_dir config in the right way
now data_dir config is respected by boot script as well as
EMQX application after booted
2022-02-28 09:59:56 +01:00
Zaiming (Stone) Shi a8aa312825 fix(boot): allow user defined data_dir 2022-02-25 12:08:05 +01:00
Ilya Averyanov 64c59b5469 feat(license): check license before node start 2022-02-11 11:49:29 +03:00
Ilya Averyanov 17599432d1 feat(license): add license application 2022-02-07 19:05:47 +03:00
Zaiming (Stone) Shi a04c834d05 chore: relocate some release files from data/ to rel/
data dir at the root is easily confused with the data
dir for EMQ X at run time
2022-01-14 16:41:22 +01:00
Thales Macedo Garitezi 67cca5d3a1
chore(mix): use the same script in mix release as in rebar release
Surprisingly enough, by doing small cirurgical changes in the existing
EMQX control scripts, we are able to get it running with Elixir and
with existing functionalities (`console`, `remote_console`, `start`,
`stop`, `ctl`, `foreground`, `eval`).
2021-12-23 17:20:04 -03:00
Thales Macedo Garitezi 014b6d3cfd
chore(shellcheck): fix shellcheck linting warnings 2021-12-22 15:43:43 -03:00
Thales Macedo Garitezi 62024854e5
chore(mix): wrap produced script and set required variables
We create a shim script that calls the one produced by Mix Release,
creating and setting the required configurations.
2021-12-22 15:15:19 -03:00
Thales Macedo Garitezi 917575de5a
chore(mix): minimal elixir mix release build
This commit enables a minimal working build of EMQX release using
Mix.  However, to properly start the release, several configuration
steps are still missing.  A `mix_release.sh` script does a few hacks
to get the release built with Mix to start properly, by first assuming
that `make emqx` has been run prior to the release, ran once to
generate the `app.*.config` files, and then it copies that and some
other files to the expected places.

Also, `emqx_telemetry` hangs the start procedure because it thinks
it's in an official release and tries to make a request.  We disable
it temporarily via config just to get a working build for now.
2021-12-21 13:51:22 -03:00
Feng Lee c84598dae9 2.0 - move rel/ to emqttd-relx project 2016-07-21 18:29:04 +08:00
Feng 710890dd22 relx 2016-07-21 09:31:14 +08:00
Feng 2e200f253f 2.0 - erlang.mk to replace rebar 2016-07-19 17:46:05 +08:00
Feng 03d6710b60 gen_conf to improve the configuration of emqttd broker 2016-07-19 16:49:30 +08:00
Feng 61b2ab48ad merge emq10 2016-07-16 21:55:02 +08:00
Feng Lee 223c06fd68 fix ldap sslopts 2016-07-12 17:36:23 +08:00
Feng Lee 842df63605 merge master 2016-06-28 11:27:52 +08:00
Feng Lee 834e6f7269 Add MQTT specs. etc/vm.args: -env ERL_CRASH_DUMP log/emqttd_crash.dump 2016-06-27 09:11:09 +08:00
Feng Lee fe3becbf9b Fix issue#599 - Reject empty clientId with non-clean session 2016-06-21 11:29:59 +08:00
Feng eaf254e919 Merge branch 'master' into plus 2016-06-05 12:51:35 +08:00
Feng Lee 791c50282f Merge pull request #566 from emqtt/issue#557
load 'observer' application and fix issue #557
2016-05-25 14:20:39 +08:00
Feng Lee b0541ac18c load 'observer' application and fix issue #557 2016-05-25 14:19:25 +08:00
Feng Lee 9e9b074d84 error 2016-05-07 13:07:02 +08:00
Feng Lee c7ecc0ace0 merge emq10 2016-05-07 10:30:22 +08:00
Feng Lee 76851e58fb atom_to_list(Username) 2016-05-03 18:31:58 +08:00
Feng Lee 631609f035 ensure gen_logger started 2016-05-02 15:15:05 +08:00
Feng 0d84c7474a rm plugins 2016-04-30 10:21:53 +08:00
Feng 16fcb2997e issue#516 - The erlang '-name' requires the fully qualified host name 2016-04-19 16:14:07 +08:00
Feng e88fe8b6ae fix issue #479 2016-03-21 10:08:59 +08:00
Feng 9f3897d023 {idle_timeout, 30} and {subscription, true} 2016-03-15 01:34:01 +08:00
Feng 17f40f458f if_subsciption, async_subscribe 2016-03-14 13:21:35 +08:00
Feng c626eadad4 0.17.0 config 2016-03-11 23:46:27 +08:00
Feng faf05eb85a test cases for server, pubsub and router 2016-03-11 23:19:17 +08:00
Feng 32635af084 backend subscription 2016-03-08 13:51:21 +08:00
Feng e76f35f5c1 fix issue #445 2016-02-16 02:46:03 +08:00
Feng 928780f322 common tests 2016-02-16 02:20:29 +08:00
Feng 5cf655286a config and data for unit test 2016-02-14 01:26:39 +08:00
Feng 712baa525c rm app.config 2016-01-24 10:33:09 +08:00
Feng 97ea3623c1 simple/priority queue 2016-01-24 10:32:29 +08:00
Feng 8c81879149 simple/priority queue 2016-01-24 10:32:25 +08:00
Feng c0e3145147 add redis plugin 2016-01-21 10:40:56 +08:00
Feng 21cb2bea6e 2016 2016-01-15 13:43:22 +08:00
Feng 913d6f5ed8 default pubsub pool_size: 8 2016-01-12 14:11:18 +08:00
Feng 505864f791 format 2016-01-07 11:41:57 +08:00
Feng 5481635886 fix issue #410 - remove observer app 2015-12-17 19:59:47 +08:00
Feng d0d5090bde uncomment presence module 2015-12-17 15:18:03 +08:00
Feng 714aa4dc9d subscription 2015-12-17 12:38:48 +08:00
Feng 2dd6d160f3 format 2015-12-10 15:04:13 +08:00
Feng d1c2375f4b long_schedule 2015-12-07 22:16:17 +08:00
Feng 995949585b sysmon 2015-12-07 18:35:28 +08:00
Feng a261f3c678 emqtt log 2015-12-06 12:03:05 +08:00
Feng Lee 7a0318876e lager_emqtt_backend 2015-12-06 11:28:37 +08:00
Feng cab15324da log/emqttd_sysmon.log 2015-12-05 15:44:05 +08:00
Feng 812779004f new pubsub 2015-12-04 17:36:09 +08:00
Feng d6cf52fc70 route_delay 2015-12-03 22:36:44 +08:00
Feng 80117c1e8a rewrite pubsub, router 2015-12-03 12:56:13 +08:00
Feng 16f23406a4 0.14 2015-12-02 18:01:26 +08:00
Oliver Bollmann 3360b2f8e7 plugins cmd space in filename 2015-11-26 17:42:50 +01:00
Feng Lee 9c30d37c67 connopts 2015-11-07 12:08:40 +08:00
Feng 8491467bbb support 'and', 'or' 2015-11-04 21:42:17 +08:00
Feng a50df24aab 100 2015-11-02 15:32:06 +08:00
Feng 8d9270a6ba 48 2015-10-29 21:46:17 +08:00
Feng 4698856215 connopts, ratelimit 2015-10-29 21:46:06 +08:00
Feng 9a590b2f39 rate limit 2015-10-26 09:19:32 +08:00
Feng 676aa3cb71 order of sockopts 2015-10-23 18:05:08 +08:00
Feng 698d096cae +zdbbl 2015-10-23 17:54:31 +08:00
Feng 61a6818767 fix spelling error 2015-10-16 14:19:20 +08:00
Feng Lee 7a93f4b2a3 order 2015-10-12 21:20:24 +08:00
Feng fc9f894aa1 sysmon 2015-10-12 21:05:23 +08:00
Feng 9571143e41 idle_timeout 20 2015-10-11 04:09:10 +08:00
Feng 5977c44996 fix issue #182 - etained message expiration 2015-10-10 00:04:07 +08:00