HirokiUchikawa
a6a4620374
Fix an error that occurs when evaluating null
on isEmpty
rule.
2018-07-20 17:03:23 +09:00
Nick O'Leary
e94708606d
Add isEmpty check to switch node
2018-07-11 16:14:09 +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
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
Hiroyasu Nishiyama
2753075180
fix bugs in SWITCH updates
2018-01-26 12:39:07 +09:00
Nick O'Leary
e7960d1d44
Rewording some of the message sequence nodes ( #1564 )
...
* Rewording some of the message sequence nodes
* Fix batch test for overlap renaming
* Finish msg-sequence node help rewording
* Rename maxKeptMsgsCount to nodeMessageBufferMaxLength
* Rename nodeMessageBufferMaxLength in tests
* Remove Join-merge mode for later rework
2018-01-24 22:01:07 +00:00
Hiroyasu Nishiyama
a75b819858
reduce *MaxKeptMsgsCount property to one maxKeptMsgsCount ( #1563 )
2018-01-22 23:26:17 +00:00
Hiroyasu Nishiyama
6310de0d20
Initial support of sequence rules for SWITCH node ( #1545 )
...
* new UI for parts support of SWITCH node
* update UI of SWITCH node for parts support
* add server side code of new SWITCH node
* update info document of SWITCH node
* add tests for new SWITCH node features
* add test for too many pending messages & related fixes
* fix handling when msg is undefined
* tabs -> spaces
* fixed meaning of "repair sequence" in SWITCH node docs
* add a note on restricting internally kept messages
* change label and position in menu of "pos. between" rule
* fixed typos (again, sorry)
2018-01-17 10:08:58 +00:00
Nick O'Leary
dbf0486acb
Add JSONata expr tester and improved feedback
2017-05-05 11:23:24 +01:00
Nick O'Leary
30920b1b78
Add $context/$flow/$global functions to jsonata
2017-05-03 15:48:30 +01:00
Nick O'Leary
5945be95cf
Treat missing msg properties as undefined rather than throw error
...
Fixes #1167
2017-03-12 22:04:37 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
bf90509526
Add jsonata support to Change/Switch nodes
2016-11-10 23:58:34 +00:00
Dave Conway-Jones
4603f2d9ca
only update switch Prev value after all rules are run
2016-08-01 12:31:35 +01:00
Nick O'Leary
8f8df4971c
Fix switch node assumptions around string/number handling
2016-06-10 21:03:38 +01:00
Nick O'Leary
81f082825d
Add 'previous value' option to Switch node
2016-01-15 11:35:59 +00:00
Nick O'Leary
fe4dae8518
Add propertySelect to switch node
2016-01-06 17:01:13 +00:00
Nick O'Leary
8b2b1669b5
Add ignore-case flag to Switch regex rule
...
closes #366
2015-10-04 22:14:49 +01:00
dceejay
d7bdcd69fc
fix exec missing addpayload,
...
improve switch null test (to include null object)
check mqtt has payload before sending
2015-04-14 17:15:56 +01:00
dceejay
72a9de058d
tests for defaults in switch, change and range nodes.
2015-03-24 17:35:54 +00:00
Nick O'Leary
ebb0d1a46d
Handle invalid property values in Switch node
...
Fixes #404
2014-09-17 22:31:26 +01:00
Dave C-J
2cdaed1325
Add "use strict" to most core nodes.
...
(skipping ones that may have other work in progress)
2014-05-29 22:13:21 +01:00
Nick O'Leary
ff49d2b217
Migrate to new node function style
2014-05-03 23:32:04 +01:00
Dave C-J
ae02cf8d71
Make 0's appear in switch node dialog (were seen as nulls)
2014-04-11 10:56:59 +01:00
Nicholas O'Leary
d2ce6af486
Switch node: infer intent to compare numbers
...
Fixes #108
2013-12-06 20:26:55 +00:00
Nicholas O'Leary
5767478871
Switch node null/not null tests don't always work
...
a === null / a !=== null
is different to
typeof a == "undefined" / typeof a != "undefined"
2013-12-03 01:12:29 +00:00
Dave C-J
ff8db09fd9
Add "otherwise" option to switch node - also added ability to stop checking after first match or keep matching (as-is today). Fixes Issue #88
2013-11-22 16:25:02 +00:00
Nicholas O'Leary
48dabffefc
Move all nodes into core subdirectory
...
This makes it easier to distinguish core nodes from those added later
2013-11-14 15:52:19 +00:00