Commit Graph

1432 Commits (20187b51b1f9810fff84d6c4d8e69a988acb21ce)

Author SHA1 Message Date
Nick O'Leary 3a9f38a873
Merge branch 'master' into dev 2023-05-25 17:42:34 +01:00
Nick O'Leary 0697c26dd1
Merge branch 'dev' into adding-timeout-to-functio-node 2023-05-25 17:33:41 +01:00
Nick O'Leary cfa25dc655
Update xml2js 2023-05-25 17:30:17 +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
Nick O'Leary 11ded1e497
Merge branch 'dev' into 3843-alternative-impl 2023-05-22 17:41:23 +01:00
Kilian Hertel c2812b05a4
Merge branch 'master' into adding-timeout-to-functio-node 2023-05-22 17:42:59 +02:00
Nick O'Leary a790136164
Merge branch 'master' into 4133-mqtt-v5-disconnects-when-subscribing-to-aws-core-broker 2023-05-22 15:16:58 +01:00
Nick O'Leary 69d643942c
Merge branch 'dev' into update-deps 2023-05-22 13:57:47 +01:00
Nick O'Leary 6e1b298282
Reconstruct xml2js output as proper object 2023-05-22 13:57:12 +01:00
Nick O'Leary c2387777c9
Merge branch 'master' into dev 2023-05-22 12:52:07 +01:00
Kilian Hertel 2253417459 adding timeout attribute to function node
- [x] New feature (non-breaking change which adds functionality)

Discussion here:
https://discourse.nodered.org/t/function-node-doesnt-have-timeout-feature/78483

## Proposed changes

Adding a timeout attribute to the function node, so an endless funciton doesnt break the node red server.

## Checklist

- [x] I have read the [contribution guidelines](https://github.com/node-red/node-red/blob/master/CONTRIBUTING.md)
- [x] For non-bugfix PRs, I have discussed this change on the forum/slack team.
- [x] I have run `grunt` to verify the unit tests pass
- [x] I have added suitable unit tests to cover the new/changed functionality
2023-05-22 10:16:37 +02:00
Steve-Mcl dee68b903c fix sub/unsub when using "dont unsub" 2023-05-13 11:14:57 +01:00
Dave Conway-Jones 67c5a248ad
Fix RBE for missing "payload"
To close #4165
2023-05-08 09:28:35 +01:00
Kazuhito Yokoi aff0bd3f6a Add Japanese translation for auto unsubscribe in MQTT node 2023-05-01 14:28:02 +09: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
BitCaesar e16d5cf83d fix: closes #4142
The issue occured because the partId is set to "_" by default and is never overwritten in manual mode.
With concurrent messages and different processing times all parts of all messages have the identifier "_" and are assembled following the FIFO principle.
2023-04-20 12:28:36 +02: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
Nick O'Leary 6179d1eef2
Bump for beta.2 2023-03-06 17:30:34 +00:00
Nick O'Leary 2d066307f4
Merge branch 'master' into dev 2023-03-06 16:17:02 +00:00
Nick O'Leary d1094da6c7
Merge pull request #3895 from hae-iotplatform/translation-KR
Translation kr
2023-03-03 15:23:54 +00:00
Nick O'Leary 307fbef5b2
Merge branch 'dev' into translation-zhcn 2023-03-03 15:22:34 +00:00
Nick O'Leary f54f500e2b
Merge pull request #3964 from GogoVega/french-translation-of-nodes
Add French translation of nodes
2023-03-03 15:18:20 +00:00
Nick O'Leary c046c8c4d3
Merge pull request #3804 from FabsMuller/ptbrtranslation
Portuguese Brazilian (pt-BR) translation
2023-03-03 13:33:47 +00:00
Nick O'Leary ca53712ee9
Deprecate synchronous access to jsonata 2023-03-03 11:43:06 +00:00
Nick O'Leary 5e9a815b06
Clear link-call timeouts when node is closed
Fixes #3959
2023-03-02 17:23:13 +00:00
Nick O'Leary 010c8eccc8
Bump dependencies 2023-03-02 15:43:38 +00:00
Nick O'Leary 9e6d501009
Join: ensure inflight status is cleared when in auto mode
Fixes #4080
2023-03-02 14:59:54 +00:00
GogoVega a57c449c25
Add translation of new features from dev branch 2023-03-01 16:46: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 e612bb6a38
Merge pull request #3915 from node-red/Fix-file-write-last-line-newline-append
Fix extra newline append for multipart file write
2023-02-21 14:26:20 +00:00
Nick O'Leary 196773d6ba
Merge branch 'master' into dev 2023-02-20 18:17:16 +00:00
Kazuhito Yokoi 81331e68d2 Add validator for link call node 2023-02-10 18:55:10 +09:00
Kazuhito Yokoi 4fda59a585 Add validator for complete node 2023-02-10 16:49:29 +09:00
Nick O'Leary 3a1cc38aaf
Update for 3.1.0-beta.1 2023-02-02 11:09:55 +00:00
Nick O'Leary 68bb38b8d7
Merge branch 'master' into dev 2023-02-02 10:40:33 +00:00
Nick O'Leary e799cfc16a
Merge pull request #4004 from dirkjanfaber/patch-1
Comment node: Clarify where the text will appear
2023-02-02 10:23:22 +00:00
Nick O'Leary 055d0081e1
Merge pull request #4021 from node-red/inject-async-context
Allow Inject node to work with async context stores
2023-02-02 10:22:59 +00:00
Nick O'Leary 9035de32c8
Merge pull request #4023 from node-red/trigger-hide-nul-option
Hide trigger node repeat send  option if sending nothing
2023-02-02 10:22:40 +00:00
Nick O'Leary f4661eec75
Merge pull request #4038 from bonanitech/function-node-setup-tab
Fix border radius on Modules list header
2023-02-02 10:19:54 +00:00
Mauricio Bonani 0f7a1a42e4 Fix border radius on Modules list header 2023-02-01 17:50:05 -05:00
Dave Conway-Jones 47bacaf58a
Add count to join and batch node labels 2023-01-26 22:13:17 +00:00
Dave Conway-Jones 9a856f50d7
Hide repeat send option if sending nothing
to address https://discourse.nodered.org/t/trigger-node-how-to-delay-and-repeat-message/74117/5
2023-01-25 10:59:04 +00:00
Nick O'Leary c7017ee84b
Allow Inject node to work with async context stores
Fixes #4014
2023-01-23 20:42:25 +00:00
Nick O'Leary a607ee90e0
Merge pull request #4009 from node-red/TCP-node-replaceall-fix
TCP Node: ensure newline substitution applies to whole message
2023-01-23 17:23:28 +00:00
Nick O'Leary 7dbbafec1b
Merge pull request #4000 from node-red/fix-split-stream
Split node: avoid duplicate done call for buffer split
2023-01-23 17:04:31 +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
Dirk-Jan Faber 7c306a8430
Comment node: Clarify where the text will appear
The text will appear in the information tab of the side panel and not in the help tab of the side panel.
2023-01-03 13:41:31 +01:00
Nick O'Leary dd2bc44c2d
Merge branch 'dev' into dev-jpn 2023-01-01 22:38:20 +00:00
Nick O'Leary 74794fea09
Split node: avoid duplicate done call for buffer split
Fixes #3982
2023-01-01 22:21:49 +00:00
Kazuhito Yokoi a661bc1d23 Add Japanese translation for v3.1.0-beta.0 2022-12-31 00:41:35 +09:00
Nick O'Leary ce57ba80eb
Fix mqtt nodes not reconnected on modified-flows deploy 2022-12-27 14:56:32 +00:00
Hiroyasu Nishiyama 99bd957ea0 Resolve merge conflict 2022-12-27 23:45:25 +09:00
Nick O'Leary 270eb56718
Merge pull request #3916 from kazuhitoyokoi/dev
Add Japanese translation for v3.1.0-beta.0
2022-12-27 14:16:02 +00:00
Nick O'Leary 920b0178ec
Merge pull request #3981 from kazuhitoyokoi/master-fixtypo
Fix typo in 25-status.html
2022-12-27 13:43:35 +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
Dave Conway-Jones 93a1911232
CSV - Add note about msg.reset to info page
to close #3976
2022-12-19 21:26:20 +00:00
Dave Conway-Jones 2429191838
CSV - swap to regex replace for node14 support 2022-12-19 13:48:21 +00:00
Dave Conway-Jones f6901cd19f
CSV node replace replace with replaceAll just in case
mentioned in Issue #3989
2022-12-19 09:50:29 +00:00
Kazuhito Yokoi f91af2153a Fix typo in 25-status.html 2022-12-10 00:33:40 +09:00
GogoVega 91ae0206ac
fix: Typos 2022-12-08 21:53:16 +01:00
Hiroyasu Nishiyama 2ab8121a4a add description to global-config settings 2022-12-06 21:12:52 +09:00
Hiroyasu Nishiyama 601a4ec70d Add hasUsers to global-config 2022-12-06 10:33:10 +09:00
Hiroyasu Nishiyama 72ae375e44
Update packages/node_modules/@node-red/nodes/core/common/91-global-config.html
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-06 10:25:25 +09:00
Hiroyasu Nishiyama 817db23146
Update packages/node_modules/@node-red/nodes/locales/en-US/messages.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-06 09:29:51 +09:00
Hiroyasu Nishiyama a8c820f558
Update packages/node_modules/@node-red/nodes/locales/ja/messages.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-06 09:29:45 +09:00
Kazuhito Yokoi 7117472e73 Add Japanese translation for range node 2022-12-05 23:13:50 +09:00
Hiroyasu Nishiyama 9eb8cf121c Update Japanese message reflecting English message update 2022-12-05 11:29:37 +09:00
Hiroyasu Nishiyama 1674bbbde9
Update packages/node_modules/@node-red/nodes/locales/ja/messages.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-05 11:17:20 +09:00
Hiroyasu Nishiyama 0fb739f7cd
Update packages/node_modules/@node-red/nodes/locales/ja/common/91-global-config.html
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-05 11:17:04 +09:00
Hiroyasu Nishiyama 169fa940e4
Update packages/node_modules/@node-red/nodes/locales/en-US/messages.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-05 11:16:53 +09:00
Hiroyasu Nishiyama c9664cc425
Update packages/node_modules/@node-red/nodes/locales/en-US/common/91-global-config.html
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-05 11:16:35 +09:00
Hiroyasu Nishiyama a479b8a5d7
Update packages/node_modules/@node-red/nodes/core/common/91-global-config.html
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-05 11:15:32 +09:00
Kazuhito Yokoi 26462e684b
Merge branch 'node-red:dev' into dev 2022-12-05 01:08:45 +09:00
Nick O'Leary b3f761776d
Update dependencies 2022-12-03 22:43:03 +00:00
GogoVega 5be378e266
fix: Typos (infinitif) 2022-12-02 18:27:36 +01:00
GogoVega 1004ce564f
Add French translation of `storage` nodes 2022-12-02 14:21:34 +01:00
GogoVega 5a1823d13e
Add French translation of `sequence` nodes 2022-12-02 12:10:43 +01:00
GogoVega 66fb66edbc
Add French translation of `messages.json` file 2022-12-01 21:29:12 +01:00
Steve-Mcl 5bb66ed7d4 fix single subscription mqtt node status 2022-12-01 13:08:48 +00:00
Dave Conway-Jones 281e9d1357
Fix extra newline append for multipart file write
ref Issue #3913
2022-11-30 22:28:46 +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 ee4af4c7bf
Merge pull request #3920 from node-red/CSV-header-props-with-quotes
CSV node check header properties for ' and "
2022-11-30 22:10:40 +00:00
Nick O'Leary 3d565e74a5
Merge pull request #3917 from kazuhitoyokoi/master-fixpermission
Fix file permissions
2022-11-30 22:10:03 +00:00
Nick O'Leary 1b013bb73b
Merge pull request #3949 from Steveorevo/master
Fix #3939, red border red-ui-typedInput-container
2022-11-30 22:07:04 +00:00
GogoVega e440694987
Use English names for nodes (better) 2022-11-30 17:35:22 +01:00
GogoVega b4a12edc61
Add French translation of `parsers` nodes 2022-11-30 15:38:49 +01:00
GogoVega 2b04d6834f
Add French translation of `network` nodes 2022-11-30 13:34:19 +01:00
GogoVega 1191574e07
fix: Typos 2022-11-30 13:22:10 +01:00
Adam Lau 77f6412d3b
fix: fix typo in catch.html 2022-11-30 17:51:13 +08:00
GogoVega 0d8a0db883
Add French translation of `function` nodes 2022-11-29 20:50:18 +01:00
GogoVega 9727062d60
Add French translation of common nodes 2022-11-29 12:50:19 +01:00
lkaiy 1d91cc6fc1
translation side-menu,keyboard, contextmenu, etc. 2022-11-15 16:36:50 +08:00
Stephen J. Carnam c81cd5450f
Support for PHP syntax highlight 2022-11-09 16:45:32 -08:00
Hiroyasu Nishiyama f23d0480e4 add global environment variable feature 2022-11-04 18:42:51 +09:00
Kazuhito Yokoi dd76840568 Fix uncleared translations in change node 2022-11-01 01:09:06 +09:00
Dave Conway-Jones d693af9615
CSV node check header properties for ' and "
and add test
to close #3919
2022-10-29 17:35:45 +01:00
Dave Conway-Jones 4cc18c25fe
Add drop mode to range node
and include tests
2022-10-29 17:34:29 +01:00
Kazuhito Yokoi 75725a38df Fix file permission 2022-10-12 23:50:33 +09:00
Nick O'Leary 32999ffa84
Merge pull request #3906 from node-red/Fix-for-csv-undefined-property
Fix for CSV undefined property
2022-10-04 15:38:37 +01: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 318f0f1b7e
Merge pull request #3899 from node-red/fix-change-self-overwrite
Fix change node overwriting msg with itself
2022-10-04 15:29:23 +01:00
Nick O'Leary 7c79ca7878
Ensure msg.req.headers is enumerable
Fixes #3878
2022-10-04 11:28:26 +01:00
Nick O'Leary 93c1600980
Merge pull request #3886 from kazuhitoyokoi/master2
Limit number of ports in function node
2022-10-04 11:00:18 +01:00
Dave Conway-Jones e724f216bf
Fix for CSV undefined property
to close #3900 main issue
and add tests
(other fix is commented out but no tests)
2022-09-30 13:48:48 +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
Dave Conway-Jones 3e4c45ac6a
Fix change node overwriting msg with itself
and add test
to close #3891
2022-09-22 20:22:11 +01:00
Dave Conway-Jones fc657ecc71
let delay node handle both flush then reset
and add tests
2022-09-22 10:51:48 +01:00
hae-iotplatform 87cb61750f
Korean Translation (message.json) 2022-09-20 11:02:11 +09: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
Kazuhito Yokoi ce31edc803 Fix handling of max and min values in function outputs 2022-09-18 02:22:52 +09:00
Kazuhito Yokoi 199caccbc3
Change the maximum number of ports to 500 2022-09-17 00:25:46 +09:00
Kazuhito Yokoi 7507a7b459 Limit number of ports in function node 2022-09-16 02:10:14 +09:00
Kazuhito Yokoi d657817211 Add information about environment variable to template node 2022-09-13 22:08:22 +09:00
Nick O'Leary 22b6564847
Merge pull request #3880 from kazuhitoyokoi/master-replacedot4function
Remove dot from variable name for external module in function node
2022-09-12 19:25:39 +01: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 0f2829097b Remove dot from variable name for external module in function node 2022-09-10 12:17:18 +09: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
Nick O'Leary 9d770ed436
Merge pull request #3857 from kazuhitoyokoi/master-fixeditablelist4httprequest
Support sortable list on property UI of http request and http response nodes
2022-09-02 20:45:08 +01:00
Kazuhito Yokoi d0d22c333c Add Japanese translation for v3.0.2 2022-08-28 02:04:13 +09: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
NetHans 371253a4f6 catch node extended 2022-08-14 20:45:01 +02:00
NetHans 08ce6cce97 status node extended 2022-08-14 20:24:05 +02: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
Fabio Barcello S. Dos R. Muller e7c657f82d Some minor changes to sections that were missing in some files
Fixing missing sessions is some pt-BR files and also
one small typo of an hmtl end paragraph </p> in the 21-httprequest.html
of en-US original language file.
2022-08-05 16:29:19 -03:00
Nick O'Leary c9b0a7c2dd
Bump for 3.0.2 2022-08-04 13:50:31 +01:00
Nick O'Leary 371d8042d6
Merge pull request #3776 from hardillb/relaxed-http-req-headers
Allow HTTP Headers not in spec
2022-08-04 13:36:24 +01:00
Nick O'Leary abccdc7f21
Update packages/node_modules/@node-red/nodes/locales/en-US/messages.json 2022-08-04 13:10:05 +01:00
Fabulous Muller b937c37be3 Fixed JSON errors in 2 files
fixed 2 errors in editor.json and messages.json as reported
by run tests #1174 build(16).
2022-07-26 17:18:43 -03:00
Fabulous Muller 0908369dba Portuguese Brazilian (pt-BR) translation
Portuguese Brazilian, pt-BR, translation based on v.3.0.1 branch.
The initial efforts started with PR #3100(V.2.0.3) but there were some
problems and the quality needed to be improved. Now I fixed some
failures and reviewed files line by line, double-checked with text editor
and dictionary updated to last ortographic agreement of the portuguese
language; anyway errors still can happen, this is not a robotic translation
and portuguese has  a latin branch, so one word in english(sometimes) has
many possible translations in portuguese; just to complicate a litlle
bit.

So we are finally making pt-BR available in Node-Red and hope to just
improve from now on.

Resolves: #3100
2022-07-25 16:35:06 -03:00
Nick O'Leary da65bf7292
Update changelog and bump for 3.0.1 2022-07-22 09:50:37 +01:00
Ben Hardill 660a2e0ed6
Allow HTTP Headers not in spec
potential fix for #3772
2022-07-16 19:51:35 +01:00