Nick O'Leary
66a704af55
Fallback to 'require' if on node < 12.17
2021-07-15 15:38:07 +01:00
Nick O'Leary
eb4625a0b9
Merge pull request #3064 from node-red/revert-external-modules-dir
...
Move externalModules back into the user dir
2021-07-15 09:56:23 +01:00
Nick O'Leary
ddb715d88d
Record runtime-installed modules in .config.modules.json
2021-07-14 23:13:52 +01:00
Nick O'Leary
7fd17b4ec0
Add RED.import to support importing ES6 modules
2021-07-14 19:18:39 +01:00
Nick O'Leary
e16ab2a0fd
Bump for 2.0.0
2021-07-13 11:51:23 +01:00
Nick O'Leary
e6a845e606
Move externalModules back into the user dir
2021-07-13 11:24:10 +01:00
Nick O'Leary
b01c5a05e7
Fix reporting of type_already_registered error
2021-07-12 16:09:25 +01:00
Nick O'Leary
36eddabc1c
Ensure node.types is defined if node html file missing
2021-07-12 16:09:02 +01:00
Kazuhito Yokoi
6f6ab50995
Add necessary modules and remove unnecessary module in dependencies
2021-07-08 19:14:53 +09:00
Nick O'Leary
f8d8d4b186
Update dependencies
2021-06-29 16:19:28 +01:00
Nick O'Leary
79875ef50d
Merge branch 'master' into dev
2021-06-16 17:03:50 +01:00
Nick O'Leary
aea5445495
Support loading external module sub path
...
Fixes #3023
2021-06-16 17:02:24 +01:00
Nick O'Leary
68a5325849
Bump version to 2.0.0-beta.2
2021-06-16 11:44:14 +01:00
Nick O'Leary
d83e543a98
Update dependencies
2021-06-08 17:33:40 +01:00
Nick O'Leary
e042ef05a4
Update dependencies
2021-06-02 16:24:12 +01:00
Nick O'Leary
4f77bbeb2b
Update for 1.3.5
2021-05-18 11:52:49 +01:00
Nick O'Leary
71ba73b38f
Merge branch 'master' into dev
2021-05-04 11:19:05 +01:00
Nick O'Leary
b0e349b215
Update for 1.3.4
2021-04-29 11:22:22 +01:00
nileio
676f790933
add engine-strict flag to npm install args
2021-04-28 22:40:17 +10:00
Nick O'Leary
9f2a2b9869
Pass npm args to preUninstall hook to be consistent with preInstall
2021-04-27 17:32:18 +01:00
Nick O'Leary
250005ad16
Allow npm install args to be customised by preInstall trigger
2021-04-20 22:55:06 +01:00
Nick O'Leary
0e06da6c63
Update for 1.3.3
2021-04-20 11:06:23 +01:00
Nick O'Leary
b4a03a56b4
Allow preInstall hook to return false to skip npm install
2021-04-19 20:29:30 +01:00
Nick O'Leary
8140057bea
Add pre/postInstall hooks to module install path
2021-04-15 15:12:40 +01:00
Nick O'Leary
b0955705be
Update to 1.3.2
2021-04-13 13:34:16 +01:00
Nick O'Leary
51aaf1b150
Handle package.json without dependencies section
2021-04-12 10:34:43 +01:00
Nick O'Leary
82ced56bed
Update package versions
2021-04-09 14:12:10 +01:00
Nick O'Leary
cb1a178fbf
Set 2.0.0-beta.1 version
2021-04-09 10:35:19 +01:00
Nick O'Leary
749533b0b4
Bump for 1.3.1
2021-04-08 16:23:22 +01:00
Nick O'Leary
449d76a6c7
Update version for 1.3.0
2021-04-06 18:31:49 +01:00
Nick O'Leary
ff93a38354
Update dependencies
2021-04-06 18:31:02 +01:00
Nick O'Leary
d555fcf7bd
Merge pull request #2903 from node-red/plugin-resources
...
Allow module to provide resources and automatically expose them
2021-03-30 22:50:36 +01:00
Nick O'Leary
8543613563
Allow module to provide resources and automatically expose them
2021-03-15 21:06:10 +00:00
Kazuhito Yokoi
734adc6445
Add Japanese translations for Node-RED v1.3.0 ( #2900 )
2021-03-15 08:23:30 +00:00
Hiroyasu Nishiyama
3671a70e3b
fix error report on node load
2021-03-09 10:57:29 +09:00
Nick O'Leary
3d23d1de4f
Merge pull request #2873 from node-red/function-modules
...
Function node external modules
2021-03-01 21:35:31 +00:00
Nick O'Leary
c744af161d
Add support for settings object in plugin definition
2021-02-19 11:59:49 +00:00
Nick O'Leary
f96ce2fd83
Get node-red core nodes back to the top of the list
2021-02-17 15:20:16 +00:00
Nick O'Leary
05beb6ca79
Add unit tests for externalModules
2021-02-15 17:28:14 +00:00
Nick O'Leary
d2c9ccbfdd
Detect externalModule dependencies inside subflow modules
...
Not sure this is 100% the right approach. If a subflow module has a dependency
it should be in the subflow's package.json and therefore installed next to the
subflow module in ~/.node-red/node_modules.
By treating it as a 'normal' external module, it will be dynamically installed
in ~/.node-red/externalModules. That then exposes the module to the user
who won't know why its there and may remove it.
It would be better to allow nodes inside a subflow module to require
from ~/.node-red/node_modules and not limit it to the externalModules
dir. The hard part is knowing when to do that.
2021-02-14 00:02:08 +00:00
Nick O'Leary
6336ab121e
Merge branch 'dev' into function-modules
2021-02-13 00:21:27 +00:00
Nick O'Leary
a94c19a6cf
Fix up loading of freshly installed modules in Function node
2021-02-12 22:40:30 +00:00
Nick O'Leary
9c09ee3b71
Rework Function node module integration
2021-02-12 18:14:13 +00:00
Nick O'Leary
3a0074d96e
Merge branch 'master' into dev
2021-01-27 23:28:19 +00:00
Hiroyasu Nishiyama
4a1d66f210
update UI, Runtime API, metadata handling, and others
2021-01-27 22:27:54 +09:00
Nick O'Leary
1f6328bf4e
Add initial support for ThemePlugins
2021-01-26 13:49:47 +00:00
Nick O'Leary
6e718ca772
Fix merge of dev
2021-01-26 13:44:38 +00:00
Ben Hardill
ca44af0625
Prevent crash when coreNodesDir is empty ( #2831 )
...
* Fix for HTTP-Request not sending body for GET
Background in SO question:
https://stackoverflow.com/q/60356824/504554
* Prevent crash when coreNodesDir points to empty dir
This should prevent a crash when you point to an empty core nodes
directory.
* Matching upstream master
2021-01-25 10:56:23 +00:00
Nick O'Leary
9f71dbb006
Fixup merge
2021-01-18 16:25:41 +00:00
Nick O'Leary
a006b52052
Initial plugin runtime api implementation
2021-01-18 16:25:40 +00:00
Hiroyasu Nishiyama
d51aefa156
initial support for npm module installation
2021-01-11 19:32:16 +09:00
Nick O'Leary
d5cc5b2574
Use subflow.info for help text and meta.type for node type
2021-01-07 15:34:27 +00:00
Nick O'Leary
da96c85d32
Handle subflow modules with their own npm dependencies
2021-01-07 11:26:20 +00:00
Nick O'Leary
9a660f3fe9
Support npm subflow modules
2021-01-07 11:10:33 +00:00
Nick O'Leary
7913b3cbc2
Merge branch 'master' into dev
2021-01-07 10:17:50 +00:00
Nick O'Leary
8a87f93741
Use npm info to check pending install version
2021-01-06 20:03:22 +00:00
Nick O'Leary
af19536222
Better logging when deprecated editorTheme.palette.* settings used
2021-01-06 17:36:59 +00:00
Nick O'Leary
abe77ab96f
Bump for 1.2.7
2021-01-06 11:49:31 +00:00
Nick O'Leary
ea720bb4a5
Bump dependencies
2021-01-06 11:41:17 +00:00
Nick O'Leary
aacb92a7ae
Implement allow/denyList when loading/installing modules
2020-12-27 12:49:17 +00:00
Nick O'Leary
fc459be531
Deprecate editorTheme.palette.editable for externalModules.palette.allowInstall
...
Also deprecates editorTheme.palette.editable for externalModules.palette.allowUpload
2020-12-23 23:29:07 +00:00
Nick O'Leary
3151502a3f
Deprecate autoInstallModules for externalModules.autoInstall
2020-12-23 22:05:58 +00:00
Nick O'Leary
fca21ac126
Rename paletteEditorEnabled to installerEnabled
2020-12-07 11:49:01 +00:00
Nick O'Leary
6fb96fa3c1
Move exec and events components to util module
...
The exec and events components are common components that
are used by both runtime and registry. It makes sense to
move them into the util package.
This also adds some docs to the registry module
2020-12-07 11:49:01 +00:00
Nick O'Leary
5992ed1fab
Fully remove when.js dependency
2020-12-07 11:49:01 +00:00
Nick O'Leary
beccdac717
Merge branch 'master' into dev
2020-12-07 11:48:38 +00:00
Nick O'Leary
4bfe9a9ae9
Bump for 1.2.6
2020-11-25 21:09:45 +00:00
Nick O'Leary
3999690062
Support Windows paths when installing tarball by path name
...
Fixes #2769
2020-11-25 21:04:24 +00:00
Nick O'Leary
c6129b44a1
Merge branch 'master' into dev
2020-11-18 16:36:56 +00:00
Nick O'Leary
8ebcee32c2
Bump for 1.2.5
2020-11-17 23:09:07 +00:00
Nick O'Leary
795416a84d
Bump for 1.2.4
2020-11-17 21:03:24 +00:00
Nick O'Leary
2a8290a4b7
Bump version to 1.3.0-beta.1
2020-11-13 18:23:35 +00:00
Dave Conway-Jones
a58f4c2ec2
remove " from npm install prefix option
...
to fix npm 7
2020-11-05 09:19:47 +00:00
Nick O'Leary
281d8b7cec
Bump for 1.2.3
2020-11-02 21:31:27 +00:00
Nick O'Leary
ff0be73b1f
Migrate to nyc instead of istanbul for code coverage
2020-10-19 21:10:34 +01:00
Nick O'Leary
8049e44dec
Update CHANGELOG for 1.2.2
2020-10-19 13:25:38 +01:00
Nick O'Leary
978eb95acd
Bump for 1.2.1
2020-10-15 16:22:37 +01:00
Nick O'Leary
82ad5839fa
Update changelog and bump dependencies
2020-10-13 21:49:11 +01:00
Nick O'Leary
a954c198fb
Bump version for 1.2.0-beta.1
2020-09-30 10:20:41 +01:00
Nick O'Leary
bdd736315a
Add RED.hooks engine
2020-09-29 12:19:27 +01:00
Nick O'Leary
6e5c4e832e
Update dependencies
2020-09-28 11:58:22 +01:00
Nick O'Leary
a33cf6b532
Merge branch 'master' into dev
2020-09-25 11:53:37 +01:00
t.kawamorita
785561a0cc
fix getModuleFiles function
2020-09-25 11:58:03 +09:00
Nick O'Leary
2f2a6367c2
Merge pull request #2684 from node-red/skip-html
...
Avoid loading node html if disableEditor set
2020-09-03 15:02:09 +01:00
Nick O'Leary
33855bcb8b
Skip loading node html if disableEditor set
2020-08-14 00:20:44 +01:00
Nick O'Leary
6f1ed76b4c
Add support for file upload in /nodes api
2020-08-13 15:54:54 +01:00
Nick O'Leary
ec368ae3fd
Bump for 1.1.3
2020-08-05 14:59:25 +01:00
Nick O'Leary
43db1824be
Bump for 1.1.2
2020-07-10 20:13:05 +01:00
Nick O'Leary
8b36279e52
Bump version 1.2.0-alpha.1
2020-07-08 15:57:32 +01:00
Nick O'Leary
6df26f2400
Bump for 1.1.1
2020-07-08 10:30:20 +01:00
Nick O'Leary
668678b2c4
Bump version to 1.1.0
2020-06-29 21:08:34 +01:00
Nick O'Leary
c9e54f2ba9
Bump for 1.1.0-beta.3
2020-06-17 10:54:15 +01:00
Nick O'Leary
714b3d3fe0
Bump version to 1.1.0-beta.2
2020-06-16 15:21:03 +01:00
Nick O'Leary
c0f4e07e10
Bump dependencies
2020-06-03 21:26:31 +01:00
Nick O'Leary
b6b3ceef4d
Add some proper validation of module/url properties in install api
2020-06-03 10:45:28 +01:00
Nick O'Leary
8995fa9ed1
Update changelog for 1.1.0-beta.1
2020-06-01 14:57:37 +01:00
Dave Conway-Jones
cbf1afc9fe
turn off installer funding messages
2020-05-31 11:21:53 +01:00
Nick O'Leary
d7df20413d
Merge branch 'master' into dev
2020-05-04 11:41:44 +01:00
Nick O'Leary
feb5d13e1c
Bump for 1.0.6
2020-04-24 13:55:34 +01:00
Nick O'Leary
b82167fefa
Bump for 1.0.5
2020-04-09 14:15:46 +01:00