Nick O'Leary
f3e1b85d82
Add RED.require to allow nodes to access other modules
2018-05-21 22:08:04 +01:00
Nick O'Leary
2d5980ff2a
Split node html to isolate bad nodes when loading
2018-05-11 22:30:57 +01:00
Nick O'Leary
fd4fdb31b5
Better error reporting when module provides duplicate type
2018-01-15 23:20:20 +00:00
Kazuki Nakanishi
6d2389945b
allow a node's icon to be set dynamically ( #1490 )
...
* create a proto type
* Fixed some problems after reviewing
2017-11-30 13:13:35 +00:00
Nick O'Leary
f9769a73fe
Retry auto-install of modules that fail
...
- introduces autoInstallModulesRetry - default 30000
- backs off interval if repeated failures
- fixes notification to the editor of an auto-reinstall
2017-07-08 17:30:17 +01:00
Kazuki Nakanishi
347e598715
Fix missing icons for some nodes ( #1321 )
2017-07-04 09:04:27 +01:00
Kazuki-Nakanishi
34089aec70
Allow a node to declare what settings should be made available to the editor. ( #1185 )
...
* Implement register/exportNodeSettings.
* Change normaliseRegisterTypeName to normaliseNodeTypeName. Force it to name in a camel case.
2017-03-08 14:38:33 +00:00
Nick O'Leary
869fdbcc6a
Remove event passing for icons/examples from the api layer
2017-02-15 23:07:50 +00:00
Nick O'Leary
e27f5d0460
Add node module update api and expose in palette editor
2017-01-21 23:46:44 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
7220af3ef0
Move palette editor to left hand side
2016-08-04 16:49:36 +01:00
Nick O'Leary
d57425a15e
Fix node enable/disable over restart - load configs after settings init
2016-07-15 00:11:28 +01:00
Nick O'Leary
9e26aeea1d
Handle scoped node modules in the api
2016-05-17 21:56:03 +01:00
Nick O'Leary
0c53b5310a
Protect against node types with reserved names such as toString
...
Fixes #880
2016-04-28 14:17:48 +01:00
Nick O'Leary
45ff86eae5
Do not rely on the HTML file to identify where nodes are registered from
2016-04-28 11:23:42 +01:00
Gabe Johnson
b909e32201
Prevent RED.node.registerNode from overriding a constructor's prototype ( #865 )
...
* prevent registry.registerNodeConstructor from overriding a constructors protoype
* fix for node < v5.0.0
* exercise another code path
* altering __proto__ for node < v0.12
* move inheritance code to helper function
2016-04-07 22:18:28 +01:00
Nick O'Leary
3a03d46d8d
Fix lint error in registry.js
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
f43738446e
WIP: separate runtime and api components
2016-01-06 17:01:11 +00:00