Nick O'Leary
1c18641699
Delay node: add option to send intermediate messages on separate output
2021-10-04 13:00:24 +01:00
Nick O'Leary
81a278dd8c
Merge pull request #3156 from node-red/change-clone
...
Add option to deep-clone properties in Change node
2021-10-04 10:54:52 +01:00
Nick O'Leary
7fffc1a36d
Merge pull request #3069 from node-red/delay-push-to-front
...
Add push to front of rate limit queue.
2021-09-30 10:44:14 +01:00
Nick O'Leary
aa5fad6628
Add deep copy option to Change node 'set' action
2021-09-30 09:49:51 +01:00
Hiroyasu Nishiyama
6aecc3915c
add support of environtment variable for tab & group
2021-08-19 21:15:13 +09:00
Dave Conway-Jones
4d26b806dd
delay - add test for push toFront and flush=1
2021-07-16 11:38:06 +01:00
Dave Conway-Jones
a2b95dbb39
delay node - change lifo property to toFront
...
add info to sidebar
add tests
2021-07-16 11:31:21 +01:00
Nick O'Leary
be9f9e7b0c
Change default functionExternalModules test
2021-07-15 10:13:21 +01:00
Dave Conway-Jones
ea11aa7a0d
add some part flush tests
2021-07-08 13:51:37 +01:00
Dave Conway-Jones
41c8ca8ab4
Delay node updates to added flush control for queuing
2021-07-08 12:13:23 +01:00
Nick O'Leary
b2f5a259ab
Fix exec node test for gh-actions
...
The node adds `shell` to `execOpts` if `/bin/bash` exists. Clearly it
has not existed in Travis or running locally - but it does exist
on gh-action runner, so the test was failing.
2021-07-02 10:15:44 +01:00
Nick O'Leary
c8a0d3c10d
Add error handling to exec test
2021-07-02 10:09:00 +01:00
Nathanaël Lécaudé
7ae48d7390
exec: solidify tests
2021-06-16 17:38:34 -04:00
Nathanaël Lécaudé
2f0631809d
exec node: modify test
2021-06-16 17:09:21 -04:00
Nick O'Leary
7c02e4d66a
Merge branch 'master' into dev
2021-06-02 15:40:56 +01:00
Hiroyasu Nishiyama
bb1b3727cb
add test case
2021-05-23 10:42:28 +09:00
Nick O'Leary
71ba73b38f
Merge branch 'master' into dev
2021-05-04 11:19:05 +01:00
Hiroyasu Nishiyama
70433f3d05
fix grunt fail on exec node test
2021-04-28 21:40:17 +09:00
Kazuhito Yokoi
a20049c82a
Delay node enhancements ( #2294 )
...
* Remove unused messages in message catalog
* Support msg.rate in delay node
* Support nodeMessageBufferMaxLength in delay node
* Add logging function for queue size
* Support msg.nodeMessageBufferMaxLength
* Revert "Support msg.nodeMessageBufferMaxLength"
This reverts commit cc72f892f7
.
* Improve logging function for delay node
* Add support for Messaging API to delay node
* Add documentation about msg.rate in delay node
* Add test cases for msg.rate in delay node
Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
2021-04-22 09:01:28 +01:00
Dave Conway-Jones
73063df11b
Pull in RBE node and push out tail
2021-04-19 13:09:13 +01:00
Nick O'Leary
877c463494
Update to latest sinon
2021-04-09 11:22:57 +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
f0f2eefb59
Merge branch 'pr_2908' into dev
2021-03-31 23:50:30 +01:00
Nick O'Leary
bdb548ffdc
Exec node: remove addpayValue and reuse addpay to track appending property
2021-03-31 23:50:00 +01:00
Nick O'Leary
8da00c0872
Fix Switch node handling of hasKey rule when property is undefined
2021-03-30 21:37:39 +01:00
Kazuhito Yokoi
cb72d5100e
Remove type for typedInput in exec node
2021-03-22 20:24:12 +09:00
Kazuhito Yokoi
f103533852
Support typedInput in msg.payload field of exec node
2021-03-22 16:19:55 +09:00
Nick O'Leary
0566a2d9b1
Fix function node tests use of RED.settings
2021-03-02 00:12:41 +00:00
Nick O'Leary
c9c5f7f088
Fix functionExternalModules tests
2021-03-01 21:34:37 +00:00
Nick O'Leary
785c349adc
Prevent function module overwriting built-in sandbox properties
2021-02-16 13:58:59 +00:00
Nick O'Leary
9d34abf603
Function node: test modules identified in libs are added to sandbox
2021-02-15 20:59:37 +00:00
Nick O'Leary
f5da2eb633
Merge branch 'master' into dev
2021-02-02 13:45:43 +00:00
Nick O'Leary
23f0cd3a26
Bump for 1.2.8
2021-02-02 13:11:33 +00:00
Nick O'Leary
438d51d26e
Allow nested msg properties in msg/flow/global expressions ( #2822 )
...
* Allow nested msg properties in msg/flow/global expressions
* Remove typo in RED.utils
Co-authored-by: Nick O'Leary <knolleary@users.noreply.github.com>
2021-01-27 20:32:52 +00:00
Nick O'Leary
f5fcf23678
Merge branch 'pr_2751' into dev
2020-12-07 13:58:53 +00:00
Kunihiko Toumura
f038069fe2
Messaging API support in Trigger node
2020-11-05 15:09:41 +09:00
Kunihiko Toumura
dc1ab7e331
Add support for Messaging API to delay node
2020-10-26 16:52:18 +09:00
Nick O'Leary
cf84ec78fa
Allow trigger node delay to be overridden with msg.delay
2020-09-28 21:10:23 +01:00
Nick O'Leary
64d6e1f8e1
Changing timing in trigger node test
2020-09-28 10:50:19 +01:00
Nick O'Leary
1a4d720978
Improve timings in trigger node test
2020-09-25 23:32:59 +01:00
Nick O'Leary
2db3a4f1ef
Add unit tests for function node init code
2020-09-25 17:11:10 +01:00
Nick O'Leary
5d81cec00c
Merge branch 'pr_2498' into dev
2020-05-22 15:22:12 +01:00
Hiroyasu Nishiyama
5b197adf33
update according to comments
2020-05-11 14:37:14 +09:00
Nick O'Leary
90537e42ba
Merge branch 'dev' into add-trigger-second-output
2020-05-04 12:45:01 +01:00
Hiroyasu Nishiyama
84d2b8ad6d
add support of initialization & finalization to function node
2020-03-07 01:55:45 +09:00
Dave Conway-Jones
1868289b71
Better fix for trigegr 2nd message in last payload mode
...
Now works correctly in multiple topics mode.
And update tests
2020-02-25 22:15:53 +00:00
Dave Conway-Jones
01a143cd5a
Emsure trigger complete 2nd msg when set to send latest
...
and add test
to close #2474
2020-02-24 21:28:40 +00:00
Dave Conway-Jones
8405826fab
Ensure trigger sends complete 2nd msg if set to send latest msg
...
and add test
to close #2474
2020-02-24 21:17:54 +00:00
Dave Conway-Jones
127b361979
change PR to only use a single property for the 2nd output
2020-02-14 20:13:37 -05:00
Dave Conway-Jones
87aacb4270
change property name to leave space if we want to also do main payload property
2020-01-30 22:20:55 +00:00