Commit Graph

49 Commits

Author SHA1 Message Date
Nick O'Leary 97621b41b9 Ensure deleted core nodes are removed from config list 2015-02-04 10:27:02 +00:00
Nick O'Leary 0aaea1ec40 Update logging/metric system 2015-02-03 22:02:26 +00:00
Nick O'Leary a5afc258b1 Update unit tests 2015-01-15 10:28:11 +00:00
Anna Thomas 475d9e110e Updated to match cli changes 2014-12-08 16:53:06 +00:00
Anna Thomas e7ccff5a4b Get version from pkg 2014-12-08 10:15:21 +00:00
Anna Thomas b006ccf610 saveNodeList saves settings in nodes 2014-12-08 09:57:17 +00:00
Anna Thomas bb0e48f271 Store version in settings 2014-12-08 09:55:51 +00:00
Nick O'Leary 6d0dffcdf7 Migrate node config to new format 2014-12-05 20:43:41 +00:00
Anna Thomas e28f933f64 Refactor saveNodeList 2014-11-28 09:17:46 +00:00
Anna Thomas 57bc83b2a7 Enabling and disabling non-existent nodes throws an error 2014-11-27 16:42:45 +00:00
Anna Thomas ec43fc4fe2 Removed unused code 2014-11-27 13:12:47 +00:00
Anna Thomas 8f2a0b63d9 Changed cleanNodeList to cleanModuleList 2014-11-26 16:46:51 +00:00
Anna Thomas bb6e27f662 Store node list as module list 2014-11-26 16:25:37 +00:00
Anna Thomas 04ffaeb2b8 Refactor nodeModules.nodes to moduleNodes 2014-11-24 15:44:11 +00:00
Anna Thomas d7f249eac4 Added version number to modules 2014-11-21 16:35:29 +00:00
Anna Thomas 56cb985de9 Separated put response into /nodes/:mod and /nodes/:mod/:set
Updated put tests
2014-11-21 10:36:32 +00:00
Anna Thomas d614b7c39f Moved get node set response to /nodes/:mod/:set
Updated tests
Changed plugin back to module
2014-11-20 15:18:16 +00:00
Anna Thomas 591b5f3f91 Replaced hex id with 'module/set' id 2014-11-20 12:15:15 +00:00
Anna Thomas 50fddf474b Local nodes loaded with node-red as their module 2014-11-20 09:58:42 +00:00
Anna Thomas 9552055b08 loadNodeConfig assumed to always be called with module and name parameters 2014-11-19 13:54:00 +00:00
Anna Thomas deeaa09360 Renamed modules to plugins for CLI 2014-11-06 10:59:34 +00:00
Anna Thomas 3e24601518 Functionality to get installed module info from the cli 2014-11-06 10:00:25 +00:00
Nick O'Leary 9152daa13b Fix race condition on saving config 2014-09-23 17:09:23 +01:00
Nick O'Leary 9bfc6d376b Use module:node name to generate set id 2014-09-22 13:15:19 +01:00
Nick O'Leary c98b9dfaa3 Don't filter errored nodes in result list 2014-09-20 22:42:48 +01:00
Nick O'Leary ea89aff3db Handle node-load errors properly
Fixes #403
Certain load errors were causing start-up to fail. In particular,
an npm module with a missing .js file.
2014-09-20 22:25:00 +01:00
Nick O'Leary f939d52551 Restore node ids from config list 2014-09-20 21:29:46 +01:00
Nick O'Leary da61fe12d0 Add dynamic node api
Closes #322
- nodes modules can be installed/removed dynamically at runtime
- nodes can be enabled/disabled
- onpaletteadd/onpaletteremove api added to node definitions
- initial implementation of nr-cli
2014-09-17 23:57:29 +01:00
Nick O'Leary 7042d87444 Handle missing file/modules in Add node api 2014-08-18 21:59:19 +01:00
Nick O'Leary e8c4caaf74 Remove cheerio parse of node html files on start-up 2014-08-18 14:34:47 +01:00
Nick O'Leary 58c2f5dd3d Add remove node api 2014-08-07 22:20:06 +01:00
Nick O'Leary 960d15491d Add node add/remove/enable/disable apis to registry 2014-08-04 17:12:54 +01:00
Nick O'Leary f7f58a2347 Add registry test for node module loading 2014-08-03 21:17:24 +01:00
Nick O'Leary 1697aee9f6 Add loadNode api to registry.js 2014-08-01 23:42:01 +01:00
Nick O'Leary 79e9641c09 Big rework of registry.js
Part of #322

Loads node.html files before node.js files

Adds helper.unload which must be called by node tests
to clear the registery of nodes
2014-08-01 22:05:49 +01:00
zobalogh 401afcbadd Adding test for registry cheerio 2014-07-31 16:49:19 +01:00
zobalogh d9544e4ac5 Adding registry node load tests 2014-07-31 14:43:26 +01:00
Nick O'Leary e07a523c3b Fix node html compression and refactor registry 2014-07-28 16:37:39 +01:00
Nick O'Leary e299baf1a0 Refactor inner workings of registry.js 2014-07-24 23:16:41 +01:00
Mark Hindess 406581d522 Remove unused references to red/red.js 2014-07-23 20:02:28 +01:00
Nick O'Leary 9f3233175b Fix node html generation 2014-07-01 23:48:26 +01:00
Nick O'Leary 649c82f7d7 Fix all jshint warnings in core code 2014-07-01 23:46:25 +01:00
Nick O'Leary 479a02cc16 Enable npm nodes to provide custom icons 2014-06-25 10:30:52 +01:00
Nick O'Leary da3fbd3b62 Initialise Node earlier in registry life-cycle 2014-05-08 22:58:30 +01:00
Nick O'Leary 3c176d0b94 Handle parse errors in template file 2014-05-07 20:45:26 +01:00
Nick O'Leary 7674492819 Fix node loading order 2014-05-05 00:10:50 +01:00
Nick O'Leary da8ef7acc6 Minify node .html files before sending 2014-05-04 17:30:55 +01:00
Nick O'Leary ff49d2b217 Migrate to new node function style 2014-05-03 23:32:04 +01:00
Nick O'Leary 7eed375111 Split up nodes.js into components 2014-05-03 22:28:17 +01:00