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

357 Commits

Author SHA1 Message Date
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