444 Commits

Author SHA1 Message Date
Matthias Urlichs
aacdfdb48d
Merge c25ada8dcb98315924745801fac7bea6acd645ec into 56a4530ec65f7004e2ae05ff4ef06fd4017035d0 2024-12-08 06:46:47 -05:00
GogoVega
6d6e6fa416
Get the env config node from the parent subflow 2024-11-15 14:30:47 +01:00
Matthias Urlichs
c25ada8dcb Propagate errors when testing
Testing with Mocha requires errors raised within flows to propagate
to the test runner, not getting swallowed by Node.

This commit tests whether Mocha's global functions exist and,
if they do, propagates exceptions that are raised there.
2024-11-13 16:37:56 +01:00
Nick O'Leary
964271f9c7
Multiplayer: add real-time cursor tracking 2024-08-05 16:18:05 +01:00
Nick O'Leary
da3ad40968
Add more guards for undefined session 2024-06-28 14:19:18 +01:00
Nick O'Leary
011b47a108
Guard against undefined sessions in multiplayer 2024-06-28 11:41:05 +01:00
Nick O'Leary
efdc1b1a1d
Ensure group nodes are properly exported in /flow api 2024-06-26 14:30:33 +01:00
Nick O'Leary
3a91fc17fd
Merge branch 'master' into sync-dev 2024-06-11 10:14:01 +01:00
Nick O'Leary
1048b16f3c
Merge pull request #4754 from node-red/4752-add-rewired-to-stoplist
Include rewired nodes when calculating Modified Flows stop list
2024-06-10 20:44:20 +01:00
Nick O'Leary
526b3fda91
Include rewired nodes when calculating Modified Flows stop list 2024-06-10 16:56:49 +01:00
Nick O'Leary
d70b7ea924
Fix clone of group env var properties
Closes #4751
2024-06-10 16:15:06 +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
56fe2801eb
Merge branch 'master' into dev 2024-05-14 17:27:02 +01: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
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
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
1a3cc06935
Use rfdc module for cloning when we know its pure JSON 2024-05-03 16:45:50 +01:00
Kazuhito Yokoi
361391ceb8 Load the latest project files when retrieving project information 2024-04-29 16:02:56 +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
789426f80e
Add user presence indication to tabs and nodes 2024-04-23 09:27:35 +02: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
ab7e9f94fa
Merge branch 'dev' into sync-dev 2024-03-28 14:56:36 +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
014691346a
Handle malformed env var values and log errors 2024-03-27 18:23:12 +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
Nick O'Leary
5135545c6c
Merge branch 'dev' into pr_4387 2024-03-21 16:41:24 +00:00
Nick O'Leary
01802c817b
Merge branch 'master' into dev 2024-03-13 16:55:50 +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
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
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
fa78bb3d78
Handle undefined env vars
Fixes #4579
2024-02-26 16:17:09 +00: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
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
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
565c212779
Handle modified-nodes deploy after replacing unknown config node
Fixes #4548
2024-02-05 16:22:58 +00:00
Nick O'Leary
d2dc1fcc80
Ensure subflow instance node has g property set 2024-01-22 16:28:22 +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
58e2fcbeee
Ensure global-config credential env vars are merged on deploy
Fixes #4508
2024-01-15 16:44:43 +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
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
2963f3f1b8
Ensure nested groups inside subflows have their g props remapped 2023-12-07 11:47:02 +00:00
Nick O'Leary
d42e75ebd0
Handle unknown node reference inside subflow module 2023-11-30 14:46:43 +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
e945deeab6
Allow mermaid theme to be set via editorTheme and custom themes
Fixes #4274
2023-11-20 17:47:39 +00:00