Nick O'Leary
fad8dcd304
Bump for 1.2.9
2021-02-03 18:04:37 +00:00
Nick O'Leary
735de2908a
Handle more valid language codes when validating lang params
...
Fixes #2856
2021-02-03 15:43:26 +00:00
Nick O'Leary
f5da2eb633
Merge branch 'master' into dev
2021-02-02 13:45:43 +00:00
Nick O'Leary
23f0cd3a26
Bump for 1.2.8
2021-02-02 13:11:33 +00:00
Nick O'Leary
74db3e17d0
Restrict project file access to inside the project directory
2021-02-01 13:39:39 +00:00
Nick O'Leary
3a0074d96e
Merge branch 'master' into dev
2021-01-27 23:28:19 +00:00
Nick O'Leary
9b5ed8407f
Broaden lang verification to include *
2021-01-27 22:06:12 +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
a0f736bb88
Validate user-provided language parameter before passing to i18n
2021-01-25 17:06:27 +00:00
Nick O'Leary
a006b52052
Initial plugin runtime api implementation
2021-01-18 16:25:40 +00:00
Tiago Ferreira
55ff035fc9
Ability to add projects path to the settings file ( #2816 )
...
* add the ability to set the projects path
* Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json
use directory to keep consistency with the project
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
* Update packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/index.js
only show the projects directory is projects are enabled
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
* use "directory" instead of "folder" to keep consistency with the Node-RED project
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-01-18 13:18:07 +00:00
Hiroyasu Nishiyama
d51aefa156
initial support for npm module installation
2021-01-11 19:32:16 +09:00
Nick O'Leary
c40412d7c6
Merge pull request #2690 from node-red/sf-module
...
[sf-modules] Support npm subflow modules
2021-01-08 21:16:05 +00:00
Nick O'Leary
b0bc7ecacb
Merge pull request #2763 from node-red/simple-git-setting
...
Allow project workflow to be configured via settings file
2021-01-08 15:20:11 +00:00
Nick O'Leary
5489bd37c9
Fix handling of default workflow mode when projects not active
2021-01-08 15:05:34 +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
814fc8bc69
Add SubflowModule class for running subflow modules
2021-01-07 11:10:58 +00:00
Nick O'Leary
0c9fd25d3e
Nodes log via parent flow to allow flow-info to be added
2021-01-07 11:10:34 +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
0284ef401e
Fix loading individual module catalog
2021-01-06 20:20:32 +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
9d2d060dec
Fix unit tests for externalModules
2020-12-27 20:59:31 +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
496b5a092f
Ensure subflow credential objects exist
...
Fixes #2783
2020-12-15 17:20:22 +00:00
johnwang71
be828af3e2
Fix bug: Crash & quit while handling exception with undefine msg.error. i.e. flow with 3 nodes, http-in, delay 5-10s, http-out; client with 3s timeout request the flow; TypeError: Cannot read property 'hasOwnProperty' of undefined\r at Flow.handleError (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:474:27)
2020-12-14 18:18:50 +08:00
Nick O'Leary
fc7967d455
Fix missing promise on setUserSettings
2020-12-07 11:49:02 +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
a1f565f756
Use more async funcs in runtime/lib/api to reduce Promise creation
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
Nathanaël Lécaudé
c5d38d8962
Library: properly handle symlinked folders
2020-11-25 21:08:43 +00:00
Nathanaël Lécaudé
b1c0d6b452
Library: properly handle symlinked folders
2020-11-24 18:29:39 -05:00
Kazuhito Yokoi
d57edaa4c1
Update Japanese translations for 1.2.5 ( #2764 )
2020-11-19 15:09:30 +00:00
Nick O'Leary
0f7d185a61
Ensure runtime side picks up default project workflow mode
2020-11-18 16:37:39 +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
f19ec5d9b6
Clear retained status of deleted nodes
2020-11-17 13:29:13 +00:00
Nick O'Leary
6ea978d83d
Prevent needless retention of node status messages
2020-11-16 21:05:13 +00:00
Nick O'Leary
2a8290a4b7
Bump version to 1.3.0-beta.1
2020-11-13 18:23:35 +00:00
Alex Kaul
4023ab3f28
Add Russian Locale ( #2531 )
2020-11-12 17:01:44 +00:00
Nick O'Leary
281d8b7cec
Bump for 1.2.3
2020-11-02 21:31:27 +00:00
Nick O'Leary
9d7a450821
Add mutex lock to saveSettings storage call
...
Fixes #2736
2020-10-28 21:59:22 +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
12d56b8b03
Fix api call to reload flows
...
Fixes #2726
2020-10-19 12:56:40 +01:00
Nick O'Leary
978eb95acd
Bump for 1.2.1
2020-10-15 16:22:37 +01:00
Nick O'Leary
e34f4acb22
Fix race condition in .config file migration
...
Fixes #2724
2020-10-15 16:21:28 +01:00
Nick O'Leary
82ad5839fa
Update changelog and bump dependencies
2020-10-13 21:49:11 +01:00
Nick O'Leary
af636870d4
Add better error message if context file gets corrupted
2020-10-06 15:42:52 +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
517e376582
Restore support for runtimeSyncDelivery flag
2020-09-29 17:39:29 +01:00
Nick O'Leary
7a90fe5aec
Fix flow api unit tests
2020-09-29 17:35:43 +01:00
Nick O'Leary
ea45dde63a
Remove when.js from runtime/lib/flow/index
2020-09-29 17:20:01 +01:00
Nick O'Leary
22a301b55e
Add flows:* events and deprecate nodes-* events
2020-09-29 16:29:10 +01:00
Nick O'Leary
605177dcf0
Validate hook names when they are added
2020-09-29 16:28:52 +01:00
Nick O'Leary
460e1f5563
Fixup merge error
2020-09-29 12:19:27 +01:00
Nick O'Leary
6f25337b99
Add docs for RED.hooks
2020-09-29 12:19:27 +01:00
Nick O'Leary
08148a07b2
Update Node/Flow to trigger msg routing hooks
2020-09-29 12:19:27 +01:00
Nick O'Leary
27c0e45940
Remove unused router component
2020-09-29 12:19:27 +01:00
Nick O'Leary
bdd736315a
Add RED.hooks engine
2020-09-29 12:19:27 +01:00
Nick O'Leary
d57ec0cd53
Refactor lib/flows code to include initial router component
2020-09-29 12:19:26 +01:00
Nick O'Leary
c5bdd3d056
Allow user to manage project version string
2020-09-28 11:30:46 +01:00
Nick O'Leary
69d60ffb24
Add simplified git workflow to auto-commit changes
2020-09-28 10:41:33 +01:00
Nick O'Leary
e6ffa3d143
Cache settings when doing initial load
2020-09-28 10:41:05 +01:00
Nick O'Leary
bb4330e486
Clone settings before passing to storage layer
...
Avoids the storage layer modifying the in-memory object
2020-09-28 10:40:03 +01:00
Nick O'Leary
e12975cf0b
Do not remove old config.json file to ease downgrade path
2020-09-25 15:50:26 +01:00
Nick O'Leary
4d0c572c2e
Fix .config.json unit tests
2020-09-24 15:42:52 +01:00
Nick O'Leary
fb2da0ee9e
Split .config.json into separate files
2020-09-23 17:29:09 +01:00
Nick O'Leary
b8b0247717
Default flowFilePretty to true if projects enabled
2020-09-23 10:57:58 +01:00
Nick O'Leary
b7243c2226
Merge branch 'master' into dev
2020-09-16 11:54:34 +01:00
Nick O'Leary
70b6674f44
Replace Math.random with crypto.getBytes for session tokens
2020-09-11 14:09:54 +01:00
Nick O'Leary
ef67b8481e
Check file exists before trying to take backup
2020-09-11 13:26:00 +01:00
Melvin Groenhoff
d84c2b780b
Fix this
context when calling multiple event listeners ( fixes #2692 ).
2020-09-04 10:20:30 +02:00
Nick O'Leary
4dd619b8c6
Merge branch 'master' into dev
2020-09-03 16:14:55 +01:00
Nick O'Leary
be880c25f9
Merge pull request #2682 from node-red/upload-npm
...
Add support for file upload on /nodes api
2020-09-03 15:01:31 +01:00
Nick O'Leary
17812f0d77
Merge pull request #2683 from node-red/write-to-temp
...
Update util.writeFile to write to tmp file before rename
2020-09-03 15:00:31 +01:00
Kunihiko Toumura
0c5586ddfb
Add 'done' metric log for message tracing
2020-08-18 09:28:50 +09:00
Nick O'Leary
b0b2c32654
Update util.writeFile to write to tmp file before rename
2020-08-13 17:17:40 +01:00
Nick O'Leary
6f1ed76b4c
Add support for file upload in /nodes api
2020-08-13 15:54:54 +01:00
Rory A. Svage
f81cee0be2
Message
2020-08-07 16:44:52 -04:00
Nick O'Leary
bcd85b11a1
Merge branch 'master' into dev
2020-08-05 15:19:54 +01:00
Nick O'Leary
ec368ae3fd
Bump for 1.1.3
2020-08-05 14:59:25 +01:00
Nick O'Leary
e691b1b7c3
Add additional check for git auth failure response
...
Fixes #2656
2020-08-03 16:55:36 +01:00
Nick O'Leary
16c26d8098
Move runtime settings back to adminApi from editorApi
...
Fixes #2662
2020-07-31 15:26:21 +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
Kazuhito Yokoi
52eb158231
Add Japanese translations for outliner, jsonata and runtime
2020-06-16 21:32:10 +09:00
Nick O'Leary
fe4ef354ac
Flag a node as removed when it is disabled
2020-06-08 20:59:00 +01:00
Nick O'Leary
8b252b458c
Merge pull request #2590 from kazuhitoyokoi/dev-addjpnmsg
...
Add Japanese transaltions for http-request node, change node and https refresh logic
2020-06-03 14:31:52 +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
dec82589d1
Handle missing projects runtime setting
2020-06-02 22:53:05 +01:00
Nick O'Leary
f0193b0f67
Add better messages for 404 errors on admin api
2020-06-02 22:52:22 +01:00
Kazuhito Yokoi
fdf8eb0657
Add japanese transaltions for http-request node and https refresh logic
2020-06-02 14:55:53 +09:00
Nick O'Leary
8995fa9ed1
Update changelog for 1.1.0-beta.1
2020-06-01 14:57:37 +01:00
Nick O'Leary
bae52613ab
Merge branch 'master' into dev
2020-06-01 09:38:39 +01:00
Sam Machin
a8d8540346
fix for settings.set subsequent updates
...
By cloning the value the assert.deepEqual will now fail even for subsequent updates of the value without restarting Node-RED
2020-05-31 13:44:31 +01:00
Nick O'Leary
1b497b340b
Merge branch 'pr_2551' into dev
2020-05-29 16:52:19 +01:00
Nick O'Leary
bb41ab482c
Rework the https refresh logic
...
- puts the node version check first
- validates the refresh interval and keeps it in valid range
- simplifies the error messages
- uses parseFloat not parseInt so we can use fractions of hour
2020-05-29 16:50:53 +01:00
Nick O'Leary
1c94064c57
Remove unused _info/_type subflow env var magic values
2020-05-22 20:54:06 +01:00
Nick O'Leary
5d81cec00c
Merge branch 'pr_2498' into dev
2020-05-22 15:22:12 +01:00
Nick O'Leary
8ce49c25d4
Ensure auth failure on project fetch identifies the remote
...
Fixes #2545
2020-05-21 17:25:51 +01:00
Nick O'Leary
0de49e2a75
Ensure auth failure on project fetch identifies the remote
...
Fixes #2545
2020-05-21 17:18:46 +01:00
Nick O'Leary
05c3f459ad
Add #! lines to project shell scripts
...
Fixes #2548
2020-05-21 15:33:10 +01:00
bartbutenaers
0d3bf0cd00
Https refresh settings
2020-05-13 23:49:30 +02: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
Nick O'Leary
97c771f93a
Ensure file context does not write 'undefined' to store
...
Fixes #2522
2020-04-08 11:32:39 +01:00
martinLim45
513957eea1
Set flow.disabled when disabled property is false
2020-04-07 16:41:49 +09:00
Nick O'Leary
aafa4fe0b9
Bump dev branch to 1.1.0
2020-04-06 20:29:22 +01:00
Hiroyasu Nishiyama
161f6090c1
update initialize & finalize processing of function node
2020-04-06 16:34:41 +09:00
Nick O'Leary
344c9fe57e
Merge branch 'master' into dev
2020-04-02 23:24:42 +01:00
Nick O'Leary
9d4400349b
Fix timer reference in node close handling
2020-04-02 23:24:18 +01:00
Nick O'Leary
6ff3286d78
Merge branch 'master' into dev
2020-04-02 16:52:55 +01:00
Nick O'Leary
a6ecb54cc4
Clear node.close timeout to avoid unnecessary work on restart
2020-03-31 19:25:20 +01:00
Nick O'Leary
294696daf5
Merge branch 'dev' into groups
2020-03-30 23:42:52 +01:00
Nick O'Leary
d099356207
Merge branch 'master' into dev
2020-03-30 23:42:40 +01:00
Nick O'Leary
5c06761b1a
Remove console.log from subflow
2020-03-30 23:42:30 +01:00
Nick O'Leary
05fc3c5eca
Merge branch 'master' into dev
2020-03-30 23:41:33 +01:00
Nick O'Leary
84771f5864
Flows/subflows must preinitialise their context objects
...
Fixes #2513
If a node inside a subflow accessed its context object in its
constructor, the subflow-instance flow context would not yet
have been created. This would cause a place holder context
to get created on its behalf, but that place holder doesn't
have its parent set properly. This then breaks the usage
of $parent inside such a subflow.
This fix has changed it so flows (and subflows) create their
flow context as part of their initial creation. That ensures
it exists when individual nodes from the subflow are created,
allowing them to safely access their context.
This has also fixed a related issue where any attempt to use
$parent to access beyond the root parent would seemingly hang
as the callback was never being called. This would cause
messages to get stuck in flows. The fix ensures the callback
is used in the root context objects and undefined is returned.
2020-03-27 23:47:12 +00:00
Nick O'Leary
4304d44851
Ensure complete node scope is remapped in subflows
...
Fixes #2514
2020-03-27 09:44:15 +00:00
Nick O'Leary
20f97d0d13
Add better handling of host-key-verify error with projects
2020-03-13 13:09:47 +00:00
Nick O'Leary
d1dd7d1d51
[groups] Support copy/paste/import/export of groups
2020-03-09 11:14:18 +00:00
Nick O'Leary
32aa4c41ce
Bump for 1.0.4
2020-02-27 14:37:25 +00:00
Nick O'Leary
1830478ec3
Merge pull request #2461 from node-red/set-flow-with-creds
...
Allow credentials to be provided as part of /flows api
2020-02-24 16:22:57 +00:00
Nick O'Leary
d6b5494625
Allow credentials to be provided as part of /flows api
2020-02-13 16:44:48 +00:00
Nick O'Leary
f76edf74f9
Merge pull request #2454 from node-red/send-metric-fix
...
Move receive metric position to better reflect async changes
2020-02-13 10:08:24 +00:00
Kazuhito Yokoi
5c199d3bb4
Fix garbled characters in library ( #2457 )
...
* update getFileBody
* add suitable unit tests
Co-authored-by: Hiroyuki Okada <ok.okada.hiroyuki@gmail.com>
2020-02-12 16:35:33 +00:00
Nick O'Leary
cd210d9fbf
Add support for credential-stored env var in subflow
2020-02-10 11:28:56 +00:00
Nick O'Leary
1f8ed9dcb9
Merge branch 'master' into dev
2020-02-10 11:07:50 +00:00
JIYE YU
389cbf4900
complete traditional chinese translation
2020-02-10 11:31:37 +09:00
Nick O'Leary
80d100f3f9
Move receive metric position to better reflect async changes
...
Fixes #2444
2020-02-07 16:49:41 +00:00
Nick O'Leary
7d32636133
Improve file store error when cache disabled and sync api used
...
Closes #2406
2020-02-07 14:26:30 +00:00
JIYE YU
00eb474e02
new zh-CN translation for runtime
2020-02-07 18:27:06 +09:00
Nick O'Leary
6b52206186
Merge branch 'master' into dev
2020-01-22 11:54:24 +00:00
Nick O'Leary
95a51aafdc
Add path property to debug messages
...
Fixes #2358
This property can be used to identify the full path to the node that
logged a given message. If the node is inside a subflow (and maybe
nested many levels deep), this path can be used to help find the
node, rather than just the top-level subflow instance node.
A side-effect of this change is the Debug sidebar is now able to
show the message tools for a message coming from a deeply nested
subflow
2020-01-17 16:56:30 +00:00
Nick O'Leary
d45274494d
Merge branch 'master' into dev
2019-11-21 21:57:58 +00:00
Nick O'Leary
83c1e44925
Merge pull request #2371 from btsimonh/projects-flowsFile-absolute
...
flows file absolute path plus non-existent folder creation.
2019-11-21 10:44:20 +00:00
Dave Conway-Jones
2f4dcba54d
let subflow add node-red context to status
...
For all those nodes thaht don't specify it.
So that subflow status then works ok
2019-11-20 06:12:33 -05:00
KAZUHIRO ITO
ff96773295
Add node installation from other than public site
2019-11-11 18:25:36 +09:00
Simon Hailes
a4af7b8e21
localfilesystem - ensure folder is present before write (e.g. flows file not in user folder)
2019-11-03 09:10:32 +00:00
Simon Hailes
72deee5d74
Detect windows UNC '\\' as well as 'X:' as an absolute flow path - use the path.isAbsolute function instead of rolling our own.
2019-11-03 08:24:47 +00:00
Nick O'Leary
2cd5e1d3c5
Bump for 1.0.3
2019-10-27 21:22:20 +00:00
TJKoury
cb8deab1f9
Update packages/node_modules/@node-red/runtime/lib/nodes/Node.js
...
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
2019-10-17 07:42:11 -04:00
TJKoury
e5c27d0236
Remove msg
...
`msg` not defined in scope.
2019-10-16 20:00:11 -04:00
Nick O'Leary
07fe5b247b
Bump for 1.0.2
2019-10-14 13:17:48 +01:00
Nick O'Leary
c1c694035d
Allow node.status() to be passed number/bool types
...
Adds to the existing support for string types. Also
adds unit tests for all three cases
2019-10-14 13:06:59 +01:00
Nick O'Leary
547e7a1b21
Allow node emitted events to have multiple arguments
...
This is fixing a regression introduced in 1.0 where a custom
`Node.emit` function was added that could only handle a single
argument.
2019-10-10 16:35:12 +01:00
Nick O'Leary
f75dd2209d
Bump for 1.0.1
2019-10-04 11:13:46 +01:00
Nick O'Leary
4d5f771f9f
Bump for 1.0
2019-09-30 11:02:22 +01:00
Nick O'Leary
34cdbfc852
Bump for 1.0.0-beta.4
2019-09-16 15:27:06 +01:00
Nick O'Leary
28bda9fa41
Bump for 1.0.0-beta.3
2019-08-22 11:09:55 +01:00
Nick O'Leary
10077ae750
Use a more atomic process for writing context files
...
Fixes #2271
2019-08-21 16:54:26 +01:00
Nick O'Leary
b734097d16
Merge pull request #2227 from node-red/node-done
...
Adds Done callback to Input event handler
2019-08-21 11:15:00 +01:00
Nick O'Leary
880757fb5d
Rework Subflow Instance property UI ( #2236 )
...
* Add support of Subflow UI definition
* new UI definition for env var
* fix label
* fixed value obtaining
* fixed label width
* fix checkbox
* fix subflow info
* remove old subflow ui tests
* add tests
* merge ui new changes
* fix initial open button
* fix environment variable edit tab
* WIP: cp-1
* Rework subflow ui property
* Restrict SF value type according to input selection
* Move subflow property UI code to subflow.js
* Update subflow ui type select appearance
* Present subflow instance properties as table rather than generated UI
* Move subflow instance properties to separate tab
* Fix subflow property ui element layout issues
2019-08-12 15:01:54 +01:00
Nick O'Leary
e5255b0c7c
Ensure 2nd arg to node.error is an object
...
Fixes #2228
2019-08-12 14:36:26 +01:00
Nick O'Leary
16440072fb
Add audit log to project spec tests
2019-08-09 17:09:03 +01:00
Nick O'Leary
be2dd6dc32
Add req back to audit log events and extend to Projects api
2019-08-09 16:56:11 +01:00
Nick O'Leary
6032d096ec
Merge branch 'master' into dev
2019-08-06 17:13:00 +01:00
Nick O'Leary
defa9a2270
Fix ssh-keygen error handling
2019-08-06 17:12:40 +01:00
Nick O'Leary
7926055b97
Merge branch 'master' into dev
2019-08-06 16:10:33 +01:00
Nick O'Leary
87359937c9
Merge pull request #2256 from kazuhitoyokoi/master-fixerrorhandlingtostartserver
...
Use appropriate version of Node.js
2019-08-06 15:59:34 +01:00
Nick O'Leary
9b938f6515
Fix default value handling on context array access
...
Fixes #2252
2019-08-06 15:55:25 +01:00
Nick O'Leary
6c3913785d
Add error event handler to ssh-keygen child_process
...
Fixes #2255
2019-08-06 15:21:57 +01:00
Nick O'Leary
fb9828badc
Update Function node to add node.done
2019-08-06 14:27:56 +01:00
Kazuhito Yokoi
15b99c5749
Use appropriate the version of Node.js
2019-08-06 19:24:45 +09:00
Nick O'Leary
f52289b2c3
Add send to input handler signature
2019-07-09 11:40:55 +01:00
Nick O'Leary
3b5ea0f15f
Add node done API
2019-07-08 23:23:33 +01:00
Nick O'Leary
944f3bd329
Merge branch 'master' into dev
2019-07-07 21:48:13 +01:00
Nick O'Leary
aab0b0b4bf
Bump for 0.20.7
2019-07-05 11:12:26 +01:00
Nick O'Leary
24b38407e4
Merge branch 'master' into dev
2019-07-01 12:43:16 +01:00
Nick O'Leary
f49d1ae860
Ensure the subflow stop promise is waiting for before restarting
2019-07-01 12:42:11 +01:00
Nick O'Leary
677442a3c0
Merge branch 'master' into dev
2019-06-21 14:01:34 +01:00
Nick O'Leary
b73f12cdba
Bump for 0.20.6
2019-06-21 13:25:39 +01:00
Nick O'Leary
28fbb61e81
Bump dependencies
2019-06-21 13:25:09 +01:00
Nick O'Leary
a941b1437c
Handle subflow internal node wired to a non-existant node
...
Fixes #2202
2019-06-21 12:47:37 +01:00
Nick O'Leary
2473249c8b
Allow config nodes to be disabled, tidy css and add actions
2019-06-17 22:46:34 +01:00
Nick O'Leary
41a0af032c
Enable individual flow nodes to be disabled
2019-06-14 22:12:47 +01:00
Nick O'Leary
ae2162beaf
Handle subflow internal node wired to a non-existant node
...
Fixes #2202
2019-06-13 14:23:46 +01:00
Nick O'Leary
ed033565a4
Handle empty list of example flows
...
Fixes #2171
2019-05-28 11:21:53 +01:00
Nick O'Leary
16db9d4290
Bump for 1.0.0-beta.2
2019-05-24 11:36:57 +01:00
Nick O'Leary
a694b0364d
Fix length calculation when reading library file
2019-05-24 11:36:05 +01:00
Nick O'Leary
245e06f026
Merge branch 'master' into dev
2019-05-24 10:22:14 +01:00
Nick O'Leary
359c0354f6
Set package version to 1.0.0-beta.1
2019-05-21 23:32:42 +01:00
Nick O'Leary
fc77c089fa
Bump dependencies
2019-05-21 23:31:21 +01:00
Nick O'Leary
137a7ac48c
Fix getLibraryEntry for files missing meta data
2019-05-21 23:30:59 +01:00
Nick O'Leary
42b60aef4e
Fix library/clipboard import/export issues
2019-05-21 22:58:56 +01:00
KentWood
87a1f616b0
Update index.js
...
fixed a error when run node-red with httpAdminRoot=false
https://github.com/node-red/node-red/issues/2166
2019-05-18 17:04:56 +08:00
hobbyquaker
2f1ba6cf1f
i18n-german https://github.com/jwende/nodered-german/issues/4
2019-05-03 19:47:30 +02:00
hobbyquaker
20851664e8
i18n-german https://github.com/jwende/nodered-german/issues/2
2019-05-03 19:21:50 +02:00
Nick O'Leary
3e9d2a8062
Merge branch 'dev' into new-export-dialog
2019-04-25 11:45:14 +01:00
Nick O'Leary
c2aa8a206a
Merge branch 'dev' of github.com:node-red/node-red into dev
2019-04-25 11:44:55 +01:00
Nick O'Leary
6d8ea2b6a4
Merge branch 'dev' into new-export-dialog
2019-04-25 11:42:33 +01:00
Nick O'Leary
b581e33611
Update runtime apis to support multiple libraries
2019-04-25 11:32:09 +01:00
Dave Conway-Jones
0c13603185
let status be simple text if wanted
2019-04-07 16:23:17 +01:00
Nick O'Leary
ed2a45e975
Bump for 0.20.5
2019-04-05 13:46:25 +01:00
Nick O'Leary
fe63ab1242
Bump packages to 0.20.4
2019-04-05 10:21:11 +01:00
Nick O'Leary
3662fbb462
Merge branch 'master' into dev
2019-04-03 11:33:57 +01:00
Nick O'Leary
fbec803129
Use userObj.username and not .name for ssh key lookup
...
Closes #2109
2019-04-02 14:06:37 +01:00
Nick O'Leary
1795c491a8
Merge branch 'master' into dev
2019-03-28 16:59:04 +00:00
Nick O'Leary
10839abf24
Fix creating missing package.json when existing project imported
...
Fixes #2115
2019-03-28 13:46:52 +00:00
Nick O'Leary
5a9fcd9267
Bump dev branch to 0.21.0-alpha.0
2019-03-26 15:51:17 +00:00
Nick O'Leary
b45ddadb09
Bump for 0.20.3
2019-03-20 15:24:23 +00:00
Nick O'Leary
ee6c6266cc
Avoid env var reference loops and support $parent. prefix
...
Fixes #2099
2019-03-20 13:37:33 +00:00
Nick O'Leary
962a29110c
Ensure config._flow is non-enumerable so is ignored by JSON.stringify
...
Fixes https://github.com/pdmangel/node-red-contrib-openhab2/issues/36
2019-03-18 15:11:56 +00:00
Nick O'Leary
161ee17f45
Bump for 0.20.2
2019-03-15 19:03:30 +00:00
Nick O'Leary
bdf68311b4
Bump for 0.20.1
2019-03-15 11:22:01 +00:00
Nick O'Leary
afa69f4c0e
Ensure all subflow instances are stopped when flow stopping
...
Fixes #2095
2019-03-15 09:13:32 +00:00
Nick O'Leary
6fe2b24592
Merge pull request #2091 from node-red-hitachi/korean
...
modify name of korean locale folders
2019-03-14 15:25:52 +00:00
李赫柱
7442b356e3
modify name of korean locale forders
2019-03-14 09:53:24 +09:00
Nick O'Leary
c9ff05ba80
Subflow status node must pass status to parent flow
...
Fixes #2087
2019-03-13 13:14:34 +00:00
Nick O'Leary
58914e5c5f
Bump package to 0.20.0
2019-03-12 14:53:12 +00:00
Nick O'Leary
c944eaab5c
Fix max call stack err when getting node from inside subflow
2019-03-12 14:40:47 +00:00
Nick O'Leary
d3d9533493
Search subflows instances when looking for given node id
2019-03-12 14:25:36 +00:00
Nick O'Leary
28e08ebaf5
Add envVarExcludes setting to block named env vars
2019-03-07 22:54:20 +00:00
李赫柱
9946ea111c
Add Korean Language
2019-03-07 10:33:55 +09:00
Nick O'Leary
4463a8e3b2
Add exportGlobalContextKeys to prevent exposing fgc keys
2019-03-04 16:10:39 +00:00
Nick O'Leary
8fb6bc059e
Pass complete status to Status node and filter to editor
2019-03-04 10:23:10 +00:00
Nick O'Leary
236d437430
Add api docs landing content
2019-02-28 22:21:22 +00:00
Nick O'Leary
f4f664a4a2
Ensure flows wait for all nodes to close before restarting
...
Fixes #2067
2019-02-27 20:56:58 +00:00
Nick O'Leary
41de771074
Fix git clone with password protected key
2019-02-21 22:44:56 +00:00
Nick O'Leary
9d673a213e
Use absolute flow file path in project settings
...
This ensures the diff logic can recognise the project flow file
and apply merge resolution to paths that git knows
2019-02-17 22:18:40 +00:00
Nick O'Leary
e05ff01d57
Allow a project to be located below the root of repo
2019-02-15 22:11:25 +00:00
Nick O'Leary
afd2ccfb4f
Detect the cloning of an empty git repo properly
2019-02-14 14:00:25 +00:00
Nick O'Leary
894d28c60b
Remove remnants of when library in git/index
...
Fixes #2057
2019-02-11 09:01:40 +00:00
Nick O'Leary
75393c0b28
Clear subflow status no close
2019-02-09 21:24:31 +00:00
Nick O'Leary
fb0f12bb20
Bump to 0.20.0-beta.5
2019-02-08 10:41:22 +00:00
Nick O'Leary
6e944485f0
Merge pull request #2030 from node-red-hitachi/scope-parent
...
Allow access of scope parent
2019-02-06 14:10:57 +00:00
Nick O'Leary
d48a09e68b
Add env type to subflow env var types
...
Also remove date and regex types
2019-02-06 13:58:31 +00:00
Nick O'Leary
79f3669fac
Add 'catch uncaught only' mode to Catch node
...
Closes #1747
This was inspired by a PR from @mauriciom75 but implemented in a different way
due to some of the internal reworking done to Flow and Subflow in the dev branch
2019-02-05 14:29:50 +00:00
Hiroyasu Nishiyama
723e9b3cba
make $parent access without key return undefined
2019-02-05 14:47:30 +09:00
Nick O'Leary
5110eaff96
Merge branch 'dev' into pr_2042
2019-02-04 14:39:00 +00:00
Nick O'Leary
db3eee72b5
Do not convert falsey env vars to blank string
...
Only blank out undefined as that's what we've always done
2019-02-04 14:12:34 +00:00
Nick O'Leary
3bcff91328
Add Status Node to Subflow to allow subflow-specific status
...
Closes #597
2019-02-01 23:44:50 +00:00
Hiroyasu Nishiyama
e843f192ec
convert subflow env vars to dict
2019-02-02 08:34:33 +09:00
Hiroyasu Nishiyama
ce507b3b52
simplified meta-data
2019-01-30 20:57:51 +09:00
Nick O'Leary
85de227003
Make Node._flow a writeable property
...
This is needed so an existing node constructor that does:
Object.assign(this,config);
works when it tries to replace this._flow with config._flow.
2019-01-30 10:50:29 +00:00
Nick O'Leary
d534a8952d
Do not propagate Flow.getNode to parent when called from outside flow
2019-01-29 21:49:20 +00:00
Hiroyasu Nishiyama
6937aa5ddd
fix type of env values
2019-01-29 23:46:56 +09:00
Hiroyasu Nishiyama
8f6b24e0aa
fixed to access last variable with same name
2019-01-29 21:46:50 +09:00
Hiroyasu Nishiyama
ba3b64a6c6
removed useless env setup & simplified env access in function node
2019-01-29 21:39:59 +09:00
Nick O'Leary
d23b32a830
Bump to 0.20.0-beta.4
2019-01-28 15:29:01 +00:00
Hiroyasu Nishiyama
0881c6a20b
update test cases
2019-01-28 23:14:49 +09:00
Hiroyasu Nishiyama
f88a4b1791
fixed comments from @knolleary
2019-01-28 22:14:08 +09:00
Hiroyasu Nishiyama
a413f3cded
Add support of subflow env var
2019-01-26 23:15:20 +09:00
Nick O'Leary
4baaaa8d59
Propagate Status/Error events from global config nodes
2019-01-25 15:46:39 +00:00
Nick O'Leary
c99b35428b
Ensure status/error events are propagated to parent properly
2019-01-25 13:35:02 +00:00
Nick O'Leary
54c863d48f
Make Node._flow non-enumerable to avoid circular refs
2019-01-21 14:19:19 +00:00
Nick O'Leary
bb73e30909
Merge pull request #2016 from jwende/dev
...
german translation v01
2019-01-17 14:25:15 +00:00
Nick O'Leary
490903ca25
Tidy up when usage in Flow and Node
2019-01-17 13:18:26 +00:00
Nick O'Leary
dd72046922
Add some comments to Flow and Subflow classes
2019-01-16 23:33:04 +00:00
Nick O'Leary
6286b34d00
Add Flow.getSetting for resolving env-var properties
...
This lays the groundwork for subflow-specific settings
2019-01-16 22:38:04 +00:00
Nick O'Leary
81f4e0de56
Refactor Subflow logic into own class
2019-01-16 16:27:19 +00:00
Hiroyasu Nishiyama
596fbfb517
allow $parent access of flow context
2019-01-16 23:10:03 +09:00
Nick O'Leary
da756fa568
WIP: Start refactor of nodes/Flow.js
2019-01-11 14:53:21 +00:00
Nick O'Leary
f309a9d537
Bump version to 0.20.0-beta.3
2019-01-10 13:34:47 +00:00
Nick O'Leary
19eb8e9a6d
Update palette manager properly when module updated
2019-01-07 14:54:35 +00:00
Joerg Wende
a73381e24b
german translation v01
2018-12-22 09:22:25 +01:00
Kazuhito Yokoi
f05f534fd2
Update message catalogue
2018-12-17 18:48:19 +09:00
Nick O'Leary
978f4ecc58
Ensure fs context cache is flushed on close
...
Fixes #2001
2018-12-13 12:46:19 +00:00
Dave Conway-Jones
46a8d96997
fix library Buffer( to Buffer.alloc( for node 10
2018-12-13 11:32:58 +00:00
Nick O'Leary
8bb861124d
Catch file-not-found on startup when non-existant flow file specified
2018-12-13 10:59:03 +00:00
Nick O'Leary
acf8c9bc4a
Fixup version again because its Friday afternoon
2018-12-07 16:49:37 +00:00
Nick O'Leary
7173895d36
Fixup version
2018-12-07 16:47:19 +00:00
Nick O'Leary
fefabef9ee
Bump for 0.20.0.beta.2
2018-12-07 16:44:14 +00:00
Nick O'Leary
98616e772c
Bump dependencies
2018-12-07 14:13:59 +00:00
Nick O'Leary
2979acd5b8
Bump to beta.1 version
2018-12-07 11:40:33 +00:00
Nick O'Leary
d9aadf9d98
Merge pull request #1979 from node-red/better-npm-check
...
refuse to enable palette if npm too old
2018-12-05 14:52:28 +00:00
Nick O'Leary
abe746020b
Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json
...
Co-Authored-By: dceejay <dceejay@users.noreply.github.com>
2018-12-05 13:48:39 +00:00
Nick O'Leary
8e1c15419c
API documentation updates
2018-12-05 13:00:25 +00:00
Nick O'Leary
ee47646cf7
Fix up unit tests
2018-12-04 15:59:43 +00:00
Nick O'Leary
0b5e4f2dd7
Documentation updates for node-red and runtime modules
2018-11-30 23:01:09 +00:00
Nick O'Leary
bc02c9573c
Generate runtime api docs in runtime module
2018-11-16 10:04:53 +00:00
Nick O'Leary
8167608f04
Handle lookup of undefined property in Global context
...
Fixes #1978
2018-11-14 20:57:17 +00:00
Dave Conway-Jones
514e31aef9
refuse to enable palette if npm too old
2018-11-14 18:29:27 +00:00
Nick O'Leary
20a31a6d38
Allow a project to be loaded from cmdline even if its unknown
2018-11-14 12:51:23 +00:00
Nick O'Leary
bfd98f3767
Add ability to delete context values from sidebar
2018-11-12 17:04:22 +00:00
Nick O'Leary
1b8cab0f58
Update individual module versions
2018-10-31 13:57:52 +00:00
Nick O'Leary
b715ac8bf4
Add more test coverage around settings apis
2018-10-26 21:22:58 +01:00
Nick O'Leary
1ac18d7b33
Remove restriction on upgrading non-local modules
2018-10-25 13:05:57 +01:00
Nick O'Leary
1111d2518b
Add pack-modules grunt task
2018-10-25 11:18:13 +01:00
Nick O'Leary
e4d518749f
Remove deprecated Buffer constructor usage
...
Fixes #1709
2018-10-24 13:45:34 +01:00
Kazuhito Yokoi
5590d31336
Fix typo
2018-10-22 18:52:34 +09:00
Nick O'Leary
5a5dda21e4
Merge pull request #1928 from kazuhitoyokoi/dev-fixmsgcatalog
...
Fix reference bug in message catalog
2018-10-19 11:02:17 +01:00
Nick O'Leary
b2516117f5
Add event log to editor
...
Shows output from git pull/push and npm install in the editor
2018-10-18 23:49:47 +01:00
Kazuhito Yokoi
ce014044ea
Fix reference bug in message catalog
2018-10-17 15:43:09 +09:00
Nick O'Leary
f4ca8cd738
Merge branch 'master' into dev
2018-10-07 11:45:43 +01:00