Zaiming Shi
73d02beace
refactor(apps): Merge emqx_libs back to emqx
...
And move emqx app back to root level
After realising the challenges of developing plugins in standalone
rebar projects. it is perhaps more smooth to keep using emqx as
a rebar dependency
2020-12-04 19:58:58 +01:00
Zaiming Shi
2cbd2bc800
chore(app.src): use semver 4.3.0 for apps version base
2020-12-03 19:59:41 +01:00
Zaiming Shi
9382bed9f5
refactor(proj): Move etc and data dir to apps/emqx/
2020-12-03 12:53:02 +01:00
Zaiming Shi
41118f5d6b
fix(rebar.config.script): do not write rendered rebar.config to file
2020-12-03 12:53:02 +01:00
Zaiming Shi
1b963252cf
fix(rebar.config.script): wildcard path to mods dir
...
This is to allow using emqx in another project
2020-12-03 12:53:02 +01:00
Zaiming Shi
e236196fa6
refactor(emqx_auth_mnesia): use tag e4.2.2
...
Removed emqx_auth_clientid and emqx_auth_username
because the new version emqx_auth_mnesia has all the features included
2020-12-03 12:52:59 +01:00
Zaiming Shi
5f0f91bb15
Merge branch 'dev/v5.0' into umbrella-for-430
2020-12-02 17:37:34 +01:00
Zaiming Shi
ba204b5ab8
chore(build): update rebar3 version
2020-12-02 17:06:26 +01:00
Zaiming Shi
87bd4958fe
Merge pull request #3863 from zmstone/fix-remove-trailing-line-break-in-version
...
fix(build): clean up versioning
2020-12-02 09:35:18 +01:00
Zaiming Shi
e0123574ed
refactor(build): Ensure depth 1 git clone
2020-12-02 00:06:12 +01:00
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
zhanghongtong
cf7c3b4f0c
fix(appup): fix syntax error
2020-11-13 17:40:36 +08:00
zhanghongtong
253c43e405
feat(emqx_metrics): add new functions to count message received
2020-11-13 16:42:48 +08: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