Commit Graph

5186 Commits

Author SHA1 Message Date
zhanghongtong
5ea897f0f6 chore(CI): check client exited 2021-03-23 09:42:33 +08:00
Zaiming Shi
749f8ff156 chore(build): exclude broken symlinks in find-apps.sh 2021-03-23 09:26:09 +08:00
Zaiming Shi
dcfde3861f feat(ssl): Export a lib function to save key/cert file 2021-03-22 21:15:34 +01:00
Zaiming Shi
5b126d60ad style(elvis): force spaces around | and || 2021-03-22 21:15:16 +01:00
Zaiming Shi
dc510fb572 chore(build): Upgrade to elvis 1.0.0-emqx-2
This version ensures spaces around '|' and '||'
2021-03-22 21:15:16 +01:00
Zaiming (Stone) Shi
8ecce74d33
docs(lib-extra/README): Add EMQX_EXTRA_PLUGINS 2021-03-22 19:09:39 +01:00
Zaiming Shi
71559dd001 refactor(ssl): Move data dir for ssl certs upload down to lib module 2021-03-22 16:41:01 +01:00
Zaiming Shi
8a41a4ee00 fix(ssl): Fix dir name for uploaded certificates
The dir is "rules" not "rule" in the original code
ref: f1eba1c648/src/emqx_rule_actions_utils.erl
2021-03-22 16:41:01 +01:00
Zaiming Shi
507a6ee1c0 docs(lib-extra/README): Add more details on how to run the code 2021-03-22 14:53:32 +01:00
Zaiming Shi
fd1b1936ad docs(README): Update README to include plugin dev 2021-03-22 14:53:32 +01:00
Shawn
817abd7e93 fix(lwm2m): export functions for starting and stopping listeners 2021-03-22 21:13:56 +08:00
Zaiming Shi
b6894ae4c2 chore(build): remove debug flag 2021-03-22 08:15:15 +01:00
Zaiming Shi
aa802d129c chore(ci): Delete bcrypt in windows
The dependency is downloaded in ubuntu, but copied to windows
so we need a explicit deletion
2021-03-22 08:15:15 +01:00
Zaiming Shi
eb246cf11b chore(build): pin port_compiler v1.11.1
Port compiler bug in v1.11.0:
In windows builds, cl.exe produces .obj files
link.exe looks for .o files to link.
2021-03-22 08:15:15 +01:00
zhanghongtong
609a8566c7 chore(CI): update build workflws target event 2021-03-20 16:22:59 +01:00
Karol Kaczmarek
ac7d097f16 chore(deps): minirest 0.3.5 2021-03-20 15:21:31 +01:00
Karol Kaczmarek
844a1ba0af feat(acl): cache drain cr fixes 2021-03-20 15:21:31 +01:00
Karol Kaczmarek
87ce9d666f feat(acl): working cache drain cli/rest handlers 2021-03-20 15:21:31 +01:00
Karol Kaczmarek
71a0901c92 feat(acl): CLI and REST handlers for removing acl cache 2021-03-20 15:21:31 +01:00
Zaiming Shi
21416bf859 chore(build): always include debug_info for CE 2021-03-20 13:05:13 +01:00
Zaiming Shi
45dfc8a2fa chore(test): make app-ct run easier 2021-03-20 11:20:48 +01:00
zhanghongtong
7ea69f56be chore(CI): fix cts error 2021-03-20 14:56:08 +08:00
zhanghongtong
3e36c08576 chore(CI): update workflows 2021-03-20 13:43:22 +08:00
zhanghongtong
99843e7b4b chore(auth plugins): remove emqx_modules in test case 2021-03-20 09:33:15 +08:00
zhanghongtong
280fedca0d chore(CI): cts support enterprise repos 2021-03-20 09:31:32 +08:00
zhanghongtong
be4faa6d7c chore(CI): app test workflows support enterprose repo 2021-03-20 09:31:32 +08:00
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