Commit Graph

8892 Commits

Author SHA1 Message Date
Shawn 06168f7080 refactor(session): pass ClientInfo as first params to APIs of emqx_session 2022-02-08 16:52:47 +08:00
zhanghongtong 3875d5c0e2 ci(build_packages): fix the "if" for push aws ecr image 2022-02-08 16:41:16 +08:00
zhongwencool f3fa302d84 chore: print only the port number when bound on all interfaces. 2022-02-08 15:25:22 +08:00
zhongwencool 5f2618912f chore(format): format port by ts 2022-02-08 11:03:54 +08:00
zhongwencool 00fe866392 chore(test): add restricted_shell CT test. 2022-02-08 10:49:11 +08:00
Shawn b2f027bcf7 feat(rule): add 'delivery.dropped' hook for rules 2022-02-08 10:32:25 +08:00
zhongwencool b50ceac9bb chore(listener): change the listener binding format 0.0.0.0:port to :port. 2022-02-08 10:28:10 +08:00
Shawn 261e9929b6 fix(rule): deny POST empty rule ids 2022-02-08 09:57:44 +08:00
Thales Macedo Garitezi eea217093b
fix(mix): include `node_dump` in tgz and packages 2022-02-07 18:15:17 -03:00
k32 58b69f97fd
Merge pull request #6933 from k32/sysmon301
chore(system_monitor): Bump version to 3.0.1
2022-02-07 21:33:00 +01:00
Ilya Averyanov ab2e4c80ba
Merge pull request #6807 from savonarola/emqx-license
feat(license): add license application
2022-02-07 23:30:24 +03:00
k32 490278ccb7 chore(system_monitor): Bump version to 3.0.1 2022-02-07 20:49:28 +01:00
Ilya Averyanov 17599432d1 feat(license): add license application 2022-02-07 19:05:47 +03:00
k32 bede3443a3
Merge pull request #6931 from k32/mria-dirty-shards
feat(router): Mark router shards as dirty
2022-02-07 15:41:57 +01:00
k32 9c5d35e0db chore(ekka): Bump version to 0.12.0 2022-02-07 14:39:43 +01:00
Thales Macedo Garitezi 17c10e5677
Merge pull request #6921 from thalesmg/mix-erl-eval
feat: add eval-erl command to `bin/emqx`

This allows Erlang expressions to be evaluated easily even on nodes
running Elixir.
2022-02-07 10:20:00 -03:00
k32 78c762479f feat(router): Mark CM_SHARD and ROUTE_SHARD as dirty 2022-02-07 12:38:59 +01:00
k32 dbe1282d32 chore(mria): Bump version to 0.2.0 2022-02-07 12:37:13 +01:00
zhanghongtong b6e3f66622 ci(build_packages): tag and push aws ecr image when after push docker image 2022-02-07 17:54:30 +08:00
EMQ-YangM 3b3f3fed76 refactor(emqx_resource_instance): add function create_default_checker 2022-02-07 17:49:51 +08:00
EMQ-YangM 8976e25b7a fix(emqx_resource_instance): create health_check process when create resources synchronously 2022-02-07 17:49:51 +08:00
k32 342eed9702
Merge pull request #6923 from k32/sysmon3
feat(system_monitor): Bump version to 3.0.0
2022-02-07 10:04:42 +01:00
zhanghongtong 420591d09a ci(build_packages): push muilt arch image for aws ecr 2022-02-07 16:09:09 +08:00
zhongwencool f24c05b1bd chore(shell): make restricted_shell prompt more friendly. 2022-02-07 15:33:59 +08:00
zhongwencool b189d594c3 chore: fix dialyzer warning. 2022-02-07 15:33:59 +08:00
zhongwencool 3efa583830 feat(shell): add emqx version to prompt. 2022-02-07 15:33:59 +08:00
zhongwencool 6a701e098f feat(shell): add restricted shell and user_default 2022-02-07 15:33:59 +08:00
lafirest 467bb830b1 fix(emqx_ratelimiter): relax the rate bound of test cases 2022-02-07 13:57:48 +08:00
k32 f699de9773 feat(system_monitor): Bump version to 3.0.0 2022-02-07 02:22:11 +01:00
k32 987945def3 refactor(schema): Refactor cluster_static seeds type 2022-02-04 23:37:59 +01:00
Thales Macedo Garitezi 1b3b2c0d03
feat: add eval-erl command to `bin/emqx`
This allows Erlang expressions to be evaluated easily even on nodes
running Elixir.
2022-02-04 16:53:27 -03:00
Thales Macedo Garitezi e4b14a34b2
Merge pull request #6918 from thalesmg/fix-mix-vsn
Currently, emqx_release.erl depends on the erl_opts option
compile_info being set by Rebar3 to include {emqx_vsn, $PKG_VSN}
to report the version, for instance, in emqx ctl status.

Since Mix does not provide a simple way to pass erl_opts to Rebar3
dependencies without creating a mix.exs file, the workaround is to
set the environment variable ERL_COMPILER_OPTIONS to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.

Also, we set the `EMQX_ENTERPRISE` macro in the same way.
2022-02-04 16:12:26 -03:00
Zaiming (Stone) Shi add2f62824
Merge pull request #6920 from thalesmg/ci-pin-pytest
ci(pytest): pin pytest version at 6.2.5
2022-02-04 20:09:57 +01:00
Thales Macedo Garitezi 9021b7e9b8
fix(mix): set enterprise compile flag 2022-02-04 14:17:53 -03:00
Thales Macedo Garitezi 6d557bc0ca
ci(pytest): pin pytest version at 6.2.5
After a major version release (7.0.0), our current FVT tests all
failed due to some change in the lib.  Our pytest version in CI was
not pinned, and picked this update up.
2022-02-04 10:19:29 -03:00
Thales Macedo Garitezi 69e7e40d5f
Merge pull request #6915 from thalesmg/cleanup-mix-release-file
chore: delete unused file
2022-02-04 09:03:08 -03:00
Thales Macedo Garitezi 88ae489219
fix(mix): set `emqx_vsn` compile info
Currently, `emqx_release.erl` depends on the `erl_opts` option
`compile_info` being set by Rebar3 to include `{emqx_vsn, $PKG_VSN}`
to report the version, for instance, in `emqx ctl status`.

Since Mix does not provide a simple way to pass `erl_opts` to Rebar3
dependencies without creating a `mix.exs` file, the workaround is to
set the environment variable `ERL_COMPILER_OPTIONS` to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.
2022-02-03 17:31:47 -03:00
Thales Macedo Garitezi c681ee433e
chore: delete unused file
Now that Elixir 1.13.2 is released, we no longer need the "vendored"
version of `Mix.Release`.
2022-02-03 14:09:26 -03:00
Thales Macedo Garitezi ac1b1b800d
Merge pull request #6786 from emqx/flaky-fvt-ci
fix(flaky_test): improve helm test preparation check
2022-02-03 12:28:05 -03:00
Thales Macedo Garitezi a37ee6aa05
fix(flaky_test): improve helm test preparation check 2022-02-03 09:44:10 -03:00
k32 ff1589c837
Merge pull request #6912 from k32/gen-rpc-client-driver
fix(emqx_schema): Set gen_rpc_client_driver automatically
2022-02-02 14:52:24 +01:00
William Yang dfdadbd124
Merge pull request #6909 from qzhuyan/ci/william/elixir-build-cache
ci(build-cache): elixir build cache
2022-02-02 14:17:16 +01:00
k32 a54b4ddfd0 fix(emqx_schema): Set gen_rpc_client_driver automatically 2022-02-02 13:58:27 +01:00
William Yang c9561478ac ci(build-cache): elixir build cache 2022-02-02 12:33:35 +01:00
Zaiming (Stone) Shi 621d5a2efd
Merge pull request #6910 from zmstone/chore-stale-bot-exclude-enhancement-label
chore(stale_bot): exempt 'Enhancement' label
2022-02-01 18:20:36 +01:00
Zaiming (Stone) Shi 8f5f58500c chore(stale_bot): exempt 'Enhancement' label 2022-02-01 16:55:11 +01:00
William Yang a2223836b9
Merge pull request #6908 from qzhuyan/ci/william/remove-centos8-support
ci: remove centos8 support
2022-02-01 16:11:25 +01:00
William Yang 5c36143186 ci: remove centos8 support
due to centos8 EOL
2022-02-01 15:22:41 +01:00
k32 3050f86f09
Merge pull request #6906 from k32/gen-rpc-docs
Gen rpc docs
2022-02-01 13:50:03 +01:00
William Yang fd4e15cecc
Merge pull request #6907 from qzhuyan/ci/william/fix-push-trigger
ci: fix jobs triggers
2022-02-01 13:18:36 +01:00