Commit Graph

4446 Commits

Author SHA1 Message Date
Zaiming Shi
5bb0cccb53 refactor(build): Clean up app version management
Starting from 5.0.0, all apps in apps dir should follow semver
strictly. Do not use the umbrella project's release tags.

The universal tags made sense when we have applications scattered
in different repos. Now since this is an umbrella project, it is
enough to have a single package level version number corelated with
git tag.
2020-12-01 23:22:33 +01:00
Zaiming Shi
50387eab11 fix(build): remove trailing line-break in version 2020-12-01 21:23:39 +01:00
Zaiming Shi
e2c472ae84
Merge pull request #3860 from zmstone/refactor-build-download-from-github-release
refactor(build): download rebar3 from GitHub release
2020-12-01 14:58:13 +01:00
Zaiming Shi
cafa547996 refactor(build): Get rebar3 version from escript header comments
The command rebar3 --version loads rebar config and prints logs
2020-11-30 19:48:31 +01:00
Zaiming Shi
4e755d80db refactor(build): Download rebar3 from github release 2020-11-30 19:48:02 +01:00
Zaiming Shi
12d706a84c
Merge pull request #3852 from zmstone/feat-add-build-stamp
Feat support build stamp and more fixes
2020-11-28 07:37:22 +01:00
Zaiming Shi
dab57b0f0f chore(build): Update rebar3
This rebar3 puts a stamp to app build output dir
skips re-build if alreay built
2020-11-27 21:41:11 +01:00
Zaiming Shi
36c9360c04 refactor(build): Merge all plugins
Otherwise rebar runs in a dead-loop
2020-11-27 01:03:40 +01:00
Zaiming Shi
a6566962e0 refactor(build): simplify version resolution 2020-11-27 01:03:40 +01:00
Zaiming Shi
1503cf5850 chore(git): update git ignore 2020-11-27 00:30:00 +01:00
Zaiming Shi
2dce1883d5 refactor(build): Deterministic code generation
The rebar plugin grpcbox_plugin always re-generates modules with a
timestamp, which makes the stamping script to always result in a
new stamp after each build.

Issue has been sent
https://github.com/tsloughter/grpcbox_plugin/issues/12
2020-11-26 21:13:30 +01:00
Zaiming Shi
096e27dcd0
Merge pull request #3838 from zmstone/fix-boot-add-data-dir
fix(boot): Add data dir
2020-11-23 16:49:36 +01:00
Zaiming Shi
0a99cd9b3a fix(boot): Add data dir
This is a copy from emqx-rel project
2020-11-21 20:22:25 +01:00
Zaiming Shi
380c874fb5
Merge pull request #3808 from zmstone/improve-speed-average
refactor(metrics): Use modified moving average for topic metrics speed
2020-11-12 12:46:59 +01:00
ayodele.akingbule
4eef9f691e refactor(metrics): Add short, medium and long windowsize and expose stats 2020-11-12 12:43:31 +01:00
Zaiming Shi
abb74056bd refactor(metrics): Use modified moving average for topic metrics speed 2020-11-12 12:40:36 +01:00
terry-xiaoyu
e586119752 fix(project): point the hrl files to emqx_lib 2020-10-31 12:34:52 +08:00
terry-xiaoyu
20b66e03a1 feature(project): add etc/emqx.d 2020-10-31 12:18:38 +08:00
terry-xiaoyu
0cd1c57a54 Migrate plugins from tag 4.2.2 2020-10-31 12:10:19 +08:00
terry-xiaoyu
4108662ba1 feature(project): add util app emqx_libs 2020-10-31 12:06:44 +08:00
Zaiming Shi
84d31a1d7a feat(build): deterministic compile option 2020-10-31 11:08:54 +08:00
terry-xiaoyu
151d820058 feature(project): change to rebar3 umbrella project 2020-10-31 11:07:25 +08:00
terry-xiaoyu
7bea9920b5 feature(project): point header to emqx_libs 2020-10-31 11:00:12 +08:00
JianBo He
485bffadd6 refactor(exhook): improve the exhook implementation 2020-10-31 10:24:28 +08:00
JianBo He
d1a87d38ba refactor(exproto): improve the exproto implementation 2020-10-31 10:21:53 +08:00
terry-xiaoyu
18d6647b03 feature(project): move test to apps/emqx/test 2020-10-31 10:17:47 +08:00
terry-xiaoyu
496a805aef feature(project): move priv to apps/emqx/priv 2020-10-31 10:15:25 +08:00
terry-xiaoyu
d90c0dacb1 feature(project): move hrl files and emqx_logger.erl to apps/emqx_libs 2020-10-31 09:33:50 +08:00
terry-xiaoyu
5a8efd9d20 feature(project): move src to apps/emqx/src 2020-10-31 09:19:28 +08:00
JianBo He
bcd98bda1c chore(esockd): upgrade esockd to 5.7.4 2020-10-24 15:49:15 +08:00
JianBo He
b373c0cf1b fix(json): fix decoding/encoding empty object error 2020-10-24 15:49:15 +08:00
zhouzb
8462da9652 fix(topic metrics): add appup.src 2020-10-24 11:21:39 +08:00
zhouzb
b927bb7af6 fix(topic metrics): calculate the rate correctly 2020-10-24 11:21:39 +08:00
JianBo He
2feeb4d91f fix(ws): take ws_cookie to clientinfo
see: https://github.com/emqx/emqx/issues/3747#issuecomment-702268570
2020-10-24 11:21:39 +08:00
bignullnull
87ef4e4dd9 chore(types): Add the disconnected_at field definition in conninfo (#3764) 2020-10-24 11:21:39 +08:00
terry-xiaoyu
7b98f62f7a fix(config): enable force_shutdown_policy by default 2020-09-30 11:36:30 +08:00
turtled
048e510dde fix(force-shutdown-policy): default to enable force_shutdown_policy 2020-09-30 08:35:24 +08:00
tigercl
da4d71917f fix(ignore-loop-deliver): fix issue#3738 (#3741) 2020-09-29 15:35:16 +08:00
JianBo He
76ec65830c fix: fix session_locking_strategy enum typos 2020-09-29 15:35:16 +08:00
JianBo He
06b9b6e6b0 chore: update esockd version to fix ssl:getstat/2 for dtls connection 2020-09-29 15:35:16 +08:00
zhanghongtong
fa31062a5e chore(topic rewrite): export more functions 2020-09-11 12:37:47 +08:00
JianBo He
3d4eac7e7a fix(json): fix safe_encode for utf8 string 2020-09-11 12:26:13 +08:00
turtleDeng
edcbdcce87 improve: module_acl_internal load/unload api (#3706) 2020-09-05 17:23:22 +08:00
JianBo He
90b33b044d feature(ratelimit): support to set ratelimit & quota policy 2020-09-05 17:23:22 +08:00
JianBo He
f6b35d63f2 improve: rename quota option name 2020-09-05 17:23:22 +08:00
terry-xiaoyu
4233ef4e85 fix(xref): correct the type spec of logger_handler_info() 2020-08-28 17:10:26 +08:00
terry-xiaoyu
9985e2675c fix(logger): resolve issues when starting and stopping log handlers 2020-08-28 17:10:26 +08:00
terry-xiaoyu
faf0b5289c feature(logger): support starting and stopping log handlers 2020-08-28 17:10:26 +08:00
terry-xiaoyu
2b603bfd11 feature(gen_rpc): support a stateless port discovery 2020-08-28 17:10:26 +08:00
JianBo He
e411b4bad3 fix(cm): fix never matching clause 2020-08-28 17:10:26 +08:00