Thales Macedo Garitezi
ed9ba0d843
chore: do not include rocksdb on raspbian
2022-07-19 11:52:17 -03:00
zhongwencool
b1c259191c
Merge pull request #8502 from ieQu1/wait-cluster-rpc-shard
...
Wait cluster rpc shard
2022-07-19 11:29:02 +08:00
Thales Macedo Garitezi
1ef898d126
ci(rocksdb): conditionally load mnesia_rocksdb in release
...
Otherwise, it might not be included in the release, since it's no
longer declared as a dependency on the mria app.
2022-07-18 17:40:06 -03:00
William Yang
4481ae6ff8
feat(quicer): bump to 0.0.16
2022-07-18 12:08:22 +02:00
William Yang
a6f14c255d
feat: add emqx_cluster_rescue
2022-07-15 15:47:52 +02:00
Kjell Winblad
f3ce2eaf2c
fix: upgrade jq lib to get rid of crash when space in path
...
This commit upgrades the jq library to a version that has fixed
an issue that caused a crash when the port program had a space
in its path.
2022-07-08 18:36:28 +02:00
Zhongwen Deng
92019e4d4c
chore: don't copy i18n.conf
2022-07-01 09:33:35 +08:00
Zhongwen Deng
9768e302c2
chore: mv i18n.conf to emqx_dashboard/priv/
2022-06-30 21:15:57 +08:00
Zhongwen Deng
4f08a807fe
chore: rename emqx-example-en.conf to emqx-example.conf
2022-06-30 21:15:57 +08:00
JimMoen
4c7bddd4bb
build: conditionally build jq
2022-06-29 13:23:38 +08:00
Zhongwen Deng
6372456211
chore: move vm.args.* to etc/
2022-06-28 10:36:43 +08:00
Zaiming (Stone) Shi
385566c1a0
docs: change descriptive info from 'community' to 'opensource'
2022-06-20 19:38:29 +02:00
Zaiming (Stone) Shi
701a113aa4
ci: pin quicer 0.0.14
2022-06-17 12:35:54 +02:00
Zaiming (Stone) Shi
fa41c9ff35
chore: pin quicer 0.0.12
...
quicer (quic.git) 0.0.12 has a build cache enabled which can spped up
the builds
2022-06-16 12:17:02 +02:00
William Yang
3c7dd5d6c4
Merge pull request #8092 from qzhuyan/dev/william/bump-quicer
...
feat: new quicer 0.0.11
2022-06-16 11:48:31 +02:00
Zhongwen Deng
be7724b4e7
chore: add emqx-example-en.conf in release
2022-06-15 22:45:43 +08:00
William Yang
45e2605485
build: workaround for windows build
2022-06-15 14:39:29 +02:00
William Yang
6349b5e5e0
feat(quic): bump to quicer 0.0.11
2022-06-15 14:39:29 +02:00
William Yang
5b79fd55a2
Merge pull request #8176 from qzhuyan/dev/william/kill-quic
...
chore: don't build quic on MacOS
2022-06-13 14:34:39 +02:00
William Yang
d49a75ae28
chore: don't build quic on MacOS
2022-06-13 13:09:20 +02:00
Zaiming (Stone) Shi
265c3303d9
build: build docs in a separate step
...
prior to this commit, docs are built as a rebar3 post-compile hook
and the docs are generted directy into the _build dir.
the advanage was: so there is no need for a separate step to
build docs.
however this giving makeing Elixir build a hard time.
With this change, the steps are moved to build script
* compile
* make_docs
* assemble release
2022-06-12 19:16:46 +02:00
Zaiming (Stone) Shi
7019efa2a0
build: copy example config to etc dir
2022-06-10 13:57:43 +02:00
Zhongwen Deng
eb2a4df4af
feat: change node.applications default to []
2022-06-07 10:19:26 +08:00
Zaiming (Stone) Shi
a690902cab
chore: pin jq v0.3.4
2022-05-31 17:46:06 +02:00
Shawn
e664a3bc30
chore: ping jq v0.3.3
2022-05-31 22:47:59 +08:00
Zaiming (Stone) Shi
ebe4d7c3fb
refactor: stop releasing edge edition
...
Prior to EMQX 5.0, the edge edition's main difference comaring
to standard edition are:
* Less number of plugins in the release (smaller package size)
* Smaller number is vm.args (for lower memory usage)
Starting from 5.0 most of the plugins are included as features,
the tuned vm.args arguments does not justify a special release edition.
Also as nanomq is getting mature,
EMQ's recommendtation for MQTT broker in edge is https://nanomq.io/
2022-05-26 20:05:46 +02:00
ieQu1
9de609224e
fix(logging): Add compile-time overrides for gen_rpc application
2022-05-24 12:42:30 +02:00
Shawn
8650842994
fix: pin jq v0.3.2
2022-05-22 14:14:02 +08:00
Shawn
7bc2d9edbb
fix: remove bison from the required tools when building emqx
2022-05-21 14:17:12 +08:00
Kjell Winblad
402ab7e759
chore: remove unnecessary repeated code
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-05-18 07:21:16 +02:00
Kjell Winblad
05032467bd
feat(rule_engine): default timeout for jq/2 and jq/3 with timeout
...
This commit adds a default timeout of 10 seconds to the rule engine's
`jq/2` function, and adds a new function `jq/3` (where the last parameter is
a timeout value). The default timeout can be configured with the setting
"rule_engine.jq_function_default_timeout".
Having a timeout when executing jq code in the rule engine is important
as jq code can potentially run forever. Also, the Erlang jq library
limits the number of jq programs that can execute concurrently so a jq
program that loops forever could potentially also prevent a "non-buggy"
jq program from ever starting.
2022-05-17 19:36:32 +02:00
Kjell Winblad
ba5d0f5e03
Merge pull request #7911 from kjellwinblad/kjell/upgrade_jq_v0.2.1
...
fix: update jq to v0.2.1
2022-05-13 13:49:05 +02:00
Kjell Winblad
e107f84d7e
fix: update jq to v0.2.2
...
This commit makes jq compile error reporting better and avoids a crash
when the program contains an include expression.
2022-05-13 10:59:57 +02:00
Zaiming (Stone) Shi
bcd3bbcc61
build: fix port-compiler version tag to 1.14.0
...
1.14.1 was a typo, (not released yet)
2022-05-12 23:22:08 +02:00
Zaiming (Stone) Shi
eb2d73eed3
chore: er_coap_client is a test dependency but not rebar plugin
2022-05-12 13:08:27 +02:00
Zaiming (Stone) Shi
502bfa5529
build(deps): pin port compiler v1.14.1
2022-05-07 10:24:15 +02:00
Shawn
82da4d82be
chore: update jq to v0.2.0
2022-05-06 22:20:35 +08:00
Kjell Winblad
74c33cd4e5
feat(rule_engine): add jq function to the rule engine
...
This commit adds a function to the rule engine that alows users
to transform text or JSON objects using [jq filter programs][1].
[jq][1] is a command line tool that can be used to transform
and filter JSON text using jq's built-in language. The rule engine
function that is added with this commit uses the
[Erlang jq NIF library][2] that wraps the jq C library in an
Erlang NIF function.
[1]: https://stedolan.github.io/jq/
[2]: https://github.com/emqx/jq
2022-05-04 17:09:16 +02:00
Zhongwen Deng
7df21b7dcd
chore: bump er_coap_client to v1.0.4
2022-04-20 11:32:10 +08:00
Zhongwen Deng
868e26cabc
fix: emqx_auto_subscribe emqx_slow_subs don't restart when ekka:join.
2022-04-16 00:34:00 +08:00
zhongwencool
ce915f0bbd
Merge pull request #7590 from zhongwencool/doc-i18n
...
feat: desc/label support i18n
2022-04-15 17:43:16 +08:00
Zhongwen Deng
630cc8ee34
feat: support i18n with desc struct.
2022-04-15 08:42:13 +08:00
Zaiming (Stone) Shi
438be98e15
chore(build): delete unused template-var platform_lib_dir
2022-04-13 13:50:25 +02:00
Zaiming (Stone) Shi
1c50841dea
chore(build): delete unused template var platform_bin_dir
2022-04-13 13:50:25 +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
d029a73b99
refactor: make release edition static info at compile time
2022-02-28 16:37:47 +01:00
Zaiming (Stone) Shi
96815539c1
chore: delete unused template values
2022-02-28 15:25:51 +01:00
Thales Macedo Garitezi
16ad442bc3
fix(deps): use tags for dependencies
...
Some dependencies, like `bcrypt` and `quic`, have their references
declared as `branch`, yet there are no branches with those names, but
tags. Despite rebar3 managing somehow to handle that, if a project
managed by Mix tries to declare EMQX as its dependency, it's not able
to fetch those dependencies.
```
$ mix deps.get
* Updating emqx (https://github.com/emqx/emqx - v5.0-beta.3)
* Updating lc (https://github.com/qzhuyan/lc.git - 0.1.2)
* Updating gproc (https://github.com/uwiger/gproc - 0.8.0)
* Updating typerefl (https://github.com/k32/typerefl - 0.8.6)
* Updating jiffy (https://github.com/emqx/jiffy - 1.0.5)
* Updating cowboy (https://github.com/emqx/cowboy - 2.9.0)
* Updating esockd (https://github.com/emqx/esockd - 5.9.0)
* Updating ekka (https://github.com/emqx/ekka - 0.11.1)
* Updating gen_rpc (https://github.com/emqx/gen_rpc - 2.5.1)
* Updating hocon (https://github.com/emqx/hocon.git - 0.22.1)
* Updating pbkdf2 (https://github.com/emqx/erlang-pbkdf2.git - 2.0.4)
* Updating recon (https://github.com/ferd/recon - 2.5.1)
* Updating snabbkaffe (https://github.com/kafka4beam/snabbkaffe.git - 0.16.0)
* Updating bcrypt (https://github.com/emqx/erlang-bcrypt.git - origin/0.6.0)
error: pathspec 'origin/0.6.0' did not match any file(s) known to git
** (Mix) Command "git --git-dir=.git checkout --quiet origin/0.6.0" failed
```
Therefore, we change them to `tag`s.
2022-02-21 15:36:24 -03:00