Commit Graph

4773 Commits (5092-port-state)

Author SHA1 Message Date
Joe Pavitt 9650ef2cbc Update the Node-RED logo to use the hex variant 2025-04-11 17:32:41 +01:00
Nick O'Leary a5383f4064
Bump i18next to 24.x and auto-migrate message catalog format 2025-03-24 17:38:21 +00:00
Nick O'Leary 5251e848b9
Properly handle scale factor in getLinksAtPoint for firefox 2025-03-24 16:34:01 +00:00
Nick O'Leary b8f0e13cd6
Merge branch 'dev' into export-module-info 2025-03-17 16:51:44 +00:00
Nick O'Leary 7285244e8d
Add user setting for showing the node info icon 2025-03-17 16:21:14 +00:00
Nick O'Leary ba7eec44fa
Add a node annotation if there info property set 2025-03-17 16:08:25 +00:00
Nick O'Leary 686efc4720
Merge branch 'master' into dev 2025-03-17 16:07:46 +00:00
Nick O'Leary 90c2758624
Add code to error object sent by Catch node 2025-03-13 10:49:15 +00:00
Nick O'Leary a976f48be1
Merge pull request #5079 from node-red/5068-improve-error-object-debug
Improve debug display of error objects
2025-03-11 16:46:08 +00:00
Nick O'Leary 6a38808fbb
Merge pull request #5078 from node-red/5077-typedInput-border
Add a border to better distinguish typedInput type/option dropdowns
2025-03-11 16:07:48 +00:00
Nick O'Leary 82ba56bffe
Fix up tests 2025-03-11 16:07:15 +00:00
Nick O'Leary 5eea8b6b60
Improve debug display of error objects 2025-03-10 17:43:06 +00:00
Nick O'Leary af6e33d4ec
Add a border to better distinguish typedInput type/option dropdowns 2025-03-10 16:29:48 +00:00
Nick O'Leary 7e512c94fe
Merge pull request #5012 from GogoVega/fix-subflow-dialog
Fix undo of subflow color change not applying to instances
2025-03-10 15:51:33 +00:00
Nick O'Leary 336c73fd2a
Merge pull request #5073 from Rotzbua/chore_dompurify_flag
chore(editor): update `DOMPurify` flag
2025-03-06 09:43:11 +00:00
Nick O'Leary d847bce8b9
Merge pull request #5072 from node-red/5061-refresh-sidebar-on-lock-action
Refresh config node sidebar when changing lock state of a flow
2025-03-06 09:42:30 +00:00
Rotzbua 287c7f8da5
chore(editor): update `DOMPurify` flag
DOMPurify 2.1.0: Removed the SAFE_FOR_JQUERY flag (we are safe by default now for jQuery)
https://github.com/cure53/DOMPurify/releases/tag/2.1.0
2025-03-03 21:04:22 +01:00
Nick O'Leary d00bf07fcc
Merge pull request #5071 from node-red/5069-fix-subflow-context-delete
Handle deleting of subflow context entries
2025-03-03 16:43:56 +00:00
Nick O'Leary 9a8251c9b3
Merge pull request #5067 from node-red/5065-support-node-prefix-builtins
Add support for node: prefixed modules in function node
2025-03-03 16:43:35 +00:00
Nick O'Leary f0d217e1c7
Merge pull request #5059 from node-red/update-drop-text
Update markdown drop-target appearance
2025-03-03 16:41:57 +00:00
Nick O'Leary ce23d89739
Refresh config node sidebar when changing lock state of a flow 2025-03-03 16:39:58 +00:00
Nick O'Leary 02d7d76d3b
Merge pull request #5061 from GogoVega/tab-config-category-disabled
Support for disabled categories in Sidebar Config
2025-03-03 16:39:02 +00:00
Nick O'Leary 5ef2f9f0f3
Handle deleting of subflow context entries 2025-03-03 16:10:43 +00:00
Rotzbua 263f6136e8
chore(editor)!: remove Internet Explorer polyfill
IE support was removed in node-red v3.
MS Edge does not use `msSaveBlob`.
2025-03-03 16:19:12 +01:00
Nick O'Leary b8fa468559
Add support for node: prefixed modules in function node 2025-02-28 17:34:01 +00:00
GogoVega 6da890bf88
Manage badge locations with pure CSS + cleanup 2025-02-24 21:09:44 +01:00
GogoVega b8eeef182c
Add `changed` badge for category header + fix cropped badge 2025-02-24 21:09:11 +01:00
GogoVega 54e0de64a7
Add the `changed` badge for the config node 2025-02-24 21:08:43 +01:00
GogoVega 5d1fa49045
Support for disabled categories in sidebar config 2025-02-24 20:05:14 +01:00
Nick O'Leary 87b7fc69c7
Update markdown drop-target appearance 2025-02-24 16:51:51 +00:00
Nick O'Leary 71f8de94b0
Merge pull request #5056 from gorenje/master
Support text drag & drop into markdown editor
2025-02-24 16:26:19 +00:00
Nick O'Leary 4723378f2f
Merge pull request #5054 from GogoVega/deployment-ignore-disabled
Ignore state of disabled nodes/flows during deployment
2025-02-24 16:11:55 +00:00
Gerrit Riessen 473b93f497
Support text drag & drop into markdown editor
Along with image drop, this change adds text drop into the editor. 

This is useful for highlighting text and then drag that text into the description of a node. Similar creating a mermaid diagram using a third-party tool and then drag the text into the description.

Also drop text files is also supported for longer texts.
2025-02-20 09:30:50 +01:00
GogoVega d9c5144fe2
Ignore state of disabled nodes/flows during deployment 2025-02-17 14:05:51 +01:00
matiseni51 cbc91a9ac8
Merge branch 'master' into fix-include-label-themeSettings-config 2025-02-16 14:03:24 +01:00
matiseni51 88c946d401 fix: set label in themeSettings.deployButton despite type attribute 2025-02-16 13:44:22 +01:00
Nick O'Leary e55301c073
Update for 4.0.9 2025-02-14 17:03:13 +00:00
Nick O'Leary dc69226944
Merge pull request #5050 from aikitori/mqtt-update-translation
Add details for the dynamic subscription to match the English docs
2025-02-14 16:27:12 +00:00
GogoVega e1b591d761
Fix tooltip snapping based on input type 2025-02-13 13:59:06 +01:00
aikitori 27463197cd
Add details for the dynamic subscription to match the English documentation 2025-02-13 08:55:10 +01:00
Stephen McLaughlin 4984af48f1
Update monaco.js for symbol error 2025-02-12 09:42:55 +00:00
Nick O'Leary e9dab46de8
Merge pull request #5025 from node-red/browse-subflow-flow-context
Show subflow flow context under node section of sidebar
2025-02-10 16:51:55 +00:00
Nick O'Leary 4605f01c5d
Merge pull request #5030 from matiseni51/add-editorTheme-custom-label-default-deploy-button
feat: Add custom label for default deploy button in settings.editorTheme
2025-02-10 16:51:45 +00:00
Nick O'Leary a0ddf96e03
Merge pull request #5042 from node-red/5028-improve-auto-complete-long-keys
Handle long auto-complete suggests
2025-02-10 16:51:31 +00:00
Nick O'Leary 77c4ccf8fb
Handle undefined username when generating user icon
Fixes #5036
2025-02-10 16:41:18 +00:00
Nick O'Leary 7d9e09f5a7
Handle long auto-complete suggests
Fixes #5028
2025-02-10 16:23:13 +00:00
matiseni51 f4c184af4d
Merge branch 'master' into add-editorTheme-custom-label-default-deploy-button 2025-02-03 20:52:23 +01:00
matiseni51 ca61efc986 feat: Add custom label for default deploy button in settings.editorTheme 2025-02-01 11:44:57 +01:00
GogoVega dd702d4020
Merge branch 'master' into fix-subflow-dialog 2025-01-31 15:20:00 +01:00
Nick O'Leary ffdbd94927
Handle dragging node into group and splicing link at same time
Fixes #5026
2025-01-29 14:22:44 +00:00
Nick O'Leary 43df2318d4
Show subflow flow context under node section of sidebar 2025-01-27 16:36:57 +00:00
Nick O'Leary 21612a5215
Merge pull request #5021 from node-red/5008-remember-context-tree-state
Remember context sidebar tree state when refreshing
2025-01-27 15:58:43 +00:00
Nick O'Leary 756485e308
Merge pull request #5023 from node-red/5010-update-instance-envvars
Update sf instance env vars when removed from template
2025-01-27 15:58:30 +00:00
Nick O'Leary daa76e6e5f
Update sf instance env vars when removed from template 2025-01-22 10:25:24 +00:00
Nick O'Leary 48d2d269a5
Do not select group when triggering quick-add within it 2025-01-21 16:15:13 +00:00
Nick O'Leary 13cac1b5ef
Remember context sidebar tree state when refreshing
Closes #5008
2025-01-21 13:56:44 +00:00
Nick O'Leary 479b7e756d
Merge pull request #5016 from node-red/5009-fix-env-context-access
Allow env var access to context
2025-01-20 11:32:55 +00:00
Nick O'Leary 503ef62cf5
Merge pull request #5018 from node-red/fix-debug-status-if-null
fix debug status reporting if null
2025-01-20 11:32:43 +00:00
Dave Conway-Jones 1acc16c9ef
fix debug status reporting if null 2025-01-19 10:57:58 +00:00
Nick O'Leary 4cbf672b26
Fix library icon handling within library browser component
Closes #5004
2025-01-17 17:07:58 +00:00
Nick O'Leary e2981f2970
Allow env var access to context 2025-01-17 16:45:44 +00:00
Nick O'Leary 953b7584a3
Avoid exceeding call stack when draining message group in Switch
Fixes #5013
2025-01-13 16:37:35 +00:00
GogoVega 37aacd3e84
Fix Subflow edit box and color change 2025-01-12 14:06:21 +01:00
Nick O'Leary 4845a1f7eb
Bump for 4.0.8 2024-12-20 11:06:08 +00:00
Nick O'Leary 7fa4e60c82
Fix config node sort order when importing 2024-12-20 09:54:13 +00:00
Nick O'Leary 100e5244c8
Bump for 4.0.7 2024-12-17 17:08:56 +00:00
Nick O'Leary ed0399b855
Merge pull request #4997 from GogoVega/fix-def-import
Fix def can be undefined if the type is missing
2024-12-17 17:04:52 +00:00
Nick O'Leary 27e9c18a4e
Merge pull request #4995 from GogoVega/fix-4994
Fix the user list of nested config node
2024-12-17 17:01:41 +00:00
GogoVega c6895713ed
Fix def can be undefined if the type is missing 2024-12-17 17:57:01 +01:00
GogoVega 7785ce0dc0
Fix the user list of nested config node 2024-12-17 15:36:51 +01:00
Nick O'Leary 1a47e2fc76
Fix login image auth setting 2024-12-16 17:09:31 +00:00
Nick O'Leary b7e96ce6bc
Support custom login message and button 2024-12-16 16:58:13 +00:00
Nick O'Leary e9d5d20e2d
Update for 4.0.6 2024-12-16 11:35:14 +00:00
Nick O'Leary 867a6ad2da
Merge pull request #4975 from node-red/gg-changes
Roll up various fixes on config node change history
2024-12-16 11:29:11 +00:00
Nick O'Leary 03507c2a1f
Merge pull request #4949 from AGhorab-upland/master
Add qoutes when installing local tgz to fix spacing in the file path
2024-12-16 09:44:28 +00:00
Steve-Mcl b139eb4a18 update CSV to adhere to strict rfc compliance on msg.columns 2024-12-12 16:42:11 +00:00
Steve-Mcl 6af3c8c2a9 revert changes to csv parser 2024-12-12 16:41:26 +00:00
Steve-Mcl 2c3fbb1467 revert changes to legacy mode 2024-12-12 16:40:43 +00:00
Stephen McLaughlin 01716119e6
Merge branch 'master' into 4977-fix-csv-sep 2024-12-12 10:26:24 +00:00
Vasu Vanka c1fbff1e18
Update settings.js 2024-12-11 11:09:33 +05:30
Vasu Vanka 6a127e98cc
Update 10-function.js 2024-12-11 11:08:00 +05:30
Vasu Vanka d0d838bc90
default function timeout PR comments (#2)
set values to default and removed unused import
2024-12-11 11:05:20 +05:30
Nick O'Leary 11c4277466
Update packages/node_modules/@node-red/editor-client/src/js/ui/editor.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-10 15:42:59 +00:00
Nick O'Leary 7d284ce157
Update packages/node_modules/@node-red/editor-client/src/js/ui/editor.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-10 15:42:42 +00:00
Nick O'Leary 00a3010933
Update dependencies 2024-12-10 15:25:23 +00:00
Vasu Vanka 477e81256e
added default timeout to function node (#1)
* added default timeout to function node

* added unit test to support defaultFunctionTimeout
2024-12-10 01:41:54 +05:30
Dave Conway-Jones 56a4530ec6
Fix delay node not dropping when nodeMessageBufferMaxLength is set (#4973)
* Fix delay node not dropping when nodeMessageBufferMaxLength is set

to close #4966

* Rmove redundant codes

* Tidy up code removal

---------

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-12-06 22:22:37 +00:00
Nick O'Leary 89e40a0b8f
Rework saving of credentials to undo history 2024-12-06 16:15:37 +00:00
Nick O'Leary 66bd1feb47
Apply suggestions from code review
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-06 13:45:48 +00:00
Nick O'Leary b419e2e303
Merge branch 'master' into master 2024-12-05 16:32:19 +00:00
Nick O'Leary dae4ba8044
Merge pull request #4964 from node-red/4962-import-warning-tidy
Validate json dropped into editor to avoid unhelpful error messages
2024-12-05 16:31:33 +00:00
Nick O'Leary fe22afea6a
Merge pull request #4974 from node-red/4969-fix-junction-insert-location
Fix junction insert position via context menu
2024-12-05 16:23:51 +00:00
Nick O'Leary 69753a9940
Merge pull request #4981 from node-red/4978-zoom-annotation-fix
Apply zoom scale when calculating annotation positions
2024-12-05 16:23:36 +00:00
Nick O'Leary f6e565ba04
Merge pull request #4980 from braincube-io/feat/fadoli/MakeFileReadFast
Performance : make reading single buffer / string file faster by not re-allocating and handling huge buffers
2024-12-05 16:17:52 +00:00
Nick O'Leary e4fdf24545
Ensure node.sep is honoured when generating CSV 2024-12-05 16:00:54 +00:00
Nick O'Leary 43a9a3c3b1
Apply zoom scale when calculating annotation positions
Fixes #4978
2024-12-05 15:34:24 +00:00
Franck bfd98aaf22 PERF : make single buffer / string file reading faster 2024-12-05 12:24:22 +01:00
Nick O'Leary 4e61c54be5
Update packages/node_modules/@node-red/editor-client/src/js/ui/editor.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 15:49:39 +00:00
Nick O'Leary 39a85c721d
Update packages/node_modules/@node-red/editor-client/src/js/history.js 2024-12-04 13:10:48 +00:00
Nick O'Leary f9877f8d0b
Update packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 10:41:27 +00:00
Nick O'Leary 92dff4bacd
Apply suggestions from code review
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 10:41:10 +00:00
Nick O'Leary 338ddf17de
Update packages/node_modules/@node-red/editor-client/src/js/nodes.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 09:55:09 +00:00
Nick O'Leary 5f92bc83fd
Merge branch 'gg-changes' into fix-conf-type-env 2024-12-03 17:21:24 +00:00
Nick O'Leary 5e429f3be0
Merge pull request #4819 from GogoVega/validate-users-in-history
Validate user nodes into history when editing a config node
2024-12-03 17:14:32 +00:00
Nick O'Leary 2a71175cd4
Merge pull request #4807 from GogoVega/fix-user-count
Fix the config node users count
2024-12-03 17:14:20 +00:00
Nick O'Leary aee531bf16
Update packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-03 17:14:04 +00:00
Nick O'Leary 2c99909353
Merge pull request #4808 from GogoVega/fix-invalid-outputs
Fix a node with an invalid number of outputs
2024-12-03 14:56:46 +00:00
Nick O'Leary 50e821d5d7
Merge pull request #4793 from GogoVega/fix-creds-props-pane
Fix save and history of credentials for panes
2024-12-03 14:56:02 +00:00
Nick O'Leary 06f3f3c0be
Merge branch 'gg-changes' into validate-users-in-history 2024-12-03 14:54:50 +00:00
Nick O'Leary 0b09cf5fa9
Update packages/node_modules/@node-red/editor-client/src/js/nodes.js 2024-12-03 14:51:32 +00:00
Nick O'Leary 93102837dd
Merge pull request #4797 from GogoVega/config-node-history
Add config node to `RED.history` and handle `changed` prop
2024-12-03 14:48:23 +00:00
Nick O'Leary e8d81d814c
Apply scaleFactor when calculating junction slice positions 2024-12-03 10:15:59 +00:00
Nick O'Leary f6cf051282
Fix junction insert position via context menu 2024-12-02 17:03:14 +00:00
AGhorab-upland 328390c2a9
Merge branch 'master' into master 2024-11-26 21:11:33 +02:00
GogoVega 6a13d2d544
Remove logic of the topic truncation and fix the docs 2024-11-25 21:45:00 +01:00
GogoVega 6194285b6e
Add a guard to check if wires exist 2024-11-25 21:07:42 +01:00
Nick O'Leary bb01f26f06
Merge pull request #4924 from GogoVega/node-button-hotkey
Trigger button action of the selected nodes with new Hotkey
2024-11-25 16:28:43 +00:00
Nick O'Leary 5ce3cdb845
Merge branch 'master' into handle-bad-subflow 2024-11-25 16:27:41 +00:00
Nick O'Leary 3e0b5f2fe8
Merge pull request #4809 from GogoVega/fix-subflow-name
Fix updating the Subflow name during a copy
2024-11-25 16:22:31 +00:00
Nick O'Leary 94e3fdd7a9
Validate json dropped into editor to avoid unhelpful error messages
Fixes #4962
2024-11-18 17:12:28 +00:00
Nick O'Leary 69b413040f
Merge pull request #4963 from node-red/rename-var
Rename variable to avoid confusion in view.js
2024-11-18 16:39:52 +00:00
Nick O'Leary ffecf86281
Merge pull request #4960 from GogoVega/fix-4942
Get the env config node from the parent subflow
2024-11-18 16:39:37 +00:00
Nick O'Leary 4cb3ccc984
Rename variable to avoid confusion in view.js 2024-11-18 16:20:58 +00:00
GogoVega 6d6e6fa416
Get the env config node from the parent subflow 2024-11-15 14:30:47 +01:00
鸿则 ad615a76c8
Change groups.length to groups.size
Fix wrong length attribute of Set
2024-11-14 16:31:36 +08:00
GogoVega 8dee431b3f
Cleanup global palette variables 2024-11-13 22:35:41 +01:00
GogoVega ef19457bda
Add the vertical marker to the palette hand 2024-11-12 18:05:12 +01:00
GogoVega 1cbc4fd9da
Remove the default key and rename the action
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-11-11 18:55:33 +01:00
Nick O'Leary e48607c743
Merge pull request #4940 from node-red/Delay-node-not-send-on-reset-if-queue-empty
Make delay node rate limit reset consistent - not send on reset.
2024-11-11 13:49:41 +00:00
Nick O'Leary 1d9586721e
Merge pull request #4948 from node-red/pr_4935
Add a new `update available` widget to statusBar
2024-11-11 13:37:20 +00:00
Ahmed Ghorab 046d56d692 Add qoutes when installing local tgz to fix spacing in the file path 2024-11-10 13:30:41 +02:00
Nick O'Leary 4ff748c1c1
Simplify error reporting 2024-11-08 16:46:19 +00:00
Nick O'Leary 99b3b65304
Merge pull request #4930 from node-red/monaco_0_52_0
Monaco Latest (0.52.0)
2024-11-08 15:44:44 +00:00
Nick O'Leary a69a35aacf
Separate catalogue refresh logic from UI creation 2024-11-08 15:29:03 +00:00
Nick O'Leary 604c70ec04
Merge pull request #4946 from GogoVega/fix-quickAddDialog
Remove disabled node types from QuickAddDialog list
2024-11-08 13:46:19 +00:00
Gauthier Dandele 59a133cc13
Need to guard against subflows that doesn't have a set property
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-11-08 12:28:40 +01:00
Nick O'Leary 0590d81e80
Merge pull request #4939 from GogoVega/fix-4831
Fix `setModulePendingUpdated` with plugins
2024-11-08 11:26:52 +00:00
GogoVega c8a02d53e8
Ensure the node added to config node users is the proxy object 2024-11-07 22:06:45 +01:00
GogoVega deccfdf654
Handle users of env config nodes when undo subflow node changes 2024-11-07 22:00:36 +01:00
GogoVega f2d72b1050
Handle users of env config nodes when saving subflow node config 2024-11-07 21:59:14 +01:00
GogoVega 3d9bc265dd
Handle users of env config nodes when adding/removing subflow node 2024-11-07 21:58:11 +01:00
GogoVega 83c4ac5f65
Refresh the update status after all catalogs have been loaded
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-11-07 15:45:22 +01:00
GogoVega 69e4a02b28
Change icon, remove the widget color and ensure updateStatus is called on events 2024-11-07 15:32:06 +01:00
GogoVega 3a27a756cc
Replace the CSS solution with a coded one for the msg string 2024-11-07 10:36:54 +01:00
GogoVega abe0b60bf7
Remove disabled node types from QuickAddDialog list 2024-11-06 17:28:51 +01:00
GogoVega a6f01d7085
Support for a module with nodes and plugins in the palette 2024-11-06 16:20:23 +01:00
GogoVega 53f204d8b9
Do not import `global-config` if it only contains modules 2024-11-01 14:25:45 +01:00
GogoVega c7fd2e3cdf
Add `opts.includeModuleConfig` to `createCompleteNodeSet` 2024-11-01 14:23:50 +01:00
Nick O'Leary 54bf3f4402
Merge pull request #4934 from ersinpw/patch-1
Missing getSubscriptions in the docs while its implemented
2024-11-01 09:06:36 +00:00
Dave Conway-Jones d3219f0600
do add to queue in case it needs to also be flushed 2024-10-31 17:21:53 +00:00