Commit Graph

6349 Commits

Author SHA1 Message Date
Ben Hardill 235690064f
Fix for #2935 2021-04-16 13:26:11 +01:00
Nick O'Leary 0167c25e08
Export package version in Grunt file so docs template can access 2021-04-16 11:56:23 +01:00
Nick O'Leary d2432716ea
Fix hook requires in unit tests 2021-04-15 15:30:02 +01:00
Nick O'Leary 52ef85cba3
Update test for latest sinon 2021-04-15 15:15:52 +01:00
Nick O'Leary 8140057bea
Add pre/postInstall hooks to module install path 2021-04-15 15:12:40 +01:00
Nick O'Leary 22df59e229
Update hooks api to support promise api 2021-04-15 15:12:35 +01:00
Nick O'Leary ed351eee54
Move hooks to util package 2021-04-15 15:12:30 +01:00
Nick O'Leary c021b4c368
Merge pull request #2922 from node-red/update-dependencies
Update dependencies
2021-04-15 14:57:07 +01:00
Nick O'Leary 04a3c4bb22
Ensure mqtt-close message is published when closing mqtt nodes
The change in 1.3 where we ensure config nodes are closed last broke this behaviour. Previously, the config node would get closed triggering the close message. With the new 1.3 behaviour, the flow nodes are stopped and as soon as the last flow node deregisters itself, the broker node would disconnect without sending the close message.

The fix is to send the close message as part of the deregister flow as that will handle all cases properly
2021-04-14 22:28:25 +01:00
Nick O'Leary b5fda5642f
Fix package semver comparison to allow >1 version increment 2021-04-14 18:06:59 +01:00
Nick O'Leary b0955705be
Update to 1.3.2 2021-04-13 13:34:16 +01:00
Nick O'Leary a4a624d537
Update changelog 2021-04-13 13:33:41 +01:00
Nick O'Leary 6a8cf1b768
Fix variable reference error in editableList
Fixes #2933
2021-04-13 13:24:54 +01:00
Nick O'Leary aac2a8f830
File node: Add fileWorkingDirectory to customise how relative paths are resolved 2021-04-12 18:00:58 +01:00
Nick O'Leary 8269490dd1
Join: change default manual mode to object 2021-04-12 14:22:27 +01:00
Kazuhito Yokoi 39274b0c5d
Add Japanese translations for Node-RED v1.3.1 (#2930) 2021-04-12 14:15:07 +01:00
Dave Conway-Jones 55c2430671
Merge branch 'master' of https://github.com/node-red/node-red 2021-04-12 12:16:32 +01:00
Dave Conway-Jones 023486e175
File out node - fix timing of msg.send to be after close., and...
allow msg.encoding to set encoding if desired.
To close #2921
2021-04-12 12:16:23 +01:00
Nick O'Leary 8227643741
Merge branch 'pr_2920' 2021-04-12 12:08:32 +01:00
Nick O'Leary e44131f97a
Update function node help reference to node properties 2021-04-12 12:08:07 +01:00
Nick O'Leary 5028377d45
Fix MQTT Broker TLS config row layout
Fixes #2927
2021-04-12 11:48:10 +01:00
Nick O'Leary 51aaf1b150
Handle package.json without dependencies section 2021-04-12 10:34:43 +01:00
Nick O'Leary 13406e76de
Ensure theme login image is passed through to api response
Fixes #2929
2021-04-12 10:06:35 +01:00
Dave Conway-Jones 4672d98e8a
split node - add comment to info re $N being number of messages arriving 2021-04-12 09:47:18 +01:00
Dave Conway-Jones 858b3d640a
fix CSV parsing with other than , separator
(and joining as well...
and add tests
to close #2925
2021-04-10 22:17:31 +01:00
Nick O'Leary 6087002562
Fix handling of user-provided keymap
Fixes #2926
2021-04-10 21:34:26 +01:00
Nick O'Leary 82ced56bed
Update package versions 2021-04-09 14:12:10 +01:00
Nick O'Leary 982b8ea51d
Update fs-extra and semver 2021-04-09 13:53:06 +01:00
Nick O'Leary 877c463494
Update to latest sinon 2021-04-09 11:22:57 +01:00
Nick O'Leary 9882582903
Update to latest bcrypt 2021-04-09 10:50:35 +01:00
Nick O'Leary ba566657f1
Set minimum node version to 12 2021-04-09 10:37:05 +01:00
Nick O'Leary cb1a178fbf
Set 2.0.0-beta.1 version 2021-04-09 10:35:19 +01:00
Kristian Heljas ad788fbed1
Function node: describe `node.outputCount` in help text 2021-04-08 21:09:44 +03:00
Nick O'Leary 749533b0b4
Bump for 1.3.1 2021-04-08 16:23:22 +01:00
Nick O'Leary 142a5f7ca1
Fix change node form validation 2021-04-08 16:21:03 +01:00
Nick O'Leary 28bfa8e418
Update changelog 2021-04-08 14:57:38 +01:00
Kristian Heljas 7b8ed487e9
Function node: add `node.outputCount` property to sandbox (#2918)
* Function node: add `node.outputs` property to sandbox

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848

* style: indetation for function node sanbox code

I guess this was unintentionally unindented in d51aefa156 (diff-24cd715c3b7405ea194bfdc0dc2a350ceb2f5d18696b8163c3e40105b981a666)

* Function node: tests for accessing node properties

consistently tests that `node.id`, `node.name` and `node.outputs`
are available in `init()`, `func()` and `finalize()` methods.

* Function node: rename `node.outputs` to `node.outputCount`

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848/9?u=kristian
2021-04-08 14:52:02 +01:00
Nick O'Leary 0059f9475e
Merge pull request #2919 from kazuhitoyokoi/master-addjpn
Add Japanese translations for Node-RED v1.3
2021-04-08 14:50:22 +01:00
Kazuhito Yokoi 9429ea7c64
Fix typo 2021-04-08 20:32:01 +09:00
Kazuhito Yokoi a157580b22 Add Japanese translations for Node-RED v1.3 2021-04-08 20:06:35 +09:00
Nick O'Leary 41a0147938
Update changelog 2021-04-07 14:37:13 +01:00
Nick O'Leary 16e021e94f
Request node: set followAllRedirects to work with POSTs
Fixes #2017
2021-04-07 14:35:29 +01:00
Nick O'Leary 449d76a6c7
Update version for 1.3.0 2021-04-06 18:31:49 +01:00
Nick O'Leary 70172db693
Update changelog 2021-04-06 18:31:16 +01:00
Nick O'Leary ff93a38354
Update dependencies 2021-04-06 18:31:02 +01:00
Nick O'Leary e3b70b10d1
Add property validate to Change node rule set
Closes #2911
2021-04-06 17:26:06 +01:00
Nick O'Leary 400141b093
Merge pull request #2913 from heikokue/i18n-de/fixes1
small fixes/improvements of DE translations
2021-04-06 17:03:32 +01:00
Nick O'Leary ca5e45a46d
Flag validation errors in Inject node props config
Fixes #2914
2021-04-06 16:45:21 +01:00
Nick O'Leary 74b547b93c
Remove Node 8 from travis due to node-sass breakage 2021-03-31 23:54:25 +01:00
Nick O'Leary a688305572
Fix jshint errors 2021-03-31 23:53:53 +01:00