Nick O'Leary
4acb66fb7a
Merge branch 'master' into dev
2021-06-10 16:06:30 +01:00
Dave Conway-Jones
b73efe6bb4
Ensure CSV node tries to parse number when set to do so (trim whitespace)
2021-06-10 14:55:47 +01:00
Nick O'Leary
133df75bd4
Merge branch 'dev' into get-got
2021-06-09 09:59:23 +01:00
Ben Hardill
d5c5738aab
Fix proxy authentication problem & reinstate tests
...
Down to only 2 of the previous tests not working
2021-06-08 14:22:20 +01:00
Ben Hardill
090852b72b
Revet changes to /proxyAuthneticate
...
This end point is currently not hit
2021-06-08 12:06:18 +01:00
Ben Hardill
4e8c0573c4
Re-enable as many http-request proxy tests as possible
2021-06-08 11:46:54 +01:00
Nick O'Leary
ce905ba2c4
Merge branch 'master' into dev
2021-06-08 11:44:31 +01:00
Nick O'Leary
7bf938901a
Merge branch 'pr_2952' into dev
2021-06-08 11:09:56 +01:00
Nick O'Leary
4edea59ab1
Merge branch 'pr_2990' into dev
2021-06-08 10:56:57 +01:00
Ben Hardill
17a139f27f
Start to add HTTP-PROXY tests back in
2021-06-08 10:30:24 +01:00
Nick O'Leary
dbbdd3f799
Update to latest cheerio module
2021-06-08 09:31:27 +01:00
Ben Hardill
bd1943626b
Add more comment
2021-06-07 16:00:07 +01:00
Ben Hardill
33f8c9747d
Comment out HTTP Proxy tests
...
These have been removed because the mock proxy doesn't
support using the HTTP CONNECT verb and the new Got based
http-request node only uses CONNET for proxied content
2021-06-07 13:00:02 +01:00
Nick O'Leary
7c02e4d66a
Merge branch 'master' into dev
2021-06-02 15:40:56 +01:00
Nick O'Leary
711794cfe1
Merge pull request #2993 from Steve-Mcl/master
...
ensure context get/set key is a string
2021-06-02 15:20:25 +01:00
Nick O'Leary
3d405f8c63
Merge pull request #2969 from node-red/ajv-update
...
Update ajv to 8.2.0 - drop support for JSON-Schema draft-04
2021-05-27 12:17:51 +01:00
Steve-Mcl
a92f0c4c6e
fix context key validation + add tests
...
- adds a helper function validateContextKey to keep it DRY
- adds tests ensure key of null "" 1 {} [] [""] [1] [{}] all throw error
2021-05-26 13:04:09 +01:00
Hiroyasu Nishiyama
bb1b3727cb
add test case
2021-05-23 10:42:28 +09:00
Steve-Mcl
845567d1ba
add 2 tests for user inject values
2021-05-20 22:53:32 +01:00
Nick O'Leary
74628b7034
Update debug tests to handle compact comms format
2021-05-13 14:18:11 +01:00
Nick O'Leary
71ba73b38f
Merge branch 'master' into dev
2021-05-04 11:19:05 +01:00
Nick O'Leary
00caa13a12
Update externalModules_spec to handle variable npm args length
2021-04-29 11:04:19 +01:00
Nick O'Leary
cfc0135e86
Update ajv to 8.2.0 - drop support for JSON-Schema draft-04
2021-04-29 10:48:26 +01:00
Nick O'Leary
7df1a03b4b
Handle subflow modules that contain subflows
2021-04-28 21:50:00 +01:00
Hiroyasu Nishiyama
70433f3d05
fix grunt fail on exec node test
2021-04-28 21:40:17 +09:00
Nick O'Leary
4133f9c56f
Merge pull request #2936 from node-red/npm-install-hooks
...
Add pre/postInstall hooks to npm install handling
2021-04-27 10:57:14 +01:00
Nick O'Leary
53055064e1
Merge pull request #2932 from node-red/file-cwd-setting
...
File node: Add fileWorkingDirectory to customise how relative paths are resolved
2021-04-27 10:49:02 +01:00
Nick O'Leary
f7210effec
Rework hooks structure to be a linkedlist
...
Allows for safe removal of hooks whilst they are being invoked
2021-04-26 21:14:42 +01:00
Dave Conway-Jones
f8abf9fce1
add another test to csv
2021-04-25 08:53:18 +01:00
Nick O'Leary
e23f20227a
Initial migration from request to got for http-request node
2021-04-23 14:19:15 +01:00
Dave Conway-Jones
9f1deb0c36
CSV Add couple more special character tests just to make sure
2021-04-23 11:19:23 +01:00
Dave Conway-Jones
4cebbf8d22
Fix CSV handling of special chars as separators
...
(ie escape regex special chars)
and add tests
to close #2950
2021-04-23 10:47:23 +01: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
Nick O'Leary
250005ad16
Allow npm install args to be customised by preInstall trigger
2021-04-20 22:55:06 +01:00
Nick O'Leary
b4a03a56b4
Allow preInstall hook to return false to skip npm install
2021-04-19 20:29:30 +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
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
aac2a8f830
File node: Add fileWorkingDirectory to customise how relative paths are resolved
2021-04-12 18:00:58 +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
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
d555fcf7bd
Merge pull request #2903 from node-red/plugin-resources
...
Allow module to provide resources and automatically expose them
2021-03-30 22:50:36 +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