Commit Graph

217 Commits

Author SHA1 Message Date
Nick O'Leary 97470e94f1
Merge pull request #4262 from sammachin/patch-3
Handle 204 in httprequest JSON
2023-08-14 11:10:24 +01:00
Sam Machin 2b01a3fcd3
Handle 204 in httprequest JSON
If the http statusCode is 204 (Success, No Content) and the node return type is set to JSON this sets msg.payload as an empty json object so as to supress the JSON parse error
2023-08-02 14:15:29 +01:00
Nick O'Leary 8b7b3e22d7
Merge branch 'master' into dev 2023-07-26 16:59:12 +01:00
Manuel Buchner 21be329008
fix html syntax in 21-httprequest.html 2023-07-18 17:16:17 +02:00
Nick O'Leary 610cb170e7
Fix connection keep-alive in http request node 2023-06-21 15:45:23 +01:00
Steve-Mcl 0528c12782 Merge remote-tracking branch 'upstream/dev' into fix-mqtt-keep-subscription-4132 2023-05-25 12:07:33 +01:00
Steve-Mcl dee68b903c fix sub/unsub when using "dont unsub" 2023-05-13 11:14:57 +01:00
Stephen McLaughlin 02c7d014cb
dont use subscriptionIdentifier no broker support 2023-04-29 21:00:26 +01:00
Nick O'Leary 20abe4a40c
Update dependecies include got 2023-04-28 21:37:03 +01:00
Nick O'Leary 4667e76c6b
Merge pull request #4078 from flying7eleven/option-to-disable-mqtt-ubsubscribe-on-disconnect
Option to disable MQTT topic unsubscribe on disconnect
2023-03-20 20:32:08 +00:00
Tim Janke e7617de1ee
Replace a `var` with a `const` since its value won't be modified further on 2023-03-13 13:22:51 +01:00
Steven Roebert daa84c9415 Added SHA-256 and SHA-512-256 algorithms to http digest authentication 2023-03-11 12:07:54 +01:00
Tim Janke c94f0896e1
Ensure that a client id is set if autoUnsubscribe is disabled 2023-02-27 14:11:22 +01:00
Tim Janke 8dcc530f44
Refactor to use the already existing autoUnsubscribe property
The tests had an unused property called autoUnsubscribe. I refactored
the code to use this wording too.
2023-02-27 12:41:29 +01:00
Tim Janke b5dfd62c99
Add an option to not unsubscribe topics on disconnect 2023-02-27 12:21:39 +01:00
Nick O'Leary 68bb38b8d7
Merge branch 'master' into dev 2023-02-02 10:40:33 +00:00
Dave Conway-Jones 94ae511a6d
fix tcp to replace all in newline substitution
to close #3989
2023-01-09 09:26:24 +00:00
Nick O'Leary ce57ba80eb
Fix mqtt nodes not reconnected on modified-flows deploy 2022-12-27 14:56:32 +00:00
Ben Hardill 4c1d7ad2d2
Merge branch 'master' into http-request-form-array 2022-12-24 20:37:33 +00:00
Ben Hardill 5670bd8265
Support form-data arrays 2022-12-24 19:32:33 +00:00
Steve-Mcl 5bb66ed7d4 fix single subscription mqtt node status 2022-12-01 13:08:48 +00:00
Nick O'Leary 2a49e7c8ef
Merge pull request #3908 from node-red/add-httpheaders
Ensure msg.req.headers is enumerable
2022-11-30 22:15:23 +00:00
Nick O'Leary f06c53f1f1
Merge pull request #3905 from node-red/mqtt-followups
Fix birth topic handling in MQTT node
2022-10-04 15:36:49 +01:00
Nick O'Leary 5cda972872
Merge pull request #3890 from kazuhitoyokoi/master-fixmqttproperty
Fix pull-down menus of MQTT configuration node
2022-10-04 15:34:50 +01:00
Nick O'Leary 7c79ca7878
Ensure msg.req.headers is enumerable
Fixes #3878
2022-10-04 11:28:26 +01:00
Steve-Mcl b0abba15a6 remove dud code instead of commenting 2022-09-29 19:08:46 +01:00
Steve-Mcl 81b4874a7c fix new test and fix bug found in previous PR 2022-09-29 19:05:53 +01:00
Steve-Mcl e15ecc00ce remove old unused code (5y+ not used) 2022-09-29 13:11:25 +01:00
Ben Hardill 4115c13a65
Ensure statusCode is a number
Fixes #3893

Used parseInt instead of the suggested fix so that we don't end up
with statusCode = 200.5
2022-09-19 19:43:06 +01:00
Kazuhito Yokoi f872e2ab80 Add icon to typedInput in MQTT node 2022-09-18 19:11:33 +09:00
Kazuhito Yokoi a81b1aa0cb Support i18n in MQTT node property 2022-09-18 17:10:19 +09:00
Kazuhito Yokoi efc0f1ab91 Fix default values for MQTT retain settings 2022-09-18 16:24:25 +09:00
Nick O'Leary 30f4524821
Merge pull request #3866 from kazuhitoyokoi/master-fixbutton4addsshkey
Add button type to the adding SSH key button
2022-09-12 19:18:49 +01:00
Nick O'Leary 5b7e84c1b0
Merge pull request #3869 from Steve-Mcl/fix-mqtt-birth-bad-topic-crash
Prevent invalid mqtt birth topic crashing node-red
2022-09-12 19:17:43 +01:00
Kazuhito Yokoi 745607b5bc Add button type to buttons on node properties 2022-09-04 23:21:34 +09:00
Steve-Mcl fbde0091de fix node-red crash with invalid mqtt birth topic
fixes #3865
2022-09-04 11:08:41 +01:00
Nick O'Leary a5d7f7acce
Merge pull request #3842 from hardillb/fix-broken-headers-tests
Add missing property to node object HTTPRequest
2022-09-02 20:46:22 +01:00
Nick O'Leary a032c2e326
Merge pull request #3840 from Steve-Mcl/fix-mqtt-session-time
ensure sessionExpiry(Interval) is applied
2022-09-02 20:45:41 +01:00
Kazuhito Yokoi 266ba17ebb Use sortable list in http response node and proxy setting 2022-08-18 11:52:56 +09:00
Kazuhito Yokoi 0d0d5bafb0 Make pre-defined header list sortable in http request node 2022-08-18 01:29:07 +09:00
Ben Hardill 30956b5441
Add missing property to node object HTTPRequest
Also add tests for broken headers
2022-08-14 15:02:39 +01:00
Steve-Mcl 31b17faa2a fix MQTT test fail due to birth sent before connection done 2022-08-12 18:23:07 +01:00
Steve-Mcl 7d4c857a43 ensure sessionExpiry(Interval) is applied 2022-08-12 15:47:15 +01:00
Ben Hardill 660a2e0ed6
Allow HTTP Headers not in spec
potential fix for #3772
2022-07-16 19:51:35 +01:00
Hiroyasu Nishiyama 277cc19ec3 call done after close handler 2022-07-04 11:23:47 +09:00
Stephen McLaughlin 62cd3b2061
Merge pull request #3630 from Steve-Mcl/fix-tcp-sockets-crash
Dont delete TCP socket twice
2022-05-27 07:37:28 +01:00
Stephen McLaughlin 51d429f9ae
Dont delete TCP socket twice 2022-05-26 10:18:34 +01:00
Stephen McLaughlin 6f0de7c80e
define noproxy variable 2022-05-24 20:43:29 +01:00
Stephen McLaughlin 0385c72a8f
Merge pull request #3594 from PhilDay-CT/issue-3593
Handle removal of event handlers to allow mqtt client.end() to work
2022-05-09 16:50:48 +01:00
Stephen McLaughlin e223b20cbd
Remove unnecessary call to `clientRemoveListeners`
Also, merge the non JSDOC comment into the JSDOC comment
2022-05-09 16:37:25 +01:00