Commit Graph

189 Commits

Author SHA1 Message Date
Nick O'Leary 66ee27c5fa
Switch node: only use promises when absolutely necessary
Fixes a significant performance regression introduced when the
node was made async-only with the persistent context work.
2018-09-14 14:03:36 +01:00
Hiroyasu Nishiyama 6fa8b7f5f1
fix persistable context handling of sort node & existing error in testcases 2018-09-05 16:04:12 +01:00
Dave Conway-Jones 72b8dbb45b
Split node - fix complete to send msg for k/v object
and update info to try to clarify.
2018-09-04 22:54:28 +01:00
Dave Conway-Jones 7703875740
tidy split node merged object key typed input 2018-09-04 17:41:14 +01:00
Nick O'Leary 72c400794c
Change node must handle empty rule set 2018-08-16 09:41:43 +01:00
Nick O'Leary 450f4d9a5a
Fix error reporting of invalid jsonata in Join/reduce 2018-07-27 22:05:42 +01:00
Nick O'Leary 52f74ff7e0
Join: reduce fails if count not in first msg received 2018-07-26 14:13:12 +01:00
Nick O'Leary 9efd48fe51
Fixup Join node to apply reduce_fixup asynchronously 2018-07-25 11:08:03 +01:00
Nick O'Leary 4d54663efd
Merge pull request #1832 from node-red-hitachi/fix-isempty-rule
Fix bugs about "isEmpty" rule in Switch node
2018-07-20 12:45:53 +01:00
HirokiUchikawa a6a4620374 Fix an error that occurs when evaluating `null` on `isEmpty` rule. 2018-07-20 17:03:23 +09:00
HirokiUchikawa 5148c62d1c Fix appearance about `Empty` rules. 2018-07-20 16:53:30 +09:00
HirokiUchikawa e675512fa3 Fix ReferenceError in change node
and add a test case
2018-07-19 14:44:21 +09:00
Hiroyasu Nishiyama 312e3611b1 allow environment variable as reduce init value 2018-07-16 13:45:59 +09:00
Nick O'Leary 6f087b4ec1
Merge pull request #1795 from node-red-hitachi/0.19-fix-change-for-persistable-context
Fix persistable context handling of switch node
2018-07-11 16:17:26 +01:00
Nick O'Leary e94708606d
Add isEmpty check to switch node 2018-07-11 16:14:09 +01:00
Hiroyasu Nishiyama c248f1a762 fix persistable context handling of switch node 2018-07-11 23:39:34 +09:00
Nick O'Leary 49da324c5d
Fix jsonata err reporting in sort node 2018-07-10 17:26:54 +01:00
Nathanaël Lécaudé eea85485e6 Merge remote-tracking branch 'upstream/0.19' into json-schema 2018-07-10 11:11:15 -04:00
Hiroyasu Nishiyama 407e16e900 Fix appearrence of switch node port label for flow/global ref. (#1793)
* fix appearrence of switch node port label for flow/global ref

* use RED.utils.parseContextKey
2018-07-10 12:40:52 +01:00
Hiroyasu Nishiyama 6e9fe3248a Fix appearrence of change node label for flow/global ref (#1792)
* fix appearence of change node label for flow/global ref

* use RED.utils.parseContextKey
2018-07-10 12:40:31 +01:00
Nick O'Leary f8aa4a9588
Merge branch 'async-split' into 0.19 2018-07-10 11:30:38 +01:00
Nick O'Leary c249907846
Merge pull request #1791 from node-red/join-node-keep-top-level-properties
join-node-keep-top-level-properties
2018-07-10 11:28:55 +01:00
Nick O'Leary 57c1524a9a
Add async jsonata support to join node 2018-07-10 11:24:57 +01:00
Nick O'Leary d8d82e2ba3
Update sort node for async use of jsonata 2018-07-09 23:06:51 +01:00
Nick O'Leary 807b512ef7
Add JSONata async support to Switch and Change nodes 2018-07-09 21:56:39 +01:00
Nick O'Leary d7adff9a65
Add async message handling to Trigger node 2018-07-09 14:12:44 +01:00
Nick O'Leary fc9cdb61f2
Add async property handling to Switch node 2018-07-09 11:31:10 +01:00
Nick O'Leary 9c00492dc2
WIP: create async Switch node helper functions 2018-07-09 11:31:10 +01:00
Nick O'Leary 1a6babd199
Lint Switch code 2018-07-09 11:31:10 +01:00
Nick O'Leary 1b693eed37
Add async context support to Change node 2018-07-09 11:31:10 +01:00
Dave Conway-Jones f870e9ed3e
Let Join node accumulate top level properties
Last in is still most significant
2018-07-08 16:52:30 +01:00
Nathanaël Lécaudé 6a218814d3 Merge remote-tracking branch 'upstream/0.19' into json-schema 2018-06-30 16:20:13 -07:00
Nick O'Leary 14882bda78
Ensure runtime errors in Change node can be caught
Fixes #1769
2018-06-29 11:50:16 +01:00
Dave Conway-Jones 6f5974f875
Fix join node manual mode array
msg.complete was adding an unwanted null to the array (if no payload)
Added tests for msg.complete with array and object
2018-06-14 20:00:42 +01:00
Nick O'Leary eb6d093e56
Add env-var support to TypedInput 2018-05-21 15:10:06 +01:00
Dave Conway-Jones 4a4513a746 Add type checks to switch node options (#1714)
* Add type checks to switch node options

* add isType to messages.json
2018-05-03 11:24:44 +01:00
Dave Conway-Jones 9d22a86ec8
fix typo in switch label, make function label consistent 2018-04-16 11:12:21 +01:00
Dave Conway-Jones 89bfc90f40
Make core nodes labels more consistent, to close #1673
and make them translateable
2018-03-30 14:31:59 +01:00
Nick O'Leary 98f7271ac8
Merge pull request #1657 from node-red-hitachi/move-i18n-info-text
move i18n info text of core nodes under nodes/core/locales directory
2018-03-20 20:44:54 +00:00
Kazuki Nakanishi fe289e62b5 Fix the problem that output labels of switch node sometimes disappear (#1664) 2018-03-20 20:37:29 +00:00
Hiroyasu Nishiyama 341ff9bf5c move i18n info text of core nodes under nodes/core/locales directory 2018-03-03 10:39:11 +09:00
Hiroyasu Nishiyama 284f437c1a merge i18n-info-jp-logic 2018-02-15 22:46:58 +09:00
Nick O'Leary 5fb3ffc240
Merge pull request #1627 from node-red-hitachi/fix-batch-concat-mode-msg-modification
fixed message modificcation of concat mode of BATCH node
2018-02-13 23:45:19 +00:00
Nick O'Leary 0b6e290271
Merge pull request #1625 from node-red-hitachi/fix-typo-in-info-text
Fix typo in info text
2018-02-13 23:44:35 +00:00
Hiroyasu Nishiyama 6252b075bc fixed message modificcation of concat mode of BATCH node 2018-02-13 20:55:03 +09:00
Hiroyasu Nishiyama 5814b80a72 add Japanese info text for logic category nodes 2018-02-11 20:59:01 +09:00
Hiroyasu Nishiyama 43408a724c fix unmatched tag in info text of BATCH node 2018-02-11 02:06:28 +09:00
Hiroyasu Nishiyama abe60b62e6 change backquote in info text to <code>...</code> 2018-02-08 23:20:53 +09:00
Nick O'Leary 6f69995f4e
Update sort/batch docs 2018-02-01 20:21:36 +00:00
Hiroyasu Nishiyama 0e5adc1f0a merge upstream/master 2018-01-30 22:15:24 +09:00