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
02af01d2ca
Merge pull request #3867 from Steve-Mcl/improve-nodesdir-scan
...
Fix nodesDir scan when node package has js/html in sub dir to package.json
2022-11-30 22:15:00 +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
14c362d4ba
Merge pull request #3942 from node-red-hitachi/fix-watch-test
...
fix watch node test on MacOS/ARM
2022-11-07 21:12:55 +00:00
Hiroyasu Nishiyama
fce43b4e1d
fix condition for platform check
2022-11-05 14:50:14 +09:00
Hiroyasu Nishiyama
1d547500e8
fix watch node test on MacOS/ARM
2022-11-05 14:30:32 +09:00
Hiroyasu Nishiyama
f23d0480e4
add global environment variable feature
2022-11-04 18:42:51 +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
Nick O'Leary
c62a101635
Fix httprequest tests to be more lenient on error message
2022-10-16 23:10:57 +01:00
Nick O'Leary
7da3773f7f
Merge pull request #3898 from node-red/delay-flush-reset
...
let delay node handle both flush then reset
2022-10-04 15:39:05 +01: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
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
81b4874a7c
fix new test and fix bug found in previous PR
2022-09-29 19:05:53 +01:00
Steve-Mcl
f11b9c1e18
add test bad birth topic
...
part of #3865
2022-09-29 13:12:15 +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
Hiroyasu Nishiyama
ce7b0a3b5e
remove done from describe
2022-09-06 18:05:50 +09:00
Steve-Mcl
6a19d8246c
add test for specific arrangement of node package
2022-09-03 21:37:27 +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
Ben Hardill
58b951e134
Make port number dynamic in test
2022-08-14 15:09:48 +01: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
5c6b8e9e50
opportunistic tidy up MQTT tests
2022-08-12 18:21:36 +01:00
Steve-Mcl
5a36e8fb11
add tests for MQTT v5 (sessionExpiry property)
2022-08-12 18:20:11 +01:00
Hiroyasu Nishiyama
1ddbeaa50f
add test cases
2022-07-27 20:25:43 +09:00
Steve-Mcl
bcd31610f6
update tests for sys info diagnostics ammendments
2022-07-21 10:07:40 +01:00
Nick O'Leary
ca20f41d0e
Update theme tests to ensure monaco is loaded
2022-07-03 20:37:55 +01:00
Nick O'Leary
51684d18cf
Merge pull request #3719 from node-red/pr_3642
...
Allow flows to be stopped and started manually
2022-06-29 20:54:45 +01:00
Nick O'Leary
b59a3b15f3
Fix flow unit tests
2022-06-29 11:41:19 +01:00
Nick O'Leary
7580f7491a
Update flow state tests to match changes in api
2022-06-29 10:45:06 +01:00
Nick O'Leary
12b64d1906
Merge pull request #3695 from node-red/fix-dynamic-link-call
...
Ensure link-call cache is updated when link-in is modified
2022-06-28 20:56:33 +01:00
Dave Conway-Jones
b60fd36c6e
Fix CSV node to handle \n when outputting text fields
...
and add tests
2022-06-28 10:14:12 +01:00
Steve-Mcl
1e57190b8c
Merge remote-tracking branch 'upstream/master' into stop-start-flows
2022-06-27 18:07:49 +01:00
Steve-Mcl
2f1f587c50
Use HTTP body instead of header for setting flows run state
2022-06-27 18:03:14 +01:00
Nick O'Leary
d1d3b805f6
Merge pull request #3690 from cow0w/env_evalulating_in_template
...
Add support for evalulating {{env.<var>}} within a template node
2022-06-27 14:28:17 +01:00
Steve-Mcl
3cef2bb7e0
Merge remote-tracking branch 'upstream/master' into stop-start-flows
2022-06-27 13:03:52 +01:00
Steve-Mcl
9729c89f5d
ensure link-call cache is updated when link-in is modified
...
fixes #3694
depends on node-red-node-test-helper@0.3.0
2022-06-20 18:25:41 +01:00
cow0w
01d9affe61
Add support for evalulating {{env.<var>}} within a template node
2022-06-17 22:18:14 +03:00
Steve-Mcl
98ebb02763
improve tests for nodeDir
...
Adds new resources (loose files, non NR pkgs, NR modules, NR Plugins)
Adds new tests
#getNodeFiles - new tests below
√ Finds nodes and icons only in nodesDir with files, icons and valid node-red packages
√ Should not find node-red node in nodesDir with files, icons and valid node-red packages
√ Should not find node-red node in nodesDir when regular package and valid node-red packages
#getModuleFiles - new tests below
√ gets a nodes module files
√ Finds only 1 node-red node in nodesDir amongst legacy nodes and regular nodes
√ Finds a node-red node in nodesDir with a sub dir containing valid node-red package
√ Finds 2 node-red node and 1 plugin in nodesDir (in root of dir)
√ Finds 2 node-red node and 1 plugin in nodesDir pointing to a node_modules dir
2022-06-16 11:00:31 +01:00
Nick O'Leary
b2e8474df3
Merge pull request #3624 from node-red-hitachi/fix-buffer-parse-error
...
fix buffer parse error message of evaluateNodeProperty
2022-06-09 16:02:48 -05:00
Steve-Mcl
d4e6136b09
re-enable tests i had temporarily disabled
2022-06-09 15:27:50 +01:00
Steve-Mcl
68331fc40c
implement flows runtime stop/start API and UI
2022-06-08 21:56:17 +01:00
Hiroyasu Nishiyama
7e6dfa7b92
update test for inject node
2022-05-27 12:11:53 +09:00
Hiroyasu Nishiyama
bc80569fe9
fix buffer parse error message of evaluateNodeProperty
2022-05-22 17:59:27 +09:00
Steve-Mcl
be3b5b7fe2
MQTT topic validation and lockup fix
...
closes #3557
2022-04-29 19:56:37 +01:00
Nick O'Leary
ff57de0753
Merge branch 'dev' into diagnostics
2022-04-27 22:30:13 +01:00
Nick O'Leary
9565aee3c5
Merge pull request #3533 from Steve-Mcl/filename-typedinput
...
Feature: Change basic Filename field to a typedInput
2022-04-27 22:28:12 +01:00
Stephen McLaughlin
e714ff35c4
Merge branch 'dev' into diagnostics
2022-04-27 12:08:32 +01:00
Nick O'Leary
c88a177cb2
Merge pull request #3530 from Steve-Mcl/mqtt-payload-auto-parsing
...
MQTT payload auto parsing improvements
2022-04-25 11:40:59 +01:00
Nick O'Leary
d802ce1484
Merge pull request #3460 from ArFe/feature-add-store-external-token-when-authenticate
...
Feature add: Store external token when authenticate if provided
2022-04-22 09:51:20 +01:00
Steve-Mcl
4b10b9ffc3
update tests
2022-04-21 21:32:24 +01:00
Nick O'Leary
4884938036
Merge branch 'master' into dev
2022-04-21 16:05:54 +01:00
Nick O'Leary
3a26c5cd65
Merge pull request #3498 from sammachin/sammachin_credentials
...
Error on invalid encrypted credentials
2022-04-21 10:59:43 +01:00
Nick O'Leary
958f57085f
Merge branch 'dev' into tcp-node-better-split
2022-04-20 09:34:16 +01:00
Steve-Mcl
013af7619e
add tests
...
- fix 2 issues found when developing tests :)
2022-04-16 17:13:54 +01:00
Steve-Mcl
8ba6a7436e
Add tests for MQTT v5 auto parsing hints
2022-04-15 18:21:36 +01:00
Steve-Mcl
39f303fcd6
add unit tests
2022-04-06 15:11:37 +01:00
Stephen McLaughlin
a7932da207
Merge pull request #3488 from Steve-Mcl/httpreq-headers-ui
...
Add UI for Http Request node headers
2022-04-06 08:35:32 +01:00
Sam Machin
50718495da
fix test mock
2022-03-24 08:39:31 +00:00
Dave Conway-Jones
8a40622815
tcp node - undo trim if we re-add split chars
...
and fix tests
2022-03-23 22:07:43 +00:00
Steve-Mcl
b918b75414
Merge remote-tracking branch 'upstream/master' into dev
2022-03-23 11:16:18 +00:00
Stephen McLaughlin
f660973168
Dont run MQTT tests by default on local
...
- update skip message to inform use of how to enable test
2022-03-23 10:00:36 +00:00
Stephen McLaughlin
cf2e7744f3
remove copyright header
...
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-03-23 09:15:57 +00:00
Steve-Mcl
ecf1847dd2
use CI flag to skip MQTT tests
2022-03-21 14:59:10 +00:00
Steve-Mcl
40a9dce869
try broker.emqx.io
2022-03-21 13:51:20 +00:00
Steve-Mcl
a6696733fa
tidy up code
2022-03-21 13:50:24 +00:00
Sam Machin
d9bd736159
change error to warn for moving from unencrypted to encrypted
2022-03-21 09:29:41 +00:00
Sam Machin
c7f48a83c0
add test
2022-03-19 17:57:30 +00:00
Steve-Mcl
497d63e67e
Add unit tests for MQTT nodes
2022-03-19 17:29:31 +00:00
Steve-Mcl
31b3a4c342
Add UI for common headers/values
...
- Wrap HTML node script in IFFE (isolate module level vars & functions)
- Add UI elements for setting headers in http req node edit form
- Update built in help
- Add tests
2022-03-12 13:47:29 +00:00
Steve-Mcl
249f7e45fb
Link Call should not call into subflow...
...
- includes missing jsdoc
- improves speed (no searching, only lookups)
- code formatting consistency
- improve tests
2022-02-28 13:57:22 +00:00
Ariel Ferreira
79a789c557
add test to check if in the case user contains token, Node-RED uses it instead of generating a new Token
2022-02-26 17:24:59 -05:00
Dave Conway-Jones
bda5dffa34
Add tests
2022-02-25 16:19:20 +00:00
Steve-Mcl
29df7e84a1
add tests
2022-02-25 16:13:48 +00:00
Dave Conway-Jones
0398ef3b90
undo regression in tcp-in node (missed one)
...
and add test
2022-02-25 16:06:44 +00:00
Nick O'Leary
0533c08438
Merge branch 'master' into dev
2022-02-18 22:02:30 +00:00
Hiroyasu Nishiyama
0f1aea3e0d
add test case
2022-02-15 14:41:03 +09:00
Nick O'Leary
95d3a8cc22
Merge pull request #3409 from node-red/let-switch-number-test-report-NaN-as-false
...
switch node - add check for NaN in is of type number to be false
2022-02-14 23:17:38 +00:00
Dave Conway-Jones
63ebadc526
add check for NaN in is of type number to be false
...
and add test
to fix issue #3408
2022-02-09 12:03:38 +00:00
Alexandre Alapetite
280d63fde7
Fix util.encodeObject
2022-02-03 15:59:25 +01:00
Nick O'Leary
5b428bb8e6
Merge pull request #3379 from node-red-hitachi/nr_node_path-support
...
add NR_NODE_PATH path support
2022-01-26 14:29:03 +00:00
Hiroyasu Nishiyama
c948ff88a5
add support of NR_NODE_PATH
2022-01-26 21:24:48 +09:00
Nick O'Leary
4173625fca
Merge pull request #3243 from node-red/delete-global-context
...
Clear context contents when switching projects
2022-01-26 11:28:34 +00:00
Hiroyasu Nishiyama
aa3f5001d5
additional update of test for NR_ prefix addition
2022-01-26 10:52:41 +09:00
Hiroyasu Nishiyama
56580c4005
add test for NR_ prefix addition
2022-01-26 09:26:05 +09:00
Hiroyasu Nishiyama
983dad5b53
add test for env var access of GROUP_ID & GROUP_NAME
2022-01-25 21:07:38 +09:00
Hiroyasu Nishiyama
0ad60013aa
add test for env var access of FLOW_ID & FLOW_NAME
2022-01-25 20:52:45 +09:00
Hiroyasu Nishiyama
75bcd9e8d5
add support for accessing node id & name as env var
2022-01-14 23:40:12 +09:00
Nick O'Leary
3abef972a7
Clear context contents when switching projects
...
Fixes #3240
2022-01-12 18:59:29 +00:00
Nick O'Leary
30b00741b5
Merge pull request #3296 from node-red/Json-try-parse-buffer
...
Let JSON node attempt to parse buffer if it contains a valid string
2022-01-12 18:58:02 +00:00
Nick O'Leary
f86e743cce
Merge branch 'master' into dev
2022-01-12 17:59:26 +00:00
Nick O'Leary
ee84eb666b
Merge pull request #3307 from node-red/add-tls-option-to-tcp-node
...
Add TLS option to tcp client nodes
2022-01-12 17:37:43 +00:00
Tobias Oort
555f155cad
Added support for commaseparated subprotocols
...
Removed placeholder from html
2022-01-12 09:10:35 +01:00
Dave Conway-Jones
52e4e0e569
Fix for narrrowbandEq mode start condition failure
...
And add test
As discussed https://discourse.nodered.org/t/the-filter-node-or-the-old-rbe-node/56371
2022-01-11 13:56:44 +00:00
Tobias Oort
83203d5f5d
Fixed property name in unit-test
2022-01-10 22:23:45 +01:00
Tobias Oort
bd77d7eec3
Implemented support for Websocket Subprotocols in WS Client Node.
2022-01-08 22:18:05 +01:00
Dave Conway-Jones
c9f03f1ac5
better tests
...
(and a small fix as a result)
2021-12-27 09:51:50 +00:00
Dave Conway-Jones
02bd292b8c
fix and test
2021-12-26 16:12:47 +00:00
Dave Conway-Jones
6ae42eb787
Let JSON parser attempt to parse buffers if they contain strings
...
and add/fix test
2021-12-10 15:21:43 +00:00