diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e86c2afe3..8f3c8a6ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: path: 'node-red.github.io' - uses: actions/setup-node@v1 with: - node-version: '12' + node-version: '16' - run: node ./node-red/.github/scripts/update-node-red-docker.js - name: Create Docker Pull Request uses: peter-evans/create-pull-request@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dde581a01..0db909da6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12, 14, 16] + node-version: [14, 16] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 44dffa5be..6c6f52aeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,160 @@ +#### 3.0.0: Milestone Release + +Editor + + - Use theme page and header values if settings.js values are not present (#3767) @Steve-Mcl + - Focus editor for undo after some actions in menu (#3759) @kazuhitoyokoi + - Ensure node icon shade has properly rounded corners (#3763) @knolleary + - Fix storing subflow credential type when input has multiple types (#3762) @knolleary + - Ensure global-config and flow-config have info in the hierarchy popover (#3752) @Steve-Mcl + - Include dirty state in history event (#3748) @Steve-Mcl + - Fix display direction of context sub-menu (#3746) @knolleary + - Fix clear pinned paths of debug sidebar menu (#3745) @HiroyasuNishiyama + - prevent exception generating tooltip for deleted nodes (#3742) @Steve-Mcl + - Fix context menu issues ready for v3 beta.5 (#3741) @Steve-Mcl + - Do not generate new node-ids when pasting a cut flow (#3729) @knolleary + - Fix to prevent node from moving out of workspace (#3731) @HiroyasuNishiyama + - Don't let themes change disabled config node background color (#3736) @bonanitech + - Move colors left behind in #3692 to CSS variables (#3737) @bonanitech + - Fix handling of global debug message (#3733) @HiroyasuNishiyama + - Fix label overflow @ config-node palette (#3730) @ralphwetzel + - Fix defaulting to monaco if settings does not contain codeEditor (#3732) @knolleary + - Disable keyboard shortcut mapping when showing Edit[..]Dialog (#3700) @ralphwetzel + - Update add-junction menu to work in more cases (#3727) @knolleary + - Ensure importMap is not null when using import UI (#3723) @Steve-Mcl + - Add Japanese translations for v3.0-beta.4 (#3724) @kazuhitoyokoi + - Fix "split with" on virtual links (#3766) @Steve-Mcl + +Runtime + + - Do not remove unknown credentials of Subflow Modules (#3728) @knolleary + - Add missing entries from beta.4 changelog (#3721) @knolleary + +Nodes + + - Change: Fix change node, not handling from field properly when using context (#3754) @Fadoli + - Link Call: Fix linkcall registry bugs (#3751) @Steve-Mcl + - WebSocket: Fix close timeout of websocket node (#3734) @HiroyasuNishiyama + +#### 3.0.0-beta.4: Beta Release + +Editor + + - Move all colours to CSS variables (#3692) @bonanitech + - Fix clicking on node in workspace to hide context menu (#3696) @knolleary + - Fix credential type input item of subflow template (#3703) @HiroyasuNishiyama + - Add option flag `reimport` to `importNodes` (#3718) @Steve-Mcl + - Update german translation (#3691) @Dennis14e + - List welcome tours in help sidebar (#3717) @knolleary + - Ensure 'hidden flow' count doesn't include subflows (#3715) @knolleary + - Fix Chinese translate (#3706) @hotlong + - Fix use default button for node icon (#3714) @kazuhitoyokoi + - Fix select boxes vertical alignment (#3698) @bonanitech + - Ensure workspace clean after undoing dropped node (#3708) @Steve-Mcl + - Use solid colour as config node icon background to hide text overflow (#3710) @Steve-Mcl + - Increase quick-add height to reveal 2 most recent entries (#3711) @Steve-Mcl + - Set default editor to monaco in absence of user preference (#3702) @knolleary + - Add Japanese translations for v3.0-beta.3 (#3688) @kazuhitoyokoi + - Fix handling of spacebar inside JSON visual editor (#3687) @knolleary + - Fix menu padding to handle both icons and submenus (#3686) @knolleary + - Include scroll offset when positioning quick-add dialog (#3685) @knolleary + +Runtime + + - Allow flows to be stopped and started manually (#3719) @knolleary + - Import default export if node is a transpiled es module (#3669) @dschmidt + - Leave Monaco theme commented out by default (#3704) @bonanitech + +Nodes + + - CSV: Fix CSV node to handle when outputting text fields (#3716) @dceejay + - Delay: Fix delay rate limit last timing when empty (#3709) @dceejay + - Link: Ensure link-call cache is updated when link-in is modified (#3695) @Steve-Mcl + - Join: Join node in reduce mode doesn't keep existing msg properties (#3670) @dceejay + - Template: Add support for evalulating {{env.}} within a template node (#3690) @cow0w + +#### 3.0.0-beta.3: Beta Release + +Editor + + - Add Right-Click content menu (#3678) @knolleary + - Fix disable junction (#3671) @HiroyasuNishiyama + - Add Japanese translations for v2.2.3 (#3672) @kazuhitoyokoi + - Reset mouse state when switching tabs (#3643) @knolleary + - Fix uncorrect fix of junction to subflow conversion (#3666) @HiroyasuNishiyama + - Fix undoing junction to subflow (#3653) @HiroyasuNishiyama + - Fix conversion of junction to subflow (#3652) @HiroyasuNishiyama + - Fix to include junction to exported nodes (#3650) @HiroyasuNishiyama + - Fix z-index value for shade to cover nodes in palette (#3649) @kazuhitoyokoi + - Fix to extend escaped subflow category characters (#3647) @HiroyasuNishiyama + - Fix to sanitize tab name (#3646) @HiroyasuNishiyama + - Fix selector placement (#3644) @bonanitech + - Add Japanese translations for v3.0-beta.2 (#3622) @kazuhitoyokoi + - Fix new folder menu of save to library dialog (#3633) @HiroyasuNishiyama + - Fix layer of palette node (#3638) @HiroyasuNishiyama + - Fix to place a node dragged from palette within the workspace (#3637) @HiroyasuNishiyama + - Fix typo in CSS (#3628) @bonanitech + - Use the correct variable for the gutter text color (#3615) @bonanitech + + +Runtime + + - Support loading node modules from `nodesdir` (#3676) @Steve-Mcl + - fix buffer parse error message of evaluateNodeProperty (#3624) @HiroyasuNishiyama + +Nodes + + - File: Further simplify file node filename entry UX (v3) (#3677) @Steve-Mcl + - Function: Fix initial cursor position of init/finalize tab of function node (#3674) @HiroyasuNishiyama + - Function: Fix ESM module loading in Function node (#3645) @knolleary + - Inject: Fix JSONata evaluation of inject button (#3632) @HiroyasuNishiyama + - TCP: Dont delete TCP socket twice (#3630) @Steve-Mcl + - MQTT Node: define noproxy variable (#3626) @Steve-Mcl + - Debug: i18n debug sidebar node label (#3623) @HiroyasuNishiyama + +#### 3.0.0-beta.2: Beta Release + +**Migration from 2.x** + + - The 'slice wires' action has changed from Ctrl-RightMouseButton to Alt-LeftMouseButton + +Editor + + - Rework Junctions to be more node like in their event handling (#3607) @knolleary + - Change slicing / slice-junction operations over to mouse button 0 (Left Mouse Button) (#3609) @Steve-Mcl + - Do not slice-junction link node wires (#3608) @knolleary + - Handle many-to-one slicing of wires (#3604) @knolleary + - Ensure ACE worker options are set (#3611) @Steve-Mcl + - Remove duplicate history add of ungroup event (#3605) @knolleary + - use text width instead of number of characters for deciding select fi… (#3603) @HiroyasuNishiyama + - Update Japanese info of link call node reflecting update of English info (#3600) @HiroyasuNishiyama + - Fix typedInput label not visible on themes (#3580) @bonanitech + - Fix project switching when junctions are present (#3595) @Steve-Mcl + - Fix junction: when wiring from a regular nodes INPUT, backwards to a junction (#3591) @Steve-Mcl + - Fix error initialising flow tab editor (#3585) @Steve-Mcl + - Add Japanese translations for v3.0-beta.1 (#3576) @kazuhitoyokoi + - Fix image paths where `red/image/typedInput/XXXX.png` should be `red/image/typedInput/XXXX.svg` (#3592) @kazuhitoyokoi + - Fix browser console error Uncaught TypeError when searching certain terms (#3584) @Steve-Mcl + +Runtime + + - fix error on system-info action (#3589) @HiroyasuNishiyama + +Nodes + + - I18n switch rule selector (#3602) @HiroyasuNishiyama + - Handle removal of event handlers to allow mqtt client.end() to work (#3594) @PhilDay-CT + - update link-call node info according to current behavior (#3597) @HiroyasuNishiyama + + #### 3.0.0-beta.1: Beta Release +**Migration from 2.x** + + - Node-RED now requires Node.js 14.x or later. + - New installs of Node-RED will default to the monaco editor. + + Editor - Add Junctions (#3462) @knolleary @@ -68,528 +223,6 @@ Nodes - Watch: Update Watch node to use node-watch module (#3559 #3569) @knolleary - WebSocket: call done after ws disconnects (#3531) @Steve-Mcl - -#### 2.2.2: Maintenance Release - -Nodes - - - Fix "close timed out" error when performing full deploy or modifying broker node. (#3451) @Steve-Mcl - - -#### 2.2.1: Maintenance Release - -Editor - - - Handle mixed-cased filter terms in keyboard shortcut dialog (#3444) @knolleary - - Prevent duplicate links being added between nodes (#3442) @knolleary - - Fix to hide tooltip after removing subflow tab (#3391) @HiroyasuNishiyama - - Fix node validation to be applied to config node (#3397) @HiroyasuNishiyama - - Fix: Dont add wires to undo buffer twice (#3437) @Steve-Mcl - -Runtime - - - Improve module location parsing (of stack info) when adding hook (#3447) @Steve-Mcl - - Fix substitution of NR_NODE_PATH (#3445) @HiroyasuNishiyama - - Remove console.log when ignoring disabled module (#3439) @knolleary - - Improve "Unexpected Node Error" logging (#3446) @Steve-Mcl - -Nodes - - - Debug: Fix no-prototype-builtins bug in debug node and utils (#3394) @Alkarex - - Delay: Fix Japanese message of delay node (#3434) - - Allow nbRateUnits to be undefined when validating (#3443) @knolleary - - Coding help for recently added node-red Predefined Environment Variables (#3440) @Steve-Mcl - - -#### 2.2.0: Milestone Release - -Editor - - - Add editorTheme.tours property to default settings file (#3375) @knolleary - - Remember Zoom level and Sidebar tab selection between sessions (#3361) @knolleary - - Fix timing issue when merging background changes fixes #3364 (#3373) @Steve-Mcl - - Use a nodes palette label in help tree (#3372) @Steve-Mcl - - Subflow: Add labels to OUTPUT nodes (#3352) @ralphwetzel - - Fix vertical align subflow port (#3370) @knolleary - - Make actions list i18n ready and Japanese translation (#3359) @HiroyasuNishiyama - - Update tour for 2.2.0 (#3378) @knolleary - - Include paletteLabel when building search index (#3380) @Steve-Mcl - - Fix opening/closing subflow template not to make subflow changed (#3382) @HiroyasuNishiyama - - Add Japanese translations for v2.2.0 (#3353, #3381) @kazuhitoyokoi - -Runtime - - - Add support for accessing node id & name as environment variable (#3356) @HiroyasuNishiyama - - Clear context contents when switching projects (#3243) @knolleary - -Nodes - - - MQTT: reject invalid topics (#3374) @Steve-Mcl - - Function: Expose node.path property (#3371) @knolleary - - Function: Update `node` declarations in func.d.ts (#3377) @Steve-Mcl - -#### 2.2.0-beta.1: Beta Release - -Editor - - - Add search history to main search box (#3262) @knolleary - - Check availability of type of config node on deploy (#3304) @k-toumura - - Add wire-slice mode to delete wires with Ctrl-RHClick-Drag (#3340) @knolleary - - Wiring keyboard shortcuts (#3288) @knolleary - - Snap nodes on grid using either edge as reference (#3289) @knolleary - - Detach node action (#3338) @knolleary - - Highlight links when selecting nodes (#3323) @knolleary - - Allow multiple links to be selected by ctrl-click (#3294) @knolleary - -Nodes - - - JSON: Let JSON node attempt to parse buffer if it contains a valid string (#3296) @dceejay - - Remove use of verbose flag in core nodes - and use node.debug level instead (#3300) @dceejay - - TCP: Add TLS option to tcp client nodes (#3307) @dceejay - - WebSocket: Implemented support for Websocket Subprotocols in WS Client Node. (#3333) @tobiasoort - -#### 2.1.6: Maintenance Release - -Editor - - - Revert copy-text change and apply alternative fix (#3363) @knolleary - - Update marked to latest (#3362) @knolleary - - fix to make start of property error tooltip messages aligned (#3358) @HiroyasuNishiyama - -Nodes - - - Inject: fix JSON propety validation of inject node (#3349) @HiroyasuNishiyama - - Delay: fix unit value validation of delay node (#3351) @HiroyasuNishiyama - -#### 2.1.5: Maintenance Release - -Runtime - - - Handle reporting error location when stack is truncated (#3346) @knolleary - - Initialize passport when only adminAuth.tokens is set (#3343) @knolleary - - Add log logging (#3342) @knolleary - -Editor - - - Fix copy buttons on the debug window (another method) (#3331) @kazuhitoyokoi - - Add Japanese translations for hidden flow (#3302) @kazuhitoyokoi - - Improve jsonata legacy mode detection regex (#3345) @knolleary - - Fix generating flow name with incrementing number (#3347) @knolleary - - resume focus after import/export dialog close (#3337) @HiroyasuNishiyama - - Fix findPreviousVisibleTab action (#3321) @knolleary - - Fix storing hidden tab state when not hidden via action (#3312) @knolleary - - Avoid adding empty env properties to tabs/groups (#3311) @knolleary - - Fix hide icon in tour guide (#3301) @kazuhitoyokoi - -Nodes - - - File: Update file node examples according to node name change (#3335) @HiroyasuNishiyama - - Filter (RBE): Fix for filter node narrrowbandEq mode start condition failure (#3339) @dceejay - - Function: Prevent function scrollbar from obscuring expand button (#3348) @knolleary - - Function: load extralibs when expanding monaco. fixes #3319 (#3334) @Steve-Mcl - - Function: Update Function to use correct api to access env vars (#3310) @knolleary - - HTTP Request: Fix basic auth with empty username or password (#3325) @hardillb - - Inject: Fix incorrect clearing of blank payload property in Inject node (#3322) @knolleary - - Link Call: add link call example (#3336) @HiroyasuNishiyama - - WebSocket: Only setup ws client heartbeat once it is connected (#3344) @knolleary - - Update Japanese translations in node help (#3332) @kazuhitoyokoi - -#### 2.1.4: Maintenance Release - -Runtime - - - fix env var access using $parent for groups (#3278) @HiroyasuNishiyama - - Add proper error handling for 404 errors when serving debug files (#3277) @knolleary - - Add Japanese translations for Node-RED v2.1.0-beta.1 (#3179) @kazuhitoyokoi - - Include full user object on login audit events (#3269) @knolleary - - Remove styling from de locale files (#3237) @knolleary - -Editor - - - Change tab hide button icon to an eye and add search option (#3282) @knolleary - - Fix i18n handling of namespaces with spaces in (#3281) @knolleary - - Trigger change event when autoComplete fills in input (#3280) @knolleary - - Apply CN i18n fix (#3279) @knolleary - - fix select menu label of config node to use paletteLabel (#3273) @HiroyasuNishiyama - - fix removed tab not to cause node conflict (#3275) @HiroyasuNishiyama - - Group diff fix (#3239) @knolleary - - Only toggle disabled workspace flag if on activeWorkspace (#3252) @knolleary - - Do not show status for disabled nodes (#3253) @knolleary - - Set dimension value for tour guide (#3265) @kazuhitoyokoi - - Avoid redundant initialisation of TypedInput type (#3263) @knolleary - - Don't let themes change flow port label color (#3270) @bonanitech - - Fix treeList gutter calculation to handle floating gutters (#3238) @knolleary - -Nodes - -- Debug: Handle RegExp types in Debug sidebar (#3251) @knolleary -- Delay: fix 2nd output when in rate limit per topic modes (#3261) @dceejay -- Link: fix to show link target when selected (#3267) @HiroyasuNishiyama -- Inject: Do not modify inject node props in oneditprepare (#3242) @knolleary -- HTTP Request: HTTP Basic Auth should always add : between username and password even if empty (#3236) @hardillb - -#### 2.1.3: Maintenance Release - -Runtime - - - Update gen-publish script to update 'next' tag for main releases - - Add environment variable to enable/disable tours (#3221) @hardillb - - Fix loading non-default language files leaving runtime in wrong locale (#3225) @knolleary - -Editor - - - Refresh editor settings whenever a node is added or enabled (#3227) @knolleary - - Revert spinner css change that made it shrink in some cases (#3229) @knolleary - - Fix import notification message when importing config nodes (#3224) @knolleary - - Handle changing types of TypedInput repeatedly (#3223) @knolleary - - -#### 2.1.2: Maintenance Release - - -Runtime - - - node-red-pi: Remove bash dependency (#3216) @a16bitsysop - -Editor - - - Improved regex for markdown renderer (#3213) @GerwinvBeek - - Fix TypedInput initialisation (#3220) @knolleary - -Nodes - - - MQTT: fix datatype in node config not used. fixes #3215 (#3219) @Steve-Mcl - -#### 2.1.1: Maintenance Release - -Editor - - - Ensure tourGuide popover doesn't fall offscreen (#3212) @knolleary - - Fix issue with old inject nodes that migrated topic to 'string' type (#3210) @knolleary - - Add cache-busting query params to index.mst (#3211) @knolleary - - Fix TypedInput validation of type without options (#3207) @knolleary - -#### 2.1.0: Milestone Release - -Editor - - - Position popover properly on a scrolled page - - Fixes from 2.1.0-beta.2 (#3202) @knolleary - -Nodes - -- Link Out: Fix saving link out node links (#3201) @knolleary - - Switch: Refix #3170 - copy switch rule type when adding new rule - - TCP Request: Add string option to TCP request node output (#3204) @dceejay - -#### 2.1.0-beta.2: Beta Release - -Editor - - - Fix switching projects (#3199) @knolleary - - Use locale setting when installing/enabling node (#3198) @knolleary - - Do not show projects-wecome dialog until welcome tour completes (#3197) @knolleary - - Fix converting selection to subflow (#3196) @knolleary - - Avoid conflicts with native browser cmd-ctrl type shortcuts (#3195) @knolleary - - Ensure message tools stay attached to top-level entry in Debug/Context (#3186) @knolleary - - Ensure tab state updates properly when toggling enable state (#3175) @knolleary - - Improve handling of long labels in TreeList (#3176) @knolleary - - Shift-click tab scroll arrows to jump to start/end (#3177) @knolleary - -Runtime - - - Update package dependencies - - Update to latest node-red-admin - -Nodes - - - Dynamic MQTT connections (#3189) - - Link: Filter out Link Out Return nodes in Link In edit dialog Fixes #3187 - - Link: Fix link call label (#3200) @knolleary - - Debug: Redesign debug filter options and make them persistant (#3183) @knolleary - - Inject: Widen Inject interval box for >1 digit (#3184) @knolleary - - Switch: Fix rule focus when switch 'otherwise' rule is used (#3185) @knolleary - -#### 2.1.0-beta.1: Beta Release - -Editor - - - Add Tour Guide component (#3136) @knolleary - - Allow tabs to be hidden (#3120) @knolleary - - Add align actions to editor (#3110) @knolleary - - Add support of environment variable for tab & group (#3112) @HiroyasuNishiyama - - Add autoComplete widget and add to TypedInput for msg. props (#3171) @knolleary - - Render node documentation to node-red style guide when written in markdown. (#3169) @Steve-Mcl - - Allow colouring of tab icon svg (#3140) @harmonic7 - - Restore tab selection after merging conflicts (#3151) @GerwinvBeek - - Fix serving of theme files on Windows (#3154) @knolleary - - Ensure config-node select inherits width properly from input (#3155) @knolleary - - Do better remembering TypedInput values whilst switching types (#3159) @knolleary - - Update monaco to 0.28.1 (#3153) @knolleary - - Improve themeing of tourGuide (#3161) @knolleary - - Allow a node to specify a filter for the config nodes it can pick from (#3160) @knolleary - - Allow RED.notify.update to modify any notification setting (#3163) @knolleary - - Fix typo in ko editor.json Fixes #3119 - - Improve RED.actions api to ensure actions cannot be overridden - - Ensure treeList row has suitable min-height when no content Fixes #3109 - - Refactor edit dialogs to use separate edit panes - - Ensure type select button is not focussable when TypedInput only has one type - - Place close tab link in front of fade - -Runtime - - - Improve error reporting with oauth login strategies (#3148) @knolleary - - Add allowUpdate feature to externalModules.palette (#3143) @knolleary - - Improve node install error reporting (#3158) @knolleary - - Improve unit test coverage (#3168) @knolleary - - Allow coreNodesDir to be set to false (#3149) @hardillb - - Update package dependencies - - uncaughtException debug improvements (#3146) @renatojuniorrs - -Nodes - - - Change: Add option to deep-clone properties in Change node (#3156) @knolleary - - Delay: Add push to front of rate limit queue. (#3069) @dceejay - - File: Add paletteLabel to file nodes to make read/write more obvious (#3157) @knolleary - - HTTP Request: Extend HTTP request node to log detailed timing information (#3116) @k-toumura - - HTTP Response: Fix sizing of HTTP Response header fields (#3164) @knolleary - - Join: Support for msg.restartTimeout (#3121) @magma1447 - - Link Call: Add Link Call node (#3152) @knolleary - - Switch: Copy previous rule type when adding rule to switch node (#3170) @knolleary - - Delay node: add option to send intermediate messages on separate output (#3166) @knolleary - - Typo in http request set method translation (#3173) @mailsvb - -#### 2.0.6: Maintenance Release - -Editor - - - Fix typo in ko editor.json Fixes #3119 - - Change fade color when hovering an inactive tab (#3106) @bonanitech - - Ensure treeList row has suitable min-height when no content Fixes #3109 - -Runtime - - - Update tar to latest (#3128) @aksswami - - Give passport verify callback the same arity as the original callback (#3117) @dschmidt - - Handle HTTPS Key and certificate as string or buffer (#3115) @bartbutenaers - -#### 2.0.5: Maintenance Release - -Editor - - - Remove default ctrl-enter keybinding from monaco editor Fixes #3093 - -Runtime - - - Update tar dependency - - Add support for maintenance streams in generate-publish-script - - -Nodes - - - Fix regression in Join node when manual joining array with msg.parts present Fixes #3096 - -#### 2.0.4: Maintenance Release - -Editor - - - Fix tab fade CSS for when using themes (#3085) @bonanitech - - Handle just-copied-but-not-deployed node with credentials in editor Fixes #3090 - -Nodes - - - Filter: Fix RBE node handling of default topi property Fixes #3087 - - HTTP Request: Handle partially encoded url query strings in request node - - HTTP Request: Fix support for supplied CA certs (#3089) @hardillb - - HTTP Request: Ensure TLS Cert is used (#3092) @hardillb - - Inject: Fix inject now button unable to send empty props - - Inject: Inject now button success notification should use label with updated props - -#### 2.0.3: Maintenance Release - -Nodes - - - HTML: Fix HTML parsing when body is included in the select tag Fixes #3079 - - HTTP Request: Preserve case of user-provided http headers in request node Fixes #3081 - - HTTP Request: Set decompress to false for HTTP Request to keep 1.x compatibility Fixes #3083 - - HTTP Request: Add unit tests for HTTP Request encodeURI and error response - - HTTP Request: Do not throw HTTP errors in request node Fixes #3082 - - HTTP Request: Ensure uri is properly encoded before passing to got module Fixes #3080 - -#### 2.0.2: Maintenance Release - -Runtime - - - Use file:// url with dynamic import - - Detect if agent-base has patched https.request and undo it Fixes #3072 - -Editor - - - Fix tab fade css because Safari Fixes #3073 - - Fix error closing library dialog with monaco - - Handle other error types in Manage Palette view - - -Nodes - - - HTTP Request node - ignore invalid cookies rather than fail request Fixes #3075 - - Fix msg.reset handling in Delay node Fixes #3074 - -#### 2.0.1: Maintenance Release - -Nodes - - - Function: Ensure default module export is exposed in Function node - -#### 2.0.0: Milestone Release - -**Migration from 1.x** - - - Node-RED now requires Node.js 12.x or later. - - - The following nodes have had significant dependency updates. Unless stated, - they should be fully backward compatible. - - - RBE: Relabelled as 'filter' to make it more discoverable and made part of - the core palette, rather than as a separate module. - - Tail: This node has been removed from the default palette. You can reinstall it - from node-red-node-tail - - HTTP Request: Reimplemented with a different underlying module. We have - tried to maintain 100% functional compatibility, but it is possible - some edge cases remain. - - JSON: The schema validation option no longer supports JSON-Schema draft-04 - - HTML: Its underlying module has had a major version update. Should be fully - backward compatible. - - - `functionExternalModules` is now enabled by default for new installs. - If you have an existing settings file that contains this setting, you will - need to set it to `true` yourself. - - The external modules will now get installed in your Node-RED user directory, - (`~/.node-red`) rather than in a subdirectory. This means all dependencies will - be listed in your top-level `package.json`. If you have existing external modules, - they will get reinstalled to the new location when you first run Node-RED 2.0. - - -Runtime - - - Fix missing dependencies (#3052, #2057) @kazuhitoyokoi - - Ensure node.types is defined if node html file missing - - Fix reporting of type_already_registered error - - Move install location of external modules (#3064) @knolleary - -Editor - - - Update translations (#3063) @kazuhitoyokoi - - Add a slight fade to tab labels that overflow - - Show config node details when selected in outliner - - Fix layout of info outliner for subflow entries - -Nodes - - - Delay: let `msg.flush` specify how many messages to flush from node (#3059) @dceejay - - Function: external modules is now enabled by default (#3065) @knolleary - - Function: external modules now supports both ES6 and CJS modules (#3065) @knolleary - - WebSocket: add option for client node to send automatic pings (#3056) @knolleary - - -##### 2.0.0-beta.2: Beta Release - -Runtime - - - Add `node-red admin init` (via `node-red-admin@2.1.0`) - - Move to GH Actions rather than Travis for build (#3042) @knolleary - -Editor - - - Include hasUser=false config nodes when exporting whole flow (#3048) - - Emit nodes:change for any updated config node when node deleted/added - - Fix padding of compact notification Closes #3045 - - Ensure any html in changelog is escaped before displaying - - Add support for Map/Set property types on Debug (#3040) @knolleary - - Add 'theme' to default settings file - - Add RED.view.annotations api (#3032) @knolleary - - Update monaco editor to V0.25.2 (#3031) @Steve-Mcl - - Lower tray zIndex when overlay tray being opened Fixes #3019 - - Reduce z-Index of Function expand buttons to prevent overlap Part of #3019 - - Ensure RED.clipboard.import displays the right library Fixes #3021 - - Batch messages sent over comms to prevent flooding (#3025) @knolleary - - Allow RED.popover.panel to specify a closeButton to ignore click events on - - Use browser default language for initial page load - - Add css var for node font color - - Fix label padding of toggleButton - - Give sidebar open tab a bit more room for its label - - Various Monaco updates (#3015) @Steve-Mcl - - Log readOnly on startup (#3024) @sammachin - - Translation updates (#3020 #3022) @HiroyasuNishiyama @kazuhitoyokoi - -Nodes - - - HTTP Request: Fix proxy handling (#3044) @hardillb - - HTTP Request: Handle basic auth with @ in username (#3017) @hardillb - - Add Japanese translation for file-in node (#3037 #3039) @kazuhitoyokoi - - File In: Add option for file-in node to include all properties (default off) (#3035) @dceejay - - Exec: add windowsHide option to hide windows under Windows (#3026) @natcl - - Support loading external module sub path Fixes #3023 - -##### 2.0.0-beta.1: Beta Release - - - -Runtime - - - [MAJOR] Set minimum node version to 12. - - [MAJOR] Fix flowfile name to flows.json in settings (#2951) @dceejay - - [MAJOR] Update to latest i18n in editor and runtime (#2940) @knolleary - - [MAJOR] Deprecate usage of httpRoot (#2953) @knolleary - - Add pre/postInstall hooks to npm install handling (#2936) @knolleary - - Add engine-strict flag to npm install args (#2965) @nileio - - Restructure default settings.js to be more organised (#3012) @knolleary - - Ensure httpServerOptions gets applied to ALL the express apps - - Allow RED.settings.set to replace string property with object property - - Update debug tests to handle compact comms format - - Updates to encode/decode message when passed over debug comms link - - Remove all input event listeners on a node once it is closed - - Move hooks to util package - - Rework hooks structure to be a linkedlist - - Update dependencies (#2922) @knolleary - -Editor - - - [MAJOR] Change node id generation to give fixed length values without '.' (#2987) @knolleary - - [MAJOR] Add Monaco code editor (#2971) @Steve-Mcl - - Update to latest Monaco (#3007) @Steve-Mcl - - Update Node-RED Function typings in Monaco (#3008) @Steve-Mcl - - Add css named variables for certain key colours (#2994) @knolleary - - Improve contrast of export dialog JSON font color - - Switch editableList buttons from to
" + "modeDesc": "The Buffer type is stored as a JSON array of byte values. The editor will attempt to parse the entered value as a JSON array. If it is not valid JSON, it will be treated as a UTF-8 String and converted to an array of the individual character code points.
For example, a value of Hello World
will be converted to the JSON array:
[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]" }, "projects": { "config-git": "Configure Git client", @@ -1140,7 +1149,7 @@ "no-empty": "Cannot create default file set on a non-empty project", "git-error": "git error" }, - "errors" : { + "errors": { "no-username-email": "Your Git client is not configured with a username/email.", "unexpected": "An unexpected error occurred", "code": "code" @@ -1158,12 +1167,13 @@ "tourGuide": { "takeATour": "Take a tour", "start": "Start", - "next": "Next" + "next": "Next", + "welcomeTours": "Welcome Tours" }, "diagnostics": { "title": "System Info" }, - "languages" : { + "languages": { "de": "German", "en-US": "English", "ja": "Japanese", @@ -1174,18 +1184,24 @@ }, "validator": { "errors": { - "invalid-json": "Invalid JSON data: __error__", - "invalid-json-prop": "__prop__: invalid JSON data: __error__", - "invalid-prop": "Invalid property expression", - "invalid-prop-prop": "__prop__: invalid property expression", - "invalid-num": "Invalid number", - "invalid-num-prop": "__prop__: invalid number", - "invalid-regexp": "Invalid input pattern", - "invalid-regex-prop": "__prop__: invalid input pattern", - "missing-required-prop": "__prop__: property value missing", - "invalid-config": "__prop__: invalid configuration node", - "missing-config": "__prop__: missing configuration node", - "validation-error": "__prop__: validation error: __node__, __id__: __error__" - } + "invalid-json": "Invalid JSON data: __error__", + "invalid-json-prop": "__prop__: invalid JSON data: __error__", + "invalid-prop": "Invalid property expression", + "invalid-prop-prop": "__prop__: invalid property expression", + "invalid-num": "Invalid number", + "invalid-num-prop": "__prop__: invalid number", + "invalid-regexp": "Invalid input pattern", + "invalid-regex-prop": "__prop__: invalid input pattern", + "missing-required-prop": "__prop__: property value missing", + "invalid-config": "__prop__: invalid configuration node", + "missing-config": "__prop__: missing configuration node", + "validation-error": "__prop__: validation error: __node__, __id__: __error__" + } + }, + "contextMenu": { + "insert": "Insert", + "node": "Node", + "junction": "Junction", + "linkNodes": "Link Nodes" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/infotips.json b/packages/node_modules/@node-red/editor-client/locales/en-US/infotips.json index 21a7e735f..a958868ee 100755 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/infotips.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/infotips.json @@ -1,23 +1,23 @@ { "info": { - "tip0" : "You can remove the selected nodes or links with {{core:delete-selection}}", - "tip1" : "Search for nodes using {{core:search}}", - "tip2" : "{{core:toggle-sidebar}} will toggle the view of this sidebar", - "tip3" : "You can manage your palette of nodes with {{core:manage-palette}}", - "tip4" : "Your flow configuration nodes are listed in the sidebar panel. It can be accessed from the menu or with {{core:show-config-tab}}", - "tip5" : "Enable or disable these tips from the option in the settings", - "tip6" : "Move the selected nodes using the [left] [up] [down] and [right] keys. Hold [shift] to nudge them further", - "tip7" : "Dragging a node onto a wire will splice it into the link", - "tip8" : "Export the selected nodes, or the current tab with {{core:show-export-dialog}}", - "tip9" : "Import a flow by dragging its JSON into the editor, or with {{core:show-import-dialog}}", - "tip10" : "[shift] [click] and drag on a node port to move all of the attached wires or just the selected one", - "tip11" : "Show the Info tab with {{core:show-info-tab}} or the Debug tab with {{core:show-debug-tab}}", - "tip12" : "[ctrl] [click] in the workspace to open the quick-add dialog", - "tip13" : "Hold down [ctrl] when you [click] on a node port to enable quick-wiring", - "tip14" : "Hold down [shift] when you [click] on a node to also select all of its connected nodes", - "tip15" : "Hold down [ctrl] when you [click] on a node to add or remove it from the current selection", - "tip16" : "Switch flow tabs with {{core:show-previous-tab}} and {{core:show-next-tab}}", - "tip17" : "You can confirm your changes in the node edit tray with {{core:confirm-edit-tray}} or cancel them with {{core:cancel-edit-tray}}", - "tip18" : "Pressing {{core:edit-selected-node}} will edit the first node in the current selection" + "tip0": "You can remove the selected nodes or links with {{core:delete-selection}}", + "tip1": "Search for nodes using {{core:search}}", + "tip2": "{{core:toggle-sidebar}} will toggle the view of this sidebar", + "tip3": "You can manage your palette of nodes with {{core:manage-palette}}", + "tip4": "Your flow configuration nodes are listed in the sidebar panel. It can be accessed from the menu or with {{core:show-config-tab}}", + "tip5": "Enable or disable these tips from the option in the settings", + "tip6": "Move the selected nodes using the [left] [up] [down] and [right] keys. Hold [shift] to nudge them further", + "tip7": "Dragging a node onto a wire will splice it into the link", + "tip8": "Export the selected nodes, or the current tab with {{core:show-export-dialog}}", + "tip9": "Import a flow by dragging its JSON into the editor, or with {{core:show-import-dialog}}", + "tip10": "[shift] [click] and drag on a node port to move all of the attached wires or just the selected one", + "tip11": "Show the Info tab with {{core:show-info-tab}} or the Debug tab with {{core:show-debug-tab}}", + "tip12": "[ctrl] [click] in the workspace to open the quick-add dialog", + "tip13": "Hold down [ctrl] when you [click] on a node port to enable quick-wiring", + "tip14": "Hold down [shift] when you [click] on a node to also select all of its connected nodes", + "tip15": "Hold down [ctrl] when you [click] on a node to add or remove it from the current selection", + "tip16": "Switch flow tabs with {{core:show-previous-tab}} and {{core:show-next-tab}}", + "tip17": "You can confirm your changes in the node edit tray with {{core:confirm-edit-tray}} or cancel them with {{core:cancel-edit-tray}}", + "tip18": "Pressing {{core:edit-selected-node}} will edit the first node in the current selection" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json index 6a00a3c09..b24a898b7 100755 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json @@ -52,52 +52,52 @@ "desc": "Finds occurrences of `pattern` within `str` and replaces them with `replacement`.\n\nThe optional `limit` parameter is the maximum number of replacements." }, "$now": { - "args":"$[picture [, timezone]]", - "desc":"Generates a timestamp in ISO 8601 compatible format and returns it as a string. If the optional picture and timezone parameters are supplied, then the current timestamp is formatted as described by the `$fromMillis()` function" + "args": "$[picture [, timezone]]", + "desc": "Generates a timestamp in ISO 8601 compatible format and returns it as a string. If the optional picture and timezone parameters are supplied, then the current timestamp is formatted as described by the `$fromMillis()` function" }, "$base64encode": { - "args":"string", - "desc":"Converts an ASCII string to a base 64 representation. Each character in the string is treated as a byte of binary data. This requires that all characters in the string are in the 0x00 to 0xFF range, which includes all characters in URI encoded strings. Unicode characters outside of that range are not supported." + "args": "string", + "desc": "Converts an ASCII string to a base 64 representation. Each character in the string is treated as a byte of binary data. This requires that all characters in the string are in the 0x00 to 0xFF range, which includes all characters in URI encoded strings. Unicode characters outside of that range are not supported." }, "$base64decode": { - "args":"string", - "desc":"Converts base 64 encoded bytes to a string, using a UTF-8 Unicode codepage." + "args": "string", + "desc": "Converts base 64 encoded bytes to a string, using a UTF-8 Unicode codepage." }, "$number": { "args": "arg", "desc": "Casts the `arg` parameter to a number using the following casting rules:\n\n - Numbers are unchanged\n - Strings that contain a sequence of characters that represent a legal JSON number are converted to that number\n - All other values cause an error to be thrown." }, "$abs": { - "args":"number", - "desc":"Returns the absolute value of the `number` parameter." + "args": "number", + "desc": "Returns the absolute value of the `number` parameter." }, "$floor": { - "args":"number", - "desc":"Returns the value of `number` rounded down to the nearest integer that is smaller or equal to `number`." + "args": "number", + "desc": "Returns the value of `number` rounded down to the nearest integer that is smaller or equal to `number`." }, "$ceil": { - "args":"number", - "desc":"Returns the value of `number` rounded up to the nearest integer that is greater than or equal to `number`." + "args": "number", + "desc": "Returns the value of `number` rounded up to the nearest integer that is greater than or equal to `number`." }, "$round": { - "args":"number [, precision]", - "desc":"Returns the value of the `number` parameter rounded to the number of decimal places specified by the optional `precision` parameter." + "args": "number [, precision]", + "desc": "Returns the value of the `number` parameter rounded to the number of decimal places specified by the optional `precision` parameter." }, "$power": { - "args":"base, exponent", - "desc":"Returns the value of `base` raised to the power of `exponent`." + "args": "base, exponent", + "desc": "Returns the value of `base` raised to the power of `exponent`." }, "$sqrt": { - "args":"number", - "desc":"Returns the square root of the value of the `number` parameter." + "args": "number", + "desc": "Returns the square root of the value of the `number` parameter." }, "$random": { - "args":"", - "desc":"Returns a pseudo random number greater than or equal to zero and less than one." + "args": "", + "desc": "Returns a pseudo random number greater than or equal to zero and less than one." }, "$millis": { - "args":"", - "desc":"Returns the number of milliseconds since the Unix Epoch (1 January, 1970 UTC) as a number. All invocations of `$millis()` within an evaluation of an expression will all return the same value." + "args": "", + "desc": "Returns the number of milliseconds since the Unix Epoch (1 January, 1970 UTC) as a number. All invocations of `$millis()` within an evaluation of an expression will all return the same value." }, "$sum": { "args": "array", @@ -136,20 +136,20 @@ "desc": "Appends two arrays" }, "$sort": { - "args":"array [, function]", - "desc":"Returns an array containing all the values in the `array` parameter, but sorted into order.\n\nIf a comparator `function` is supplied, then it must be a function that takes two parameters:\n\n`function(left, right)`\n\nThis function gets invoked by the sorting algorithm to compare two values left and right. If the value of left should be placed after the value of right in the desired sort order, then the function must return Boolean `true` to indicate a swap. Otherwise it must return `false`." + "args": "array [, function]", + "desc": "Returns an array containing all the values in the `array` parameter, but sorted into order.\n\nIf a comparator `function` is supplied, then it must be a function that takes two parameters:\n\n`function(left, right)`\n\nThis function gets invoked by the sorting algorithm to compare two values left and right. If the value of left should be placed after the value of right in the desired sort order, then the function must return Boolean `true` to indicate a swap. Otherwise it must return `false`." }, "$reverse": { - "args":"array", - "desc":"Returns an array containing all the values from the `array` parameter, but in reverse order." + "args": "array", + "desc": "Returns an array containing all the values from the `array` parameter, but in reverse order." }, "$shuffle": { - "args":"array", - "desc":"Returns an array containing all the values from the `array` parameter, but shuffled into random order." + "args": "array", + "desc": "Returns an array containing all the values from the `array` parameter, but shuffled into random order." }, "$zip": { - "args":"array, ...", - "desc":"Returns a convolved (zipped) array containing grouped arrays of values from the `array1` … `arrayN` arguments from index 0, 1, 2...." + "args": "array, ...", + "desc": "Returns a convolved (zipped) array containing grouped arrays of values from the `array1` … `arrayN` arguments from index 0, 1, 2...." }, "$keys": { "args": "object", @@ -168,24 +168,24 @@ "desc": "Merges an array of `objects` into a single `object` containing all the key/value pairs from each of the objects in the input array. If any of the input objects contain the same key, then the returned `object` will contain the value of the last one in the array. It is an error if the input array contains an item that is not an object." }, "$sift": { - "args":"object, function", - "desc":"Returns an object that contains only the key/value pairs from the `object` parameter that satisfy the predicate `function` passed in as the second parameter.\n\nThe `function` that is supplied as the second parameter must have the following signature:\n\n`function(value [, key [, object]])`" + "args": "object, function", + "desc": "Returns an object that contains only the key/value pairs from the `object` parameter that satisfy the predicate `function` passed in as the second parameter.\n\nThe `function` that is supplied as the second parameter must have the following signature:\n\n`function(value [, key [, object]])`" }, "$each": { - "args":"object, function", - "desc":"Returns an array containing the values return by the `function` when applied to each key/value pair in the `object`." + "args": "object, function", + "desc": "Returns an array containing the values return by the `function` when applied to each key/value pair in the `object`." }, "$map": { - "args":"array, function", - "desc":"Returns an array containing the results of applying the `function` parameter to each value in the `array` parameter.\n\nThe `function` that is supplied as the second parameter must have the following signature:\n\n`function(value [, index [, array]])`" + "args": "array, function", + "desc": "Returns an array containing the results of applying the `function` parameter to each value in the `array` parameter.\n\nThe `function` that is supplied as the second parameter must have the following signature:\n\n`function(value [, index [, array]])`" }, "$filter": { - "args":"array, function", - "desc":"Returns an array containing only the values in the `array` parameter that satisfy the `function` predicate.\n\nThe `function` that is supplied as the second parameter must have the following signature:\n\n`function(value [, index [, array]])`" + "args": "array, function", + "desc": "Returns an array containing only the values in the `array` parameter that satisfy the `function` predicate.\n\nThe `function` that is supplied as the second parameter must have the following signature:\n\n`function(value [, index [, array]])`" }, "$reduce": { - "args":"array, function [, init]", - "desc":"Returns an aggregated value derived from applying the `function` parameter successively to each value in `array` in combination with the result of the previous application of the function.\n\nThe function must accept two arguments, and behaves like an infix operator between each value within the `array`. The signature of `function` must be of the form: `myfunc($accumulator, $value[, $index[, $array]])`\n\nThe optional `init` parameter is used as the initial value in the aggregation." + "args": "array, function [, init]", + "desc": "Returns an aggregated value derived from applying the `function` parameter successively to each value in `array` in combination with the result of the previous application of the function.\n\nThe function must accept two arguments, and behaves like an infix operator between each value within the `array`. The signature of `function` must be of the form: `myfunc($accumulator, $value[, $index[, $array]])`\n\nThe optional `init` parameter is used as the initial value in the aggregation." }, "$flowContext": { "args": "string[, string]", diff --git a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json index d4a638137..fb3458eed 100644 --- a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json @@ -169,6 +169,10 @@ } }, "notification": { + "state": { + "flowsStopped": "フローを停止しました", + "flowsStarted": "フローを開始しました" + }, "warning": "警告: __message__", "warnings": { "undeployedChanges": "ノードの変更をデプロイしていません", @@ -296,15 +300,19 @@ "modifiedFlowsDesc": "変更したノードを含むフローのみデプロイ", "modifiedNodes": "変更したノード", "modifiedNodesDesc": "変更したノードのみデプロイ", + "startFlows": "開始", + "startFlowsDesc": "フローを開始", + "stopFlows": "停止", + "stopFlowsDesc": "フローを停止", "restartFlows": "フローを再起動", "restartFlowsDesc": "デプロイされた現在のフローを再起動", "successfulDeploy": "デプロイが成功しました", "successfulRestart": "フローの再起動が成功しました", "deployFailed": "デプロイが失敗しました: __message__", "unusedConfigNodes": "使われていない設定ノードがあります。", - "unusedConfigNodesButton":"未使用の構成ノードを検索", - "unknownNodesButton":"不明なノードを検索する", - "invalidNodesButton":"無効なノードを検索する", + "unusedConfigNodesButton": "未使用の構成ノードを検索", + "unknownNodesButton": "不明なノードを検索する", + "invalidNodesButton": "無効なノードを検索する", "errors": { "noResponse": "サーバの応答がありません" }, @@ -685,7 +693,8 @@ "showHelp": "ヘルプを表示", "showInOutline": "アウトラインに表示", "showTopics": "トピックを表示", - "noHelp": "ヘルプのトピックが未選択" + "noHelp": "ヘルプのトピックが未選択", + "changeLog": "更新履歴" }, "config": { "name": "設定ノードを表示", @@ -845,7 +854,7 @@ "pushFailed": "リモートに新しいコミットがあるため、プッシュに失敗しました。プルしてマージしてから、再度プッシュしてください。", "push": "プッシュ", "pull": "プル", - "unablePull": "
リモートの変更のプル失敗:ステージングされていないローカルの変更を上書きされてしまいます。
変更をコミットしてから再度実行してください。
", + "unablePull": "リモートの変更のプル失敗:ステージングされていないローカルの変更が上書きされてしまいます。
変更をコミットしてから再度実行してください。
", "showUnstagedChanges": "ステージングされていない変更を表示", "connectionFailed": "リモートリポジトリに接続できません: ", "pullUnrelatedHistory": "リモートに関連のないコミット履歴があります。
本当に変更をプルしてローカルリポジトリに反映しますか?
", @@ -907,7 +916,8 @@ "uknownNodes": "未知のノード", "unusedSubflows": "未使用のサブフロー", "hiddenFlows": "非表示のフロー", - "modifiedNodes": "修正したノードやフロー" + "modifiedNodes": "修正したノードやフロー", + "thisFlow": "現在のフロー" } }, "expressionEditor": { @@ -1157,7 +1167,12 @@ "tourGuide": { "takeATour": "ツアーを開始", "start": "開始", - "next": "次へ" + "next": "次へ", + "welcomeTours": "ウェルカムツアー", + "tours": "ツアー" + }, + "diagnostics": { + "title": "システム情報" }, "languages": { "de": "ドイツ語", @@ -1168,6 +1183,28 @@ "zh-CN": "中国語(簡体)", "zh-TW": "中国語(繁体)" }, + "validator": { + "errors": { + "invalid-json": "JSONデータが不正: __error__", + "invalid-json-prop": "__prop__: JSONデータが不正: __error__", + "invalid-prop": "プロパティ式が不正", + "invalid-prop-prop": "__prop__: プロパティ式が不正", + "invalid-num": "数値が不正", + "invalid-num-prop": "__prop__: 数値が不正", + "invalid-regexp": "入力パターンが不正", + "invalid-regex-prop": "__prop__: 入力パターンが不正", + "missing-required-prop": "__prop__: プロパティが未設定", + "invalid-config": "__prop__: 設定ノードが不正", + "missing-config": "__prop__: 設定ノードが存在しません", + "validation-error": "__prop__: チェックエラー: __node__, __id__: __error__" + } + }, + "contextMenu": { + "insert": "挿入", + "node": "ノード", + "junction": "分岐点", + "linkNodes": "Linkノード" + }, "action-list": { "toggle-show-tips": "ヒント表示切替", "show-about": "Node-REDの説明を表示", @@ -1282,7 +1319,7 @@ "search": "検索", "search-previous": "前を検索", "search-next": "次を検索", - "show-action-list": "アクション一覧を表示", + "show-action-list": "動作一覧を表示", "confirm-edit-tray": "編集を完了", "cancel-edit-tray": "編集をキャンセル", "show-remote-diff": "リモートとの変更差分を表示", @@ -1304,22 +1341,13 @@ "zoom-out": "ズームアウト", "zoom-reset": "ズームリセット", "toggle-navigator": "ナビゲータ表示切替", - "show-system-info": "システムインフォメーション" - }, - "validator": { - "errors": { - "invalid-json": "JSONデータが不正: __error__", - "invalid-json-prop": "__prop__: JSONデータが不正: __error__", - "invalid-prop": "プロパティ式が不正", - "invalid-prop-prop": "__prop__: プロパティ式が不正", - "invalid-num": "数値が不正", - "invalid-num-prop": "__prop__: 数値が不正", - "invalid-regexp": "入力パターンが不正", - "invalid-regex-prop": "__prop__: 入力パターンが不正", - "missing-required-prop": "__prop__: プロパティが未設定", - "invalid-config": "__prop__: 設定ノードが不正", - "missing-config": "__prop__: 設定ノードが存在しません", - "validation-error": "__prop__: チェックエラー: __node__, __id__: __error__" - } + "show-system-info": "システム情報", + "split-wires-with-junctions": "分岐点によりワイヤーを分割", + "new-project": "新しいプロジェクト", + "open-project": "プロジェクトを開く", + "show-project-settings": "プロジェクト設定を表示", + "show-version-control-tab": "バージョンコントロールタブを表示", + "start-flows": "フローを開始", + "stop-flows": "フローを停止" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/ja/infotips.json b/packages/node_modules/@node-red/editor-client/locales/ja/infotips.json index 45ba8450e..14459fa10 100644 --- a/packages/node_modules/@node-red/editor-client/locales/ja/infotips.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/infotips.json @@ -17,7 +17,7 @@ "tip14": "[shift] を押しながらノードを [click] すると、接続された全てのノードを選択できます。", "tip15": "[ctrl] を押しながらノードを [click] すると、選択/非選択を切り替えできます。", "tip16": "{{core:show-previous-tab}} や {{core:show-next-tab}} で、タブの切り替えができます。", - "tip17": "ノードのプロバティ設定画面にて {{core:confirm-edit-tray}} を押すと、変更を確定できます。また、 {{core:cancel-edit-tray}} を押すと、変更を取り消せます。", + "tip17": "ノードのプロパティ設定画面にて {{core:confirm-edit-tray}} を押すと、変更を確定できます。また、 {{core:cancel-edit-tray}} を押すと、変更を取り消せます。", "tip18": "ノードを選択し、 {{core:edit-selected-node}} を押すとプロパティ設定画面が表示されます。" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json b/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json index af3e833da..eca5878ae 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json @@ -97,7 +97,7 @@ "rename": "重命名", "delete": "删除", "keyboardShortcuts": "键盘快捷方式", - "login": "登陆", + "login": "登录", "logout": "退出", "editPalette": "节点管理", "other": "其他", @@ -122,16 +122,16 @@ "zoom-in": "放大" }, "user": { - "loggedInAs": "作为 __name__ 登陆", + "loggedInAs": "作为 __name__ 登录", "username": "账号", "password": "密码", - "login": "登陆", - "loginFailed": "登陆失败", + "login": "登录", + "loginFailed": "登录失败", "notAuthorized": "未授权", "errors": { - "settings": "设置信息需要登陆后才能访问", - "deploy": "改动需要登陆后才能部署", - "notAuthorized": "此操作需要登陆后才能执行" + "settings": "设置信息需要登录后才能访问", + "deploy": "改动需要登录后才能部署", + "notAuthorized": "此操作需要登录后才能执行" } }, "notification": { diff --git a/packages/node_modules/@node-red/editor-client/package.json b/packages/node_modules/@node-red/editor-client/package.json index da889a289..a72fedc96 100644 --- a/packages/node_modules/@node-red/editor-client/package.json +++ b/packages/node_modules/@node-red/editor-client/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/editor-client", - "version": "3.0.0-beta.1", + "version": "3.0.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js b/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js index b26ce0285..310831607 100644 --- a/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js +++ b/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js @@ -76,7 +76,7 @@ oop.inherits(NRJavaScriptWorker, Mirror); (function() { this.setOptions = function(options) { - this.options = { + o.options = { // undef: true, // unused: true, esversion: 9, @@ -98,7 +98,7 @@ oop.inherits(NRJavaScriptWorker, Mirror); if (options) { for (var opt in options) { if (options.hasOwnProperty(opt)) { - this.options[opt] = options.opt; + o.options[opt] = options[opt]; } } } diff --git a/packages/node_modules/@node-red/editor-client/src/images/start.svg b/packages/node_modules/@node-red/editor-client/src/images/start.svg new file mode 100644 index 000000000..9623be86c --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/src/images/start.svg @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/packages/node_modules/@node-red/editor-client/src/images/stop.svg b/packages/node_modules/@node-red/editor-client/src/images/stop.svg new file mode 100644 index 000000000..13b1a945a --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/src/images/stop.svg @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/packages/node_modules/@node-red/editor-client/src/js/history.js b/packages/node_modules/@node-red/editor-client/src/js/history.js index f900276a0..b23071239 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/history.js +++ b/packages/node_modules/@node-red/editor-client/src/js/history.js @@ -22,6 +22,14 @@ RED.history = (function() { var undoHistory = []; var redoHistory = []; + function nodeOrJunction(id) { + var node = RED.nodes.node(id); + if (node) { + return node; + } + return RED.nodes.junction(id); + } + function undoEvent(ev) { var i; var len; @@ -514,6 +522,7 @@ RED.history = (function() { var z = ev.activeWorkspace; var fullNodeList = RED.nodes.filterNodes({z:ev.subflow.subflow.id}); fullNodeList = fullNodeList.concat(RED.nodes.groups(ev.subflow.subflow.id)) + fullNodeList = fullNodeList.concat(RED.nodes.junctions(ev.subflow.subflow.id)) fullNodeList.forEach(function(n) { n.x += ev.subflow.offsetX; n.y += ev.subflow.offsetY; @@ -523,7 +532,7 @@ RED.history = (function() { }); inverseEv.subflows = []; for (i=0;iFirst, as you've already found, we now have this tour of new features. We'll only show the tour the first time you open the editor for each new version of Node-RED.
" + + "You can choose not to see this tour in the future by disabling it under the View tab of User Settings.
", + "ja": "最初に、既に見つけている様に、新機能の本ツアーがあります。本ツアーは、新バージョンのNode-REDフローエディタを初めて開いた時のみ表示されます。
" + + "ユーザ設定の表示タブの中で、この機能を無効化することで、本ツアーを表示しないようにすることもできます。
" + } + }, + { + title: { + "en-US": "New Edit menu", + "ja": "新しい編集メニュー" + }, + prepare() { + $("#red-ui-header-button-sidemenu").trigger("click"); + $("#menu-item-edit-menu").parent().addClass("open"); + }, + complete() { + $("#menu-item-edit-menu").parent().removeClass("open"); + }, + element: "#menu-item-edit-menu-submenu", + interactive: false, + direction: "left", + description: { + "en-US": "The main menu has been updated with a new 'Edit' section. This includes all of the familar options, like cut/paste and undo/redo.
" + + "The menu now displays keyboard shortcuts for the options.
", + "ja": "メインメニューに「編集」セクションが追加されました。本セクションには、切り取り/貼り付けや、変更操作を戻す/やり直しの様な使い慣れたオプションが含まれています。
" + + "本メニューには、オプションのためのキーボードショートカットも表示されるようになりました。
" + } + }, + { + title: { + "en-US": "Arranging nodes", + "ja": "ノードの配置" + }, + prepare() { + $("#red-ui-header-button-sidemenu").trigger("click"); + $("#menu-item-arrange-menu").parent().addClass("open"); + }, + complete() { + $("#menu-item-arrange-menu").parent().removeClass("open"); + }, + element: "#menu-item-arrange-menu-submenu", + interactive: false, + direction: "left", + description: { + "en-US": "The new 'Arrange' section of the menu provides new options to help arrange your nodes. You can align them to a common edge, spread them out evenly or change their order.
", + "ja": "メニューの新しい「配置」セクションには、ノードの配置を助ける新しいオプションが提供されています。ノードの端を揃えたり、均等に配置したり、表示順序を変更したりできます。
" + } + }, + { + title: { + "en-US": "Hiding tabs", + "ja": "タブの非表示" + }, + element: "#red-ui-workspace-tabs > li.active", + description: { + "en-US": 'Tabs can now be hidden by clicking their icon.
The Info Sidebar will still list all of your tabs, and tell you which ones are currently hidden.', + "ja": '
アイコンをクリックすることで、タブを非表示にできます。
情報サイドバーには、全てのタブが一覧表示されており、現在非表示になっているタブを確認できます。' + }, + interactive: false, + prepare() { + $("#red-ui-workspace-tabs > li.active .red-ui-tab-close").css("display","block"); + }, + complete() { + $("#red-ui-workspace-tabs > li.active .red-ui-tab-close").css("display",""); + } + }, + { + title: { + "en-US": "Tab menu", + "ja": "タブメニュー" + }, + element: "#red-ui-workspace-tabs-menu", + description: { + "en-US": "
The new tab menu also provides lots of new options for your tabs.
", + "ja": "新しいタブメニューには、タブに関する沢山の新しいオプションが提供されています。
" + }, + interactive: false, + direction: "left", + prepare() { + $("#red-ui-workspace > .red-ui-tabs > .red-ui-tabs-menu a").trigger("click"); + }, + complete() { + $(document).trigger("click"); + } + }, + { + title: { + "en-US": "Flow and Group level environment variables", + "ja": "フローとグループの環境変数" + }, + element: "#red-ui-workspace-tabs > li.active", + interactive: false, + description: { + "en-US": "Flows and Groups can now have their own environment variables that can be referenced by nodes inside them.
", + "ja": "フローとグループには、内部のノードから参照できる環境変数を設定できるようになりました。
" + } + }, + { + prepare(done) { + RED.editor.editFlow(RED.nodes.workspace(RED.workspaces.active()),"editor-tab-envProperties"); + setTimeout(done,700); + }, + element: "#red-ui-tab-editor-tab-envProperties-link-button", + description: { + "en-US": "Their edit dialogs have a new Environment Variables section.
", + "ja": "編集ダイアログに環境変数セクションが追加されました。
" + } + }, + { + element: ".node-input-env-container-row", + direction: "left", + description: { + "en-US": 'The environment variables are listed in this table and new ones can be added by clicking the button.
', + "ja": 'この表に環境変数が一覧表示されており、ボタンをクリックすることで新しい変数を追加できます。
' + }, + complete(done) { + $("#node-dialog-cancel").trigger("click"); + setTimeout(done,500); + } + }, + { + title: { + "en-US": "Link Call node added", + "ja": "Link Callノードを追加" + }, + prepare(done) { + this.paletteWasClosed = $("#red-ui-main-container").hasClass("red-ui-palette-closed"); + RED.actions.invoke("core:toggle-palette",true) + $('[data-palette-type="link call"]')[0].scrollIntoView({block:"center"}) + setTimeout(done,100); + }, + element: '[data-palette-type="link call"]', + direction: "right", + description: { + "en-US": "The Link Call
node lets you call another flow that begins with a Link In
node and get the result back when the message reaches a Link Out
node.
Link Call
ノードを用いることで、Link In
ノードから始まるフローを呼び出し、Link Out
ノードに到達した時に、結果を取得できます。
The MQTT
nodes now support creating their connections and subscriptions dynamically.
MQTT
ノードは、動的な接続や購読ができるようになりました。
The file nodes have been renamed to make it clearer which node does what.
", + "ja": "fileノードの名前が変更され、どのノードが何を行うかが明確になりました。
" + } + }, + { + title: { + "en-US": "Deep copy option on Change node", + "ja": "Changeノードのディープコピーオプション" + }, + prepare(done) { + var def = RED.nodes.getType('change'); + RED.editor.edit({id:"test",type:"change",rules:[{t:"set",p:"payload",pt:"msg", tot:"msg",to:"anotherProperty"}],_def:def, _:def._}); + setTimeout(done,700); + }, + complete(done) { + $("#node-dialog-cancel").trigger("click"); + setTimeout(done,500); + }, + element: function() { + return $(".node-input-rule-property-deepCopy").next(); + }, + description: { + "en-US": "The Set rule has a new option to create a deep copy of the value. This ensures a complete copy is made, rather than using a reference.
", + "ja": "値を代入に、値のディープコピーを作成するオプションが追加されました。これによって参照ではなく、完全なコピーが作成されます。
" + } + }, + { + title: { + "en-US": "And that's not all...", + "ja": "これが全てではありません..." + }, + description: { + "en-US": "There are many more smaller changes, including:
msg
TypedInput.msg.resetTimeout
in the Join
node.Delay
node's rate limiting mode.Delay
node for rate limited messages.以下の様な小さな変更が沢山あります:
msg
TypedInputの自動補完提案Join
ノードでmsg.resetTimeout
のサポートDelay
ノードの流量制御モードにおいて先頭メッセージをキューに追加Delay
ノードで流量制限されたメッセージ向けの任意の2つ目の出力The Search dialog now keeps a history of your searches, making it easier to go back to a previous search.
", + "ja": "検索ダイアログが検索履歴を保持するようになりました。これによって、過去の検索に戻りやすくなりました。
" + }, + element: "#red-ui-search .red-ui-searchBox-form", + prepare(done) { + RED.search.show(); + setTimeout(done,400); + }, + complete() { + RED.search.hide(); + }, + }, + { + title: { + "en-US": "Remembering Zoom & Position", + "ja": "拡大/縮小のレベルや位置を記憶" + }, + description: { + "en-US": "The editor has new options to restore the zoom level and scroll position when reloading the editor.
", + "ja": "エディタを再読み込みした時に、拡大/縮小のレベルやスクロール位置を復元するための新しいオプションを利用できます。
" + }, + element: function() { return $("#user-settings-view-store-position").parent()}, + prepare(done) { + RED.actions.invoke("core:show-user-settings") + setTimeout(done,400); + }, + complete(done) { + $("#node-dialog-ok").trigger("click"); + setTimeout(done,400); + }, + }, + { + title: { + "en-US": "New wiring actions", + "ja": "新しいワイヤー操作" + }, + // image: "images/", + description: { + "en-US": `A pair of new actions have been added to help with wiring nodes together:
+Wire Series Of Nodes
- adds a wire (if necessary) between each pair of nodes in the order they were selected.Wire Node To Multiple
- wires the first node selected to all of the other selected nodes.Actions can be accessed from the Action List in the main menu.
`, + "ja": `ノード接続を支援する2つの新しい操作が追加されました:
+Wire Series Of Nodes
- ノードを選択した順序で、各ノードのペアの間にワイヤーを(必要に応じて)追加します。Wire Node To Multiple
- 最初に選択したノードから、他の選択した全てのノードに対して、ワイヤーを追加します。メインメニュー内の動作一覧から、これらの操作を利用できます。
` + }, + }, + { + title: { + "en-US": "Deleting nodes and reconnecting wires", + "ja": "ノードの削除とワイヤーの再接続" + }, + image: "2.2/images/delete-repair.gif", + description: { + "en-US": `It is now possible to delete a selection of nodes and automatically repair the wiring behind them.
+This is really useful if you want to remove a node from the middle of the flow.
+Hold the Ctrl (or Cmd) key when you press Delete and the nodes will be gone and the wires repaired.
+ `, + "ja": `選択したノードを削除した後、その背後にあるワイヤーを自動的に修復できるようになりました。
+これは、フローの中からノードを削除する時に、とても便利に使えます。
+Ctrl (またはCmd)キーを押しながらDeleteキーを押すと、ノードがなくなり、ワイヤーが修復されます。
+ ` + } + }, + { + title: { + "en-US": "Detaching nodes from a flow", + "ja": "フローからノードの切り離し" + }, + image: "2.2/images/detach-repair.gif", + description: { + "en-US": `If you want to remove a node from a flow without deleting it,
+ you can use the Detach Selected Nodes
action.
The nodes will be removed from their flow, the wiring repaired behind them, and then attached to the mouse + so you can drop them wherever you want in the workspace.
+There isn't a default keyboard shortcut assigned for this new action, but + you can add your own via the Keyboard pane of the main Settings dialog.
`, + "ja": `ノードを削除することなく、フローからノードを除きたい場合は、Detach Selected Nodes
操作を利用できます。
フローからノードが除かれた後、背後のワイヤーが修復され、ノードはマウスポインタにつながります。そのため、ワークスペースの好きな所にノードを配置できます。
+この新しい操作に対して、デフォルトのキーボードショートカットは登録されていませんが、メイン設定ダイアログのキーボード設定から追加できます。
` + } + }, + { + title: { + "en-US": "More wiring tricks", + "ja": "その他のワイヤー操作" + }, + image: "2.2/images/slice.gif", + description: { + "en-US": `A couple more wiring tricks to share.
+You can now select multiple wires by holding the Ctrl (or Cmd) key + when clicking on a wire. This makes it easier to delete multiple wires in one go.
+If you hold the Ctrl (or Cmd) key, then click and drag with the right-hand mouse button, + you can slice through wires to remove them.
`, + "ja": `その他のいくつかのワイヤー操作
+Ctrl (またはCmd)キーを押しながらワイヤーをクリックすることで、複数のワイヤーを選択できるようになりました。これによって、複数のワイヤーを一度に削除することが簡単になりました。
+Ctrl (またはCmd)キーを押しながら、マウスの右ボタンを用いてドラッグすると、ワイヤーを切って削除できます。
` + } + }, + { + title: { + "en-US": "Subflow Output Labels", + "ja": "サブフローの出力ラベル" + }, + image: "2.2/images/subflow-labels.png", + description: { + "en-US": "If a subflow has labels set for its outputs, they now get shown on the ports within the subflow template view.
", + "ja": "サブフローの出力にラベルが設定されている場合、サブフローテンプレート画面内のポートにラベルが表示されるようになりました。
" + }, + }, + { + title: { + "en-US": "Node Updates", + "ja": "ノードの更新" + }, + // image: "images/", + description: { + "en-US": `This is the first Beta release of Node-RED 3.0. It contains just about everything we have planned for the final release.
Let's take a moment to discover the new features in this release.
", - "ja": "本リリースの新機能を見つけてみましょう。" + "en-US": "Let's take a moment to discover the new features in this release.
", + "ja": "本リリースの新機能を見つけてみましょう。
" + } + }, + { + title: { + "en-US": "Context Menu", + "ja": "コンテキストメニュー" + }, + image: 'images/context-menu.png', + description: { + "en-US": `The editor now has its own context menu when you + right-click in the workspace.
+This makes many of the built-in actions much easier + to access.
`, + "ja": `ワークスペースで右クリックすると、エディタに独自のコンテキストメニューが表示されるようになりました。
+これによって多くの組み込み動作を、より簡単に利用できます。
` } }, { title: { "en-US": "Wire Junctions", - // "ja": "" + "ja": "分岐点をワイヤーに追加" }, image: 'images/junction-slice.gif', description: { - "en-US": `To make it easier to route wires around your flows, it is now possible to - add junction nodes that give you more control.
-Junctions can be added to wires by holding the Shift key, then click and drag with - the right-hand mouse button across the wires.
`, - // "ja": "" + "en-US": `To make it easier to route wires around your flows, + it is now possible to add junction nodes that give + you more control.
+Junctions can be added to wires by holding both the Alt key and the Shift key + then click and drag the mouse across the wires.
`, + "ja": `フローのワイヤーの経路をより制御しやすくするために、分岐点ノードを追加できるようになりました。
+Altキーとシフトキーを押しながらマウスをクリックし、ワイヤーを横切るようにドラッグすることで、分岐点を追加できます。
` }, }, { title: { "en-US": "Wire Junctions", - // "ja": "" + "ja": "分岐点をワイヤーに追加" }, image: 'images/junction-quick-add.png', description: { "en-US": `Junctions can also be added using the quick-add dialog.
The dialog is opened by holding the Ctrl (or Cmd) key when clicking in the workspace.
`, - // "ja": "" + "ja": `クイック追加ダイアログを用いて、分岐点を追加することもできます。
+本ダイアログを開くには、Ctrl(またはCmd)キーを押しながら、ワークスペース上でクリックします。
` }, }, { title: { "en-US": "Debug Path Tooltip", - // "ja": "" + "ja": "デバッグパスのツールチップ" }, image: 'images/debug-path-tooltip.png', description: { @@ -53,20 +71,22 @@ export default { the message.Clicking on any item in the list will reveal it in the workspace.
`, - // "ja": "" + "ja": `デバックサイドバー内のノード名の上にマウスカーソルを乗せると、新たにツールチップが表示され、ノードの場所が分かるようになっています。
+これは、サブフローを用いる時に役立つ機能であり、メッセージがどのノードから出力されたかを正確に特定することが遥かに簡単になります。
+本リスト内の要素をクリックすると、ワークスペース内にその要素が表示されます。
` }, }, { title: { "en-US": "Continuous Search", - // "ja": "" + "ja": "連続した検索" }, image: 'images/continuous-search.png', description: { "en-US": `When searching for things in the editor, a new toolbar in the workspace provides options to quickly jump between the search results.
`, - // "ja": "" + "ja": `ワークスペース内の新しいツールバーにあるオプションによって、エディタ内を検索する際に、検索結果の間を素早く移動できます。
` }, }, { @@ -81,13 +101,17 @@ export default {Split Wire With Link Nodes
Actions can be accessed from the Action List in the main menu.
`, - // "ja": `` + "ja": `ワイヤーを、接続されたLinkノードのペアに置き換える動作が新たに追加されました:
+ワイヤーをlinkノードで分割
本アクションは、メインメニュー内の動作一覧から呼び出せます。
`, }, }, { title: { "en-US": "Default node names", - // "ja": "" + "ja": "標準ノードの名前" }, // image: "images/", description: { @@ -100,7 +124,12 @@ export default {Generate Node Names
Actions can be accessed from the Action List in the main menu.
`, - // "ja": `` + "ja": `一部のノードは、ワークスペース上に新インスタンスとして追加した際に、一意の名前を付けるよう変更されました。この変更は、Debug
、Function
、Link
ノードに適用されています。
選択したノードに対して、標準の名前を生成する動作も新たに追加されました:
+ノード名を生成
本アクションは、メインメニュー内の動作一覧から呼び出せます。
+ ` } }, { @@ -115,7 +144,11 @@ export default {If no response is received within the configured timeout, default 30 seconds, the node
will log an error that can be caught using the catch
node.
When the option Link Type is set to "Dynamic target" msg.target
can be used to call a
- link in
by name. The target link in
node must be named.
+ link in
by name or id.
link in
nodes with the same name, an error will be raisedlink in
nodes with the same id, it will be calledlink in
nodes with the same name, an error will be raisedlink call
cannot call a link in
node inside a subflowmsg.payload
based on type:",
- "object":"Object",
- "objectSend":"Send a message for each key/value pair",
- "strBuff":"String / Buffer",
- "array":"Array",
- "splitUsing":"Split using",
- "splitLength":"Fixed length of",
- "stream":"Handle as a stream of messages",
- "addname":" Copy key to "
+ "intro": "Split msg.payload
based on type:",
+ "object": "Object",
+ "objectSend": "Send a message for each key/value pair",
+ "strBuff": "String / Buffer",
+ "array": "Array",
+ "splitUsing": "Split using",
+ "splitLength": "Fixed length of",
+ "stream": "Handle as a stream of messages",
+ "addname": " Copy key to "
},
"join": {
"join": "join",
@@ -1027,7 +1029,7 @@
"complete": "After a message with the msg.complete
property set",
"tip": "This mode assumes this node is either paired with a split node or the received messages will have a properly configured msg.parts
property.",
"too-many": "too many pending messages in join node",
- "message-prop": "message property",
+ "message-prop": "message property",
"merge": {
"topics-label": "Merged Topics",
"topics": "topics",
@@ -1046,51 +1048,51 @@
"invalid-type": "Cannot join __error__ to buffer"
}
},
- "sort" : {
+ "sort": {
"sort": "sort",
- "target" : "Sort",
- "seq" : "message sequence",
- "key" : "Key",
- "elem" : "element value",
- "order" : "Order",
- "ascending" : "ascending",
- "descending" : "descending",
- "as-number" : "as number",
- "invalid-exp" : "Invalid JSONata expression in sort node: __message__",
- "too-many" : "Too many pending messages in sort node",
- "clear" : "clear pending message in sort node"
+ "target": "Sort",
+ "seq": "message sequence",
+ "key": "Key",
+ "elem": "element value",
+ "order": "Order",
+ "ascending": "ascending",
+ "descending": "descending",
+ "as-number": "as number",
+ "invalid-exp": "Invalid JSONata expression in sort node: __message__",
+ "too-many": "Too many pending messages in sort node",
+ "clear": "clear pending message in sort node"
},
- "batch" : {
+ "batch": {
"batch": "batch",
"mode": {
- "label" : "Mode",
- "num-msgs" : "Group by number of messages",
- "interval" : "Group by time interval",
- "concat" : "Concatenate sequences"
+ "label": "Mode",
+ "num-msgs": "Group by number of messages",
+ "interval": "Group by time interval",
+ "concat": "Concatenate sequences"
},
"count": {
- "label" : "Number of messages",
- "overlap" : "Overlap",
- "count" : "count",
- "invalid" : "Invalid count and overlap"
+ "label": "Number of messages",
+ "overlap": "Overlap",
+ "count": "count",
+ "invalid": "Invalid count and overlap"
},
"interval": {
- "label" : "Interval",
- "seconds" : "seconds",
- "empty" : "send empty message when no message arrives"
+ "label": "Interval",
+ "seconds": "seconds",
+ "empty": "send empty message when no message arrives"
},
"concat": {
"topics-label": "Topics",
- "topic" : "topic"
+ "topic": "topic"
},
- "too-many" : "too many pending messages in batch node",
- "unexpected" : "unexpected mode",
- "no-parts" : "no parts property in message",
- "error": {
- "invalid-count": "Invalid count",
- "invalid-overlap": "Invalid overlap",
- "invalid-interval": "Invalid interval"
- }
+ "too-many": "too many pending messages in batch node",
+ "unexpected": "unexpected mode",
+ "no-parts": "no parts property in message",
+ "error": {
+ "invalid-count": "Invalid count",
+ "invalid-overlap": "Invalid overlap",
+ "invalid-interval": "Invalid interval"
+ }
},
"rbe": {
"rbe": "filter",
@@ -1100,11 +1102,11 @@
"start": "Start value",
"name": "Name",
"septopics": "Apply mode separately for each ",
- "gap": "value change",
- "property": "property",
- "topic": "topic"
+ "gap": "value change",
+ "property": "property",
+ "topic": "topic"
},
- "placeholder":{
+ "placeholder": {
"bandgap": "e.g. 10 or 5%",
"start": "leave blank to use first data received"
},
diff --git a/packages/node_modules/@node-red/nodes/locales/ja/common/60-link.html b/packages/node_modules/@node-red/nodes/locales/ja/common/60-link.html
index 260e96a2b..db8851641 100644
--- a/packages/node_modules/@node-red/nodes/locales/ja/common/60-link.html
+++ b/packages/node_modules/@node-red/nodes/locales/ja/common/60-link.html
@@ -42,9 +42,10 @@
本ノードはメッセージを受信すると、メッセージを接続した link in
ノードへ渡します。
その後、応答を待った後にメッセージを送信します。
もし、設定したタイムアウト(デフォルト30秒)以内に応答がない場合は、catch
ノードを用いてエラーをログに記録することもできます。
リンクの種類で"対象を動的に指定"を選択した場合、link in
ノードの名前をmsg.target
に指定して呼び出すことができます。対象となるlink in
ノードには、名前を付ける必要があります。
+
リンクの種類で"対象を動的に指定"を選択した場合、link in
ノードのIDもしくは名前をmsg.target
に指定して呼び出すことができます。
link in
ノードが2つある場合、エラーが発生します。link in
ノードがある場合、それを呼び出します。link in
ノードが2つ以上ある場合、エラーが発生します。link call
は、サブフローの中のlink in
ノードを呼び出すことはできません。返却/sendの対象は次のとおりです:
注: 初期化処理の実行はノードの初期化中に行われます。そのため、初期化処理タブにsendを記述した場合に後続ノードでメッセージを受け取れないことがあります。
配列要素が配列の場合には、複数のメッセージを対応する出力に送出します。
diff --git a/packages/node_modules/@node-red/nodes/locales/ja/messages.json b/packages/node_modules/@node-red/nodes/locales/ja/messages.json index 79d13a01c..6e16daa6f 100644 --- a/packages/node_modules/@node-red/nodes/locales/ja/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/ja/messages.json @@ -86,10 +86,10 @@ "failed": "inject処理が失敗しました。詳細はログを確認してください。", "toolong": "時間間隔が大き過ぎます", "invalid-expr": "JSONata式が不正: __error__", - "invalid-jsonata": "__prop__: プロパティ式が不正: __error__", - "invalid-prop": "__prop__: プロパティ式が不正: __error__", - "invalid-json": "__prop__: JSONデータが不正: __error__", - "invalid-repeat": "繰り返し数が不正" + "invalid-jsonata": "__prop__: プロパティ式が不正: __error__", + "invalid-prop": "__prop__: プロパティ式が不正: __error__", + "invalid-json": "__prop__: JSONデータが不正: __error__", + "invalid-repeat": "繰り返し数が不正" } }, "catch": { @@ -129,6 +129,7 @@ "msgprop": "メッセージプロパティ", "msgobj": "msgオブジェクト全体", "autostatus": "デバッグ出力と同じ", + "messageCount": "メッセージ数をカウント", "to": "出力先", "debtab": "デバッグタブ", "tabcon": "デバッグタブとコンソール", @@ -136,6 +137,7 @@ "toConsole": "システムコンソール", "toStatus": "ノードステータス(32 文字)", "severity": "Level", + "node": "ノード", "notification": { "activated": "有効化しました: __label__", "deactivated": "無効化しました: __label__" @@ -206,8 +208,8 @@ }, "error": { "missing-file": "証明書と秘密鍵のファイルが設定されていません", - "invalid-cert": "証明書が指定されていません", - "invalid-key": "秘密鍵が指定されていません" + "invalid-cert": "証明書が指定されていません", + "invalid-key": "秘密鍵が指定されていません" } }, "exec": { @@ -263,8 +265,8 @@ "moduleNameReserved": "予約された変数名です: __name__", "inputListener": "コード内で'input'イベントのリスナを設定できません", "non-message-returned": "Functionノードが __type__ 型のメッセージ送信を試みました", - "invalid-js": "JavaScriptコードのエラー", - "missing-module": "モジュール __module__ が存在しません" + "invalid-js": "JavaScriptコードのエラー", + "missing-module": "モジュール __module__ が存在しません" } }, "template": { @@ -318,9 +320,9 @@ "limit": "limit", "limitTopic": "limit topic", "random": "random", - "rate": "流量", - "random-first": "ランダム最小値", - "random-last": "ランダム最大値", + "rate": "流量", + "random-first": "ランダム最小値", + "random-last": "ランダム最大値", "units": { "second": { "plural": "秒", @@ -342,11 +344,11 @@ }, "errors": { "too-many": "delayノード内で保持しているメッセージが多すぎます", - "invalid-timeout": "遅延時間が不正", - "invalid-rate": "流量値が不正", - "invalid-rate-unit": "流量単位時間が不正", - "invalid-random-first": "ランダム最小値が不正", - "invalid-random-last": "ランダム最大値が不正" + "invalid-timeout": "遅延時間が不正", + "invalid-rate": "流量値が不正", + "invalid-rate-unit": "流量単位時間が不正", + "invalid-random-first": "ランダム最小値が不正", + "invalid-random-last": "ランダム最大値が不正" } }, "trigger": { @@ -384,8 +386,8 @@ "resetMessage": "msg.resetを設定", "resetPayload": "msg.payloadが次の値", "resetprompt": "任意", - "duration": "時間間隔", - "topic": "トピック" + "duration": "時間間隔", + "topic": "トピック" } }, "comment": { @@ -443,7 +445,8 @@ "action": "動作", "staticTopic": "1つのトピックを購読", "dynamicTopic": "動的な購読", - "auto-connect": "自動接続" + "auto-connect": "自動接続", + "auto-mode-depreciated": "本オプションは非推奨になりました。新しい自動判定モードを使用してください。" }, "sections-label": { "birth-message": "接続時の送信メッセージ(Birthメッセージ)", @@ -490,7 +493,7 @@ "invalid-action-action": "指定された動作が不正です", "invalid-action-alreadyconnected": "接続する前にブローカから切断してください", "invalid-action-badsubscription": "msg.topicが存在しないか不正です", - "invalid-client-id": "クライアントIDが未指定" + "invalid-client-id": "クライアントIDが未指定" } }, "httpin": { @@ -581,8 +584,8 @@ "send-error": "送信中にエラーが発生しました: ", "missing-conf": "サーバ設定が不足しています", "duplicate-path": "同じパスに対して2つのWebSocketリスナは指定できません: __path__", - "missing-server": "サーバが設定されていません", - "missing-client": "クライアントが設定されていません" + "missing-server": "サーバが設定されていません", + "missing-client": "クライアントが設定されていません" } }, "watch": { @@ -611,7 +614,8 @@ "ms": "ミリ秒", "chars": "文字", "close": "終了", - "optional": "(任意)" + "optional": "(任意)", + "reattach": "区切り文字を再追加" }, "type": { "listen": "待ち受け", @@ -652,8 +656,8 @@ "connect-timeout": "接続がタイムアウトしました", "connect-fail": "接続に失敗しました", "bad-string": "文字列への変換に失敗しました", - "invalid-host": "ホスト名が不正", - "invalid-port": "ポートが不正" + "invalid-host": "ホスト名が不正", + "invalid-port": "ポートが不正" } }, "udp": { @@ -668,7 +672,7 @@ "toport": "ポート", "address": "アドレス", "decode-base64": "Base64形式のペイロードを復号", - "port": "ポート" + "port": "ポート" }, "placeholder": { "interface": "(任意) 使用するローカルインターフェイスもしくはアドレス", @@ -716,7 +720,7 @@ "port-invalid": "udp: ポート番号が不正です", "alreadyused": "udp: 既に__port__番ポートが使用されています", "ifnotfound": "udp: インターフェイス __iface__ がありません", - "invalid-group": "マルチキャストグループが不正" + "invalid-group": "マルチキャストグループが不正" } }, "switch": { @@ -724,7 +728,9 @@ "label": { "property": "プロパティ", "rule": "条件", - "repair": "メッセージ列の補正" + "repair": "メッセージ列の補正", + "value-rules": "値ルール", + "sequence-rules": "列ルール" }, "previous": "前回の値", "and": "~", @@ -732,22 +738,22 @@ "stopfirst": "最初に合致した条件で終了", "ignorecase": "大文字、小文字を区別しない", "rules": { - "btwn": "is between", - "cont": "contains", - "regex": "matches regex", - "true": "is true", - "false": "is false", - "null": "is null", - "nnull": "is not null", - "istype": "is of type", - "empty": "is empty", - "nempty": "is not empty", - "head": "head", - "tail": "tail", - "index": "index between", + "btwn": "範囲内である", + "cont": "要素に含む", + "regex": "正規表現にマッチ", + "true": "trueである", + "false": "falseである", + "null": "nullである", + "nnull": "nullでない", + "istype": "指定型である", + "empty": "空である", + "nempty": "空でない", + "head": "先頭要素である", + "tail": "末尾要素である", + "index": "指定添字範囲要素である", "exp": "JSONata式", "else": "その他", - "hask": "has key" + "hask": "キーを含む" }, "errors": { "invalid-expr": "不正な表現: __error__", @@ -781,8 +787,8 @@ "invalid-json": "対象の値のJSONプロパティが不正", "invalid-expr": "JSONata式が不正: __error__", "no-override": "オブジェクト型でないプロパティを設定できません: __property__", - "invalid-prop": "プロパティ式が不正: __property__", - "invalid-json-data": "JSONデータが不正: __error__" + "invalid-prop": "プロパティ式が不正: __property__", + "invalid-json-data": "JSONデータが不正: __error__" } }, "range": { @@ -794,10 +800,10 @@ "from": "最小値", "to": "最大値", "roundresult": "小数値を四捨五入し整数値へ変換", - "minin": "入力最小値", - "maxin": "入力最大値", - "minout": "出力最小値", - "maxout": "出力最大値" + "minin": "入力最小値", + "maxin": "入力最大値", + "minout": "出力最小値", + "maxout": "出力最大値" }, "placeholder": { "min": "例) 0", @@ -922,6 +928,7 @@ "write": "write file", "read": "read file", "filename": "ファイル名", + "path": "パス", "action": "動作", "addnewline": "メッセージの入力のたびに改行を追加", "createdir": "ディレクトリが存在しない場合は作成", @@ -1022,8 +1029,8 @@ "complete": "msg.complete
プロパティが設定されたメッセージ受信後",
"tip": "このモードでは、本ノードが split ノードと組となるか、 msg.parts
プロパティが設定されたメッセージを受け取ることが前提となります。",
"too-many": "joinノード内部で保持しているメッセージが多すぎます",
- "message-prop": "メッセージプロパティ",
- "merge": {
+ "message-prop": "メッセージプロパティ",
+ "merge": {
"topics-label": "対象トピック",
"topics": "トピック",
"topic": "トピック",
@@ -1081,11 +1088,11 @@
"too-many": "batchノード内で保持しているメッセージが多すぎます",
"unexpected": "想定外のモード",
"no-parts": "メッセージにpartsプロパティがありません",
- "error": {
- "invalid-count": "メッセージ数が不正",
- "invalid-overlap": "オーバラップが不正",
- "invalid-interval": "時間間隔が不正"
- }
+ "error": {
+ "invalid-count": "メッセージ数が不正",
+ "invalid-overlap": "オーバラップが不正",
+ "invalid-interval": "時間間隔が不正"
+ }
},
"rbe": {
"rbe": "filter",
@@ -1095,9 +1102,9 @@
"start": "初期値",
"name": "名前",
"septopics": "個別に動作を適用",
- "gap": "変化量",
- "property": "プロパティ",
- "topic": "トピック"
+ "gap": "変化量",
+ "property": "プロパティ",
+ "topic": "トピック"
},
"placeholder": {
"bandgap": "例:10、5%",
diff --git a/packages/node_modules/@node-red/nodes/locales/ja/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/locales/ja/network/10-mqtt.html
index 1b43ea097..435829e1e 100644
--- a/packages/node_modules/@node-red/nodes/locales/ja/network/10-mqtt.html
+++ b/packages/node_modules/@node-red/nodes/locales/ja/network/10-mqtt.html
@@ -89,7 +89,7 @@
GET
, PUT
, POST
, PATCH
, DELETE
のいずれかを指定してください。msg.headers
のヘッダは、ノード設定のヘッダで上書きされます。