JimMoen
47901c9fed
fix(exhook): `client.authorize` hook always uses real-topic
...
See: emqx_channel:do_check_sub_authzs/3, line: 1895
2023-12-11 14:11:18 +08:00
JimMoen
cfe3b2dcee
feat(exhook): subopts in on_client_subscribe/on_client_unsubscribe
2023-12-11 14:11:18 +08:00
JimMoen
46201a8796
feat(exhook): provide the `peerport` field
...
- both in `ConnInfo` and `ClientInfo`
2023-12-11 14:11:18 +08:00
JimMoen
0ca725ff25
fix: deprecated `share` in `subopts`
2023-10-27 09:23:43 +08:00
JimMoen
b5411da770
refactor: subscribe process to fix shared-sub
2023-10-27 09:23:43 +08:00
Ilya Averyanov
7de26a1776
feat(authz): use extensible map format for actions in authz rules
...
* support authorization on retain, qos fields
* refactored authz tests heavily
2023-07-07 19:40:34 +03:00
Zaiming (Stone) Shi
dbc10c2eed
chore: update copyright year 2023
2023-01-02 09:22:27 +01:00
JianBo He
168f44e45b
fix: exhook client.authorize never be execauted
...
see: https://github.com/emqx/emqx/issues/8779
2022-08-31 14:34:02 +08:00
JimMoen
bbd843c68b
feat(exhook): provide meta data in `RequestMeta`
2022-04-23 19:45:34 +08:00
firest
1a4afabe9f
chore(exhook): reformat exhook codes
2022-04-14 14:12:34 +08:00
JianBo He
7954f32858
chore: remove scram authenticator for all gateway
2022-04-12 16:13:55 +08:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
JianBo He
5d4604701c
chore: fix elvis warnings
2021-12-09 15:06:18 +08:00
JianBo He
e7ccd88719
test(props): cover messages headers
2021-12-09 15:06:18 +08:00
JianBo He
262fb13a71
chore(exhook): fix diaylzer warnings
2021-12-09 15:06:17 +08:00
JianBo He
20ba9d285f
feat(exhook): expose headers for on_messages_publish hook
2021-12-09 15:06:17 +08:00
Zaiming (Stone) Shi
5440b431a1
fix: typo takeovered -> takenover
2021-12-07 16:06:23 +01:00
Spycsh
c89a663b53
chore: refactor slog under emqx, conf and exhook
2021-11-22 23:12:17 +01:00
JianBo He
aa019b34ad
test(exhook): refine tests
2021-08-03 14:06:58 +08:00
JianBo He
879c191e41
refactor(exhook): adapt to the hocon schmea
2021-08-03 14:06:58 +08:00
Turtle
ed1cf33b9d
chore: merge coap/lwm2m/exhook/exproto to emqx_gateway dir
2021-07-16 23:24:36 +08:00
zhanghongtong
e1b0f44a8a
chore: rename check_authz to authorize
2021-06-29 10:09:15 +08:00
zhanghongtong
c63bdc355a
chore: rename check_acl to check_authz
...
update emqx_coap vsn
rename OnClientCheckAcl to OnClientCheckAuthz in exhook
2021-06-29 10:09:15 +08:00
Ertan Deniz
07d5c0f9df
feat(exhook): add ssl cert info to ClientInfo
2021-04-27 09:20:38 +08:00
Zaiming Shi
6354e75626
chore: update copyrights
2021-04-23 20:43:00 +02:00
JianBo He
373532f9e4
fix(exhook): fix the match pattern
2021-04-15 21:48:32 +08:00
JianBo He
b7a8884d4a
chore(exhook): add a comment to bool type
2021-04-15 11:07:55 +08:00
JianBo He
658ed81cfa
fix(exhook): fix bad variable name
2021-04-13 10:28:07 +08:00
JianBo He
bb2033be13
refactor(exhook): remove hook registray
2021-04-06 11:22:30 +08:00
JianBo He
277cab86d3
refactor: improve the speed of hexstr and binary conversions
2021-03-23 18:25:19 +08:00
JianBo He
6bf15c6a2f
chore(exhook): deinit registray after application stopped
2021-03-09 11:37:30 +08:00
JianBo He
f9d5d3523d
chore(exhook): add more option for protobuff
2021-03-09 11:37:30 +08:00
JianBo He
0d8c137cb5
refactor(exhook): load only the necessary hooks
2021-03-09 11:37:30 +08:00
JianBo He
4585306774
chore(exhook): upgrade to 0.6.2
2021-03-09 11:37:30 +08:00
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
JianBo He
485bffadd6
refactor(exhook): improve the exhook implementation
2020-10-31 10:24:28 +08:00