zhongwencool
f5415589e9
chore(schema): use emqx_schema:qos() instead of union integer.
2022-02-11 10:09:59 +08:00
JianBo He
e2b330e8be
fix(stomp): fix unexpected_linefeed error if the packet truncated on headers
2022-02-10 12:26:13 +08:00
Shawn
fd87bce8f7
Merge pull request #6950 from terry-xiaoyu/remove_extra_spaces
...
fix: format the code to remove extra spaces
2022-02-10 09:35:18 +08:00
Thales Macedo Garitezi
e861f3963e
Merge pull request #6947 from thalesmg/fix-mgmt-cluster-print
...
fix(ctl): fix formatting when printing messages without arguments
2022-02-09 11:50:59 -03:00
Shawn
8207090419
fix: format the code to remove extra spaces
2022-02-09 18:46:49 +08:00
Shawn
e220810b90
fix(sn): update calling to session APIs
2022-02-09 12:08:06 +08:00
Thales Macedo Garitezi
152bbe6bb3
refactor: rm unused fn
2022-02-08 18:18:18 -03:00
k32
052bd9081d
docs(schema): Fix typos in the schema files
2022-01-27 22:39:19 +01:00
Zaiming (Stone) Shi
0cde9e6ecf
Merge pull request #6878 from zmstone/slog-ftw
...
refactor: delete deprecated logging macros
2022-01-27 16:15:47 +01:00
Kian-Meng Ang
fc92e4c8bf
docs: fix typos
2022-01-27 12:29:38 +01:00
Zaiming (Stone) Shi
1718360156
refactor: delete deprecated logging macros
2022-01-26 23:25:11 +01:00
lafirest
2522a36b0c
Merge pull request #6862 from lafirest/fix/coap
...
fix(emqx_coap): handle invalid query string in parse
2022-01-26 14:30:50 +08:00
lafirest
d422afdf0d
Merge pull request #6864 from lafirest/fix/ignore_auto_sub
...
fix(emqx_coap): ignore auto subscribe
2022-01-26 13:38:29 +08:00
firest
97c18bb0f2
fix(emqx_coap): ignore auto subscribe
2022-01-26 11:25:24 +08:00
firest
a544f162c9
fix(emqx_coap): handle invalid query string in parse
2022-01-26 11:08:12 +08:00
Zaiming (Stone) Shi
2105d1f22b
test: call ct helpers to load config
2022-01-25 11:50:18 +01:00
k32
c4cb9973a6
fix(emqx_gateway): Apply remarks
2022-01-21 10:42:55 +01:00
k32
925654978e
refactor(emqx_gateway): Reuse emqx_gateway_cm APIs
2022-01-20 19:16:30 +01:00
k32
706d9a899a
fix(emqx_gateway_cm): Fix channel ID in set_chan_stats
2022-01-20 18:12:50 +01:00
k32
ab8ab21383
refactor(emqx_gateway): Decorate RPCs
2022-01-20 18:12:50 +01:00
JimMoen
31edd49f76
fix(topic_metrics): `POST` `PUT` need response
2022-01-20 10:15:06 +08:00
k32
36f10e929d
test(lwm2m): Fix flaky test
2022-01-18 17:36:10 +01:00
JianBo He
c8088f18d9
chore(gw): fix dialyzer warnings
2022-01-14 10:56:19 +08:00
JianBo He
43284768d0
chore(gw): more code coverage for emqx_gateway_conn module
2022-01-14 10:48:56 +08:00
JianBo He
cce0b1ca34
fix(stomp): fix the sticky tcp stream parsing
2022-01-14 10:48:56 +08:00
JianBo He
44ea853059
test(gw): more coverage for emqx_gateway_cm
2022-01-14 10:48:56 +08:00
JianBo He
4ce11fec6e
fix(stomp): fix parsing rear frame split byte crash
2022-01-14 10:48:56 +08:00
JianBo He
e9e559ccd0
test: more code coverage for emqx_gateway_api_clients
2022-01-14 10:48:56 +08:00
JianBo He
3caf0822c4
test(gw): more testcases for emqx_gateway_metrics
2022-01-14 10:48:56 +08:00
JianBo He
a829b0b9d0
test(gw): more testcases for emqx_gateway module
2022-01-14 10:48:56 +08:00
JianBo He
056e284bc2
test(gw): more testcases for emqx_gateway_cm_registry
2022-01-14 10:48:56 +08:00
JianBo He
0e011ec4b8
test(gw): more testcases for emqx_gateway_cli module
2022-01-14 10:48:56 +08:00
JianBo He
79a653e2b4
refactor(gw): more readable CLI print
2022-01-14 10:48:56 +08:00
JimMoen
d8f49f8a5f
Merge pull request #6732 from JimMoen/telemetry-api-refactor
...
refactor(api): telemetry api swagger spec
2022-01-14 09:36:54 +08:00
JimMoen
8c9d98b583
chore: LICENSE Copyright reserved
2022-01-13 16:40:08 +08:00
JimMoen
82e3565344
chore: major mode file variable for Emacs
2022-01-13 15:53:47 +08:00
JianBo He
fcc0d4a2e4
chore: client searching support \[]()* chars
2022-01-10 09:07:53 +08:00
Zaiming (Stone) Shi
e9fb999236
Merge pull request #6667 from zmstone/chore-fix-copyright-update-script
...
chore: fix copyright update script to include more files
2022-01-06 13:45:24 +01:00
zhongwencool
3bdfa183f3
Merge pull request #6666 from JimMoen/merge-5.0-beta.3-to-master
...
Merge 5.0 beta.3 to master
2022-01-06 18:20:30 +08:00
Zaiming (Stone) Shi
9f7b513a3f
chore: fix copyright update script to include more files
2022-01-06 08:44:35 +01:00
JimMoen
9a115b99a4
Merge remote-tracking branch 'emqx/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-06 14:08:45 +08:00
Zaiming (Stone) Shi
67ba3a06ea
chore(gateway): update copyright
2022-01-05 20:55:00 +01:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
JianBo He
47441fb747
fix(gw): fix bad default oom policy
2022-01-05 15:49:44 +08:00
Zaiming (Stone) Shi
211b8e1b06
Merge remote-tracking branch 'origin/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-04 22:48:25 +01:00
Zaiming (Stone) Shi
2898fa76e1
Merge remote-tracking branch 'origin/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-03 11:39:06 +01:00
JianBo He
2411c22b42
fix(gw): fix bad listners field on http response
2021-12-31 14:59:17 +08:00
JianBo He
990514a048
fix(gw): stop xml_object_db process synchronously
2021-12-31 14:32:03 +08:00
JianBo He
2a20f110b9
fix(gw): use emqx_http_lib to parse uri
2021-12-31 14:32:03 +08:00
JianBo He
6280c8c9f0
chore: fix dialyzer warnings
2021-12-29 14:02:45 +08:00
Thales Macedo Garitezi
8f4453fedb
fix(gateway): undo move headers to root `include`
...
Keeping headers in the src directory makes sense for the interfaces we
don't want to expose outside, but the `include_lib` directive fails to
compile under Mix. Changing `include_lib("emqx_gateway/src/...")` to
`-include("src/...")` pleases both Mix and Rebar.
2021-12-28 17:34:47 -03:00
Thales Macedo Garitezi
0020cf592f
Merge remote-tracking branch 'origin/master' into build-with-mix-mkII
2021-12-28 11:28:40 -03:00
JianBo He
8203b1f328
refactor(gw): simplify massive repeated codes
2021-12-27 16:50:39 +08:00
JianBo He
76b35910b7
chore(gw): fix elvis warnings
2021-12-27 16:03:31 +08:00
JianBo He
fca5a3bc21
chore(gw): add cli testcases
2021-12-27 16:03:31 +08:00
Thales Macedo Garitezi
e137555052
fix(tests): fix include paths that were moved
2021-12-22 15:15:19 -03:00
JianBo He
b846193556
Merge pull request #6518 from HJianBo/gw-review-r2
2021-12-22 22:10:18 +08:00
Thales Macedo Garitezi
34d6dbca61
chore(mix): simplify build by using rebar3 for umbrella apps
...
By treating the apps in the umbrella as dependencies to be managed and
built by rebar3, we can simplify the maintenance of the release, at
the cost of increased build times: using Mix as before, it could track
changed files better than using rebar. But the complexity and
possibility of discrepancies make it using rebar much more compelling.
2021-12-22 09:40:01 -03:00
JianBo He
1bcdbf3a06
chore(gw): make some fields required
2021-12-22 16:49:34 +08:00
JianBo He
6d4aac1600
chore(gw): improve http error messages
2021-12-22 16:49:33 +08:00
JianBo He
3fd9061418
fix(gw): save coap channel info
2021-12-22 16:49:33 +08:00
zhongwencool
2e10a5700c
Merge pull request #6515 from zhongwencool/fix-bann-utf8
...
fix(banned): create banned with utf8 failed by 500 response
2021-12-22 16:08:34 +08:00
zhongwencool
b11a15fa00
fix(banned): create banned with utf8 failed by 500
2021-12-22 14:29:15 +08:00
Thales Macedo Garitezi
917575de5a
chore(mix): minimal elixir mix release build
...
This commit enables a minimal working build of EMQX release using
Mix. However, to properly start the release, several configuration
steps are still missing. A `mix_release.sh` script does a few hacks
to get the release built with Mix to start properly, by first assuming
that `make emqx` has been run prior to the release, ran once to
generate the `app.*.config` files, and then it copies that and some
other files to the expected places.
Also, `emqx_telemetry` hangs the start procedure because it thinks
it's in an official release and tries to make a request. We disable
it temporarily via config just to get a working build for now.
2021-12-21 13:51:22 -03:00
JianBo He
5b1ed76a44
chore(gw-frame): export types for dialyzer check
2021-12-20 10:59:16 +08:00
JianBo He
92fd9c1eca
chore(gw): fix adding subscription
2021-12-17 15:31:07 +08:00
JianBo He
52c78974d6
chore(gw): fix elvis warnings
2021-12-17 14:16:00 +08:00
JianBo He
561c95c31a
feat(lwm2m): support subscribe/unsubscribe operations
2021-12-17 14:16:00 +08:00
JianBo He
bfbf377a45
feat(coap): support subscribe/unsubscribe operations
2021-12-17 14:16:00 +08:00
JianBo He
6b8bdfd113
chore(gw): support to get subscriptions from coap
2021-12-17 14:16:00 +08:00
JianBo He
3443aeff18
fix(gw): handle discard/kick event
2021-12-17 14:16:00 +08:00
JianBo He
a2823f2ad6
chore(gw): improve some type specs
2021-12-17 14:16:00 +08:00
JianBo He
5224da57dc
Merge pull request #6411 from HJianBo/gw-improve-apis-3
...
More precise gateway http-api examples
2021-12-10 16:52:49 +08:00
firest
8493b61cb5
refactor(eqmx_limiter): use the new hierarchical token bucket to replace the old ratelimit code
2021-12-10 14:37:23 +08:00
JianBo He
fa11c6df9c
test(gw): fix bad test cases
2021-12-10 10:41:38 +08:00
JianBo He
159ba63530
chore: upgrade grpc-erl to 0.6.4
2021-12-09 15:06:18 +08:00
JianBo He
e662628581
chore(gw): fix bad default value in query-string
2021-12-09 14:50:28 +08:00
lafirest
c9cbaeff95
fix(emqx_lwm2m): limit the max size of cmd record
2021-12-09 14:39:11 +08:00
JianBo He
028f1fa71c
chore(gw): fix listener examples
2021-12-09 11:33:09 +08:00
JianBo He
afb2cf19c2
Merge pull request #6297 from HJianBo/gw-improve-apis-2
...
Standardize HTTP-APIs return value and Status/Error Code
2021-12-08 18:02:13 +08:00
JianBo He
7c261b5356
chore(gw): improve examples for _gateway_api
2021-12-08 17:18:39 +08:00
JianBo He
e48f10d2d6
chore(gw): ignore needless args
2021-12-08 11:33:11 +08:00
JianBo He
a937a3d4dc
chore(gw): fix bad argument type
2021-12-08 11:13:00 +08:00
JianBo He
0eff5358ca
chore(gw): add examples for gw&client api
2021-12-08 10:52:27 +08:00
Zaiming (Stone) Shi
9276a5bc3c
Merge pull request #6394 from zmstone/fix-typo-in-hook-point-name
...
fix: typo takeovered -> takenover
2021-12-07 21:06:30 +01:00
Zaiming (Stone) Shi
5440b431a1
fix: typo takeovered -> takenover
2021-12-07 16:06:23 +01:00
JianBo He
d735e2e755
chore: delete 500 error
2021-12-06 16:34:00 +08:00
JianBo He
f1dbeb4bda
chore: fix bad result match
2021-12-06 16:34:00 +08:00
JianBo He
dab3e14686
fix(gw): fix static checking
2021-12-06 16:34:00 +08:00
JianBo He
7f04837ad2
fix(gw): fix elvis warnings
2021-12-06 16:34:00 +08:00
JianBo He
3f35604d16
refactor(gw): fix gateway http api schema
2021-12-06 16:34:00 +08:00
JianBo He
f3f3f12635
refactor: improve the _api_clieints implement
2021-12-06 16:33:59 +08:00
JianBo He
01c50992e9
refactor: improve gw api
2021-12-06 16:33:38 +08:00
JianBo He
169848c027
feat(gw): return the created/updated resource info
2021-12-06 16:32:46 +08:00
JianBo He
bc012d6554
chore(gw): change lwm2m&coap api path
2021-12-06 16:30:59 +08:00
Zaiming (Stone) Shi
a723e41390
test: fix a flaky test which gets interfered by other test cases
2021-12-06 08:00:42 +01:00
Zaiming (Stone) Shi
5d3cb6ae1c
refactor(authn): align authn config root name
...
authn configs are checked independently per-auth provider,
this was to make authn providers more plugable.
in order to make environment variable overrides work for authn,
we need to have a unified view of the config layout,
no matter from root level, or partially checking per-provider
config independently, i.e. we try to use the same config envelop.
2021-12-04 09:33:14 +01:00
zhongwencool
c1a7d7bede
fix(conf): emqx_conf return nest error
2021-12-01 16:08:49 +08:00
lafirest
cfe2954a88
fix(emqx_gateway): fix the function_clause error when client disconnect after connection created
2021-11-30 12:25:06 +08:00
Ilya Averyanov
ea0fa24ce5
chore(ct): remove verbose output during tests
2021-11-25 18:30:50 +03:00