Commit Graph

21515 Commits

Author SHA1 Message Date
Thales Macedo Garitezi dd6566f3c5
Merge pull request #12948 from thalesmg/fix-http-bridge-header-update-obfuscate-r57-20240429
fix(http connector): deobfuscate sensitive headers
2024-04-30 13:34:15 -03:00
Ilya Averyanov e4154dd472 feat(authn): use correct time resolution for setting channel expire in JWT authn 2024-04-30 19:01:16 +03:00
Ilya Averyanov 80d724c504 feat(authn): add connection expire based on authn data 2024-04-30 17:04:55 +03:00
Andrew Mayorov 279169105b
Merge pull request #12934 from keynslug/feat/EMQX-12204/aggreg-s3-bridge
feat(s3-bridge): implement aggregated upload action
2024-04-30 13:50:19 +02:00
Zaiming (Stone) Shi 2fbbe43c87
Merge pull request #12956 from zmstone/0430-fix-client_attrs-extraction-loop
fix(client_attrs): fix client_attrs extraction loop
2024-04-30 13:13:28 +02:00
zmstone 1974ec15ec fix(client_attrs): fix client_attrs extraction loop 2024-04-30 12:12:35 +02:00
Zaiming (Stone) Shi a88862ebe0
Merge pull request #12951 from zmstone/0429-fix-description-schema
fix(schema): description should be in binary() type
2024-04-30 12:03:55 +02:00
Zaiming (Stone) Shi 7e7ae92e0f
Merge pull request #12953 from zmstone/0429-chore-upgrade-rulesql-0.2.1
chore: upgrade to rulesql 0.2.1 (from 0.2.0)
2024-04-30 12:03:40 +02:00
Zaiming (Stone) Shi e40d298752
Merge pull request #12938 from zmstone/0416-variform-add-iif
feat: add conditions to variform expressions
2024-04-30 11:56:55 +02:00
Andrew Mayorov 6d3add3646
fix(s3-aggreg): do not handle `{error, closed}` on buffer write
Because it's not really something `file:write/2` is supposed to return.
2024-04-30 10:48:16 +02:00
Andrew Mayorov 4bea938ef2
fix(s3-csv): clarify naming of CSV container concepts
Co-Authored-By: Ilya Averyanov <av@rubybox.dev>
2024-04-30 10:48:16 +02:00
Andrew Mayorov 83366cbed0
fix(s3-aggreg): ensure action works in Rule SQL contexts 2024-04-30 10:48:16 +02:00
Andrew Mayorov a1a313d992
fix(s3-aggeg): apply CSV column order setting consistently
Otherwise, columns that are part of column order could appear and
disappear from consecutive uploads, depending on if they are part
of the very first buffered event or not.
2024-04-30 10:48:16 +02:00
Andrew Mayorov f6e5eea4f7
feat(s3-aggreg): handle delivery shutdowns gracefully 2024-04-30 10:48:15 +02:00
Andrew Mayorov 339036045d
feat(s3-aggreg): support custom and default S3 object HTTP headers
I.e. configured container decides default `Content-Type` header.
2024-04-30 10:48:15 +02:00
Andrew Mayorov 5b15b2d641
docs(s3-bridge): document aggregated upload action schema 2024-04-30 10:48:15 +02:00
Andrew Mayorov ccbcc0c4e3
feat(s3-bridge): implement aggregated upload action 2024-04-30 10:48:15 +02:00
Andrew Mayorov b91ff97170
feat(s3): separate streaming upload logic into dedicated module
And use it in `emqx_s3_uploader`, while also turning it into a simple
gen_server.
2024-04-30 10:48:12 +02:00
zmstone c8d6976b14 feat: add conditions to variform expressions
- refactored `coalesce` function to allow lazy evaluation
- added `iif(Cond, IfExpr, EleseExpr)` to allow simple conditions
2024-04-30 07:28:27 +02:00
zmstone ad91ca4401 chore: upgrade to rulesql 0.2.1 from 0.2.0
a minor enhancement: rule SQL without WHERE or FROM will
return "Missing FROM or WHERE" instead of "syntax error before {SELECT"
2024-04-29 22:01:32 +02:00
zmstone 9917293fd0 fix(schema): description should be in binary() type 2024-04-29 21:44:55 +02:00
Thales Macedo Garitezi bd7ff8a03f
Merge pull request #12847 from thalesmg/fix-kill-hc-procs-m-20240408
fix(resource manager): clean up any running health checks when terminating, account for ongoing channel health checks, update data and reply immediately when receiving an update
2024-04-29 16:29:18 -03:00
Thales Macedo Garitezi 2972d2df7c docs: update supported otp versions 2024-04-29 15:44:03 -03:00
Thales Macedo Garitezi ffedce014f fix(message validation): validate duplicated topics
Fixes https://emqx.atlassian.net/browse/EMQX-12254
2024-04-29 15:44:03 -03:00
Thales Macedo Garitezi a847389159 fix(http connector): deobfuscate sensitive headers
Fixes https://emqx.atlassian.net/browse/EMQX-12213
2024-04-29 15:20:46 -03:00
Thales Macedo Garitezi 5cf92dcb73 refactor: use `spawn_link` instead of `spawn_monitor`
This should cover the case when the resource manager is brutally killed.
2024-04-29 15:20:32 -03:00
Thales Macedo Garitezi 475077c798 fix(resource): account for ongoing channel health checks, update data and reply immediately when receiving an update 2024-04-29 15:20:32 -03:00
Thales Macedo Garitezi 79526d539a fix(resource manager): clean up any running health checks when terminating
Fixes https://github.com/emqx/emqx/pull/12812#discussion_r1555564254
2024-04-29 15:20:32 -03:00
Zaiming (Stone) Shi 1e64e531f0
Merge pull request #12939 from zmstone/0426-unhide-zone-config-for-listener
docs: expose zone config in schema doc
2024-04-29 20:18:59 +02:00
zmstone 154eb18657 chore: pin mimerl 1.2.0
for some reason, mix pulls 1.3.0 (the lastest from hex.pm)
2024-04-29 15:45:32 +02:00
Ivan Dyachkov 0bb4308a48
Merge pull request #12946 from id/0429-bump-builder-version
chore: bump builder version to 5.3-4
2024-04-29 13:57:54 +02:00
zmstone 7a05a4754f docs: expose zone config in schema doc 2024-04-29 13:57:18 +02:00
Zaiming (Stone) Shi 70d2c6c6cd
Merge pull request #12935 from zmstone/0426-improve-websocket-listener-config-mqtt_path-doc
docs: improve mqtt_path doc
2024-04-29 13:48:10 +02:00
Zaiming (Stone) Shi a41652ec31
Merge pull request #12940 from zmstone/0427-catch-hocon-syntax-error
feat(mgmt): add ignore_readonly to  configs API
2024-04-29 13:22:12 +02:00
Ivan Dyachkov 67ef42220e chore: bump builder version to 5.3-4 2024-04-29 11:49:07 +02:00
zmstone 1db932df21 chore(mgmt): PUT /configs?ignore_readonly=true, lower log to info level 2024-04-29 10:20:47 +02:00
lafirest 9602deacfa
Merge pull request #12941 from lafirest/fix/dynkeys
fix(dynamo): fixed the keys checking for Dynamo
2024-04-29 15:35:31 +08:00
zmstone c3d27347b0 docs: update changlog for pr 12940 2024-04-28 15:06:12 +02:00
zmstone 07cbdc6e90 feat(mgmt): add ignore_readonly qeury-string to PUT /configs API 2024-04-28 14:45:53 +02:00
zmstone 10625eacac chore: upgrade to hocon-0.42.2
hocon pretty-print quotes more string values
if a string has '.' or '-', or if it starts with a digit 0-9,
then it's quoted.

see details here: https://github.com/emqx/hocon/pull/293
2024-04-28 14:05:30 +02:00
firest d6c203b4fd fix(dynamo): fixed the keys checking for Dynamo 2024-04-28 16:59:01 +08:00
zmstone e76c350d30 docs: add changelog for PR 12940 2024-04-27 21:19:40 +02:00
zmstone 5f4215b333 fix(mgmt): avoid 500 error when hocon syntax error 2024-04-27 21:12:42 +02:00
zmstone b96c6c243a docs: improve mqtt_path doc 2024-04-27 15:19:59 +02:00
JimMoen a3320ab51b
Merge pull request #12910 from JimMoen/EMQX-12187/feat-plugin-config-ui
feat(plugin): avro config schema store and encode/decode
2024-04-27 00:51:58 +08:00
JimMoen b98f3d27b8
docs: add change log entry for #12910 2024-04-26 22:30:08 +08:00
JimMoen 43ac4f5dfe
fix: make bpapi check happy 2024-04-26 21:17:01 +08:00
JimMoen 5ff4e76904
refactor: rename plugins config api functions 2024-04-26 20:51:20 +08:00
JimMoen 00cab33fde
fix: plugin's internal config api 2024-04-26 18:10:55 +08:00
JimMoen 11389bc086
fix: i18n file renamed 2024-04-26 11:12:24 +08:00