Commit Graph

1821 Commits

Author SHA1 Message Date
Nick O'Leary a006b52052
Initial plugin runtime api implementation 2021-01-18 16:25:40 +00:00
Nick O'Leary bebebaa3dd
Merge pull request #2820 from node-red/export-preview
Add preview to Export Dialog
2021-01-18 16:25:16 +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 d8c8d7bc57
hide unused input field (#2823) 2021-01-16 16:58:13 +00:00
martinb b0acb58442 Merge tag '1.2.7' into release/1.2.7 2021-01-14 15:46:22 +01:00
Nathanaël Lécaudé 2b28ae3402
Add settings.execMaxBufferSize to control buffer size of exec node (#2819)
Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
closes #2817
2021-01-14 14:38:39 +00:00
Dave Conway-Jones aa47bae2ad
Exec node - don't append msg.payload to command by default (#2818)
* exec change default to not append payload
2021-01-13 10:12:19 +00:00
Nick O'Leary ccfde84769
Merge pull request #2812 from node-red/property-types
Support node property typing
2021-01-12 23:56:01 +00:00
Nick O'Leary b1df6d5149
Add preview of exported nodes to Export dialog 2021-01-12 18:23:15 +00: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 ea2e3f25d8
Implement node property typing
See https://github.com/node-red/designs/pull/37
2021-01-08 14:19:12 +00:00
Nick O'Leary 09b37cf538
Merge pull request #2796 from fellinga/feature/lang-select
add optional lang select
2021-01-07 17:15:36 +00:00
Nick O'Leary e30a01310e
Merge pull request #2788 from kevinGodell/dev
middleware integration
2021-01-07 17:11:48 +00: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 160ca6add4
remove console.log 2021-01-07 11:26:21 +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 de15a1c36f
Add subflow meta data edit pane 2021-01-07 11:10:58 +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 6e1466e411
Tidy some subflow env props css 2021-01-07 10:42:35 +00:00
Nick O'Leary 7913b3cbc2
Merge branch 'master' into dev 2021-01-07 10:17:50 +00:00
Nick O'Leary 65b4ef6c3d
Remove ES6 from editor code 2021-01-07 10:06:08 +00:00
Nick O'Leary 0284ef401e
Fix loading individual module catalog 2021-01-06 20:20:32 +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 3885107e6e
Merge pull request #2805 from kelvininc/user_menu_theme_improvement
Allow to explicit use userMenu in the theme configuration
2021-01-06 11:37:22 +00:00
Nick O'Leary 30a68fefec
Ensure subflow-scoped config nodes do not get moved on import
Fixes #2789
2021-01-06 11:22:52 +00:00
Tiago Ferreira fa84c4e461 Allow to explicit use userMenu in the theme configuration
Unit test to ensure that   works after the theme is initialize

Allow to explicti use userMenu in the theme configuration
2020-12-29 22:06:02 +00:00
Nick O'Leary 5743a5f91d
Filter palette manager nodes based on allow/deny list 2020-12-27 21:34:21 +00:00
Nick O'Leary 9d2d060dec
Fix unit tests for externalModules 2020-12-27 20:59:31 +00:00
fellinga b36e7e172e add settings to init 2020-12-27 14:44:32 +01:00
Nick O'Leary aacb92a7ae
Implement allow/denyList when loading/installing modules 2020-12-27 12:49:17 +00:00
fellinga 4943bde3d4 add optional lang select 2020-12-27 12:59:12 +01: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
Kevin Godell 79b10ed18a
allow for adding an array of middleware functions 2020-12-22 16:30:38 -06:00
Kevin Godell 34b27f2e68
allow for adding an array of middleware functions 2020-12-22 16:28:33 -06:00
David Mödinger c433f736a5
Improvements to DE translation (#2192)
* Gitter->Raster inconsistency

* Set to -> Festlegen bei // Setzen als
2020-12-17 08:25:35 +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 9b1c114c3f
Merge pull request #2772 from node-red/api-tidy
Fully remove when.js dependency
2020-12-07 14:05:15 +00:00
Nick O'Leary 4df27d4b0b
Fix typos in parser examples 2020-12-07 14:04:42 +00:00
Nick O'Leary e3445dae46
Merge pull request #2749 from node-red-hitachi/parser-example
add examples for parser category nodes
2020-12-07 14:01:14 +00:00
Nick O'Leary f5fcf23678
Merge branch 'pr_2751' into dev 2020-12-07 13:58:53 +00:00
Nick O'Leary 0a6c08e2c3
Merge pull request #2750 from node-red-hitachi/split-join-node-mapi
Messaging API support in Split/Join nodes
2020-12-07 13:54:47 +00:00
Nick O'Leary b80a7459cf
Merge pull request #2733 from node-red-hitachi/delay-node-mapi
Messaging API support in Delay node
2020-12-07 13:53:51 +00:00
Nick O'Leary f6480e6e0c
Merge pull request #2744 from node-red-hitachi/sort-node-mapi
Messaging API support in Sort node
2020-12-07 13:52:34 +00:00
Nick O'Leary 41d12c433e
Merge pull request #2734 from node-red-hitachi/csv-node-mapi
Messaging API support in CSV node
2020-12-07 13:50:09 +00:00
Nick O'Leary 169a2484f2
Merge pull request #2738 from node-red-hitachi/batch-node-mapi
Messaging API support in Batch node
2020-12-07 13:33:04 +00:00
Nick O'Leary df1eb631e1
Merge pull request #2752 from bartbutenaers/readonly-typedinput
Allow TypedInput to be disabled
2020-12-07 12:21:53 +00: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
Dave Conway-Jones 78f1cb8a66
ensure trigger timestamp option sends .now()
To close #2771
2020-12-01 23:05:22 +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
Nick O'Leary 3999690062
Support Windows paths when installing tarball by path name
Fixes #2769
2020-11-25 21:04:24 +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 81f200641b
Allow default project workflow to be set via settings 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 2b801a756a
Fix import of config nodes with unknown z property 2020-11-17 23:07:43 +00:00
Nick O'Leary 795416a84d
Bump for 1.2.4 2020-11-17 21:03:24 +00:00
Nick O'Leary 545dda166f
Support bigint types in Debug sidebar 2020-11-17 20:50:29 +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
Alex Kaul 42f3b70a22
Update Russian Locale (#2761) 2020-11-16 18:44:18 +00:00
Nick O'Leary 1cd10f074b
Update projects dialogs to use TypedInput-cred input 2020-11-16 11:37:32 +00:00
Nick O'Leary bed1d31bc8
Restore cursor position in TypedInput cred-mode 2020-11-16 11:37:04 +00:00
Nick O'Leary 99478897c5
Ensure config nodes with invalid z are imported somewhere 2020-11-14 14:10:32 +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
Kazuhito Yokoi 70f3b7450f
Add Japanese translation for http-in node (#2758) 2020-11-12 10:21:45 +00:00
Dave Conway-Jones ca4960e097
Fix CSV node repeating array output
and add tests to cover it
2020-11-10 14:43:59 +00:00
Nick O'Leary ebe604e1af
Ensure user keyboard shortcuts override defaults
Fixes #2753
2020-11-09 21:13:20 +00:00
bartbutenaers 32b04cd32f
Disable TypedInput 2020-11-06 08:48:14 +01:00
bartbutenaers e149174696
Disable TypedInput 2020-11-06 08:45:50 +01:00
Nick O'Leary 15b49f4db8
Disable 'use strict' checking in Function node
Fixes #2743
2020-11-05 13:48:55 +00:00
Dave Conway-Jones b1cc7b3296
de-duplicate colour keys 2020-11-05 09:38:34 +00:00
Dave Conway-Jones 65d90a6dff
Add gray/grey alternate options for status 2020-11-05 09:20:47 +00:00
Dave Conway-Jones a58f4c2ec2
remove " from npm install prefix option
to fix npm 7
2020-11-05 09:19:47 +00:00
Kunihiko Toumura f038069fe2 Messaging API support in Trigger node 2020-11-05 15:09:41 +09:00
Kunihiko Toumura 407cb3e7d5 Messaging API support in Split/Join nodes 2020-11-04 21:43:20 +09:00
Hiroyasu Nishiyama b8bc62ee11 add example for YAML node 2020-11-03 20:54:04 +09:00
Hiroyasu Nishiyama ccbd179f23 add example for XML node 2020-11-03 20:06:27 +09:00
Hiroyasu Nishiyama dac7830bd4 add example for JSON node 2020-11-03 20:06:18 +09:00
martinb 468cfeffb6 make split node work with out of order messages as long as one of the messages has msg.parts.count set to the proper value 2020-11-03 09:35:21 +01:00
Hiroyasu Nishiyama bc82ca2106 add examples for HTML node 2020-11-03 17:32:53 +09:00
Hiroyasu Nishiyama 725c962236 add examples for CSV node 2020-11-03 14:34:34 +09:00
Hiroyasu Nishiyama 6720c1aa46 update Japanese message catalogue for 1.2.3 release 2020-11-03 09:16:13 +09:00