Commit Graph

6010 Commits

Author SHA1 Message Date
Zaiming Shi 8201e4c820 feat(emqx.erl): Add a help function to load debug secret 2021-03-19 21:46:03 +01:00
zhanghongtong beac1f5f59 fix(test cases): fix test case error
ensure emqx_modues loaded before emqx_management in test cases
2021-03-19 17:02:06 +01:00
Zaiming Shi e06b54ff71 chore(boot-log): print a warning at boot when running on old otp 2021-03-19 15:39:11 +01:00
Zaiming Shi 2d150127d4 feat(listeners): Ensure no tlsv1.3 for otp 22 or earlier 2021-03-19 15:39:11 +01:00
Zaiming Shi 8f6e02c322 chore(lib-extra): Pin elixir plugin dependency with tag 2021-03-19 12:22:43 +01:00
Zaiming Shi ddec66fe35 chore(build): remove plugin regression for now
We do not have Elixir in build environment
2021-03-19 12:22:43 +01:00
Zaiming Shi 73a8494760 fix(build): rebar3 compile before release
Doing release directly works fine for prue Erlang dependencies.
However if we add a elixir dependency, the application
info and release becomes problematic

Elixir apps do not have .app or .app.src files
so the app vsn can not be found during app discovery
which leads to "No valid version ([]) of .app file found"
error when creating the release.
This is maybe fixed in https://github.com/erlang/rebar3/pull/2518

Another issue is "Undefined applications: [elixir,logger]"
This seem to be caused by the rebar3 not being able to identify
as a release dependency if an elixir app was not compiled before.
2021-03-19 12:22:43 +01:00
Zaiming Shi 09ff109fda chore(build): Pin version tag for template plugin 2021-03-19 12:22:43 +01:00
Zaiming Shi 178404c821 chore(build): add rebar_mix plugin 2021-03-19 12:22:43 +01:00
zhanghongtong 6d6fe23d45 fix(CI): fix fvt test error 2021-03-19 16:34:14 +08:00
wwhai 3f2204fb5c fix(backup): add compatible for more lower version 2021-03-19 16:24:13 +08:00
wwhai 109b2f4e90 fix(backup): fix data import/export problem 2021-03-19 16:24:13 +08:00
zhanghongtong 72c1ee264c chore(elvis): fix elvis error 2021-03-19 16:11:23 +08:00
zhanghongtong 568f4de6e5 fix(channel): fix the wrong acl check order
when subscribe, check the acl rule before run 'client.subscribe' hooks
2021-03-19 16:11:23 +08:00
zhanghongtong fc0dea75e4 feat(helm): allow custom securityContext 2021-03-19 15:17:17 +08:00
Shawn 81602c973c fix(emqx): deny pingreq when mqtt not connected #4370 2021-03-19 14:17:49 +08:00
zhouzb fa8b2a5ac5 chore(test-cswsh): add test case for cswsh 2021-03-19 10:28:13 +08:00
Karol Kaczmarek 796c071af5 style(api): proplists imports removed 2021-03-19 09:20:25 +08:00
Karol Kaczmarek ea384ec6b5 style(api): minirest imports removed 2021-03-19 09:20:25 +08:00
zhanghongtong 20086bcff1 chore(CI): fvt test support enterprise repo 2021-03-19 09:18:53 +08:00
wwhai 0d75ea874b fix(rule-engine): add 'undefined' type for create time 2021-03-19 08:57:19 +08:00
William Yang b397b56db7 chore(gitattributes): fix file classification. 2021-03-18 21:15:33 +01:00
Zaiming Shi 8828c48352 chore(build): avoid reading secret keys repeatedly 2021-03-18 20:23:17 +01:00
William Yang 01149bf687 feat(compile): support debug_info encryption
if EMQX_COMPILE_SECRET_FILE is set, debug_info of beam files would be
encrypted.

EMQX_COMPILE_SECRET_FILE contains secret string.
2021-03-18 20:23:17 +01:00
Swilder-M 2e8dbe9130 fix(README): update README files 2021-03-18 18:34:01 +08:00
Rory Z 862e484944
chore(CI): build workflow support enterprise repo (#4363) 2021-03-18 16:30:48 +08:00
Zaiming Shi 1ee0432301 chore(build): bump to OTP-23.2.7 2021-03-18 09:04:08 +08:00
Karol Kaczmarek c7b44caa1d feat(acl): Add possibility to remove all acl cache 2021-03-17 19:48:42 +01:00
deen13 cac0ee7f84 fix(helm): Move pullSecrets up to pod level
Previously the pullSecrets was defined on container level which is not supported by kubernetes.
2021-03-17 21:55:35 +08:00
Zaiming Shi a5f0ed0356 fix(test): Ensure emqx_modules loaded for emqx_management test 2021-03-17 11:46:45 +01:00
zhanghongtong 2232bca150 chore(config): update enum for config item
The tcp listener's peer_cert_as_clientid and peer_cert_as_username can only be set to cn
2021-03-17 16:30:34 +08:00
zhanghongtong 237603cee6 revert: fix(config): delete peer_cert_as_username and peer_cert_as_clientid in tcp listener
This reverts commit: 4bf0ad1baf
2021-03-17 16:30:34 +08:00
zhanghongtong 7a1993f13b chore(auth-mnesia): update cli 2021-03-17 16:29:44 +08:00
Shawn d6797760a1 fix(test): add testcases for ws subprotocols 2021-03-17 14:59:05 +08:00
Turtle 08366c2735 fix(conf): fix split modules conf error 2021-03-17 14:47:18 +08:00
zhanghongtong 4bf0ad1baf fix(config): delete peer_cert_as_username and peer_cert_as_clientid in tcp listener 2021-03-16 19:32:17 +08:00
Zaiming Shi a1f78b5083 refactor(cli): Print node name version and app name version
So not to confuse application version with node release version
2021-03-16 11:26:17 +01:00
Zaiming Shi 96bd561790 feat(windows): Support environment variable override for windows 2021-03-16 11:26:17 +01:00
zhanghongtong 98c62df2e4 fix(log): fix web hook print error 2021-03-16 10:22:07 +01:00
zhanghongtong 1ef51cae1d chore(CI): update docker compose file for mysql 2021-03-16 17:08:21 +08:00
William Yang d5886c0c66
chore(build): Get rel vsn fallback (#4339) 2021-03-16 09:49:11 +01:00
zhouzb ef1be26bc8 fix(subprotocol): fix bad configuration item name for subprotocol 2021-03-16 13:51:27 +08:00
Zaiming Shi 3438a0ebca fix(telemetry): get release version, not emqx app version 2021-03-15 16:10:56 +08:00
Zaiming (Stone) Shi a691a42422
chore(Windows.md): tidy up erl cmd test example 2021-03-15 08:10:21 +01:00
Zaiming Shi 51dac159d3 chore(ci): No more make get-deps 2021-03-15 08:04:39 +01:00
Zaiming Shi d9a937cd34 chore(build): No rebar3 color for windows 2021-03-15 08:04:39 +01:00
Zaiming Shi 2c0c69142d chore(script): Delete CRLF from jq print-outs 2021-03-15 08:04:39 +01:00
Zaiming Shi 0fead391d2 chore(script): no -r option for rm command when delete a file 2021-03-15 08:04:39 +01:00
Zaiming Shi 32a0392ec5 chore(git): Force eol=lf 2021-03-15 08:04:39 +01:00
Zaiming Shi 4ffb0e1848 docs(README): Add windows 2021-03-15 08:04:39 +01:00