Commit Graph

1717 Commits (dev)

Author SHA1 Message Date
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
Nick O'Leary 4845a1f7eb
Bump for 4.0.8 2024-12-20 11:06:08 +00:00
Nick O'Leary 100e5244c8
Bump for 4.0.7 2024-12-17 17:08:56 +00:00
Nick O'Leary e9d5d20e2d
Update for 4.0.6 2024-12-16 11:35:14 +00:00
Steve-Mcl b139eb4a18 update CSV to adhere to strict rfc compliance on msg.columns 2024-12-12 16:42:11 +00:00
Steve-Mcl 6af3c8c2a9 revert changes to csv parser 2024-12-12 16:41:26 +00:00
Steve-Mcl 2c3fbb1467 revert changes to legacy mode 2024-12-12 16:40:43 +00:00
meeki007 abceb1185b
Update 10-mqtt.js to meet mqtt specification of 23 length clientid
MQTT clientid:
If automatically generating a clientid for user it should be =< 23
Right now it generates length of 24.

See mqtt specifications --> http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc385349242
"The Server MUST allow ClientIds which are between 1 and 23 UTF-8 encoded bytes in length,..."

As 23 is the minimum we should shoot for this specification.

I noticed this when connecting to a mqtt server that was set to minimum spec. it would not connect! Sure I can generate my own ID or fill it in with less than 23 but it did confuse me for 15min.
2024-12-12 11:15:23 -05:00
Stephen McLaughlin 01716119e6
Merge branch 'master' into 4977-fix-csv-sep 2024-12-12 10:26:24 +00:00
Vasu Vanka 6a127e98cc
Update 10-function.js 2024-12-11 11:08:00 +05:30
Vasu Vanka 477e81256e
added default timeout to function node (#1)
* added default timeout to function node

* added unit test to support defaultFunctionTimeout
2024-12-10 01:41:54 +05:30
Dave Conway-Jones 56a4530ec6
Fix delay node not dropping when nodeMessageBufferMaxLength is set (#4973)
* Fix delay node not dropping when nodeMessageBufferMaxLength is set

to close #4966

* Rmove redundant codes

* Tidy up code removal

---------

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-12-06 22:22:37 +00:00
Nick O'Leary f6e565ba04
Merge pull request #4980 from braincube-io/feat/fadoli/MakeFileReadFast
Performance : make reading single buffer / string file faster by not re-allocating and handling huge buffers
2024-12-05 16:17:52 +00:00
Nick O'Leary e4fdf24545
Ensure node.sep is honoured when generating CSV 2024-12-05 16:00:54 +00:00
Franck bfd98aaf22 PERF : make single buffer / string file reading faster 2024-12-05 12:24:22 +01:00
Dave Conway-Jones 936f024e33
reverse test logic of existence of pfx 2024-12-04 12:54:06 +00:00
Dave Conway-Jones fbf2c7b570
Update 05-tls.js 2024-12-03 14:35:56 +00:00
Nick O'Leary e48607c743
Merge pull request #4940 from node-red/Delay-node-not-send-on-reset-if-queue-empty
Make delay node rate limit reset consistent - not send on reset.
2024-11-11 13:49:41 +00:00
Nick O'Leary 54bf3f4402
Merge pull request #4934 from ersinpw/patch-1
Missing getSubscriptions in the docs while its implemented
2024-11-01 09:06:36 +00:00
Dave Conway-Jones d3219f0600
do add to queue in case it needs to also be flushed 2024-10-31 17:21:53 +00:00
Nick O'Leary 348ec34446
Merge pull request #4925 from GogoVega/fix-4923
Apply `envVarExcludes` setting to `util.getSetting` into the function node
2024-10-31 17:18:32 +00:00
Dave Conway-Jones 33a5b2527c
Make delay node rate limit reset consistent - not send on reset.
to fix #4830
2024-10-31 17:06:13 +00:00
Ersin a7ee31307e
missing getSubscriptions in the docs while its implemented
See:
https://github.com/node-red/node-red/blob/master/packages/node_modules/%40node-red/nodes/core/network/10-mqtt.js#L1288
2024-10-29 13:38:32 +01:00
Gauthier Dandele f67268b89a
Revert and force getSetting to use the local node
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-10-28 18:01:42 +01:00
GogoVega 2fd7aee4da
Move `envVarExcludes` to the top scope 2024-10-24 13:44:40 +02:00
GogoVega 7555e0644f
Apply `envVarExcludes` setting to `RED.util.getSetting` into the function node 2024-10-23 12:15:24 +02:00
Nick O'Leary 2220956007
Ensure trigger second output is revaluated for date types 2024-10-21 16:35:11 +01:00
Nick O'Leary b3aff3a3e6
Ensure trigger node properties work with evaluateNodeProperty 2024-10-21 16:26:03 +01:00
Nick O'Leary d0ad62a82b
Revert trigger node fix 2024-10-21 16:24:21 +01:00
Dave Conway-Jones 2eba754801
Fix trigger node date handling for latest time type input
to fix #4914
2024-10-12 16:49:09 +01:00
Nick O'Leary fe9354d10b
Bump for 4.0.5 2024-10-10 11:05:08 +01:00
Dave Conway-Jones 71440be009
Fixup tls config for tests 2024-10-09 17:46:07 +01:00
Dave Conway-Jones c3d4421592
Add option to use pfx or p12 for TLS connections 2024-10-09 16:49:27 +01:00
Nick O'Leary 90ea3c15b3
Bump for 4.0.4 release 2024-10-09 10:56:14 +01:00
Nick O'Leary acd500fe3d
Merge pull request #4893 from node-red/update-deps
Update dev dependencies
2024-10-09 10:30:56 +01:00
Nick O'Leary 8988176c22
Merge pull request #4900 from hardillb/allow-number-user-properties-mqtt
Allow msg.userProperties to have number values
2024-10-09 10:28:55 +01:00
Nick O'Leary a0033697ea
Update cookie 2024-10-09 10:25:35 +01:00
Ben Hardill d50ccea017
Update packages/node_modules/@node-red/nodes/core/network/10-mqtt.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-10-08 16:51:09 +01:00