Commit Graph

27 Commits

Author SHA1 Message Date
Nick O'Leary 45c7f3f3ca
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.html 2019-07-30 23:06:18 +01:00
Dave Conway-Jones b7a62bd9e7
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.html
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
2019-07-10 10:01:17 +01:00
Dave Conway-Jones 93ad9a3aa6
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.js
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
2019-07-10 10:01:09 +01:00
Dave Conway-Jones a2dedba0ef
change internal type to hask 2019-07-09 21:04:53 +01:00
Dave Conway-Jones 238bcb8698
Add "has key" rule to switch node + tests 2019-07-08 15:54:31 +01:00
Nick O'Leary d623848c87
Update all node icons to SVG
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.

If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +01:00
Dave Conway-Jones 92cb57eb7b
Fix join node reset issue with merging objects
and add tests
to close #2188
2019-06-20 18:14:46 +01:00
Hiroyasu Nishiyama f8dd68ecc4 Add support for env var propety in switch node 2019-06-07 21:35:36 +09:00
Dave Conway-Jones 2cc19e7e32
stop join tripping up if last message of buffer is blank. 2019-06-01 23:49:27 +01:00
Nick O'Leary b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
Dave Conway-Jones 2ebdd6c5cb
let join node handle merged objects with repeated properties and honour parts
to close issue from slack re repeated {"d":"d","d":"d","d":"d"}  messages
2019-02-20 00:11:31 +00:00
Hiroyasu Nishiyama a413f3cded Add support of subflow env var 2019-01-26 23:15:20 +09:00
Nick O'Leary 34b6643913
Remove unused variable declaration in Change node 2019-01-07 15:00:32 +00:00
Nick O'Leary 43b7aa40c3
Remove promises from Join node 2019-01-02 22:37:06 +00:00
Nick O'Leary 747af44fc1
Tidy up variable naming in split.js 2019-01-01 23:05:13 +00:00
Nick O'Leary d5ef428edd
Remove promises from Change node 2018-12-21 14:37:04 +00:00
Nick O'Leary 473a2ae275
Remove all Promises from Switch node
Promises are expensive and should not be used in the main
message handling path. The Switch node used them a lot if
the node references context - with a lot of duplicate code
to handle async and sync code paths.

This change modifies the code to use callbacks throughout
that are just as performant in either case.
2018-12-20 22:57:47 +00:00
meeki007 96e3aab3b4
update 10-switch.html - missing Font Awesome font
switch node was missing font  ( fa-ellipsis-h )
other nodes that have been updated with property option have the icon.
rbe-node and range-node have the icon to the left of property

its time the switch-node joins its siblings in uniformity.
2018-12-05 14:27:38 +00:00
Hiroyasu Nishiyama c1ff241550 add fixes for core nodes 2018-11-30 13:02:15 +00:00
Nick O'Leary e64f4e3f39
Merge branch 'master' into dev 2018-10-24 16:42:21 +01:00
Dave Conway-Jones 1a7868159a
Split/join - add msg.reset to info panel 2018-09-25 08:43:53 +01:00
Dave Conway-Jones 51f875c02d
reset join without sending part array
(thought this had been fixed already ?)
2018-09-23 10:35:47 +01:00
Nick O'Leary 2aae76c9bc
Merge branch 'dev' into repackage 2018-09-17 14:49:11 +01:00
Nick O'Leary cfaaef7860
Merge branch 'dev' into repackage 2018-09-06 10:31:36 +01:00
Nick O'Leary 954226da0d
Fix up promises in tests, remove package-lock 2018-08-20 16:45:50 +01:00
Nick O'Leary 6b79c6135f
Merge branch 'master' into repackage 2018-08-16 20:43:15 +01:00
Nick O'Leary ecd8f97d8b
WIP: move all the code 2018-08-04 22:23:06 +01:00