Commit Graph

4905 Commits (master)

Author SHA1 Message Date
Steve-Mcl f58766eacf typo 2024-05-26 13:15:23 +01:00
Steve-Mcl 8e62b2a749 update monaco to latest 2024-05-26 13:15:10 +01:00
Rotzbua 9b86874c2d
chore: migrate deprecated `util.isArray`
Deprecated: Use Array.isArray() instead.

Source: https://nodejs.org/docs/latest-v18.x/api/util.html#utilisarrayobject
2024-05-25 22:55:09 +02:00
Nick O'Leary 805ed593fb
Apply httpAdminCookieOptions to session cookie 2024-05-23 17:01:48 +01:00
Nick O'Leary c604ac2207
Allow session cookie options to be customised
Closes #4717
2024-05-23 16:56:43 +01:00
corentin-sodebo-voile fac79fd068
Fix panning with middle mouse button on windows 10/11
Without preventDefault, when you try to drag the canvas with middle mouse button on Windows (e.g. in Chrome), the cursor change to a "scroll cursor" and the canvas scrolls endlessly instead of being dragged accurately.
2024-05-23 15:30:13 +02:00
Nick O'Leary da97c5d558
Merge pull request #4715 from GogoVega/fix-validateNodeEditorProperty
Fix a checkbox should return a Boolean value and not the string `on`
2024-05-23 13:43:55 +01:00
Nick O'Leary ae7b9fe62e
Merge pull request #4714 from GogoVega/fix-4712
Deleting a grouped node should update the group
2024-05-23 13:43:26 +01:00
GogoVega e52c2911da
Fix a checkbox must return a boolean value and not `on` 2024-05-23 10:57:51 +02:00
GogoVega ca37d1ec9d
Merge branch 'dev' into tooltip-input-validation 2024-05-22 18:19:06 +02:00
Nick O'Leary 07a29ff779
Merge pull request #4711 from GogoVega/change-config-node-cursor
Change the Config Node cursor to `pointer`
2024-05-22 17:02:05 +01:00
Nick O'Leary 1b4a8ebe83
Merge branch 'master' into fix-4712 2024-05-22 17:01:29 +01:00
GogoVega abf2eacf18
Revert and fix without using `RED.group.removeFromGroup` 2024-05-21 19:48:21 +02:00
Gauthier Dandele f808f4e2e8
Apply suggestions from code review
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-05-21 19:01:57 +02:00
Nick O'Leary ca33d6b799
Merge pull request #4713 from GogoVega/add-missing-sidebar-tooltips
Add missing tooltips to Sidebar
2024-05-21 17:15:52 +01:00
Nick O'Leary 3fd2d07c75
Merge pull request #4706 from node-red/4648-readonly-feedback
Show lock on deploy if user is read-only
2024-05-21 17:14:48 +01:00
GogoVega 51208fcd0c
Fix indexOf returns -1 2024-05-21 16:06:15 +02:00
GogoVega 707152d82f
Deleting a grouped node should update the group 2024-05-21 15:07:26 +02:00
GogoVega 5538f6dd8a
Add missing tooltips to Sidebar 2024-05-21 12:58:29 +02:00
GogoVega d601e2caa4
Change the config node cursor to pointer 2024-05-21 11:37:01 +02:00
Nick O'Leary 46fdf56c79
Allow nodes to return additional history entries in onEditSave 2024-05-20 16:41:44 +01:00
Nick O'Leary 6600910163
Add os details to --version output 2024-05-17 17:16:01 +01:00
Nick O'Leary a6973bd7ed
Add node.js version to --version output 2024-05-17 17:13:50 +01:00
Nick O'Leary d58127730f
Add --version cli arg 2024-05-17 17:10:37 +01:00
Nick O'Leary 5494c167fc
Show lock on deploy if user is read-only 2024-05-17 17:04:08 +01:00
Nick O'Leary b653914ee0
Bump for beta3-1 repackage 2024-05-16 10:37:16 +01:00
Nick O'Leary c107c5fc92
Merge pull request #4698 from node-red/rel4-beta3
Update for beta.3
2024-05-15 16:58:47 +01:00
GogoVega f6c3fdc806
Add French translation of tour 2024-05-14 20:54:00 +02:00
Nick O'Leary 2c2628d816
Update changelog and tour 2024-05-14 17:44:26 +01:00
Nick O'Leary 56fe2801eb
Merge branch 'master' into dev 2024-05-14 17:27:02 +01:00
Nick O'Leary 87b1ee9642
Bump package version 2024-05-14 17:24:28 +01:00
Nick O'Leary 13ee8cec24
Merge branch 'master' into sync-dev-2 2024-05-14 17:22:42 +01:00
Nick O'Leary a977b87cb3
Merge pull request #4692 from node-red/improve-conflict-handling
Improve background-deploy notification handling
2024-05-14 16:04:58 +01:00
Nick O'Leary d520cde57a
Merge pull request #4314 from Rotzbua/remove_outdated_node_check
fix: remove outdated Node 11+ check
2024-05-14 13:54:15 +01:00
Nick O'Leary 3389c8160b
Handle group w/h properties as move rather than change 2024-05-14 13:51:52 +01:00
Nick O'Leary c214710f8e
Improve diff view display of nodes that have only moved 2024-05-14 13:35:05 +01:00
Rotzbua f3c561cd86
fix(node): increase required node >=18.5
Statement can be simplified by increasing the required minor version.
2024-05-14 12:27:38 +02:00
Nick O'Leary 4e33e785fb
Handle multiple background deploys 2024-05-14 10:27:55 +01:00
Nick O'Leary f55ee6e665
Merge pull request #4685 from node-red/4683-preserve-full-error-obj
Pass full error object in Function node and copy over cause property
2024-05-13 15:25:02 +01:00
Nick O'Leary edc5e88d5a
Merge pull request #4689 from Rotzbua/fix_workaroud_dns
fix(dns): remove outdated node check
2024-05-13 14:41:35 +01:00
Nick O'Leary 47bf166a6e
Update packages/node_modules/node-red/lib/red.js 2024-05-13 14:41:24 +01:00
Nick O'Leary cf26209790
Merge pull request #4688 from Rotzbua/remove_import_polyfill
fix(polyfill): remove import module polyfill
2024-05-13 14:39:33 +01:00
Nick O'Leary a745ddc164
Fix linting 2024-05-13 14:33:35 +01:00
Nick O'Leary 18d0fa2259
Improve background conflict handling 2024-05-13 14:19:24 +01:00
Rotzbua d706c9cb37
fix: remove outdated Node 11+ check 2024-05-12 22:51:05 +02:00
Rotzbua 20d2450cac
fix(polyfill): remove import module polyfill
Was required for node <12.17.
2024-05-12 22:38:03 +02:00
Rotzbua 34345461f1
fix(dns): remove outdated node check
Add reference to issue for this workaround.
2024-05-12 22:25:39 +02:00
Rotzbua aa372a1707
Fix typo in source code comment 2024-05-12 18:25:08 +02:00
Nick O'Leary 66a667fe58
Pass full error object in Function node and copy over cause property
Fixes #4683
2024-05-09 16:48:51 +01:00
Nick O'Leary 1bb3a0eca5
Merge pull request #4534 from patlux/master
Replacing vm.createScript in favour of vm.Script
2024-05-09 15:19:45 +01:00
Nick O'Leary 0e0bba25c1
Merge pull request #4679 from node-red/use-rfdc
Use rfdc for cloning pure JSON values
2024-05-08 16:18:13 +01:00
Nick O'Leary b27483de9c
Avoid login loops when autoLogin enabled but login fails
Fixes #4363
2024-05-08 15:09:51 +01:00
GogoVega b02f69b77a
Add translations for 4.0.0-beta.2 2024-05-05 15:00:42 +02:00
Nick O'Leary 598b0c84ab
Merge pull request #4657 from node-red/tab-close-middle-click
Hide workspace tab on middle mouse click
2024-05-03 16:59:28 +01:00
Nick O'Leary 22cc8da088
Apply suggestions from code review 2024-05-03 16:59:17 +01:00
Nick O'Leary a70618cdef
Merge pull request #4666 from node-red/multiplayer-2
[multiplayer] Add user presence indicators
2024-05-03 16:52:50 +01:00
Nick O'Leary faf142cf66
Merge pull request #4676 from kazuhitoyokoi/dev-fixpulldependencies
Enable updating dependency node of package.json in project feature
2024-05-03 16:52:33 +01:00
Nick O'Leary 1a3cc06935
Use rfdc module for cloning when we know its pure JSON 2024-05-03 16:45:50 +01:00
Steve-Mcl 67e716466f handle middle click hide-tab in onclick handler 2024-04-29 20:14:45 +01:00
Steve-Mcl 3fae03da98 Merge branch 'dev' into tab-close-middle-click 2024-04-29 19:04:47 +01:00
Kazuhito Yokoi 361391ceb8 Load the latest project files when retrieving project information 2024-04-29 16:02:56 +09:00
Kazuhito Yokoi bf0ca38350 Enable updating dependencies of package.json in project feature 2024-04-29 02:12:08 +09:00
Kazuhito Yokoi 437c28e2b8 Fix typos in welcome tour for 4.0.0-beta.2 2024-04-28 21:27:25 +09:00
Kazuhito Yokoi c05d18ada1 Add Japanese translations for 4.0.0-beta.2 2024-04-28 21:22:15 +09:00
Nick O'Leary 236e668201
Allow blank strings to be used for env var property substitutions
Fixes #4663
2024-04-24 22:58:11 +02:00
Nick O'Leary 211d420fb2
Merge pull request #4667 from node-red/fix-subflow-property-undo
Fix undo of subflow env property edits
2024-04-23 23:45:46 +02:00
Nick O'Leary c9b902c2b4
Merge pull request #4658 from node-red/fix-subflow-conf-type
Fix saving of conf-type properties in module packaged subflows
2024-04-23 23:45:29 +02:00
Nick O'Leary b8ca4665c1
Merge pull request #4660 from JoshuaCWebDeveloper/patch-1
Fix three error typos in monaco.js
2024-04-23 23:45:16 +02:00
Nick O'Leary 960af87fb0
Ensure subflow change state is cleared after deploy 2024-04-23 21:17:35 +02:00
Nick O'Leary de7339ae97
Fix undo of subflow env property edits 2024-04-23 20:39:14 +02:00
Nick O'Leary 595933d046
Fix linting 2024-04-23 09:40:01 +02:00
Nick O'Leary 789426f80e
Add user presence indication to tabs and nodes 2024-04-23 09:27:35 +02:00
Zeger-Jan van de Weg c2e03a40b4
docs: Add closing paragraph tag
Minor change that only improves xpath parsing.
2024-04-20 14:20:59 +02:00
Ben Hardill 148e64c3da
Update packages/node_modules/@node-red/editor-client/locales/en-US/editor.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-04-18 14:22:50 +01:00
Ben Hardill c6289ebb2c
Merge branch 'dev' into timeout-npm-install 2024-04-18 12:12:53 +01:00
Ben Hardill 5f4ece6813
Move translation 2024-04-18 11:47:49 +01:00
Ben Hardill c990ec39d6
revert DELETE change 2024-04-18 11:35:51 +01:00
Ben Hardill 1fdc600ecd
Add npm install timeout notification
part of https://github.com/node-red/node-red/issues/4622
2024-04-18 11:27:32 +01:00
Joshua Carter c855050bcf
Fix three error typos in monaco.js 2024-04-15 08:09:26 -07:00
Nick O'Leary e354d2ce29
Fix saving of conf-type properties in module packaged subflows 2024-04-12 14:08:07 +01:00
Nick O'Leary d218af8619
Merge branch 'master' into dev 2024-04-12 13:04:54 +01:00
Steve-Mcl d938e5fb6b close tab on middle mouse click 2024-04-12 11:42:55 +01:00
Nick O'Leary e39216e65a
Bump for 3.1.9 release 2024-04-11 19:15:46 +01:00
Nick O'Leary 7ac7f9b4c8
Merge pull request #4654 from node-red/fix-subflow-recursion-check
Prevent subflow being added to itself
2024-04-11 19:12:43 +01:00
Nick O'Leary c13b8266dd
Prevent subflow being added to itself 2024-04-11 17:05:10 +01:00
Nick O'Leary bd58431603
Fix use of spawn on windows with cmd files 2024-04-11 14:40:29 +01:00
Nick O'Leary 3075b82792
Add one more tour image 2024-04-05 11:18:17 +01:00
Nick O'Leary ea95552285
Bump for beta.2 2024-04-04 18:25:10 +01:00
Nick O'Leary d396f50a9a
Merge pull request #4627 from GogoVega/button-add-config-node
Separate the "add new config-node" option into a new (+) button
2024-04-04 16:11:52 +01:00
Nick O'Leary affa8ea42b
Apply suggestions from code review 2024-04-04 16:08:59 +01:00
Nick O'Leary d711b01fe5
Merge pull request #4629 from node-red/multiplayer-1
Introduce multiplayer feature
2024-04-04 15:24:29 +01:00
Nick O'Leary 6e7fa6f921
Merge branch 'dev' into button-add-config-node 2024-04-03 14:02:40 +01:00
Nick O'Leary 2dc446e45b
Merge branch 'dev' into resyn-dev 2024-04-03 13:57:10 +01:00
Nick O'Leary 884b7fa16a
Merge pull request #4643 from node-red/fix-subflow-mod-config-select
Fix handling of subflow config-node select type in sf module
2024-04-03 13:54:41 +01:00
Nick O'Leary 9a3cb0b2b5
Merge pull request #4640 from node-red/fix-subflow-init-err
Guard refresh of unknown subflow
2024-04-02 20:06:47 +01:00
Nick O'Leary 66f4008bb8
Fix handling of subflow config-node select type in sf module 2024-04-02 20:01:48 +01:00
Nick O'Leary a0636632a1
Fix subflow module sending messages to debug sidebar
Fixes #4641
2024-04-02 17:42:19 +01:00
Nick O'Leary 5dfa47ab6c
Guard refresh of unknown subflow 2024-04-02 15:54:34 +01:00
Nick O'Leary 3bd782e62a
Fix change node handling of replacing with boolean
Fixes #4638
2024-04-02 13:57:19 +01:00
Steve-Mcl 9b49cb2b50 Merge branch 'dev' into proxy-logiv-dev-v4 2024-03-31 16:49:28 +01:00
Nick O'Leary 963fe87f14
Merge pull request #4637 from node-red/tidy-up-palette-state
Ensure palette filter reapplies and clear up unknown categories
2024-03-28 15:36:05 +00:00
Nick O'Leary a6e8fbb54a
Ensure palette filter reapplies and clear up unknown categories 2024-03-28 15:21:04 +00:00
Nick O'Leary 410b938442
Bump for 3.1.8 2024-03-28 15:02:02 +00:00
Nick O'Leary ab7e9f94fa
Merge branch 'dev' into sync-dev 2024-03-28 14:56:36 +00:00
Nick O'Leary 28e9ccd372
Merge pull request #4634 from node-red/pr_4623
Retain Palette categories collapsed and filter to localStorage
2024-03-28 14:53:15 +00:00
Nick O'Leary 9a66d9addd
Merge pull request #4620 from node-red/pr_4387
Add support for plugin (only) modules to the palette manager
2024-03-28 14:35:33 +00:00
Nick O'Leary 8843bda477
Merge pull request #4628 from node-red/comms-updates
Comms API updates
2024-03-28 14:33:10 +00:00
Nick O'Leary 3278303eec
Clear localStorage state on logout 2024-03-28 14:31:31 +00:00
Nick O'Leary f5fd6e3a36
Rework palette state management 2024-03-28 14:23:39 +00:00
Gauthier Dandele a173e8e70f
Apply suggestions from code review
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-03-28 12:57:04 +01:00
Nick O'Leary 19dcc3a683
Merge pull request #4632 from node-red/4625-sf-env-err-handling
Add validation and error handling on subflow instance properties
2024-03-28 11:10:28 +00:00
Nick O'Leary 20d067c1ea
Merge pull request #4633 from node-red/4617-hide-library-context-options
Hide import/export context menu if disabled in theme
2024-03-28 11:10:14 +00:00
Nick O'Leary 9526566799
Hide import/export context menu if disabled in theme 2024-03-28 11:00:10 +00:00
Nick O'Leary 0b9dd82c91
Merge pull request #4631 from node-red/4626-subflow-change-notification
Show change indicator on subflow tabs
2024-03-27 19:10:39 +00:00
Nick O'Leary 19213434f9
Add validation to subflow instance env properties 2024-03-27 19:08:25 +00:00
Nick O'Leary 014691346a
Handle malformed env var values and log errors 2024-03-27 18:23:12 +00:00
Nick O'Leary 6a8230ec1e
Show change icon on subflow tabs
Fixes #4626
2024-03-27 18:10:04 +00:00
Nick O'Leary 5679d264b6
Bump dependencies 2024-03-27 18:00:06 +00:00
Nick O'Leary 014f206e9c
Initial multiplayer feature 2024-03-27 17:30:44 +00:00
Nick O'Leary 068b93befa
CComms API updates 2024-03-27 17:21:12 +00:00
GogoVega 65d8872cea
Separate the "add new config-node" option into a button 2024-03-27 14:59:49 +01:00
GogoVega bffd1d61b2
Improve with error handling, storage cleanup and centralization in one object 2024-03-26 16:58:45 +01:00
GogoVega 4788b81220
Replace setTimeout with a listener 2024-03-26 13:05:38 +01:00
GogoVega 9a07fc03c6
Retain palette collapse and filter to localStorage 2024-03-25 20:47:55 +01:00
GogoVega 954f518030
Add French translations for 4.0.0-beta.1 2024-03-25 12:02:38 +01:00
GogoVega 9f8ff71757
Add French translations for TCP and CSV nodes 2024-03-25 11:58:35 +01:00
GogoVega 06dd59dc81
Add missing global-config translation 2024-03-25 10:51:12 +01:00
Nick O'Leary 37265cf4ef
Merge pull request #4619 from node-red/4600-reset-workspace-index
Reset workspace index when clearing nodes
2024-03-21 17:38:39 +00:00
Nick O'Leary 2531a5283a
Include module property in plugin metadata 2024-03-21 17:04:03 +00:00
Nick O'Leary 4cc1a5d846
Merge branch 'pr_4387' of github.com:node-red/node-red into pr_4387 2024-03-21 16:56:49 +00:00
Nick O'Leary 2d3e5f4ce0
Fix linting 2024-03-21 16:43:47 +00:00
Nick O'Leary 5135545c6c
Merge branch 'dev' into pr_4387 2024-03-21 16:41:24 +00:00
Nick O'Leary fef93818c9
Ensure plugins api provides a filtered view 2024-03-21 16:37:05 +00:00
Nick O'Leary ae5e1570ae
Reset workspace index when clearing nodes
Fixes #4600
2024-03-21 11:14:34 +00:00
Nick O'Leary 50baad9624
Merge pull request #4612 from kazuhitoyokoi/dev-addjpn
Add Japanese translations for 4.0.0-beta.1
2024-03-21 11:08:28 +00:00
Steve-Mcl 283f7f5992 support env var NR_PROXY_MODE "legacy"|"strict" 2024-03-17 17:21:33 +00:00
Steve-Mcl 1cf7b95891 add missing ref to getProxyForUrl helper 2024-03-17 17:20:53 +00:00
Steve-Mcl de27968e4e (re)add node.insecureHTTPParser) 2024-03-17 17:10:56 +00:00
Steve-Mcl bf065ee11d default to strict mode but permit settings 2024-03-17 16:34:42 +00:00
Steve-Mcl 5e3cbadffc merge dev 2024-03-17 12:51:57 +00:00
Steve-Mcl 535ef82e48 Merge remote-tracking branch 'upstream/dev' into proxy-logiv-dev-v4 2024-03-17 12:50:59 +00:00
Steve-Mcl c368bfea3f var/const updates 2024-03-17 12:37:42 +00:00
Steve-Mcl 4498e4100e Update Monaco editor and type completions
closes #4614
2024-03-17 11:08:47 +00:00
Kazuhito Yokoi 4f1e4faede Add Japanese translations for TCP and CSV nodes 2024-03-16 19:32:42 +09:00
Kazuhito Yokoi 3ca045394a Remove typo in global config 2024-03-16 18:51:13 +09:00
Kazuhito Yokoi 9a19a1113e Fix image paths in previous welcome tour 2024-03-16 18:44:25 +09:00
Kazuhito Yokoi 1cd550022b Fix typos 2024-03-16 18:43:03 +09:00
Kazuhito Yokoi bad08bafd7 Add Japanese translations for 4.0.0-beta.1 2024-03-16 18:34:24 +09:00
Nick O'Leary 93f2910bd2
Bump to 4.0.0-beta.1 2024-03-14 16:05:15 +00:00
Nick O'Leary d0ef12c486
Update tour for 4.0-beta.0 2024-03-14 16:01:54 +00:00
Nick O'Leary 241fd09053
Merge pull request #4587 from Steve-Mcl/config-in-subflow
Support config selection in a subflow env var
2024-03-14 15:11:54 +00:00
Nick O'Leary 208dd2a457
Merge pull request #4436 from marcus-j-davies/allow-ws-headers
Feat: Add ability to set headers for WebSocket client
2024-03-13 17:20:07 +00:00
Nick O'Leary e34ee44b21
Update packages/node_modules/@node-red/nodes/core/network/22-websocket.html 2024-03-13 17:19:20 +00:00
Nick O'Leary d5f59307b7
Update packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js 2024-03-13 17:08:58 +00:00
Nick O'Leary 64136cc565
Update packages/node_modules/@node-red/editor-client/src/js/ui/editors/envVarList.js 2024-03-13 17:08:42 +00:00
Nick O'Leary 3e2508c740
Merge branch 'dev' into config-in-subflow 2024-03-13 17:08:23 +00:00
Nick O'Leary 0853cd65b2
Merge pull request #4598 from joepavitt/header-styling
Improve the appearance of the Node-RED primary header
2024-03-13 17:07:13 +00:00
Nick O'Leary 01802c817b
Merge branch 'master' into dev 2024-03-13 16:55:50 +00:00
Marcus Davies 7e10093bb8 Remove global access + reduce header list 2024-03-12 19:26:27 +00:00
Nick O'Leary 6a6f0d04d6
Bump for 3.1.7 release 2024-03-12 14:25:41 +00:00
Kazuhito Yokoi a0d3ea62b2 Add Japanese translation for v3.1.6 2024-03-10 23:36:20 +09:00
Nick O'Leary 6d5948b56e
Include module list in global-config node when exporting flows 2024-03-08 15:52:47 +00:00
Joe Pavitt 54c17c3175
Merge branch 'dev' into header-styling 2024-03-08 13:48:43 +00:00
Joe Pavitt 84a76909e2 Improve the appearance of the Node-RED primary header 2024-03-08 10:51:25 +00:00
Nick O'Leary 033405fdbc
Fully remove rfdc 2024-03-07 16:41:30 +00:00
Nick O'Leary 9444009a9b
Revert "changed cloning library to rfdc for runtime module" 2024-03-07 16:40:32 +00:00
Nick O'Leary 8832a1aa20
Add rfdc to @node-red/runtime package.json 2024-03-07 16:31:31 +00:00
Nick O'Leary 5beb6dbeee
Merge pull request #4352 from anshumanr/rfdc
changed cloning library to rfdc for runtime module
2024-03-07 16:29:31 +00:00
Nick O'Leary 1261d26b23
Merge pull request #4439 from ralphwetzel/dev_link
Click on id in debug panel highlights node or flow
2024-03-07 16:27:15 +00:00
Nick O'Leary 0b9dd11fff
Merge pull request #4513 from gorenje/html_node_content_and_attributes
HTML node: add option for collecting attributes and content
2024-03-07 16:24:28 +00:00
Dave Conway-Jones 08a607aa6a
Merge branch 'dev' of https://github.com/node-red/node-red into dev 2024-03-07 16:21:03 +00:00
Dave Conway-Jones 3ded9de803
TCP node- when resetting, if no payload, stay disconnected 2024-03-07 16:19:51 +00:00
Nick O'Leary d5b424910f
Merge branch 'dev' into Fix-join-to-ignore-parts-in-manual-mode 2024-03-07 16:05:41 +00:00
Nick O'Leary d94d13737f
Merge pull request #4572 from kevinGodell/dev
let settings.httpNodeAuth accept single middleware or array of middlewares
2024-03-07 15:48:12 +00:00
Nick O'Leary 742aa2fa0d
Merge branch 'dev' into make-split/join-more-flexible 2024-03-07 15:40:56 +00:00
Nick O'Leary ce133c1c04
Merge pull request #4540 from Steve-Mcl/3934-csv-rfc4180
Add RFC4180 compliant mode to CSV node
2024-03-07 15:39:25 +00:00
Nick O'Leary e4dc1779c3
Merge pull request #4590 from node-red/jsonata-update
Upgrade to JSONata 2.x
2024-03-07 14:28:35 +00:00
Ben Hardill da380f7464
Update jsonata version
Pulls in fix for CVE-2024-27307
2024-03-05 10:22:49 +00:00
Nick O'Leary 2dcff51125
Update timestamp formats 2024-03-04 16:51:06 +00:00
Nick O'Leary b50e0533eb
Add js date option to inject 2024-03-04 16:35:59 +00:00
Nick O'Leary 711545539f
Allow typedInput timestamp to specify format 2024-03-04 16:35:54 +00:00
Nick O'Leary a6cbceed28
Upgrade to JSONata 2.x 2024-03-04 16:32:31 +00:00
Steve-Mcl 837d17ab65 Merge branch 'dev' into config-in-subflow 2024-03-01 11:36:35 +00:00
Steve-Mcl eff31c4bdc linting 2024-03-01 11:35:13 +00:00
Steve-Mcl 6a8f653b73 typo 2024-03-01 11:17:16 +00:00
Steve-Mcl 0cdb36f73d support constrained items in editable list 2024-03-01 11:08:50 +00:00
Steve-Mcl db249356e6 permit config selection in subflow and subflow template 2024-03-01 11:07:26 +00:00
Steve-Mcl d509c1a57c add "conf-types" to typedInput 2024-03-01 11:06:27 +00:00
Nick O'Leary fb50e2772a
Bump for 3.1.6 release 2024-03-01 10:50:06 +00:00
Nick O'Leary 058c97138a
Merge pull request #4582 from node-red/3795-allow-env-var-in-num-field-validation
Do not flag env var in num typedInput as error
2024-02-26 17:01:45 +00:00
Nick O'Leary 828ae29aed
Merge pull request #4581 from node-red/4579-fix-undef-env-vars
Handle undefined env vars
2024-02-26 17:01:27 +00:00
Nick O'Leary 6a0f45140c
Merge pull request #4568 from JaysonHurst/fips
fix: Removed offending MD5 crypto hash and replaced with SHA1 and SHA256 …
2024-02-26 17:00:26 +00:00
Nick O'Leary 50a267528d
Merge pull request #4580 from giscafer/remove-never-use-code
chore: remove never use import code
2024-02-26 16:58:20 +00:00
Nick O'Leary 220786be60
Do not flag env var in num typedInput as error 2024-02-26 16:55:01 +00:00
Nick O'Leary fa78bb3d78
Handle undefined env vars
Fixes #4579
2024-02-26 16:17:09 +00:00
giscafer 4643f5e8cc chore: remove never use import code 2024-02-25 22:44:01 +08:00
Kazuhito Yokoi 635334f096 Fix example flow name in import dialog 2024-02-25 17:04:42 +09:00
giscafer 43b3589451 fix: template node zh-CN translation 2024-02-22 13:02:06 +08:00
Kevin Godell 74efaa3c2d let settings.httpNodeAuth accept single middleware or array of middlewares to replace built-in basic-auth middleware at top level of RED.httpNode 2024-02-19 16:42:14 -06:00
Nick O'Leary a5223709ba
Bump minimum version to node 18 2024-02-19 16:38:06 +00:00
Nick O'Leary 2291dc6132
Merge branch 'master' into dev 2024-02-19 16:14:58 +00:00
Nick O'Leary aeb79bce2a
Fix missing node icons in workspace 2024-02-19 16:07:22 +00:00
Jayson Hurst 0ab9b9a5fd
Merge branch 'master' into fips 2024-02-16 17:53:30 -07:00
Jayson Hurst 56e58521bd Removed offending MD5 crypto hash and replaced with SHA1 and SHA256 crypto hashes to work with the FIPS crypto policy. 2024-02-17 00:35:03 +00:00
Steve-Mcl b2548c158d fix layout and missing tip 2024-02-09 20:50:24 +00:00
Steve-Mcl 5a48d6d4cd Merge branch 'dev' into 3934-csv-rfc4180 2024-02-09 20:33:49 +00:00
Nick O'Leary 3ff038fb98
Bump for 3.1.5 release 2024-02-08 15:32:53 +00:00
Nick O'Leary adb498af24
Merge pull request #4562 from node-red/fix-require
Fix require of dns module
2024-02-07 15:24:10 +00:00
Nick O'Leary 55771c7241
Fix require of dns module 2024-02-07 14:50:46 +00:00
Nick O'Leary 109fa5f04e
Ensure global creds object is initialised when adding first cred 2024-02-07 10:02:22 +00:00
Nick O'Leary 2b69f52c92
Bump dependencies in packages 2024-02-06 16:54:05 +00:00
Nick O'Leary 6e90798f16
Updates for 3.1.4 release 2024-02-06 16:51:59 +00:00
Nick O'Leary 3994b404a1
Merge pull request #4477 from GogoVega/french-translation-v3.1.3-changes
Add French translation of v3.1.3 changes
2024-02-06 16:37:20 +00:00
Nick O'Leary 0b7e8ec323
Merge pull request #4495 from joebordes/joebordes/i18n_001
i18n(es-ES) Spanish Spain translation
2024-02-06 16:36:45 +00:00
Nick O'Leary bb0b547d5a
Merge pull request #4550 from node-red/4549-improve-import-confict-dialog
Improve feedback in import dialog to show conflicted nodes
2024-02-06 16:36:15 +00:00
Nick O'Leary 1419432b04
Merge branch 'master' into joebordes/i18n_001 2024-02-05 16:47:55 +00:00
Nick O'Leary 1a521d7e09
Merge branch 'master' into 4548-handle-replacement-config-unknown 2024-02-05 16:46:04 +00:00
Nick O'Leary 5858d2789a
Add FR translation 2024-02-05 16:44:55 +00:00
Nick O'Leary 6a1e4fac5a
Merge pull request #4552 from guidoffm/patch-1
Update editor.json fix typo in German translation
2024-02-05 16:42:24 +00:00
Nick O'Leary bab6e57a59
Merge pull request #4539 from node-red/4536-handle-undefined-default-export
Handle undefined default export when importing module
2024-02-05 16:36:06 +00:00
Nick O'Leary 4ed53fb622
Merge pull request #4531 from GogoVega/i18n-languages-list
Do not translate the list of available languages
2024-02-05 16:35:45 +00:00
Nick O'Leary 565c212779
Handle modified-nodes deploy after replacing unknown config node
Fixes #4548
2024-02-05 16:22:58 +00:00
Christian Lagerkvist cc611a7a02
Fixes #4551 2024-01-30 10:37:52 +01:00
Guido Mülller (Guido Mueller) 861c89a0cc
Update editor.json fix typo in German translation 2024-01-30 10:35:54 +01:00
Nick O'Leary 4268a04a04
Improve feedback in import dialog to show conflicted nodes
Fixes #4549
2024-01-29 17:48:01 +00:00
Nick O'Leary 9bd7131914
Merge pull request #4544 from GogoVega/fix-creds-convert-node
(convertNode) Do not create the credentials object if there is nothing to export
2024-01-26 13:49:56 +00:00
Nick O'Leary 8485ca254f
Merge pull request #4538 from node-red/4533-fix-subflow-instance-g-property-mapping
Ensure subflow instance node has g property set
2024-01-26 13:48:07 +00:00
Nick O'Leary f7b726372f
Handle importing flow with existing subflow and instance node
Fixes #4545
2024-01-25 17:26:52 +00:00
GogoVega 14811b5aec
Do not create the credentials object if not exported 2024-01-25 15:35:40 +01:00
Steve-Mcl 1a9c34fe40 Merge branch 'dev' into 3934-csv-rfc4180 2024-01-23 10:59:05 +00:00
Steve-Mcl ff8eb0ec2b Add RFC spec mode to CSV node
closes #3934
2024-01-23 10:35:08 +00:00
Nick O'Leary c24f05c2cd
Handle undefined default export when importing module
Fixes #4536
2024-01-22 16:54:51 +00:00
Nick O'Leary d2dc1fcc80
Ensure subflow instance node has g property set 2024-01-22 16:28:22 +00:00
Patrick Wozniak 28907082f1
fix usage of vm.Script() 2024-01-21 02:16:00 +01:00
Patrick Wozniak f83174c40a
fix use of vm.Script by adding new 2024-01-21 01:23:07 +01:00
Patrick Wozniak ec062d008f
replace vm.createScript in favor of vm.Script 2024-01-21 01:13:00 +01:00
Patrick Wozniak a587655a5a
adding pollyfill for vm.createScript
adds support for bun.sh
2024-01-21 01:00:02 +01:00
Joe Bordes 97e05c8784 i18n(Editor) sync ES with #4531 to centralize list of languages 2024-01-20 20:36:47 +01:00
Joe Bordes 26cb03da42 i18n(Editor) sync ES with lastest changes 2024-01-20 20:36:01 +01:00
Joe Bordes d5a8b1592c Merge branch 'master' into joebordes/i18n_001 2024-01-20 20:26:05 +01:00
Nick O'Leary a1e242ec1e
Merge branch 'master' into patch-1 2024-01-19 16:14:20 +00:00
Nick O'Leary 5b9d002f56
Merge pull request #4529 from node-red/4397-hightlight-config-node-errors
Highlight errors in config node sidebar
2024-01-19 16:08:17 +00:00
GogoVega dd57323889
Do not translate the list of available languages 2024-01-19 10:00:32 +01:00
Nick O'Leary 6620679008
Show standard validation triangle on config nodes 2024-01-16 17:35:50 +00:00
Nick O'Leary f93654f680
Merge pull request #4527 from node-red/4485-copy-context-path
Include top level property name when copying path from context
2024-01-16 11:59:50 +00:00
Nick O'Leary 1bef0c32a2
Merge pull request #4519 from node-red/4479-ensure-env-not-modified
Clone objects types when getting env values
2024-01-16 11:59:37 +00:00
Nick O'Leary f66b48e586
Merge pull request #4525 from node-red/fix-change-node-boolean-response
Fix change node to return boolean if asked
2024-01-16 11:58:30 +00:00
Nick O'Leary a5725c59fd
Merge pull request #4526 from node-red/4508
Ensure global-config credential env vars are merged on deploy
2024-01-16 11:58:20 +00:00
Nick O'Leary 4168bbb751
Merge pull request #4528 from node-red/4497-fix-config-footer-css
Modify node users info in config editor footer
2024-01-16 11:58:07 +00:00
Nick O'Leary b0086edcf9
Update packages/node_modules/@node-red/editor-client/src/sass/tab-config.scss
Co-authored-by: Mauricio Bonani <bonanitech@gmail.com>
2024-01-15 20:16:18 +00:00
Nick O'Leary 89c2efe17d
Highlight errors in config node sidebar
Fixes #4397
2024-01-15 17:49:17 +00:00
Nick O'Leary 9030b7d27c
Merge pull request #4491 from ralphwetzel/master_fix_icon_resize
Fix icon scaling for non .svg icons
2024-01-15 17:20:14 +00:00
Nick O'Leary de5111b13f
Merge pull request #4522 from gorenje/remove_unused_code
21-httprequest.js remove unused code, because of broken use of toLowercase
2024-01-15 17:17:43 +00:00
Nick O'Leary 8600f4131e
Modify node users info in config editor footer
Fixes #4497
2024-01-15 17:11:54 +00:00
Nick O'Leary 8a8245b560
Include top level property name when copying path from context
Fixes #4485
2024-01-15 16:54:16 +00:00
Nick O'Leary 58e2fcbeee
Ensure global-config credential env vars are merged on deploy
Fixes #4508
2024-01-15 16:44:43 +00:00
Nick O'Leary 282bb6c414
Merge pull request #4512 from node-red/4503-fix-cache-busting
Restore caching busting functionality without using explict version number
2024-01-15 15:54:40 +00:00
Dave Conway-Jones dd3c75d298
Fix change node to return boolean if asked
to fix #4372
2024-01-14 12:56:25 +00:00
Gerrit Riessen 962fc5990e Merge remote-tracking branch 'nodered/master' into remove_unused_code 2024-01-11 12:04:02 +01:00
Gerrit Riessen eb2f57fc0d removed unused code 2024-01-11 12:03:28 +01:00
Nick O'Leary 4a4a15de93
Fix context store handling in autocomplete 2024-01-09 01:05:09 +00:00
Nick O'Leary ce5b6a8024
Merge pull request #4487 from GogoVega/fix-validation-nls
Add missing validation messages
2024-01-08 23:42:58 +00:00
Nick O'Leary 0773edcaff
Merge pull request #4498 from kazuhitoyokoi/master-jpn3.1.3
Add Japanese translations for v3.1.3
2024-01-08 23:42:35 +00:00
Nick O'Leary 68dcf7bceb
Merge pull request #4500 from kazuhitoyokoi/master-disablemenuitems
Add handling to disable items on context menu
2024-01-08 23:42:19 +00:00
Nick O'Leary d876146ea5
Guard settings access 2024-01-08 23:37:44 +00:00
Nick O'Leary 50627cd697
Generate instanceId and include in hash for cache busting 2024-01-08 23:27:14 +00:00
Nick O'Leary 3a6b1e86dc
Clone objects types when getting env values
Fixes #4479
2024-01-08 20:56:17 +00:00
Nick O'Leary 6a4d293352
Merge pull request #4516 from kazuhitoyokoi/master-fixfocus4contextmenu
Focus Quick Add dialog from context menu
2024-01-08 17:04:00 +00:00
Kazuhito Yokoi 59ea7a4f70 Fix subflow ports in Quick Add dialog 2024-01-08 03:12:36 +09:00
Kazuhito Yokoi 6c64ba45c2 Focus Quick Add dialog from context menu 2024-01-07 20:46:50 +09:00
Kazuhito Yokoi c68cc4ac19
Merge branch 'master' into master-disablemenuitems 2024-01-07 18:47:12 +09:00
Kazuhito Yokoi 84ed88c8dd Use single `forEach` instead of multiple `filter` 2024-01-07 18:41:08 +09:00
Nick O'Leary d7345d5bc6
Restore caching busting functionality without using explict version number
Fixes #4503
2024-01-05 23:14:00 +00:00
Gerrit Riessen 7b01457038 HTML node: add option to for attribites and content 2024-01-06 00:12:09 +01:00
Nick O'Leary 54e6d60fe5
Add simple caching of env var lookup 2024-01-05 21:07:20 +00:00
Nick O'Leary f0a9b0cf69
Merge pull request #4506 from GogoVega/fix-4505-menu-flow-edit-label
Replace `rename` by `edit` for the menu flow label
2024-01-05 21:00:29 +00:00
Nick O'Leary 26ddb5c1b7
Merge pull request #4502 from kazuhitoyokoi/master-fixsubflowports
Fix location of subflow ports in palette
2024-01-05 20:59:45 +00:00
GogoVega 7f24de442f
Replace 'rename' with 'edit' for the flow label 2024-01-01 15:33:39 +01:00
GogoVega c3536fd7c7
Removes translation of interpolation keys 2024-01-01 15:02:48 +01:00
Kazuhito Yokoi 8365310ca7 Put the changed code on one line to avoid jshint error 2023-12-29 20:32:14 +09:00
Kazuhito Yokoi aaed9882b8 Add handling to disable items on context menu for node labels 2023-12-29 17:51:03 +09:00
Kazuhito Yokoi 8f5ebfcede Update Japanese translation for v3.1.3 2023-12-29 15:41:40 +09:00
Joe Bordes 83279df0fa i18n(es-ES) node help screens 2023-12-27 18:28:54 +01:00
Joe Bordes 2550da9c6e i18n(es-ES) node help screens 2023-12-27 16:06:41 +01:00
Joe Bordes 041f00b811 i18n(es-ES) node help screens 2023-12-27 11:57:02 +01:00
Joe Bordes 21cd4aaeb6 i18n(es-ES) node help screens 2023-12-26 13:16:02 +01:00
Joe Bordes 70ce1e648d i18n(es-ES) messages and runtime. start working on node help screens 2023-12-26 11:42:23 +01:00
Joe Bordes eab5a9772b i18n(es-ES) Spanish Spain translation 2023-12-24 20:50:40 +01:00
Kazuhito Yokoi 74ff0599d1 Fix location of subflow ports in palette 2023-12-23 19:51:57 +09:00
Nick O'Leary c2710f4f6f
Add auto-complete for env vars 2023-12-20 17:52:52 +00:00
Nick O'Leary 20187b51b1
Fix up cache scope 2023-12-20 16:51:34 +00:00
Nick O'Leary 4be6d57d98
Apply suggestions from code review
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2023-12-20 16:39:52 +00:00
Ralph Wetzel c31e622160 Fix icon scaling for non .svg icons 2023-12-20 17:14:12 +01:00
GogoVega 1828d8a279
Add missing validation messages 2023-12-17 19:59:16 +01:00
GogoVega 282d52cf0b
Fix non-boolean returned value + try to find validation msg in tooltip 2023-12-17 19:22:44 +01:00
Kazuhito Yokoi 70ea5c839a Add handling to disable items on context menu 2023-12-16 17:02:18 +09:00
Nick O'Leary a77f8cc3e9
Clear context cache when closing edit dialog 2023-12-15 15:09:15 +00:00
Gerrit Riessen 0b0f1f8701
Update index.mst
Update two additional path specifications
2023-12-15 11:32:26 +01:00
Gerrit Riessen e1f2e0656b
Client Events: fix off-in-on pattern emulating once
This fixes an issue when RED.events.off(..) is called in a RED.events.on(..) callback:

```
let cb = () => {
  RED.events.off("event-name", cb)
  ....
}
RED.events.on("event-name", cb)
```

This pattern emulates a once(..), i.e., execute a callback once-only for an event.

Discussed in [Forum](https://discourse.nodered.org/t/event-offing-an-on-event-to-perform-only-once/83726)
2023-12-15 10:54:11 +01:00
Nick O'Leary ea4c0cdbee
Fix error when switching context types 2023-12-14 17:14:56 +00:00
Gerrit Riessen b5e955bd5e
Update index.mst
Avoid escaping slashes (`/`) in asset paths. 

Content is currently generated as:

```
<title>Node-RED</title>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="mask-icon" href="red&#x2F;images&#x2F;node-red-icon-black.svg" color="#8f0000">
<link rel="stylesheet" href="vendor/jquery/css/base/jquery-ui.min.css?v=">
<link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css?v=">
<link rel="stylesheet" href="red/style.min.css?v=">
<link rel="stylesheet" href="vendor/monaco/style.css?v=">
</head>
<body spellcheck="false">
<div id="red-ui-editor"></div>
<script src="vendor/vendor.js?v="></script>
<script src="vendor&#x2F;monaco&#x2F;monaco-bootstrap.js?v="></script>
<script src="red&#x2F;red.min.js?v="></script>
<script src="red&#x2F;main.min.js?v="></script>
```

It still works of course, so feel free to ignore this change.
2023-12-13 17:29:39 +01:00
GogoVega ba08cf0417
Add tooltip input validation msg 2023-12-12 17:17:33 +01:00
Nick O'Leary 7197153fd5
Support bracket-notation in auto complete when needed 2023-12-11 21:18:44 +00:00
Nick O'Leary b9c1dedab3
Add auto-complete to flow/global typedInput types 2023-12-11 17:55:02 +00:00
Nick O'Leary 918943816f
Merge branch 'master' into dev 2023-12-08 10:27:04 +00:00
GogoVega b4b5d296d9
French translation of v3.1.3 changes 2023-12-08 09:47:00 +01:00
Kazuhito Yokoi d287b8867b Add Japanese translations for v3.1.3 2023-12-08 15:28:49 +09:00
Nick O'Leary c584d51432
Bump for 3.1.3 release 2023-12-07 18:27:33 +00:00
Nick O'Leary 2f1565fbc9
Add missing en-us messages 2023-12-07 18:19:37 +00:00
Nick O'Leary 37d1539fda
Bump for 3.1.2 release 2023-12-07 14:12:53 +00:00
Nick O'Leary 1e518396d6
Merge pull request #4470 from wangyiyi2056/Add-action-list-Chinese-translation
Added action list Chinese (Simplified and Traditional) translation + v3.1.1 changes
2023-12-07 13:59:54 +00:00
Nick O'Leary 617b98ed49
Merge pull request #4466 from GogoVega/add-action-list-translation
Add French translation of `action-list` + v3.1.1 changes
2023-12-07 13:56:25 +00:00
Nick O'Leary 2963f3f1b8
Ensure nested groups inside subflows have their g props remapped 2023-12-07 11:47:02 +00:00
wangyiyi2056 17e4bdbff1
Merge branch 'master' into Add-action-list-Chinese-translation 2023-12-07 09:19:46 +08:00
Nick O'Leary eebab4a921
Relax some node validators to allow undefined value 2023-12-06 10:30:49 +00:00
Nick O'Leary b06494c5be
Merge pull request #4465 from node-red/4464-fix-switch-typeof-validation
Fix switch validation of typeof field
2023-12-06 10:09:39 +00:00
wangyiyi2056 a0562bef81 Added action list Chinese translation + v3.1.1 2023-12-05 22:50:03 +08:00
Nick O'Leary 33cf34f7c7
Merge branch 'master' into dev 2023-12-04 15:58:45 +00:00
Nick O'Leary 94abaaff1e
Use move cursor when hovering on group border 2023-12-04 11:49:29 +00:00
GogoVega 03732869e4
Fix that little guy hiding 2023-12-02 18:53:06 +01:00
GogoVega 41868e2652
Apply v3.1.1 changes 2023-12-02 16:16:03 +01:00
GogoVega 81bfba3cea
Add actions list translation 2023-12-02 16:10:52 +01:00
Nick O'Leary 8a04eb2e29
Update packages/node_modules/@node-red/nodes/core/function/10-switch.html 2023-12-01 19:40:49 +00:00
Nick O'Leary 1777fc749d
Fix switch validation of typeof field
Fixes #4464
2023-12-01 13:11:07 +00:00
Nick O'Leary 4bb2157cab
Bump for 3.1.1 release 2023-11-30 15:49:57 +00:00
Nick O'Leary 9fe653f821
Merge branch 'master' into fix-debug-filter 2023-11-30 15:08:14 +00:00
Nick O'Leary 7ebf84f38c
Fix debug filter 2023-11-30 14:50:28 +00:00
Nick O'Leary d42e75ebd0
Handle unknown node reference inside subflow module 2023-11-30 14:46:43 +00:00
Nick O'Leary 1c3644e338
Fix various issues with debug pop-out window 2023-11-30 11:23:35 +00:00
Nick O'Leary 2dfabb523b
Merge pull request #4457 from node-red/4456-fix-group-in-subflow-lookup
Ensure subflow instances keep track of their groups
2023-11-29 16:41:52 +00:00
Nick O'Leary 3e2d20e536
Merge pull request #4455 from GogoVega/4429-fix-validateNodeProperty
Fix `validateNodeProperty` without validator provided
2023-11-29 16:19:41 +00:00
Nick O'Leary ee7ee083b0
Merge pull request #4440 from node-red/4429-add-typed-validators
Add validators to any fields using msg-typed Input
2023-11-29 16:18:53 +00:00
Nick O'Leary fb54c05d9f
Ensure subflow instances keep track of their groups 2023-11-29 16:12:12 +00:00
Nick O'Leary 21f807aa66
Merge pull request #4453 from node-red/4413-debounce-uninstall-notifications
Debounce node-removed notifications
2023-11-29 16:11:18 +00:00
Nick O'Leary 6b088bda12
Merge pull request #4452 from node-red/4443-add-modules-install-audit-event
Add modules.install audit event when external module installed
2023-11-29 16:11:04 +00:00
Nick O'Leary a32ee869ae
Merge pull request #4448 from bonanitech/first-commit-has-no-parents
Don't try to load the parents of the first commit
2023-11-29 16:10:42 +00:00
GogoVega a2d7772958
Fix validateNodeProperty if no validator provided 2023-11-28 20:13:25 +01:00
Stephen McLaughlin 6ec052be18
Merge pull request #4454 from node-red/4380-mqtt-undefined-value
Guard against node.broker being undefined
2023-11-27 17:48:02 +00:00
Nick O'Leary 9c71d52d69
Check node.broker is a string before trying to use it
Fixes #4380
2023-11-27 17:27:32 +00:00
Nick O'Leary 171c146ec5
Debounce node-removed notifications
Fixes #4413
2023-11-27 17:14:15 +00:00
Nick O'Leary bc6afa2164
Add modules.install audit event when external module installed 2023-11-27 16:58:14 +00:00
Nick O'Leary 6633730bf1
Allow import of modules with subpath in specifier
Fixes #4446
2023-11-27 16:44:56 +00:00
Mauricio Bonani 2964a4da5e Don't try to load the parents of the first commit 2023-11-24 16:22:29 -05:00
Ralph Wetzel febc769df5 use of camelCasing: node_selector => nodeSelector 2023-11-21 20:48:52 +01:00
Nick O'Leary d2a8338d4a
Rename mermaidOptions to mermaid for contrib themes 2023-11-20 17:50:59 +00:00
Nick O'Leary e945deeab6
Allow mermaid theme to be set via editorTheme and custom themes
Fixes #4274
2023-11-20 17:47:39 +00:00
Nick O'Leary 722fe02933
Add validators to any fields using msg-typed Input
Fixes #4429
2023-11-20 17:17:52 +00:00
Nick O'Leary 3dec609459
Merge pull request #4438 from node-red/update-deps-2
Update node-red-admin version
2023-11-20 10:00:44 +01:00
Ralph Wetzel ea483218ea Click on id in debug panel highlights node or flow 2023-11-18 21:03:13 +01:00
anshumanr c8f3ad8ac7
Merge branch 'dev' into rfdc 2023-11-17 13:17:26 -05:00
Nick O'Leary e73b9f646d
Update nr package to match 2023-11-17 10:44:34 +00:00
Marcus Davies 7916dc9c05 Slightly cleaner fasly checks 2023-11-14 22:31:25 +00:00
Marcus Davies 3123a5ee51 Feat: Add ability to set headers for WebSocket client 2023-11-14 20:44:04 +00:00
Nick O'Leary c6a8eee73d
Merge pull request #4416 from node-red/mqtt-check-topic-length
check topic length > 0 before publish
2023-11-07 17:46:33 +00:00
Nick O'Leary 5b5b06cc06
Merge pull request #4406 from node-red/tcp-request-node-reset-when-in-stay-connected-mode
Let msg.reset  reset Tcp request node connection when in stay connected mode
2023-11-07 17:42:17 +00:00
Nick O'Leary 74d431ea36
Merge pull request #4427 from node-red/4394-update-page-title-on-flow-nav
Update browser title with flow name if set
2023-11-07 17:40:36 +00:00
Nick O'Leary 409a559a13
Merge pull request #4411 from node-red/4376-handle-falsy-env-vars
Handle false-like env vars properly
2023-11-07 17:40:18 +00:00
Nick O'Leary 6829535350
Merge pull request #4409 from node-red/4381-avoid-multiple-settings-saves
Only save settings once during node load process
2023-11-07 17:40:03 +00:00
Nick O'Leary 6488111f79
Merge pull request #4423 from node-red/4415-handle-excluded-core-nodes
Ensure typeSearch handles undefined node definitions
2023-11-07 17:39:46 +00:00
Nick O'Leary 923339c1d8
Merge pull request #4426 from node-red/4044-group-bb-import
Ensure group w/h are imported if present
2023-11-07 17:39:30 +00:00
Nick O'Leary c52985d245
Update browser title with flow name if set
Fixes #4394
2023-11-07 17:24:04 +00:00
Nick O'Leary 88e6c71aa0
Ensure group w/h are imported if present
Fixes #4044
2023-11-07 17:09:22 +00:00
Nick O'Leary 4d08e297c4
Hide node status background when there is no status to show
Fixes #4418
2023-11-07 16:34:36 +00:00
Dave Conway-Jones f49f692ffa
Better fix for TCP node reset
now handles reply out node,
and can specify which connection to reset.
2023-11-03 11:57:16 +00:00
Nick O'Leary ad2b30691f
Ensure typeSearch handles undefined node definitions
Fixes #4415
2023-11-03 11:28:04 +01:00
Dave Conway-Jones 369bad01b8
check topic length > 0 before publish
to close #4414
2023-11-03 08:55:38 +00:00
Nick O'Leary b6ecc6d9ea
Handle false-like env vars properly 2023-11-02 00:40:55 +01:00
Nick O'Leary 0117df0960
Only save settings once during node load process 2023-11-01 16:18:03 +01:00
Dave Conway-Jones 10ce681d46
Fix join node to ignore parts in manual mode
to fix #1957
2023-11-01 13:59:09 +00:00
Nick O'Leary e5307f6604
Add a close button to the restart-required notification
Fixes #4392
2023-11-01 14:39:51 +01:00
Nick O'Leary 8d9b6dd859
Merge pull request #4405 from node-red/4396-fix-global-config-cred-lookup
Ensure global-config nodes lookup cred values properly
2023-11-01 14:20:56 +01:00
Nick O'Leary 01821ead0f
Merge pull request #4371 from ralphwetzel/master
Extend typedInput "num" type validity check to NaN, binary, octal & hex
2023-11-01 14:20:31 +01:00
Nick O'Leary 08c6ea94cb
Merge pull request #4347 from ZJvandeWeg/zj-remove-production-flag-npm
npm: Remove production flag on npm invocation
2023-11-01 14:18:14 +01:00
Nick O'Leary 1451fb9e2f
Merge pull request #4399 from kazuhitoyokoi/master-fixrepeat4inject
Fix unintended new line in node name
2023-11-01 14:17:21 +01:00
Nick O'Leary 245751bb23
Merge pull request #4382 from hazymat/master
Ctrl-Enter does not close tray (Monaco) #4377
2023-11-01 14:15:08 +01:00
Dave Conway-Jones 32e8f4eac6
Add help info 2023-11-01 12:33:57 +00:00
Dave Conway-Jones bfe5a8a986
Update 31-tcpin.js
don't send if payload not defined.
2023-11-01 12:27:11 +00:00
Dave Conway-Jones f2cb5ea44e
Allow msg.reset to reset connection when tcp request in stay connected mode 2023-11-01 12:07:50 +00:00
Nick O'Leary 861dc0c383
Ensure global-config nodes lookup cred values properly
Fixes #4396
2023-11-01 11:07:48 +01:00
Dave Conway-Jones c7335ed25b
Let debug node status msg length be settable via settings 2023-10-31 09:11:17 +00:00
Kazuhito Yokoi fae3a5c26a Fix unintended new line in node name 2023-10-29 14:58:03 +09:00
Dave Conway-Jones 1a52c0adfc
fix buffer viewer to handle 0b style binary 2023-10-24 23:15:34 +01:00
Dave Conway-Jones 5fda57c730
too enthusiastic clearing up property
reverted
2023-10-18 13:51:40 +01:00
Ralph Wetzel 3df3096bb4 Fix to please linter 2023-10-18 08:07:49 +02:00
Ralph Wetzel bb10d5bb94 Fix scope of variable 2023-10-18 08:07:06 +02:00
Ralph Wetzel 1704ab7454 Compensate for incomplete config data (e.g. test) 2023-10-18 08:06:15 +02:00
Ralph Wetzel 81937ddc45 Add plugin support to palette manager 2023-10-17 22:44:33 +02:00
Dave Conway-Jones 9fd929ac1e
let split node specify property to split on
and let join auto join the correct property
or manually the specified one.
2023-10-17 21:12:13 +01:00
Mat Smith 44c0bbc61e Ctrl-Enter does not close tray (Monaco) #4377 2023-10-12 18:53:34 +01:00
ralphwetzel 5ac50fae3a Extend typedInput "num" type validity check to NaN, binary, octal & hex 2023-09-26 20:00:48 +02:00
Nick O'Leary ee48a2f2bf
Merge pull request #4362 from node-red/4342-subflow-err
Handle credential env var evaluation when no value set
2023-09-25 18:20:28 +01:00
Nick O'Leary 680d5b8216
Merge pull request #4364 from node-red/4323-redo-mermaid-integration
Rework mermaid integration to support off-DOM rendering
2023-09-25 18:08:48 +01:00
Nick O'Leary c9320c190d
Ensure creds object is not undefined when evaling env vars 2023-09-25 18:08:02 +01:00
Nick O'Leary ec6e42e655
Merge pull request #4361 from node-red/4342-fix-subflow-env-self-reference
Fix env evaluation when one env references another in the same object
2023-09-25 18:04:58 +01:00
Nick O'Leary bba6b6f71d
Merge pull request #4365 from node-red/4334-context-labels
Add missing nls labels to context menu
2023-09-25 18:04:35 +01:00
Nick O'Leary a489b270d1
Remove extra debug 2023-09-25 17:38:16 +01:00
Nick O'Leary 51cb61940d
Improve validation of switch/change node rules
Fixes #4340
2023-09-25 17:33:59 +01:00
Nick O'Leary ce2f896b45
Add missing nls labels to context menu
Fixes #4334
2023-09-22 16:29:33 +01:00
Nick O'Leary 6635ff9a69
Rework mermaid integration to support off-DOM rendering 2023-09-22 15:23:01 +01:00
Nick O'Leary 41797f8cef
Handle credential env var evaluation when no value set 2023-09-22 13:56:54 +01:00
Nick O'Leary 797cea5394
Fix env evaluation when one env references another in the same object
Fixes #4342
2023-09-22 13:49:54 +01:00
asr b0136d03ea reverted earlier change to use rfdc 2023-09-19 11:13:39 -04:00
Nick O'Leary fc54848318
Merge pull request #4349 from braincube-io/feat/fmo/makeCsvExportFast
Performance : make CSV export way faster by not re-allocating and handling huge string
2023-09-19 09:22:54 +01:00
Nick O'Leary 2f9f8cda81
Merge pull request #4350 from node-red/Fix-delay-node-passing-on-reset-regression
Fix regression in delay node to not pass on msg.reset
2023-09-19 09:21:33 +01:00
Nick O'Leary 4e55408fed
Merge pull request #4346 from kazuhitoyokoi/master-fixheight4templete
Fix height of description editor in template node
2023-09-19 09:20:09 +01:00
Nick O'Leary 88aa61ea77
Merge pull request #4329 from GogoVega/french-translation-v3.1-beta.4-changes
Add French translation of v3.1.0-beta.4 changes + slight improvements
2023-09-19 09:19:49 +01:00
Nick O'Leary 2ccdeb968c
Merge pull request #4332 from node-red/4330-fix-multiple-input-handlers
Handle nodes with multiple input handlers properly
2023-09-19 09:19:22 +01:00
Dave Conway-Jones 718a7bfc26
Update 89-delay.js 2023-09-18 19:32:01 +01:00
Franck 27ca30aa82 PERF : make csv way faster by not allocating and handling huge string 2023-09-18 15:16:15 +02:00
ZJ van de Weg 54d4079457 npm: Remove production flag on npm invocation
When installing packages the `--production` flag used to be added to the
arguments that `npm` received. As npm wants developers to use the
`--omit=dev` flag instead it warned users on STDERR. Standard error was
captured by Node-RED and output to the logs as being an error. This
caught users off-guard and they expected something to have gone
wrong.

With this change the `--omit=dev` is used instead, to remove the
warning.

This change works for NPM of version 8 and beyond[1], included in
Node.JS 16. This change will not work on NPM version 6[2] which is included
in Node.JS 14[3].

[1]: https://docs.npmjs.com/cli/v8/commands/npm-install#omit
[2]: https://docs.npmjs.com/cli/v6/commands/npm-install
[3]: https://nodejs.org/en/download/releases#looking-for-latest-release-of-a-version-branch
2023-09-17 08:43:11 +02:00
Kazuhito Yokoi e1cecc9601 Fix height of description editor in template node 2023-09-16 15:46:07 +09:00
asr 8e1a21e682 typo 2023-09-14 12:27:17 -04:00
asr d84cdca43e Revert "typo"
This reverts commit 1c6dcd373d.
2023-09-14 12:24:52 -04:00
asr 1c6dcd373d typo 2023-09-14 12:22:34 -04:00
asr 4410ce1486 changed cloning library to rfdc 2023-09-14 11:40:36 -04:00
GogoVega 4c13f5a0af
Adapting the translation depending on the context 2023-09-09 14:34:33 +02:00
GogoVega f5a9942d5e
Fix translation mistakenly erased 2023-09-09 10:59:59 +02:00
Nick O'Leary ee2d91fb4a
Handle nodes with multiple input handlers properly
Fixes #4330
2023-09-08 16:26:10 +01:00
Nick O'Leary 6ca41ba69d
Handle undefined linkType value for existing link-call nodes 2023-09-08 16:03:08 +01:00
GogoVega 7f9d142038
Add translation of v3.1-beta.4 changes 2023-09-08 15:45:00 +02:00
GogoVega 44a1f83b26
Add some capital letters 2023-09-08 15:39:46 +02:00
Nick O'Leary 0c042abcab
Bump to 4.0.0-dev 2023-09-06 14:45:45 +01:00
Nick O'Leary d9bbac20f3
Merge pull request #4320 from node-red/dev
Sync `dev` to `master` for 3.1.0 release
2023-09-06 14:04:36 +01:00
Nick O'Leary a48c57dd17
Merge pull request #4321 from node-red/rel-310
Bump version and changelog for 3.1.0 release
2023-09-06 13:57:44 +01:00
Nick O'Leary 77b235655c
Bump version and changelog 2023-09-05 21:29:20 +01:00
Nick O'Leary 8dc0261993
Merge pull request #4319 from Rotzbua/fix_duplicate
Fix duplicate declaration
2023-09-05 20:41:38 +01:00
Rotzbua 65d2ad68d3
Fix duplicate declaration 2023-09-05 19:02:39 +02:00
Nick O'Leary ab6d537c3e
Default filter to All Catalogues and show nodes for small lists 2023-09-05 17:49:50 +01:00
Nick O'Leary 3a6078a56a
Merge pull request #4317 from node-red/update-deps-31
Dependency updates
2023-09-05 17:21:06 +01:00
Nick O'Leary b0c3fefcab
Dependency updates 2023-09-05 17:16:05 +01:00
Nick O'Leary 2bc739194e
Merge pull request #4316 from node-red/4221-handle-concurrent-write-file
Ensure storage/util.writeFile handles concurrent write attempts
2023-09-05 15:57:27 +01:00
Nick O'Leary afb06e8c9a
Update packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/util.js 2023-09-05 15:11:47 +01:00
Nick O'Leary 2c1274ff76
Ensure storage/util.writeFile handles concurrent write attempts 2023-09-05 15:09:11 +01:00
Rotzbua aea32cc279
Migrate http -> https for nodered.org 2023-09-05 14:55:56 +02:00
Nick O'Leary ce0feb2f42
Merge pull request #4310 from node-red/4206-ctrl-click-behaviour
Better distinguish between ctrl and meta keys on mac
2023-09-05 13:48:17 +01:00
Nick O'Leary d307968880
Better distinguish between ctrl and meta keys on mac
Fixes #4206, #4205
2023-09-05 12:36:44 +01:00
Nick O'Leary 1f98d19f77
Merge pull request #4309 from node-red/pr_4265
Adding function timeout to settings file (#4265)
2023-09-05 11:44:41 +01:00
Nick O'Leary 9a934c941f
Tidy up functionTimeout setting 2023-09-05 10:34:18 +01:00
Nick O'Leary 1bad643b30
Merge pull request #4302 from node-red/4291-auto-sub-mqtt-error
Remove unnecessary check for clientid if autoUnsub set
2023-09-05 09:43:52 +01:00
Nick O'Leary 57c44d4b18
Merge pull request #4301 from node-red/4292-fix-catch-in-subflow
Handle group-scoped nodes inside subflow
2023-09-05 09:43:44 +01:00
Nick O'Leary 7d06133787
Merge pull request #4299 from node-red/4296-fix-function-setup-height
Fix function setup tab layout
2023-09-05 09:43:35 +01:00
Nick O'Leary 261998201b
Merge pull request #4298 from node-red/4295-urlencode-context-api
Handle non-url-safe chars in context api
2023-09-05 09:43:17 +01:00
Nick O'Leary 46b15a51d4
Revert "Support form-data arrays" 2023-09-05 09:41:48 +01:00
Nick O'Leary a12826e719
Remove unnecessary check for clientid if autoUnsub set
Fixes #4291
2023-09-02 20:48:13 +01:00
Nick O'Leary 0dc024c722
Handle group-scoped nodes inside subflow
Fixes #4292
2023-09-01 16:38:46 +01:00
Nick O'Leary f6f36c5599
Fix function setup tab layout 2023-09-01 16:17:29 +01:00
Nick O'Leary 18bd318da2
Handle non-url-safe chars in context api 2023-09-01 16:06:05 +01:00
Nick O'Leary e1712073c9
Ensure junction appears when filtering quick-add list 2023-09-01 15:41:33 +01:00
Nick O'Leary 2478a7194e
Merge pull request #4287 from kazuhitoyokoi/dev-fixjsonata
Update message catalogs for JSONata Expression editor
2023-08-21 15:42:37 +01:00
Kazuhito Yokoi a7e80f351a Fix git pull operation in project feature 2023-08-21 11:18:01 +09:00
Kazuhito Yokoi e7f9e61f2a Add tooltip to relevance sort button in user settings UI 2023-08-20 16:20:18 +09:00
Kazuhito Yokoi 3047ed1253 Improve message catalogs for JSONata Expression editor 2023-08-19 13:33:42 +09:00
Kazuhito Yokoi cf0c7ce583 Fix typo in Korean message catalog 2023-08-19 13:24:34 +09:00
Kazuhito Yokoi 206211f9ef Fix typo in English message catalog 2023-08-19 13:21:42 +09:00
Kazuhito Yokoi 8220ff8a35 Add docs for function in Japanese message catalog 2023-08-19 13:19:55 +09:00
Nick O'Leary 927fc5424b
Merge pull request #4283 from node-red/4282-dirty-junction-undo
Capture workspace dirty state when quick-adding junction
2023-08-18 15:53:25 +01:00
Nick O'Leary 64b94c68d3
Merge pull request #4284 from node-red/4268-add-clone-jsonata-docs
Add docs for $clone function
2023-08-18 15:52:45 +01:00
Kazuhito Yokoi 1414fed776 Change linefeed codes from "\r\n" to "\n" in Korean message catalogs 2023-08-18 20:39:13 +09:00
Kazuhito Yokoi 7e6a96db87 Fix file permissions of message catalogs 2023-08-17 18:17:58 +09:00
Nick O'Leary 966bbe2856
Add docs for $clone function 2023-08-16 16:02:33 +01:00
Nick O'Leary 2137211d42
Capture workspace dirty state when quick-adding junction
Fixes #4282
2023-08-16 15:58:08 +01:00
Nick O'Leary cc5533c183
Merge pull request #4281 from kazuhitoyokoi/master-roundedcorners
Fix not rounded corners in project settings UI
2023-08-16 15:53:07 +01:00
Kazuhito Yokoi 6e46666895 Fix not rounded corners in project settings UI 2023-08-16 20:14:22 +09:00
Kazuhito Yokoi a87d7276c5 Add svg icons for nodes 2023-08-16 19:21:31 +09:00
Nick O'Leary 20557f20db
Update tour for 3.1.0 2023-08-15 20:36:07 +01:00
Kazuhito Yokoi 66144c1eb5 Add svg icons for nodes 2023-08-15 16:16:04 +09:00
Kazuhito Yokoi 3fd2b5f4e1
Merge branch 'dev' into dev-tostring4filenodes 2023-08-14 21:16:57 +09:00
Kazuhito Yokoi 8a4128defb Fix handling in file nodes when 0 is specified as file name 2023-08-14 19:53:00 +09:00
Nick O'Leary 9542c22191
Merge pull request #4259 from kazuhitoyokoi/master-fixtooltip4textdiff
Add tooltip to text diff button
2023-08-14 11:11:32 +01:00
Nick O'Leary 15b8d79489
Merge pull request #4261 from DarshanDixit05/fix-Invalid-label
fix : Invalid label for attribute on the tray
2023-08-14 11:11:10 +01:00
Nick O'Leary 97470e94f1
Merge pull request #4262 from sammachin/patch-3
Handle 204 in httprequest JSON
2023-08-14 11:10:24 +01:00
Nick O'Leary 37a518b655
Merge pull request #4273 from kazuhitoyokoi/master-fixswitchnode
Fix broken text input in the switch node (again)
2023-08-14 11:09:05 +01:00
Kazuhito Yokoi 9caa6a3553 Fix broken text input in the switch node (again) 2023-08-13 15:33:37 +09:00
Christian Vaas 6c597bba5b
fix: undefined node and wrong method name 2023-08-08 19:21:31 +02:00
Kazuhito Yokoi 0dd771351d Fix handling in file nodes when number is specified as file name 2023-08-06 20:35:33 +09:00
Kilian Hertel f7b64b101e adding function timeout to settings file
adding function timeout to settings file
2023-08-04 14:20:49 +02:00
Sam Machin 2b01a3fcd3
Handle 204 in httprequest JSON
If the http statusCode is 204 (Success, No Content) and the node return type is set to JSON this sets msg.payload as an empty json object so as to supress the JSON parse error
2023-08-02 14:15:29 +01:00
DarshanDixit05 792dedb1f1 fix : Invalid label for attribute on the tray 2023-07-31 19:34:12 +05:30
Kazuhito Yokoi 0bf1343442 Add tooltip to text diff button 2023-07-29 16:36:55 +09:00
Nick O'Leary 1ffef393c2
Bump versions for 3.1.0-beta.4 2023-07-26 17:09:29 +01:00
Nick O'Leary 8b7b3e22d7
Merge branch 'master' into dev 2023-07-26 16:59:12 +01:00
Nick O'Leary d21c0758b1
Merge pull request #4246 from kazuhitoyokoi/dev-fixfilenode
Fix JSONata in file nodes
2023-07-26 11:55:32 +01:00
Manuel Buchner 21be329008
fix html syntax in 21-httprequest.html 2023-07-18 17:16:17 +02:00
Stephen McLaughlin fb2c0e5441
Merge pull request #4252 from kazuhitoyokoi/dev-jpn
Add Japanese translation for 3.1.0
2023-07-16 09:24:38 +01:00
Kazuhito Yokoi 9dcb8a729c Show timeout icon in link call node 2023-07-15 18:16:42 +09:00
Kazuhito Yokoi b66237efa8 Show timeout icon in function node 2023-07-15 18:15:34 +09:00
Kazuhito Yokoi 6d2f855227 Add Japanese translation for 3.1.0 2023-07-15 17:34:08 +09:00
Kazuhito Yokoi 638aa0372b Update Japanese translation for inject node 2023-07-15 17:23:14 +09:00
Nick O'Leary ec7e594ec1
Add NR_SUBFLOW_NAME/ID/PATH env vars
Closes #4239
2023-07-14 17:14:39 +01:00
Steve-Mcl 15973768e2 improve catalog visibility/ux 2023-07-14 12:57:27 +01:00
Stephen McLaughlin 0d73a4b013
remove console debugging 2023-07-13 20:28:24 +01:00
Stephen McLaughlin 50f11faf1f
remove console debugging 2023-07-13 20:28:16 +01:00
Stephen McLaughlin cfb7406fb8
remove console debugging 2023-07-13 20:28:09 +01:00
Steve-Mcl 9008f063c3 hook up filtering to catalog selection 2023-07-13 19:49:17 +01:00
Steve-Mcl 368ac4ed5c i18n update 2023-07-13 19:48:34 +01:00
Steve-Mcl 6ac2e703a6 fix layout bugs 2023-07-13 19:48:13 +01:00
Kazuhito Yokoi f3847a17f3 Fix JSONata in file-in node 2023-07-14 00:24:50 +09:00
Steve-Mcl 1fa4aaf706 add catalog select 2023-07-13 13:27:42 +01:00
Nick O'Leary a3e41d4f35
Update packages/node_modules/@node-red/util/lib/util.js
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
2023-07-11 21:11:26 +01:00
Kazuhito Yokoi 80e33489d9 Fix JSONata in file nodes 2023-07-12 02:36:39 +09:00
Nick O'Leary 271b1327c7
Merge branch 'dev' into revert-4225-4196-fix-jsonata-env-var-async 2023-07-10 12:37:41 +01:00
Nick O'Leary 5d990ff4c5
Merge pull request #4242 from kazuhitoyokoi/master-fixswitchnode
Fix broken text input in the switch node
2023-07-10 12:35:50 +01:00
Nick O'Leary 69aacc6256
Merge pull request #4228 from node-red/4223-fix-http-request-keep-alive
Fix connection keep-alive in http request node
2023-07-10 12:31:28 +01:00
Nick O'Leary a5066d529f
Use flowChanged in diff to mark flows to restart 2023-07-10 12:30:36 +01:00
Nick O'Leary 5bf034f3c1
Merge pull request #4238 from ZJvandeWeg/patch-1
help: Template might be a better fit to create multiline strings
2023-07-10 12:10:32 +01:00
Nick O'Leary 7481b78b16
Force reeval of env vars if group/flow/global envs change 2023-07-10 12:04:52 +01:00
Steve-Mcl bd589aa140 fix touch mode wire linking 2023-07-10 10:24:28 +01:00
Kazuhito Yokoi c4019bd91d Add Japanese translation for error message when creating subflow 2023-07-02 15:51:35 +09:00
Kazuhito Yokoi 18e1b670ca Make handlings one line 2023-07-02 01:33:11 +09:00
Kazuhito Yokoi cd76c934b6 Fix broken text input in the switch node 2023-07-02 00:40:15 +09:00
Zeger-Jan van de Weg db98641a32
help: Template might be a better fit to create multiline strings
The inject node doesn't create multiline strings as the help text explains. While there's indeed many ways to circumvent this, the Template node might be more "low-code" than the function node is.
2023-06-27 09:53:39 +02:00
Nick O'Leary 59745fec0b
Merge pull request #4231 from bvmensvoort/4219-missing-error-logging-for-config-nodes
Show errors and statuses of config nodes in the sidebar when no catch node is available
2023-06-23 16:46:51 +01:00
Nick O'Leary 56ed32e4a1
Add background to node status 2023-06-23 16:09:34 +01:00
Nick O'Leary 3209777aba
Tidy up flow/util 2023-06-23 15:48:06 +01:00
Nick O'Leary 11f9ad8ca3
Remove debug for wiring 2023-06-23 12:29:33 +01:00
Nick O'Leary 26fc942c79
Improve wiring for horizontally aligned nodes 2023-06-23 12:24:48 +01:00
Nick O'Leary f196493402
Evaluate global-config env on startup 2023-06-23 09:35:00 +01:00
Nick O'Leary 1c5fdb6ab6
Evaluate all env vars as part of async flow start 2023-06-23 02:11:57 +01:00
bvmensvoort 3ed530ed9e Merge branch 'dev' into 4219-missing-error-logging-for-config-nodes 2023-06-22 20:14:56 +02:00
Nick O'Leary 51a0b68d8e
Revert "Add callback to getSetting to support async jsonata access" 2023-06-22 10:17:48 +01:00
Nick O'Leary 2448e137c8
Merge pull request #4229 from node-red/4125-httpstatic-middleware
Add support for httpStatic middleware
2023-06-21 16:57:00 +01:00
Nick O'Leary 33899763ef
Add support for httpStatic middleware 2023-06-21 16:47:47 +01:00
Nick O'Leary ce679f90ee
Merge pull request #4177 from k1ln/adding-timeout-to-functio-node
adding timeout attribute to function node
2023-06-21 15:57:44 +01:00
Nick O'Leary 8fb379079b
Merge pull request #4225 from node-red/4196-fix-jsonata-env-var-async
Add callback to getSetting to support async jsonata access
2023-06-21 15:56:11 +01:00
Nick O'Leary 610cb170e7
Fix connection keep-alive in http request node 2023-06-21 15:45:23 +01:00
Nick O'Leary 4d9fcaeebf
Update env.get type hint 2023-06-21 15:00:27 +01:00
Nick O'Leary aa0225f59f
Apply suggestions from code review 2023-06-21 14:27:32 +01:00
Nick O'Leary 2571949e90
Merge pull request #4143 from inNETMonitoring/fix/joinManual
fix: closes #4142
2023-06-21 14:24:53 +01:00
Kilian Hertel 20d2c11154
Merge branch 'dev' into adding-timeout-to-functio-node 2023-06-21 15:24:24 +02:00
Nick O'Leary 3f604e9d93
Adds optional callback to env.get in function node 2023-06-21 14:20:23 +01:00
Nick O'Leary 234e92db12
Merge pull request #4215 from node-red/4213-fix-subflow-env
Fix subflow env var `length` not correctly handled in Node-RED
2023-06-21 14:06:05 +01:00
Nick O'Leary 01c56f6515
Merge pull request #4200 from GogoVega/french-translation-of-welcome-tours
French translation of Welcome Tours
2023-06-21 14:03:56 +01:00
Nick O'Leary 026be5a990
Merge pull request #4199 from GogoVega/french-translation-of-v3.1.0-beta.3
French translation of v3.1.0-beta.3 changes
2023-06-21 14:01:10 +01:00
Nick O'Leary aafb86ef09
Merge branch 'dev' into adding-timeout-to-functio-node 2023-06-21 13:35:48 +01:00
Nick O'Leary 1a24efe85d
Merge pull request #4209 from HiroyasuNishiyama/jp-message
add Japanese message for 3.1.0 beta 3
2023-06-21 13:34:23 +01:00
Nick O'Leary 1ad67d5c73
Merge pull request #4218 from node-red/4204-cant-go-fullscreen-on-a-mac
Dont handle shortcuts with both cmd+ctrl modifiers
2023-06-21 13:31:21 +01:00
Nick O'Leary 0b3f7dbb1f
Merge pull request #4203 from node-red/fix-delay-node-flush-issue-4202
Fix delay node flush issue
2023-06-21 13:27:32 +01:00
Nick O'Leary e90007860c
Merge pull request #4207 from node-red/4197-status-catch-label
Update status and catch node labels in group mode
2023-06-21 13:27:09 +01:00
Steve-Mcl 502dacd865 fix failure to return after calling callback 2023-06-17 22:44:55 +01:00
Steve-Mcl 4808cac89d Add async to all paths that JSONata env var calls 2023-06-17 21:14:56 +01:00
bvmensvoort c1ea3380eb Show errors and statuses of config nodes in the sidebar when no catch nodes are used 2023-06-10 21:27:06 +02:00
Stephen McLaughlin 694fdebc71
dont handle both cmd+ctrl 2023-06-10 16:23:21 +01:00
Steve-Mcl 1cbd910e5d correct declaration of env object/dic/lookup 2023-06-09 11:30:21 +01:00
Steve-Mcl b102ef512e ensure object before attempting to call function 2023-06-09 11:29:54 +01:00
Kilian Hertel 220a621dc6
Merge branch 'dev' into adding-timeout-to-functio-node 2023-06-02 12:20:51 +02:00
BitCaesar 0db288e6dc
Merge branch 'dev' into fix/joinManual 2023-05-31 16:10:41 +02:00
Stephen McLaughlin f8175fc325
Update packages/node_modules/@node-red/nodes/locales/en-US/messages.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2023-05-31 14:11:06 +01:00
Stephen McLaughlin 5eee38e7de
Update packages/node_modules/@node-red/nodes/locales/en-US/messages.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2023-05-31 14:10:59 +01:00
Kilian Hertel 876053f858
Merge branch 'dev' into adding-timeout-to-functio-node 2023-05-30 14:55:56 +02:00
GogoVega 9714ef19de
Missing french translation of beta 3 changes 2023-05-30 14:19:39 +02:00
HiroyasuNishiyama 613a345771 add additional Japanese translation for status and catch node 2023-05-30 20:58:17 +09:00
BitCaesar 4fe29dd33f
Merge branch 'dev' into fix/joinManual 2023-05-30 10:42:04 +02:00
Steve-Mcl 4b24223290 Dont clone group node `node` array
fixes #4198
2023-05-29 23:55:52 +01:00
Steve-Mcl a78da0db1e Update status and catch node labels in group mode 2023-05-29 22:47:29 +01:00
Dave Conway-Jones 5e4fce1e12
Fix delay node flush issue
to close #4202
2023-05-27 17:51:21 +01:00
GogoVega 4cb2624a5d
French translation of Welcome Tours 2023-05-26 20:58:50 +02:00
GogoVega 58e045f25d
French translation of changes from v3.1.0-beta.3 2023-05-26 20:52:25 +02:00
Nick O'Leary 26a770e490
Merge pull request #4192 from node-red/prep-310-beta3
Bump everything for beta.3
2023-05-26 13:31:53 +01:00
Steve-Mcl 6cb4c9224d Merge remote-tracking branch 'upstream/dev' into fix-mqtt-keep-subscription-4132 2023-05-26 10:46:59 +01:00
Nick O'Leary 4047612b96
Merge branch 'master' into patch-1 2023-05-26 10:31:29 +01:00
Nick O'Leary 1978a360af
Merge pull request #4191 from node-red/update-xml2js
Update xml2js
2023-05-26 10:30:13 +01:00
Steve-Mcl 59ec87a393 fix function node error badge not shown
fixes #4194
2023-05-26 10:12:48 +01:00
Kazuhito Yokoi 9423104dad Add Japanese translations for v3.1.0-beta.3 2023-05-26 12:35:53 +09:00
Nick O'Leary 614834090e
Bump everything for beta.3 2023-05-25 18:10:01 +01:00
Nick O'Leary 3a9f38a873
Merge branch 'master' into dev 2023-05-25 17:42:34 +01:00
Nick O'Leary 0697c26dd1
Merge branch 'dev' into adding-timeout-to-functio-node 2023-05-25 17:33:41 +01:00
Nick O'Leary cfa25dc655
Update xml2js 2023-05-25 17:30:17 +01:00
Steve-Mcl 0528c12782 Merge remote-tracking branch 'upstream/dev' into fix-mqtt-keep-subscription-4132 2023-05-25 12:07:33 +01:00
Steve-Mcl e19b60b202 patch the editor to fix invisible action list 2023-05-25 11:30:24 +01:00
Steve-Mcl 0ed274f994 remove useless file 2023-05-25 10:59:09 +01:00
Steve-Mcl e8378b382b update function node env typing 2023-05-25 10:58:25 +01:00
Nick O'Leary e6c12a0c54
Merge pull request #4186 from node-red/3843-alternative-impl
Remove unused function
2023-05-22 23:20:18 +01:00
Nick O'Leary 70620ad12d
Merge pull request #4184 from node-red/4113-group-selection-api
Enable RED.view.select to select group by id
2023-05-22 23:15:56 +01:00
Nick O'Leary 991f13e704
Remove unused function 2023-05-22 23:14:31 +01:00
Nick O'Leary 2388232179
Fix catch/status group scoping to handle group hierarchies 2023-05-22 22:33:31 +01:00
Nick O'Leary 11ded1e497
Merge branch 'dev' into 3843-alternative-impl 2023-05-22 17:41:23 +01:00
Nick O'Leary 9479b56549
Merge pull request #4109 from kevinGodell/dev
httpStatic feature
2023-05-22 16:54:29 +01:00
Nick O'Leary 90e32f52c9
Enable RED.view.select to select group by id 2023-05-22 16:51:17 +01:00
Nick O'Leary ce6a4845f2
Merge pull request #4113 from Steve-Mcl/select-deep-linked-item
Select the item that is specified in a deep link URL
2023-05-22 16:48:00 +01:00
Nick O'Leary 0f5cf1d51c
Merge pull request #4183 from node-red/4111-subflow-node-position
Place subflow outputs/inputs relative to current view
2023-05-22 16:46:56 +01:00
Kilian Hertel c2812b05a4
Merge branch 'master' into adding-timeout-to-functio-node 2023-05-22 17:42:59 +02:00
Nick O'Leary 1a149592d6
Merge pull request #4181 from node-red/4122-exit-codes
Ensure non-zero exit codes for errors
2023-05-22 16:39:22 +01:00
Nick O'Leary 7a4f48e4fb
Place subflow outputs/inputs relative to current view
Fixes #4111
2023-05-22 16:26:38 +01:00
Nick O'Leary 2ae2ec2578
Combine existing env vars when merging groups
Closes #4101
2023-05-22 16:07:14 +01:00
Nick O'Leary a790136164
Merge branch 'master' into 4133-mqtt-v5-disconnects-when-subscribing-to-aws-core-broker 2023-05-22 15:16:58 +01:00
Nick O'Leary e6c454bba5
Ensure non-zero exit codes for errors 2023-05-22 15:11:57 +01:00
Nick O'Leary b904c23e4d
Merge pull request #4180 from node-red/4168-make-module-install-synchronous
Ensure external modules are installed synchronously
2023-05-22 14:39:26 +01:00
Nick O'Leary 18610bb540
Ensure external modules are installed synchronously
Fixes #4168
2023-05-22 14:24:11 +01:00
Nick O'Leary 69d643942c
Merge branch 'dev' into update-deps 2023-05-22 13:57:47 +01:00
Nick O'Leary 6e1b298282
Reconstruct xml2js output as proper object 2023-05-22 13:57:12 +01:00
Nick O'Leary c2387777c9
Merge branch 'master' into dev 2023-05-22 12:52:07 +01:00
Nick O'Leary 32a49a1ef1
Merge pull request #4172 from wooferguy/Zombie-Junctions-Fix
Check for group
2023-05-22 12:51:46 +01:00
Nick O'Leary 4b88775183
Merge pull request #4166 from node-red/fix-RBE-for-missing-payload
Fix RBE for missing "payload"
2023-05-22 12:49:07 +01:00
Nick O'Leary 29db82625f
Merge pull request #4162 from kazuhitoyokoi/master-fixdownload4ipad
Fix content type for downloading flows.json
2023-05-22 12:48:05 +01:00
Nick O'Leary a7e0444e92
Merge pull request #4158 from kazuhitoyokoi/dev-addjpn
Add Japanese translations for v3.1 beta.2
2023-05-22 11:36:32 +01:00
Nick O'Leary e9e32550df
Merge pull request #4178 from node-red/4169-remove-express-header
Ensure express server options are applied consistently
2023-05-22 11:35:32 +01:00
Nick O'Leary 59b059f06f
Merge pull request #4179 from node-red/4170-remove-version-from-theme
Remove version info from theme endpoint
2023-05-22 11:35:20 +01:00
Nick O'Leary 3b5e21761b
Merge branch 'master' into fix-RBE-for-missing-payload 2023-05-22 11:29:19 +01:00
Nick O'Leary 0e52271ba9
Remove version info from theme endpoint
Fixes #4170
2023-05-22 11:00:15 +01:00
Nick O'Leary 57359d1659
Ensure express server options are applied consistently
Fixes #4169
2023-05-22 10:54:37 +01:00
Kilian Hertel 2253417459 adding timeout attribute to function node
- [x] New feature (non-breaking change which adds functionality)

Discussion here:
https://discourse.nodered.org/t/function-node-doesnt-have-timeout-feature/78483

## Proposed changes

Adding a timeout attribute to the function node, so an endless funciton doesnt break the node red server.

## Checklist

- [x] I have read the [contribution guidelines](https://github.com/node-red/node-red/blob/master/CONTRIBUTING.md)
- [x] For non-bugfix PRs, I have discussed this change on the forum/slack team.
- [x] I have run `grunt` to verify the unit tests pass
- [x] I have added suitable unit tests to cover the new/changed functionality
2023-05-22 10:16:37 +02:00
wooferguy 7e9042e9f7 Check for group
Remove junction from groups node list if it is present.
2023-05-17 05:14:18 +12:00
Steve-Mcl dee68b903c fix sub/unsub when using "dont unsub" 2023-05-13 11:14:57 +01:00
Dave Conway-Jones 67c5a248ad
Fix RBE for missing "payload"
To close #4165
2023-05-08 09:28:35 +01:00
xuyu0v0 940512fb2c
Update editor.json
Update Simplified Chinese translation files
2023-05-07 20:16:28 +08:00
Kazuhito Yokoi e8ddee24a9 Use correct content type for downloading flows.json 2023-05-06 21:10:49 +09:00
Kazuhito Yokoi be4eab65f6 Fix content type for downloading flows.json 2023-05-06 20:00:20 +09:00
Kazuhito Yokoi fb5ffa1c31 Add Japanese translation for keyboard shortcut scope 2023-05-01 14:44:14 +09:00
Kazuhito Yokoi aff0bd3f6a Add Japanese translation for auto unsubscribe in MQTT node 2023-05-01 14:28:02 +09:00
Kazuhito Yokoi c0650cc0f5 Add Japanese translation for keyboard shortcut scope 2023-05-01 13:53:54 +09:00
Stephen McLaughlin 02c7d014cb
dont use subscriptionIdentifier no broker support 2023-04-29 21:00:26 +01:00
Nick O'Leary e29479fd25
Merge branch 'dev' into remove-empty-global-config 2023-04-28 21:49:16 +01:00
Nick O'Leary 20abe4a40c
Update dependecies include got 2023-04-28 21:37:03 +01:00
Nick O'Leary 55a9a29f76
Merge branch 'master' into dev 2023-04-28 18:49:03 +01:00
Nick O'Leary 67dd7e30fa
Merge pull request #4154 from node-red/add-editor-scope
Add editor scope to keyboard shortcut scope select
2023-04-28 18:47:25 +01:00
Nick O'Leary 667d8673d4
Merge branch 'master' into Bugs/not-loading-missing-subflow 2023-04-28 18:07:28 +01:00
Nick O'Leary 86dfe86813
Add editor scope to keyboard shortcut scope select 2023-04-28 17:47:16 +01:00
Nick O'Leary b129e11c8f
Avoid creating empty global-config node if not needed 2023-04-28 17:36:55 +01:00
Nick O'Leary bd7b3bb4d7
Merge pull request #4108 from node-red/fix-group-select-delete
Fix group selection when using lasso
2023-04-28 15:28:04 +01:00
Nick O'Leary 841f1849c8
Update packages/node_modules/@node-red/runtime/lib/flows/util.js 2023-04-28 15:25:29 +01:00
Nick O'Leary 00e7e4d43c
Merge pull request #4147 from kazuhitoyokoi/master-selection2subflow
Add node width and height to boundingBox
2023-04-28 15:23:02 +01:00
Nick O'Leary ee43a845aa
Merge pull request #4128 from kazuhitoyokoi/master-fixquickadddialog
Fix broken subflow icon and overflowed name in quick add dialog
2023-04-28 15:22:25 +01:00
Nick O'Leary a7cc66af93
Merge pull request #4130 from kazuhitoyokoi/master-fixoverflow
Wrap long node name in tooltip, info sidebar, and node property
2023-04-28 15:21:37 +01:00
Nick O'Leary f8701cfed0
Merge pull request #4135 from kazuhitoyokoi/master-fixactionlist
Support uppercase in keyword when searching action list
2023-04-28 15:20:56 +01:00
Nick O'Leary 07729247ac
Merge pull request #4145 from kazuhitoyokoi/dev-addjpn4tour
Add Japanese translations for welcome tour of 3.1.0 beta.2
2023-04-28 15:16:13 +01:00
Nick O'Leary 792b310fad
Merge pull request #4151 from mw75/master
Use editor path in generating localStorage keys
2023-04-28 15:15:55 +01:00
Mario Wolff ed2c9d24e8 use replace instead of replaceAll to support node14 2023-04-28 14:53:18 +02:00
Mario Wolff f917212d67 a simple approach to fix #2657 2023-04-28 12:35:19 +02:00
Gerwin van Beek 6fbcec8b98 Solved node red not loading without error when subflow is missing 2023-04-24 11:51:06 +02:00
Kazuhito Yokoi c30e57c31d Add node width and height to boundingBox 2023-04-23 20:47:17 +09:00
Kazuhito Yokoi 674c9f0405 Add Japanese translations for welcome tour of 3.1.0 beta.2 2023-04-22 21:26:02 +09:00
BitCaesar e16d5cf83d fix: closes #4142
The issue occured because the partId is set to "_" by default and is never overwritten in manual mode.
With concurrent messages and different processing times all parts of all messages have the identifier "_" and are assembled following the FIFO principle.
2023-04-20 12:28:36 +02:00
Mauricio Bonani df3dc36874 Fix palette filter background 2023-04-17 10:57:40 -04:00
Kazuhito Yokoi 7b71d8d212 Support uppercase in keyword when searching action list 2023-04-10 01:25:34 +09:00
Kazuhito Yokoi 2eaae4b83f Wrap long node name in info sidebar 2023-04-05 00:56:27 +09:00
Kazuhito Yokoi 3c66af9506 Wrap long node name in tooltip and node property 2023-04-05 00:45:46 +09:00
Kazuhito Yokoi 8e4933041d Wrap text of label in quick add dialog 2023-04-01 02:34:11 +09:00
Kazuhito Yokoi 1f3559e14f Set label width in quick add dialog to prevent broken node icon 2023-04-01 02:28:48 +09:00
Steve-Mcl 12ac260dce select the deep link item 2023-03-26 11:00:28 +01:00
Nick O'Leary 53f99ecc23
Merge pull request #4112 from node-red/editor-cred-export
Ensure no node credentials are included when exporting to clipboard
2023-03-24 09:50:14 +00:00
Nick O'Leary 347410f744
Do not include credentials when exporting to clipboard 2023-03-24 09:44:10 +00:00
Kevin Godell 7ae3e32abd update example and document feature for httpStatic options 2023-03-20 17:51:05 -05:00
Kevin Godell 54b2215164 pass options to express.static 2023-03-20 17:51:05 -05:00
Kevin Godell 889489e33e set default when root is not defined 2023-03-20 17:51:05 -05:00
Nick O'Leary 4667e76c6b
Merge pull request #4078 from flying7eleven/option-to-disable-mqtt-ubsubscribe-on-disconnect
Option to disable MQTT topic unsubscribe on disconnect
2023-03-20 20:32:08 +00:00
Nick O'Leary a10d07d1dc
Merge pull request #4100 from sroebert/feature/sha-digest-algorithms
Added SHA-256 and SHA-512-256 digest authentication
2023-03-20 20:30:48 +00:00
Nick O'Leary 33ea25922d
Update packages/node_modules/@node-red/editor-client/src/js/ui/view.js 2023-03-20 20:29:10 +00:00
Nick O'Leary b56bd7bb5e
Fix group selection when using lasso 2023-03-20 17:15:45 +00:00
Tim Janke e7617de1ee
Replace a `var` with a `const` since its value won't be modified further on 2023-03-13 13:22:51 +01:00
Steve-Mcl 97fbad4dc5 add "timers" types to known types 2023-03-13 10:02:46 +00:00