Commit Graph

847 Commits

Author SHA1 Message Date
Nick O'Leary c99b35428b
Ensure status/error events are propagated to parent properly 2019-01-25 13:35:02 +00:00
Nick O'Leary 490903ca25
Tidy up when usage in Flow and Node 2019-01-17 13:18:26 +00:00
Nick O'Leary 6286b34d00
Add Flow.getSetting for resolving env-var properties
This lays the groundwork for subflow-specific settings
2019-01-16 22:38:04 +00:00
Nick O'Leary 81f4e0de56
Refactor Subflow logic into own class 2019-01-16 16:27:19 +00:00
Nick O'Leary 81ae552e69
Project ui code using incorrect error property 2019-01-09 17:03:17 +00:00
Yuma Matsuura 715cc77e76 Update UI test for mac os 2018-12-18 09:29:46 +09:00
Hiroyasu Nishiyama 0e2d0e1b6f merge dev 2018-12-11 19:02:49 +09:00
Nathanaël Lécaudé 6d771da9a9 JSON node: delete msg.schema before sending msg to avoid conflicts 2018-12-10 13:47:55 -05:00
Hiroyasu Nishiyama 8198132ca7 use output selector for specifying JSONata expression 2018-12-09 20:30:35 +09:00
Hiroyasu Nishiyama 987dbf8a92 Merge branch 'dev' into debug-node-with-jsonata 2018-12-08 17:43:29 +09:00
Nick O'Leary 43530d4a5f
Remove tail/sentiment node tests 2018-12-07 16:45:06 +00:00
Nick O'Leary 72c78fe3ad
Merge pull request #1996 from node-red-hitachi/http-redirectList
Add redirectList property in msg of http-request node
2018-12-05 14:01:36 +00:00
Nick O'Leary ee47646cf7
Fix up unit tests 2018-12-04 15:59:43 +00:00
nakanishi 32d9acdaa5 minor fix 2018-12-04 15:46:46 +00:00
nakanishi 4eb3bd496b Add redirectList property in msg of http-request node 2018-12-04 15:39:01 +00:00
Hiroyasu Nishiyama 3c4f4d27d6 Support output editting of DEBUG node using JSONata 2018-12-01 18:03:04 +01:00
Nathanaël Lécaudé 6934a2d5c3 http request: add msg.requestTimeout parameter 2018-11-01 17:27:04 -04:00
nakanishi d033c24fe5 Fixed UI test problems caused by timing 2018-10-31 09:27:33 +09:00
Dave Conway-Jones 8dba0dac9e
Fix UDP in test 2018-10-29 22:23:03 +00:00
Nick O'Leary b715ac8bf4
Add more test coverage around settings apis 2018-10-26 21:22:58 +01:00
Dave Conway-Jones d96049416f
csv node - boost / fix tests for new regex 2018-10-26 09:53:33 +01:00
Nick O'Leary 8f94c5efeb
Increase unit test coverage context/exec modules 2018-10-25 15:37:46 +01:00
Nick O'Leary ba7416450e
Merge pull request #1942 from node-red-hitachi/dev-uitest-place
Automatically adjust node deployment
2018-10-25 09:56:33 +01:00
nakanishi c2aa9a5337 Automatically adjust node deployment 2018-10-25 10:19:51 +09:00
Nick O'Leary e4d518749f
Remove deprecated Buffer constructor usage
Fixes #1709
2018-10-24 13:45:34 +01:00
Nick O'Leary 6382564727
Make exec node test more tolerant of multiple messages being received 2018-10-23 11:33:26 +01:00
Akash Mugu 7a9dd9ad9c
Exec: Add unit tests - Preserve existing properties on msg object 2018-10-22 16:44:16 +01:00
Nick O'Leary dc7e48dc53
Merge branch 'dev' into pr_1789 2018-10-22 10:46:47 +01:00
Nick O'Leary 34ead436b0
Merge pull request #1913 from node-red-hitachi/dev-httpproxy
Add http-proxy for http-request node.
2018-10-19 11:10:26 +01:00
Nick O'Leary 808d5a75ae
Merge pull request #1922 from node-red-hitachi/dev-uitest-split
Followed runtime-editor split for UI test
2018-10-19 11:03:48 +01:00
Nick O'Leary b2516117f5
Add event log to editor
Shows output from git pull/push and npm install in the editor
2018-10-18 23:49:47 +01:00
Yuma Matsuura f204c77ba3 Modify require paths 2018-10-16 12:38:39 +09:00
Nick O'Leary 7a8545273c
Merge branch 'master' into dev 2018-10-15 11:37:14 +01:00
Nick O'Leary 6a9575e9f4
Merge pull request #1894 from node-red-hitachi/fix-overlapping-file-node-execution
fix multiple input message processing of file node
2018-10-15 03:15:05 -07:00
Nick O'Leary c13e79e9c3
Merge pull request #1915 from kazuhitoyokoi/dev-addtestcases4themejs
Update test cases in theme_spec.js
2018-10-15 02:46:09 -07:00
Nick O'Leary a20eaf852f
Merge pull request #1918 from node-red-hitachi/fix-i18n-for-safari
Fix i18n handling for ja-JP locale on Safari/MacOS
2018-10-11 14:21:20 -07:00
Yuma Matsuura 8235b7b96d Followed runtime-editor split 2018-10-11 18:16:08 +09:00
Nick O'Leary f4ca8cd738
Merge branch 'master' into dev 2018-10-07 11:45:43 +01:00
Hiroyasu Nishiyama 14435c24ac fix i18n handling for ja-JP locale on Safari/MacOS 2018-10-05 21:16:57 +09:00
Kazuhito Yokoi 71403e5acd Update test cases in theme_spec.js 2018-10-03 13:39:11 +09:00
Osamu Katada 3d70bc722a Add http-proxy for http-request node. 2018-10-03 09:58:25 +09:00
Nick O'Leary 428bf634e9
Merge pull request #1895 from node-red/Tidy-core-nodes
Tidy core nodes
2018-09-28 13:20:58 +01:00
Nick O'Leary c49f722e4f
Merge pull request #1891 from camlow325/resolve-example-path-for-windows-support
Resolve path when sending example file for Windows support
2018-09-28 13:18:53 +01:00
Nick O'Leary 10faa96bcf
Exclude non-testable .js files from the unit tests 2018-09-27 15:09:49 +01:00
Dave Conway-Jones c9dc9b4fe9
fix websocket feedback test - now doesn't spin 2018-09-26 16:03:22 +01:00
Hiroyasu Nishiyama a345089c8b wait closing while penging messages exist 2018-09-26 12:39:12 +09:00
Kazuhito Yokoi 67c268e13d Add test cases for red/api/editor/settings.js 2018-09-26 10:22:01 +09:00
Dave Conway-Jones 4630a162af
Add msg.flush mode to delay node
to spew out contents rather than dump
(as per Trello item)
2018-09-23 17:31:11 +01:00
Dave Conway-Jones fde157ff50
remove cr lf from incoming filename so easier to pass in results from exec node.
and add test
2018-09-23 10:36:50 +01:00
Jeremy Barlow cb35604ef5 Resolve path when sending example file for Windows support
Previously, when trying to import an example into the flow editor on
Windows, the load attempt would fail with an HTTP 404 error in the
browser client, with a `TypeError: path must be absolute or specify
root to res.sendFile` error being written to the Node-RED log. This was
due to the path being passed to the `res.sendFile` function not being
fully-qualified (for example, `\Users\myuser\...\example.json`).

With the changes in this commit, the path to the example file is
resolved to a fully-qualified path before being passed into the
`res.sendFile` call. For example, a path on Windows of
`\Users\myuser\...\example.json` would be transformed to
`C:\\Users\\myuser\\...\\example.json` before being passed along to the
`sendFile` function. This change allows the file to be loaded and sent
properly to the browser client and for the embedded flows in the example
to be loaded in the flow editor.
2018-09-21 08:15:00 -07:00