Commit Graph

154 Commits (8a4a067c998ba4c177e88a3c8abacd9422bded3b)

Author SHA1 Message Date
Gauthier Dandele 8a4a067c99
Merge 93a00c1cc2 into ce5fe9079e 2026-03-24 10:15:09 -04:00
Nick O'Leary 89db8f0d4f
Merge pull request #5462 from Dennis-SEG/fix/localfilesystem-race-condition-clean
fix: prevent race condition in localfilesystem context store during shutdown
2026-01-26 10:20:45 +00:00
Dennis-SEG ca01aa9148 fix: prevent race condition in localfilesystem context storage during close 2026-01-24 23:38:49 +01:00
Dennis-SEG 97e70a225b fix: prevent double resolve in node close callback 2026-01-24 23:20:52 +01:00
GogoVega e17256934d
Remove the polling loop + improvements 2025-11-04 12:15:55 +01:00
GogoVega d52520250d
Add type guards and fix undefined node 2025-11-03 18:47:36 +01:00
GogoVega 09e177bbbf
Allow graceful shutdown for node/flow deployment 2025-11-03 15:46:30 +01:00
GogoVega cdd2abc4c1
Initial implementation of graceful shutdown 2025-11-01 22:57:32 +01:00
GogoVega dc318b5477
Notify installed plugins from the Palette Manager 2025-09-21 21:14:21 +02: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 1a3cc06935
Use rfdc module for cloning when we know its pure JSON 2024-05-03 16:45:50 +01:00
Nick O'Leary 5135545c6c
Merge branch 'dev' into pr_4387 2024-03-21 16:41:24 +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 58e2fcbeee
Ensure global-config credential env vars are merged on deploy
Fixes #4508
2024-01-15 16:44:43 +00:00
Ralph Wetzel 81937ddc45 Add plugin support to palette manager 2023-10-17 22:44:33 +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 f196493402
Evaluate global-config env on startup 2023-06-23 09:35:00 +01:00
Nick O'Leary e47698bfd4
Handle null subflow object when clearing context 2023-03-03 20:02:46 +00:00
Nick O'Leary e91981207f
Generate stable ids for subflow instance internal nodes
Fixes #3996 #3889
2023-03-03 18:46:49 +00:00
Nick O'Leary 68bb38b8d7
Merge branch 'master' into dev 2023-02-02 10:40:33 +00:00
Hiroyasu Nishiyama f23d0480e4 add global environment variable feature 2022-11-04 18:42:51 +09:00
Nick O'Leary a40e5dbcd4
Add check that node sends object rather than primitive type
Fixes #3876
2022-10-04 11:49:49 +01:00
Nick O'Leary d95314c754
Update packages/node_modules/@node-red/runtime/lib/nodes/credentials.js 2022-07-04 20:21:25 +01:00
Nick O'Leary 9ac83cf62e
Do not remove unknown credentials of Subflow Modules
Fixes #3641
2022-07-01 17:34:16 +01:00
Sam Machin b7b604aed4
Update packages/node_modules/@node-red/runtime/lib/nodes/credentials.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-03-24 08:37:51 +00:00
Sam Machin 855d799b21
Update credentials.js 2022-03-22 21:18:11 +00:00
Sam Machin d9bd736159
change error to warn for moving from unencrypted to encrypted 2022-03-21 09:29:41 +00:00
Sam Machin af0f02d63e
add locale warning 2022-03-19 17:44:21 +00:00
Sam Machin 4d048af384
Check for missing encrypted credentials 2022-03-19 13:34:46 +00:00
Steve-Mcl efd8c1229d improve "Unexpected Node Error" logging
- fixes #3389
- adds additional info to aid sourcing the issue
- removes lots of undefined info when node type is incorrect
- stores and reports original stack before internal try/catch exception
- ensure this._flow is something before attempting to call `handleError`
2022-02-15 10:51:18 +00:00
Nick O'Leary 4173625fca
Merge pull request #3243 from node-red/delete-global-context
Clear context contents when switching projects
2022-01-26 11:28:34 +00:00
Nick O'Leary 703c5adba7
Add _path property to nodes and expose as node.path in Function node 2022-01-25 21:32:28 +00:00
Nick O'Leary 3abef972a7
Clear context contents when switching projects
Fixes #3240
2022-01-12 18:59:29 +00:00
Nick O'Leary c801bc5e6b
Add error logging if Node.log throws an error
Part of #3327
2022-01-12 11:13:29 +00:00
Nick O'Leary ea43729063
Add _module to Node object to provide module info 2022-01-12 11:07:25 +00:00
Hiroyasu Nishiyama 6aecc3915c add support of environtment variable for tab & group 2021-08-19 21:15:13 +09:00
Nick O'Leary ce905ba2c4
Merge branch 'master' into dev 2021-06-08 11:44:31 +01:00
Steve-Mcl a92f0c4c6e fix context key validation + add tests
- adds a helper function validateContextKey to keep it DRY
- adds tests ensure key of null "" 1 {} [] [""] [1] [{}] all throw error
2021-05-26 13:04:09 +01:00
Steve-Mcl 4d768fd236 ensure context get/set key is a string 2021-05-25 14:53:06 +01:00
Nick O'Leary 001f066769
Remove all input event listeners on a node once it is closed
This prevents in-flight messages being passed to the node after
it has closed.
2021-05-13 13:37:21 +01:00
Nick O'Leary 71ba73b38f
Merge branch 'master' into dev 2021-05-04 11:19:05 +01:00
Nick O'Leary 7df1a03b4b
Handle subflow modules that contain subflows 2021-04-28 21:50:00 +01:00
Nick O'Leary ed351eee54
Move hooks to util package 2021-04-15 15:12:30 +01:00
Nick O'Leary 8543613563
Allow module to provide resources and automatically expose them 2021-03-15 21:06:10 +00:00
Nick O'Leary 9c09ee3b71
Rework Function node module integration 2021-02-12 18:14:13 +00:00
Hiroyasu Nishiyama 4a1d66f210 update UI, Runtime API, metadata handling, and others 2021-01-27 22:27:54 +09:00
Hiroyasu Nishiyama d51aefa156 initial support for npm module installation 2021-01-11 19:32:16 +09:00
Nick O'Leary da96c85d32
Handle subflow modules with their own npm dependencies 2021-01-07 11:26:20 +00:00
Nick O'Leary 0c9fd25d3e
Nodes log via parent flow to allow flow-info to be added 2021-01-07 11:10:34 +00:00
Nick O'Leary 9a660f3fe9
Support npm subflow modules 2021-01-07 11:10:33 +00:00