Commit Graph

1690 Commits (dev)

Author SHA1 Message Date
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
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
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
Ben Hardill 21832a0bd0
Merge remote-tracking branch 'refs/remotes/origin/allow-number-user-properties-mqtt' into allow-number-user-properties-mqtt 2024-10-08 13:59:01 +01:00
Ben Hardill a0b4fc8372
Convert to string 2024-10-08 13:58:29 +01:00
Nick O'Leary bdb545d6eb
Update dependencies 2024-10-07 16:30:38 +01:00
Joe Bordes 7650620a78 i18n(App) update with latest language file changes 2024-10-04 18:06:01 +02:00
Ben Hardill 34d8b3ed5e
Merge branch 'master' into allow-number-user-properties-mqtt 2024-10-01 16:35:56 +01:00
Ben Hardill e3acc49d5e
Allow msg.userProperties to have number values
fixes #4899
2024-10-01 16:31:28 +01:00
Daniel Caspi 1053fc5121
fix typo: depreciated 2024-09-27 04:35:51 -05:00
Nick O'Leary f7a43f83e5
Bump for 4.0.3 2024-09-17 14:23:43 +01:00
Nick O'Leary 204e0f636b
Merge pull request #4874 from node-red/update-dependencies
Update dependencies
2024-09-17 13:52:08 +01:00
Nick O'Leary f2227c8f65
Merge pull request #4854 from kazuhitoyokoi/master-fixexample
Fix typo in flow example name
2024-09-17 13:49:05 +01:00
Ben Hardill f44868384e
Move SNI, ALPN and Verify Server cert out of check
This moves the SNI, ALPN and the Verify Server Cert check out
of the check for if the supplied certs/key are actually valid
as these may be still required for correct behaviour.

part of #4877
2024-09-16 11:55:05 +01:00
Steve-Mcl 3597759692 set status of mqtt nodes when deregistered from broker 2024-09-12 14:40:39 +01:00
Nick O'Leary 92911f6714
Update tough-cookie 2024-09-11 17:37:50 +01:00
Nick O'Leary e5a0d4094f
Merge pull request #4873 from node-red/4858-ensure-mqtt-will-payload-is-string
Ensure will payload is a string
2024-09-11 17:12:40 +01:00
Nick O'Leary db51307e7f
Merge branch 'dev' into fix_html_tags 2024-09-11 15:27:45 +01:00
Nick O'Leary de0546b251
Update packages/node_modules/@node-red/nodes/core/network/10-mqtt.js
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
2024-09-11 15:23:03 +01:00
Nick O'Leary 20ae4a7272
Update dependencies 2024-09-11 13:58:16 +01:00
Nick O'Leary 7f77a414ec
Ensure will payload is a string 2024-09-11 12:10:37 +01:00
GogoVega aed9a868ab
Add French translations for batch and join nodes 2024-08-18 12:55:28 +02:00
Kazuhito Yokoi edc01552f9
Fix invalid property error in range node example (#4855) 2024-08-14 19:42:07 +01:00
Kazuhito Yokoi b4d29d4d4a Fix typo in flow example name 2024-08-14 00:25:59 +09:00
Kazuhito Yokoi d11934beeb Add Japanese translations for batch and join nodes 2024-08-12 00:14:28 +09:00
Nick O'Leary 1fd4fbc299
Merge branch 'dev' into export-module-info 2024-07-18 17:28:03 +01:00
Nick O'Leary b3acd1a588
Merge branch 'master' into update-dev 2024-07-18 17:22:44 +01:00
Nick O'Leary 998219ae9a
Merge pull request #4829 from node-red/Let-Batch-node-honour-parts-to-close-early
Let batch node terminate "early" if msg.parts set to end of sequence
2024-07-18 16:34:46 +01:00
Nick O'Leary 45936285cc
Bump dev to 4.1.0-beta.1 2024-07-18 16:32:12 +01:00
Nick O'Leary be9add2a95
Handle import of unknown nodes that include module meta 2024-07-18 16:23:02 +01:00