Commit Graph

186 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 09455edae8 Merge tag 'v5.0.10' into dev/ee5.0 2022-11-16 16:20:30 +01:00
Stefan Strigler 612e5acea8 fix: return 404 instead of 400 for unknown gateway 2022-11-01 11:04:29 +01:00
Stefan Strigler ef5687d465 fix(emqx_gateway_api): don't crash on unknown status 2022-10-27 12:35:15 +02:00
Shawn 4135910b42 chore: merge master into dev/ee5.0 2022-09-26 09:52:33 +08:00
Zaiming (Stone) Shi 4534966e36 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-09-13 12:16:54 +02:00
JianBo He 4384cae29e test: fix failed tests 2022-09-13 09:15:50 +08:00
JianBo He fbc2130865 test: add test for idle_timeout parameter 2022-09-13 09:15:28 +08:00
JianBo He f8614196ac test: ensure udp client keepalive value getting right value 2022-09-13 09:15:28 +08:00
JianBo He dfc6e34680 fix(exproto): avoid udp client process leaking
porting from v4.x:
- https://github.com/emqx/emqx/pull/8575
- https://github.com/emqx/emqx/pull/8628
- https://github.com/emqx/emqx/pull/8725
2022-09-13 09:15:28 +08:00
JianBo He 0caaccaa0f test: add tests for `/` leading topic 2022-09-06 15:38:32 +08:00
JianBo He d6b222d1ff test: fix coap authz suite failures 2022-09-06 15:38:32 +08:00
Zaiming (Stone) Shi 5a3fb4a011 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-08-31 17:11:15 +02:00
firest 1233d3c8df fix(gateway): compatible with the old "/gateway" form API 2022-08-31 10:53:13 +08:00
firest bc12899ef8 fix(gateway): fix coap test case error 2022-08-31 09:27:37 +08:00
firest 81a86e3202 fix(gateway): fix test case error 2022-08-31 09:27:37 +08:00
firest 527ea23ec8 fix(gateway): change the `/gateway` API path to plural form 2022-08-31 09:27:37 +08:00
Zaiming (Stone) Shi 9a5dda010e docs: update CHNAGES-5.0.md 2022-08-24 21:02:21 +02:00
Shawn b3162fe5ff fix: conflicts between master and ee5.0 2022-08-14 22:24:09 +08:00
JianBo He 907d9a166a test(gw): fix gateway flaky tests 2022-08-12 10:20:15 +08:00
Zaiming (Stone) Shi 13f5c0b6b1 fix(lwm2m): better logging for unknown object IDs
Prior to this change, unknown object IDs would result in a tuple
{error, no_xml_definition}, and this tuple is passed down to xmerl
lib to get XML node data and eventually crash with function_clause.

With this fix, the unknown object ID exception is caught and logged
properly.
2022-08-09 11:26:12 +02:00
Thales Macedo Garitezi d2e146aeff test: fix flaky gateway tests 2022-08-04 13:16:17 -03:00
Thales Macedo Garitezi 4a1ede7e7e test: fix flaky gateway tests 2022-08-01 10:57:34 -03:00
JianBo He 38b5882dc8 test(gw): using ip_port in listener tests 2022-07-26 11:40:52 +08:00
zhouzb 1b211434d0
Merge pull request #8381 from HJianBo/fix-content-type
chore: treat 200 and no body as ACL nomatch
2022-07-01 21:56:40 +08:00
JianBo He 2d8231c638 chore: fix gateway authz cases 2022-07-01 21:08:58 +08:00
JimMoen f0c783b260 test(authn): emqx_authn and gateway_athn http `content-type` 2022-07-01 20:55:39 +08:00
JianBo He ad698834df test(gw): fix test cases 2022-06-16 22:55:44 +08:00
JianBo He df2c17ccc4 fix(gw): enhance the authn resources managing logic 2022-06-16 17:48:19 +08:00
Xinyu Liu 3b00b16abe
Merge pull request #8221 from terry-xiaoyu/fix_delayed_module_disbled_after_emqx_stop
feat: fix the hook priorities
2022-06-16 09:42:42 +08:00
Ilya Averyanov e381e3698f feat(authn): add enable_authn flag for listeners 2022-06-15 22:26:08 +03:00
Shawn 48f685a0dd fix: remove the APIs for emqx_hooks:put/2 and emqx_hooks:add/2 2022-06-16 00:43:50 +08:00
JianBo He 77d4faa632 fix(gw): not updating the authenticator using re-creation 2022-06-15 13:48:15 +08:00
Zhongwen Deng 02872fb8c2 feat: rename gateway's tcp/ssl/udp/dtls to *_options 2022-06-07 22:23:02 +08:00
Ilya Averyanov 2d53c21d45 chore(authn api): replace user import api with upload api 2022-06-01 19:56:23 +03:00
Ilya Averyanov 3be617cf40 feat(authn api): add method for user file upload 2022-05-31 00:40:10 +03:00
JianBo He 13fb973018 test(gw): clean up exproto confs 2022-05-30 14:44:07 +08:00
Shawn b846220ffd fix(test): discard already_started error for gpc test server 2022-05-28 17:15:56 +08:00
Ilya Averyanov 5dba01b8fa fix(authn): fix user search API 2022-05-25 15:50:20 +03:00
JianBo He 61b1731e5c fix(gw): merge the listener and authn confs 2022-05-17 15:16:03 +08:00
JianBo He a6c15967d2 test(gw): ensure coap client kicked 2022-05-16 21:42:16 +08:00
Zaiming (Stone) Shi 7207b2fa70 test: ensure emqx app stoped for emqx_ctl_SUITE run 2022-05-13 11:52:41 +02:00
JianBo He 3f84600401 test(gw): remove enable option from server ssl conf 2022-05-12 20:27:25 +08:00
JimMoen c181efd0ae test(gateway): fix authz callback rename 2022-05-12 14:39:12 +08:00
Thales Macedo Garitezi 0925f2104c
test: fix flaky tests 2022-05-11 13:42:47 -03:00
JianBo He 725c96dc2f
Merge pull request #7814 from HJianBo/fix-gw-bad-ssl
fix(gw): return BAD_REQUEST if request's ssl files is bad
2022-04-29 11:52:57 +08:00
JianBo He 23c6047163 fix(gw): return BAD_REQUEST if request's ssl files is bad 2022-04-28 16:12:32 +08:00
JianBo He ff31a5a6a4 feat(gw-exproto): save ssl files for server&handler option 2022-04-28 15:34:57 +08:00
firest fd0f32418e fix(gateway): Add support for query by is_superuser 2022-04-27 15:41:14 +08:00
JianBo He d2ba2a64f4 test(gw): fix lookup_cmd -> lookup 2022-04-22 09:19:31 +08:00
firest 1a3641e286 test(gateway): temporarily remove flaky case 2022-04-19 15:58:05 +08:00