1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Commit Graph

473 Commits

Author SHA1 Message Date
Nicholas O'Leary
e1dbb95396 Deep-clone messages when there are multiple recipients
Fixes #85

As well as adding deep-clone (via the new dependency on the 'clone' module), we no longer clone the message if there is a single recipient. This makes simple node-to-node flows more efficient.

I've done some simple profiling using process.hrtime to time how long the Node.send function takes, and at best, this change is neutral to performance.
2013-11-21 14:03:17 +00:00
Nicholas O'Leary
48c4786d66 Ignore node_modules dir when scanning for nodes 2013-11-20 13:55:21 +00:00
Nicholas O'Leary
3a52397744 Add nodesDir property to all nodes files to exist elsewhere 2013-11-13 17:02:29 +00:00
Nicholas O'Leary
848a69dc26 Make storage.init return a promise to async initialisation
part of #62
2013-11-12 17:13:06 +00:00
Nicholas O'Leary
29734dd994 Add unit test for localfilestorage
Stage 2 of #62
2013-11-10 22:19:01 +00:00
Nicholas O'Leary
95bef6b6ca Abstract all file-system operations
Stage 1 of  #62
2013-11-10 00:05:58 +00:00
Nicholas O'Leary
8befd44195 Rename workspaces to tabs/sheets 2013-10-30 21:45:45 +00:00
Nicholas O'Leary
3604286793 Save/restore tabs 2013-10-25 21:34:00 +01:00
Nicholas O'Leary
fa8dcdc87f Add NODE_RED_HOME env variable 2013-10-20 22:08:38 +01:00
Nicholas O'Leary
5e8e35e6fa Allow icons to be bundled with nodes 2013-10-13 21:01:46 +01:00
Nicholas O'Leary
eb9b31a21b Bit more of a shuffle round of the shutdown handling 2013-10-13 19:14:39 +01:00
Dave C-J
e60120f7c9 Make RED.stop as per @knollery suggestion. 2013-10-13 10:25:01 +01:00
Dave C-J
1fb185d081 Catch SIGINT (ctrl-C/break) and try to close nodes prior to exit. 2013-10-12 22:00:34 +01:00
Nicholas O'Leary
f5a8230f3e Fix camel case of flowFile 2013-10-05 21:20:11 +01:00
Nicholas O'Leary
ef0e5b98c2 Allow flows file to be set in settings 2013-10-04 17:28:15 +01:00
Nicholas O'Leary
e4f105c7a1 Make the runtime embeddedable 2013-09-26 21:13:09 +01:00
Nicholas O'Leary
0ecbbca7e4 Restructure server code to make embedding easier 2013-09-20 17:15:45 +01:00
Nicholas O'Leary
6f8adc9f14 Create lib dir on start-up if needed 2013-09-20 14:21:53 +01:00
Nicholas O'Leary
3b22b585d0 Allow nodes types to initialise asynchronously at start
The code scans the flows that are to be started and checks all
of the necessary node types are registered; if not, it doesn't
start the flows.

An event is emitted when each node type is registered - allowing
the server to track when all of the 'missing' node types register
and then start the flows.

This is a step towards adding node-types without restarting.
2013-09-18 21:15:23 +01:00
Nicholas O'Leary
327ab49622 Fixes #19 - httpRoot and httpAuth not taking effect
We were attaching the editor app rather than the main app to the
server, which meant the root and auth routes were ignored.
2013-09-13 23:24:35 +01:00
Dave C-J
88eb2cddc2 Added Quick catch for gross deploy errors... (only reports in console log... no UI notification) 2013-09-13 17:23:23 +01:00
Nicholas O'Leary
95675bc6bc Start to add server-side events 2013-09-09 20:03:22 +01:00
Nicholas O'Leary
32796dd74c Got to start somewhere 2013-09-05 15:02:48 +01:00