Commit Graph

47 Commits

Author SHA1 Message Date
Simon Hailes 6696b6661a When creating 'redserver' for a node, use runtime.server rather than runtime.adminApi.server, and fill runtime.server at startup with the valid http server regardless of adminApi being available.
This resolves websockets not working when the adminApi (httpAdminRoot) is disabled in settings.
2017-12-20 16:04:32 +00:00
Hiroyasu Nishiyama 8f2f7ea1a5 Add test script for link node (#1463)
* fixed unmatched HTML tags

* add test for link node & red.js fix for it
2017-11-02 16:47:12 +00:00
Nick O'Leary 4b64aad5ce
Change hard error to verbose warning if using old node.js level 2017-01-14 23:57:39 +00:00
Nick O'Leary f699516fdb
Add node.js version check on startup 2017-01-12 10:40:04 +00:00
Nick O'Leary 0a96259ddf
Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
Nick O'Leary 75855d5450
Initialise nodeApp regardless of httpAdmin setting
Closes #1096 #1095
2017-01-09 22:22:49 +00:00
Nick O'Leary 05b58e9263 Allow core nodes dir to be provided to runtime via settings 2016-01-06 17:01:12 +00:00
Nick O'Leary 4a91c27e4b Allow server to be option on red.init 2016-01-06 17:01:12 +00:00
Nick O'Leary f03aff7006 Tidy up API passed to node modules 2016-01-06 17:01:12 +00:00
Nick O'Leary d673846e3d WIP: runtime api for node modules 2016-01-06 17:01:11 +00:00
Nick O'Leary 8fb955e182 Move comms from runtime to api component 2016-01-06 17:01:11 +00:00
Nick O'Leary f43738446e WIP: separate runtime and api components 2016-01-06 17:01:11 +00:00
Nick O'Leary eb57089f06 Add flag to disable build check for tests 2015-07-22 11:41:58 +01:00
Nick O'Leary 846ab08661 Allow node modules to declare supported versions of node-red 2015-07-10 21:42:14 +01:00
Nick O'Leary 6249083431 Extract all core runtime messages 2015-06-29 16:04:00 +01:00
Nick O'Leary 6d4c64fcd5 i18n enable runtime node files 2015-06-29 16:03:59 +01:00
Nick O'Leary 1406503e10 Add build info to README 2015-04-09 10:22:05 +01:00
Nick O'Leary 203d3f672c Add build step to Grunt file 2015-04-09 10:22:05 +01:00
dceejay 234abd82a2 Move away from __defineGetter syntax, in red and server
Bump test coverage forwards a bit
2015-03-06 10:17:00 +00:00
Nick O'Leary 061c44f958 Move shebang to the correct red.js 2015-02-26 13:24:38 +00:00
Nick O'Leary f5d8433341 Add node-red-pi command 2015-02-26 11:38:05 +00:00
Nick O'Leary c31ffb98b0 Tie auth middleware to needsPermission api 2015-02-05 23:43:35 +00:00
Nick O'Leary a494954275 Add permissions and user menu 2015-02-05 13:00:55 +00:00
Nick O'Leary 482c4e9c5e Add memory metric reporting 2015-02-04 22:28:17 +00:00
Nick O'Leary 0aaea1ec40 Update logging/metric system 2015-02-03 22:02:26 +00:00
hbeeken b052324d36 Adding logging & metric recording configuration via settings 2015-02-03 19:12:09 +00:00
Nick O'Leary 72f9471f2b Reorganise how adminApp is setup 2014-11-05 22:45:18 +00: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
Mark Hindess 0a009e2a15 Rename RED.utils to RED.util. Fixes #364. 2014-09-03 13:20:45 +01:00
Mark Hindess a9e72858df Add ensure string helper for nodes. 2014-08-28 14:25:41 +01:00
Mark Hindess 7abae51b42 Fix --help so it doesn't crash. 2014-08-28 13:59:56 +01:00
Mark Hindess d51eadb6c2 Remove spurious require of the events singleton. 2014-07-22 12:43:02 +01:00
Nick O'Leary 84a0e8ceff Add version information to /settings 2014-07-17 21:32:30 +01:00
Antoine Aflalo f822827454 Credentials into RED 2014-05-16 10:07:43 +03:00
Nick O'Leary c99f0d895f Add comms back to RED interface 2014-05-08 16:55:08 +01:00
Nick O'Leary 7ecb80bf40 Add node status updates 2014-05-08 14:15:54 +01:00
Nick O'Leary 16f8673ec0 Add comms module 2014-05-07 20:47:25 +01:00
Nick O'Leary 7eed375111 Split up nodes.js into components 2014-05-03 22:28:17 +01:00
Nick O'Leary 6a17a7d4c2 Add version information to log output 2014-04-21 21:55:28 +01:00
Nick O'Leary 7c24d4d760 Separate out httpAdmin and httpNode 2014-02-16 00:39:30 +00:00
Nicholas O'Leary fa8dcdc87f Add NODE_RED_HOME env variable 2013-10-20 22:08:38 +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
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 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