Commit Graph

1754 Commits (bcbc5dec481521d752cc4cda0434ec41cb5cc32a)

Author SHA1 Message Date
Nick O'Leary 1813a5791d
Merge pull request #5290 from node-red/5283-fix-ui-lockup-for-typed-arrays
Fix UI lock-up when typed arrays are expanded in debug window
2025-10-09 11:24:43 +01:00
Steve-Mcl 36f98133bf Fix UI lock-up when typed arrays are expanded in debug window
closes #5283
2025-10-05 12:18:18 +01:00
Dave Conway-Jones 4ae8fcbc45
Fix range node to handle input min > max
and add tests
and add pin hover to show confiog
2025-08-29 15:08:23 +01:00
Dave Conway-Jones 7b51f30d11
Fix rounding errors for range node when using float inputs and integer outputs
And add extra tests
2025-08-28 15:18:02 +01:00
Nick O'Leary 65785be169
Merge pull request #5241 from kazuhitoyokoi/master-fixhttprequest
Show requesting status correctly in http request node when multiple processes are working
2025-08-28 13:52:30 +01:00
Ben Hardill 54849e9e62
fix test 2025-08-20 19:12:09 +01:00
Ben Hardill b7cef0bce7
Update packages/node_modules/@node-red/nodes/core/sequence/17-split.js 2025-08-20 18:45:26 +01:00
Ben Hardill 22a3f47060
Speed up split node
fixes #5251

The code changed from 4.0.x to 4.1.x

This change to to prevent making changes to the orginial input `msg`
object incase any values were stored in context (pass by refernce).

The change meant that for every output message the whole original
input `msg` was being cloned, which could be huge, causing a big
performance regresion.

This fix ensures the clone of the orginial `msg` is only done once
and the much smaller output message is then cloned again to update
`msg.parts` object for each output. This results in lots of small
clones rather than lots of very large clones.
2025-08-20 18:40:19 +01:00
Kazuhito Yokoi f70770a63d Show requesting status correctly in http request node when multiple processes are working 2025-08-03 14:23:23 +09:00
Nick O'Leary ab1f1a284e
Update for 4.1.0 release 2025-07-29 15:55:04 +01:00
Debadutta Panda f57d7d9382 Improve raw body parser to handle skipped parsing and ended streams 2025-07-26 02:44:31 +05:30
Nick O'Leary b4ff0c7824
Bump dependencies 2025-07-22 10:04:03 +01:00
Nick O'Leary 412f4465c7
Merge branch 'master' into dev 2025-07-21 16:29:52 +01:00
Nick O'Leary 0845811671
Merge pull request #5207 from node-red/node24-support
Updates for Node 24
2025-07-21 15:14:24 +01:00
Nick O'Leary a3563026a5
Merge pull request #5210 from kazuhitoyokoi/master-fixrbe
Update help document of filter node
2025-07-10 10:04:20 +01:00
ZJ van de Weg 1eb6056843 Fix inject node validation to support binary and hexadecimal numbers
The inject node was using a restrictive regex that only accepted decimal
numbers, while the switch node properly supported binary (0b) and
hexadecimal (0x) formats. This inconsistency caused the inject node to
show validation errors for valid number formats.

Updated the inject node to use the same validateTypedProperty utility
function as the switch node, ensuring consistent number validation
across both nodes.

Fixes #5208
2025-07-07 16:19:34 +02:00
Kazuhito Yokoi 1f48dd5c0a Update help document of filter node 2025-07-07 00:19:06 +09:00
Nick O'Leary b364f8f9b6
Handle deprecated calls to child_process with args 2025-07-04 14:59:58 +01:00
Kazuhito Yokoi 49b4c2bfee Add Japanese translations for 4.1.0-beta.2 2025-06-29 23:46:40 +09:00
Nick O'Leary 2c63d2fe4c
Bump for 4.1.0-beta.2 2025-06-26 15:14:34 +01:00
Nick O'Leary 9bf9b7a635
Update context on autoComplete api 2025-06-26 14:30:13 +01:00
Nick O'Leary 0ae9f3dd8a
Add support for plugin sources of autoComplete fields 2025-06-26 14:21:21 +01:00
Nick O'Leary 176ab9c554
Merge branch 'master' into dev 2025-06-26 11:01:07 +01:00
Nick O'Leary d505b2171f
Merge pull request #5168 from GogoVega/truncate-topic-debug
Truncate topic of debug message and add tooltip
2025-06-25 17:03:04 +01:00
Nick O'Leary 03cd5f8588
Merge branch 'dev' into truncate-topic-debug 2025-06-25 16:30:41 +01:00
Nick O'Leary 7c9e2c41ba
Update packages/node_modules/@node-red/nodes/core/common/lib/debug/debug-utils.js 2025-06-25 16:30:33 +01:00
Nick O'Leary b428e24ea5
Update skip http body parser 2025-06-25 16:28:30 +01:00
Debadutta Panda af1f8bd112
Merge branch 'dev' into @feature/issue-5029 2025-06-21 19:41:03 +05:30
Nick O'Leary 71e7b821a2
Merge pull request #5173 from kazuhitoyokoi/dev-addjpn
Add Japanese translations for 4.1.0-beta.1
2025-06-16 14:14:19 +01:00
Nick O'Leary 3222efb5d0
Merge pull request #5172 from hardillb/http-request-rejectunauthorized-string
Allow limited Strings for msg.rejectUnauthorized
2025-06-16 14:04:43 +01:00
Kazuhito Yokoi 630d057c4c
Update Japanese translations of mqtt-in node for 4.0.9 2025-06-15 14:02:58 +09:00
Kazuhito Yokoi 2886fc326c Add Japanese translations for 4.1.0-beta.1 2025-06-15 01:01:55 +09:00
Ben Hardill 410e5b8faf
Allow limited Strings for msg.rejectUnauthorized
fixes #5171

If `msg.rejectUnauthorized` is a string allow "true", "false"
(and upper case versions) otherwise show a warning and use default
behaviour.

Boolean values used as is, any other types also ignored.
2025-06-13 13:33:42 +01:00
GogoVega 8449ba9a3c
Truncate topic of debug message and add tooltip 2025-06-11 15:48:03 +02:00
Nick O'Leary 6717cce644
Merge pull request #5163 from node-red/rel410b1-prep
Initial prep for 4.1.0-beta.1 release
2025-06-10 16:29:56 +01:00
Nick O'Leary 1b1bcfe6a8
Merge branch 'rel410b1-prep' into fix-http-digest-query 2025-06-10 16:23:15 +01:00
Nick O'Leary 7f1eede6f8
Update dependencies 2025-06-10 10:41:21 +01:00
Ben Hardill 05b15e4d1a
Include URL query params in HTTP Digest
fixes #3616
2025-06-10 10:10:46 +01:00
Debadutta Panda f9241de213
Merge branch 'dev' into @feature/issue-5029 2025-06-10 13:06:13 +05:30
GogoVega c32e8875ef
Add French translation for 4.1 2025-06-09 13:19:57 +02:00
Nick O'Leary 6f34696687
Initial prep for 4.1.0-beta.1 release 2025-06-09 11:47:18 +01:00
Nick O'Leary 5511b27855
Merge branch 'master' into dev 2025-06-09 10:51:35 +01:00
Debadutta Panda 9b3246075d
Update 21-httpin.js
- change the function name
- remove and change some functions description
2025-06-07 11:30:02 +05:30
Debadutta Panda 7d16feff24
Merge branch 'dev' into @feature/issue-5029 2025-06-07 10:47:20 +05:30
Nick O'Leary be4de3b404
Fix typo is de/httprequest.html 2025-06-06 16:30:07 +01:00
Nick O'Leary 56df614b38
Merge pull request #5159 from node-red/4927-function-globals
Add URL/URLSearchParams to Function sandbox
2025-06-06 16:27:51 +01:00
Nick O'Leary d5c7514668
Add URL/URLSearchParams to Function sandbox
Closes #4927
2025-06-06 16:21:04 +01:00
Nick O'Leary 37bcd743b8
Exec: Make encoding handling consistent between stdout and err 2025-06-06 16:08:45 +01:00
Nick O'Leary 1dbce32ab5
Merge pull request #5156 from node-red/pr_4989
Ensure generated mqtt clientId uses only valid chars
2025-06-06 11:50:57 +01:00
Nick O'Leary f9de98d88a
Merge pull request #5114 from node-red/fix-complete-node-to-filter-simple-feedback
Fix complete node to not feedback immediately connected nodes
2025-06-06 11:48:12 +01:00
Nick O'Leary cbf00ca93e
Merge pull request #4985 from vasuvanka/dev
Add globalFunctionTimeout
2025-06-06 11:40:19 +01:00
Nick O'Leary 9e79fc8a09
Apply suggestions from code review 2025-06-06 11:30:34 +01:00
Nick O'Leary 16ee42a43f
Merge pull request #5113 from node-red/Let-split-report-original-msg-on-complete
Let split node send original msg to complete node
2025-06-06 11:03:28 +01:00
Nick O'Leary 3f3450ce3e
Apply suggestions from code review 2025-06-06 11:00:13 +01:00
Nick O'Leary aaa4e60d58
Apply suggestions from code review 2025-06-06 10:58:30 +01:00
Nick O'Leary 843313185a
Apply suggestions from code review 2025-06-06 10:15:53 +01:00
Nick O'Leary 332fbae39e
Merge branch 'dev' into feature/export-module-info-2 2025-06-06 10:07:32 +01:00
Ben Hardill b0ac6f48a1
Bump Multer to 2.0.1 2025-06-04 11:19:30 +01:00
Nick O'Leary 30215b02ac
Merge branch 'master' into dev 2025-06-03 16:55:29 +01:00
Nick O'Leary e12c54a5ca
Merge pull request #5130 from node-red/Re-label-Split-The-field-in-split-node
Rename Split The field
2025-06-03 16:36:10 +01:00
Ben Hardill 332dd7c94b
Upgrade multer to 2.0.0
fixes #5146

Bumps multer to 2.0.0 to pick up fix for CVE
2025-06-03 13:01:28 +01:00
ZJ van de Weg 5ab773c1f0 httprequest: Recommend HTTPS over HTTP
Super minor, maybe annoying to merge, but spotted the http and thought
it's not of the times and the s ought to be added.
2025-05-30 19:51:06 +02:00
Dave Conway-Jones 159ea30b16
Rename Split The field
to close #5128
2025-05-01 22:03:50 +01:00
Debadutta Panda c041149f7e
Merge branch 'dev' into @feature/issue-5029 2025-04-29 13:20:05 +05:30
GogoVega a4c8f57802
Add note + nls to the "manage modules" button 2025-04-28 20:52:11 +02:00
Nick O'Leary 0f012a4465
Merge branch 'dev' into export-module-info 2025-04-28 16:11:14 +01:00
Nick O'Leary 4b47da2767
Merge pull request #5105 from hardillb/alpn-http-request
Fix the capitisation for ALPN settings in http-request
2025-04-25 17:31:59 +01:00
Dave Conway-Jones c771b175b1
Add complete test, and fix tests 2025-04-21 14:58:25 +01:00
Dave Conway-Jones 316eb7c9ef
Also apply same fix to status node 2025-04-21 14:42:34 +01:00
Dave Conway-Jones 3e8fc17f1f
Let split node send original msg to complete 2025-04-21 12:48:30 +01:00
Dave Conway-Jones 0a847a7a67
Fix complete node to not feedback immendiately connected nodes 2025-04-21 12:47:07 +01:00
Ben Hardill f961a7276b
Better comment 2025-04-17 15:39:19 +01:00
Ben Hardill 0b271f1185
Remove http.servername as got doesn't support 2025-04-17 15:32:31 +01:00
Debadutta Panda 65655a5494
Merge branch 'dev' into @feature/issue-5029 2025-04-14 20:50:20 +05:30
Nick O'Leary 34bf4b0268
Merge branch 'master' into dev 2025-04-14 14:43:59 +01:00
Nick O'Leary ba0299abf9
Revert body-parser due to test breakage 2025-04-14 14:23:44 +01:00
Ben Hardill f3b47c5659
Update packages/node_modules/@node-red/nodes/core/network/21-httprequest.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-14 13:27:02 +01:00
Nick O'Leary 9dd1e9a0b3
Update dependencies 2025-04-14 12:02:48 +01:00
Ben Hardill 261495fc2d
Fix the capitisation for ALPN settings in http-request
part of  node-red/node-red#5104
2025-04-13 08:43:50 +01:00
Debadutta Panda b081e66806 refactor: remove unused PassThrough stream import from httpin.js 2025-03-19 00:50:41 +05:30
Debadutta Panda 16d095397c refactor: update rawBody label to skipBodyParsing and adjust related UI elements 2025-03-18 18:42:27 +05:30
Debadutta Panda 8543c88f2b
Merge branch 'dev' into @feature/issue-5029 2025-03-18 16:06:24 +05:30
Nick O'Leary b8f0e13cd6
Merge branch 'dev' into export-module-info 2025-03-17 16:51:44 +00:00
Nick O'Leary 686efc4720
Merge branch 'master' into dev 2025-03-17 16:07:46 +00:00
Nick O'Leary b8fa468559
Add support for node: prefixed modules in function node 2025-02-28 17:34:01 +00:00
Nick O'Leary e55301c073
Update for 4.0.9 2025-02-14 17:03:13 +00:00
Debadutta Panda 3a29330021 Update comment to clarify middleware positioning in HTTP node setup 2025-02-14 13:50:06 +05:30
Debadutta Panda 3fc94e7b99 Clarify comment for route key existence check in raw body capture middleware 2025-02-14 13:46:41 +05:30
Debadutta Panda bb43d63b54 Fix condition check for RED.httpNode to ensure proper middleware setup 2025-02-14 13:46:41 +05:30
Debadutta Panda caeb5d3538 Refactor raw body capture middleware to use a Set for route management and improve code consistency 2025-02-14 13:46:41 +05:30
Debadutta Panda 9a26ee3052 Refactor raw body capture middleware and improve route key generation for HTTP nodes 2025-02-14 13:46:41 +05:30
Debadutta Panda 9d811c7bce Improve clone stream handling by adding safety checks for writable and destroyed states 2025-02-14 13:46:41 +05:30
Debadutta Panda 7321cd20db Rename createRouteId to getRouteId and update related references; improve raw body capture stream handling 2025-02-14 13:46:41 +05:30
Debadutta Panda 90328ef75e Replace httpInNodes.remove with httpInNodes.delete to fix timeout error 2025-02-14 13:46:41 +05:30
Debadutta Panda 356c0c2416 Add include raw data option in request body. 2025-02-14 13:46:41 +05:30
aikitori 27463197cd
Add details for the dynamic subscription to match the English documentation 2025-02-13 08:55:10 +01:00
Nick O'Leary 13cac1b5ef
Remember context sidebar tree state when refreshing
Closes #5008
2025-01-21 13:56:44 +00:00
Nick O'Leary 503ef62cf5
Merge pull request #5018 from node-red/fix-debug-status-if-null
fix debug status reporting if null
2025-01-20 11:32:43 +00:00
Dave Conway-Jones 1acc16c9ef
fix debug status reporting if null 2025-01-19 10:57:58 +00:00
Nick O'Leary 953b7584a3
Avoid exceeding call stack when draining message group in Switch
Fixes #5013
2025-01-13 16:37:35 +00:00