Commit Graph

7457 Commits

Author SHA1 Message Date
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
Dave C-J 0878071a91 Tweak to LEDborg to use fs.exists rather than fs.read... no need to read and catch exception 2013-09-18 17:25:15 +01:00
Dave C-J 052aad50e6 Add LevelDB node to the mix - a file based key value store... persistent across reboots etc. 2013-09-18 17:15:36 +01:00
Nicholas O'Leary 62e7b253c9 HTTP node not closeing properly 2013-09-18 09:21:12 +01:00
Nicholas O'Leary 1d4adecaa0 Validate functions should be called in context of the node 2013-09-17 13:23:08 +01:00
Dave C-J d3ed9afe03 Tweaks to Debug. realigned UI to be consistent with other nodes, Increased maxlength limit to 1000, Made circular object handling the default. 2013-09-17 11:11:09 +01:00
Nicholas O'Leary 4b119c065a Open sidebar by default - fixes #18 2013-09-16 23:16:14 +01:00
Nicholas O'Leary 0ceee215f3 Add notification for loss of connection to server 2013-09-16 22:21:31 +01:00
Dave C-J 2ef907632f Ad debugMaxLength to settings.js as part of Fix for Issue #17 2013-09-16 18:02:57 +01:00
Dave C-J 6fc2555a2f Fix for Debug node circular references (Issue 17) - Also now limit debug message length ...(more). Added debugMaxLength setting to settings.js - default 512 - so can be overridden if required. (no doubt this will change) 2013-09-16 18:00:33 +01:00
Dave C-J 939178720a Fixed regex for LEDs to look for 0-9a-fA-F 2013-09-16 17:55:49 +01:00
Dave C-J 5a5a4644db Add PiBorg's LEDBorg to the hardware family... (only works on Pi - and only if installed :-) 2013-09-15 19:39:18 +01:00
Ben Hardill b63876f5ae Merge remote-tracking branch 'upstream/master' 2013-09-15 15:58:55 +01:00
Dave C-J 585e50229e Merge branch 'master' of github.com:node-red/node-red 2013-09-15 11:36:19 +01:00
Dave C-J f8988ca583 Made Blink1 and BlinkStick msg.payloads consistent so both accept hex #rrggbb or decimal rrr,ggg,bbb. (This will also break any existing Blink1 deployments...) 2013-09-15 11:35:56 +01:00
Ben Hardill 79853f5a60 Merge remote-tracking branch 'upstream/master' 2013-09-14 14:02:46 +01:00
Nicholas O'Leary 95c815d994 Update Debug tooltip to make sidebar easier to find 2013-09-14 10:21:09 +01:00
Dave C-J 77eb0f76ce Merge branch 'master' of github.com:node-red/node-red 2013-09-13 23:41:43 +01:00
Dave C-J 500c3ec146 tweak debug - so booleans are obvious. 2013-09-13 23:28:39 +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 b0e9dbb929 Partial fix for Issue #17 2013-09-13 22:55:16 +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
Dave C-J 36ae1dd0ef added/allowed text colour names for BlinkStick 2013-09-13 13:05:10 +01:00
Dave C-J 8300952254 Merge branch 'master' of github.com:node-red/node-red 2013-09-13 12:25:24 +01:00
Dave C-J b7179fe373 Better detection of BlinkStick - yet to do text colour values 2013-09-13 12:23:46 +01:00
Nicholas O'Leary 755d17766c Add cron-like scheduling to inject 2013-09-12 17:21:46 +01:00
Ben Hardill 670a6cd933 Added a close function to clean up unfired timeouts on a redeploy 2013-09-10 23:18:15 +01:00
Ben Hardill c85ab75fe3 Removed this.topic from the label function 2013-09-10 22:44:36 +01:00
Ben Hardill 75d1adcb18 Merge remote-tracking branch 'upstream/master' 2013-09-10 14:54:19 +01:00
Ben Hardill 2d9250e046 move pause node from contrib to core and changed order number from 99 to 89 2013-09-10 13:23:16 +01:00
Nicholas O'Leary f7bdece081 Fix the irc label breakage 2013-09-09 21:42:12 +01:00
Nicholas O'Leary 95675bc6bc Start to add server-side events 2013-09-09 20:03:22 +01:00
Nicholas O'Leary 77a6b0a71d Import fails on nodes with config labels 2013-09-09 09:59:35 +01:00
Dave C-J 9a26916d29 over zealous error checking for device... - now under zealous - tricky to debug without actual hardware in hand :-) 4/10 must try harder 2013-09-08 16:45:51 +01:00
Dave C-J 163d0c624a added prototype BlinkStick node... 2013-09-08 13:05:41 +01:00
Ben Hardill e255cf7659 Adding a validator to the timeout field and included the timeout in the lable by default 2013-09-08 12:18:14 +01:00
Dave C-J 06930cb65c added (some) query capability to MongoDB node. 2013-09-08 11:21:52 +01:00
Dave C-J 065d47d173 handle more errors for sockets. one step forward. 2013-09-08 11:21:26 +01:00
Ben Hardill d13a569c49 fix require path in 99-pause.js 2013-09-07 17:37:08 +01:00
Ben Hardill ae0f3bff8b Adding pause node to allow for arbitrary pauses to be added to flows 2013-09-07 17:19:52 +01:00
Nicholas O'Leary 7b4927ff5d Full fix for #11 2013-09-07 14:27:41 +01:00
Dave C-J 07ff9aa061 Issue #11 - only show error code on Alert toaster (rather than full error) 2013-09-07 11:26:22 +01:00
Dave C-J 38d309dcf3 improved error handling (and labelling) for socket node... but not perfect by a long way... 2013-09-06 21:43:54 +01:00
Nicholas O'Leary 3255ae4187 Fixes #10 2013-09-06 21:03:51 +01:00
Dave Conway-Jones b8f82fd9ae More useful response to 404... (if backend died) 2013-09-06 20:03:15 +01:00
Dave Conway-Jones 28b7009f33 Catch board not configured error without crashing 2013-09-06 13:57:43 +01:00
Dave Conway-Jones 6922a71995 tweak Arduino node colours and default port 2013-09-06 09:26:19 +01:00
Nick O'Leary 8fccd4a88f Update README.md 2013-09-05 20:39:33 +01:00
Nicholas O'Leary f0d946b778 Remove gap in drop-down menu 2013-09-05 20:21:39 +01:00
Nicholas O'Leary 9c3ea83b24 Update INSTALL.md 2013-09-05 15:29:08 +01:00