Commit Graph

400 Commits (fix-icon-scaling)

Author SHA1 Message Date
Nick O'Leary 68bb38b8d7
Merge branch 'master' into dev 2023-02-02 10:40:33 +00:00
Kazuhito Yokoi 5bda221f9d Use main branch as default in project feature 2023-01-31 00:36:18 +09:00
Nick O'Leary 0346294c59
Rename package var 2023-01-23 17:50:50 +00:00
Hiroyasu Nishiyama 038f75e48f add support for mermaid diagram to markdown editor 2023-01-05 17:25:16 +09:00
Nick O'Leary 4d202a7a37
Merge pull request #3971 from node-red/fix-cred-on-global
Ensure credentials object is removed before returning node in getFlow request
2023-01-01 14:09:54 +00:00
Kazuhito Yokoi 156c3984a7 Ignore commit error in project feature 2022-12-12 01:23:00 +09:00
Nick O'Leary c18018f017
Ensure credentials object is removed before returning node in getFlow request
Fixes #3953
2022-12-03 23:33:33 +00:00
Nick O'Leary 14e74afb07
Merge pull request #3909 from node-red/warn-invalid-msg
Add check that node sends object rather than primitive type
2022-11-30 22:28:09 +00:00
Nick O'Leary 742f05f59d
Update packages/node_modules/@node-red/runtime/lib/flows/Flow.js 2022-11-30 22:23:04 +00:00
Nick O'Leary 79db4f8aa1
Update packages/node_modules/@node-red/runtime/lib/flows/Flow.js
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
2022-11-30 22:22:44 +00:00
Nick O'Leary c4e216f839
Merge pull request #3912 from node-red/handle_username_spaces
Ensure key_path is quoted in GIT_SSH_COMMAND in case of spaces in pathname
2022-11-30 22:18:24 +00:00
Hiroyasu Nishiyama f23d0480e4 add global environment variable feature 2022-11-04 18:42:51 +09:00
Nick O'Leary 24b055b1b8
Ensure key_path is quoted in GIT_SSH_COMMAND in case of spaces in pathname 2022-10-04 15:44:29 +01:00
Nick O'Leary f4d7b71984
Ensure errors in preDeliver callback are handled
Fixes #3848
2022-10-04 15:20:06 +01: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
Steve-Mcl e6b379358a better logging of set with no types 2022-09-29 21:28:13 +01:00
NetHans e147602a3a JSdoc documentation fixed 2022-08-18 21:27:59 +02:00
NetHans b7a016edcf Update Flow.js
replace tabs with whitespace
2022-08-16 06:37:03 +02:00
NetHans 371253a4f6 catch node extended 2022-08-14 20:45:01 +02:00
NetHans 08ce6cce97 status node extended 2022-08-14 20:24:05 +02:00
NetHans d7a10328c0 function for group analysis added 2022-08-14 20:20:59 +02:00
Nick O'Leary 5c29feec63
Register subflow module instance node with parent flow
Fixes #3798
2022-08-02 00:05:21 +01:00
Steve-Mcl a4d66622a5 add a handful of missing settings to basic report 2022-07-21 09:30:49 +01:00
Steve-Mcl af4f07cb26 include flows stop/start state 2022-07-21 09:29:51 +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
Nick O'Leary b59a3b15f3
Fix flow unit tests 2022-06-29 11:41:19 +01:00
Nick O'Leary f33848e16b
Rework start/stop api to use runtime-event notification message 2022-06-29 10:27:44 +01:00
Steve-Mcl 1b8a4577d5 improve UI, i18n and layout of stop/start feature 2022-06-27 18:07:22 +01:00
Steve-Mcl 51baed4932 default stop/start feature to `enabled:false` 2022-06-27 18:06:53 +01:00
Steve-Mcl 3cef2bb7e0 Merge remote-tracking branch 'upstream/master' into stop-start-flows 2022-06-27 13:03:52 +01:00
Nick O'Leary d2e84925f7
Set default editor to monaco in absence of user preference 2022-06-22 21:43:25 +01:00
Steve-Mcl 68331fc40c implement flows runtime stop/start API and UI 2022-06-08 21:56:17 +01:00
Hiroyasu Nishiyama c513cff843 fix error on system-info action 2022-05-05 10:10:52 +09:00
Stephen McLaughlin e714ff35c4
Merge branch 'dev' into diagnostics 2022-04-27 12:08:32 +01:00
Nick O'Leary 57ac90f837
Merge pull request #3542 from Steve-Mcl/httpstatic-improvements
Add support for multiple static paths with optional static root
2022-04-25 20:21:54 +01:00
Steve-Mcl 22000f10df Add support for multiple static paths with root
closes #3510
2022-04-22 17:06:40 +01:00
Nick O'Leary 3a26c5cd65
Merge pull request #3498 from sammachin/sammachin_credentials
Error on invalid encrypted credentials
2022-04-21 10:59:43 +01:00
Steve-Mcl 21a0b33645 correct "non string" check parenthesis
fixes #3493
2022-04-11 13:57:26 +01:00
Steve-Mcl 76c0e140cf fix up report - remove duplicate entries 2022-04-06 15:11:28 +01:00
Steve-Mcl 5633c5224e Add system info UI 2022-03-29 20:59:35 +01:00
Steve-Mcl 03763a1423 Update diagnostics as per Issue discussion 2022-03-29 20:48:29 +01:00
Steve-Mcl cf6df1556c Ensure UTC time is UTC 2022-03-29 08:35:09 +01:00
Steve-Mcl a2fd705153 Improve diagnostics content 2022-03-28 18:49:56 +01:00
Steve-Mcl 3388f699a0 Add diagnostics endpoint
fixes #3430
2022-03-24 16:00:45 +00: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
Nick O'Leary 95f7177ef4
Merge pull request #3445 from node-red-hitachi/fix-path-substitution
Fix substitution of NR_NODE_PATH
2022-02-15 11:26:19 +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
Hiroyasu Nishiyama 6a41cbebc9 evaluate env var after path initialization 2022-02-15 14:23:01 +09:00
Nick O'Leary 5b428bb8e6
Merge pull request #3379 from node-red-hitachi/nr_node_path-support
add NR_NODE_PATH path support
2022-01-26 14:29:03 +00:00
Hiroyasu Nishiyama c948ff88a5 add support of NR_NODE_PATH 2022-01-26 21:24:48 +09: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 87c89586a5
Merge pull request #3356 from node-red-hitachi/node-prop-env-var
Add support for accessing node id & name as environment variable
2022-01-26 11:11:02 +00:00
Hiroyasu Nishiyama ba304c9651 add NR_ prefix to special environment variables 2022-01-26 09:25:30 +09: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
Hiroyasu Nishiyama 8b23d341b4 add support for env var access of GROUP_ID & GROUP_NAME 2022-01-25 21:04:43 +09:00
Hiroyasu Nishiyama 289815e128 add support of FLOW_ID & FLOW_NAME 2022-01-25 20:46:01 +09:00
Hiroyasu Nishiyama 75bcd9e8d5 add support for accessing node id & name as env var 2022-01-14 23:40:12 +09:00
Nick O'Leary 8b43b31c64
Add checkbox on project-open screen to clear context 2022-01-12 21:05:47 +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 c331da7323 fix env var access using $env for groups 2021-11-27 19:29:57 +09:00
Hiroyasu Nishiyama 67404a327d merge getFlowSetting to getSetting 2021-09-01 22:26:31 +09:00
Hiroyasu Nishiyama d78e5932f9 update according to PR comments 2021-08-30 08:00:58 +09:00
Hiroyasu Nishiyama 6aecc3915c add support of environtment variable for tab & group 2021-08-19 21:15:13 +09:00
Nick O'Leary ddb715d88d
Record runtime-installed modules in .config.modules.json 2021-07-14 23:13:52 +01:00
Nick O'Leary 58023b4bf0
Merge branch 'pr_3024' into dev 2021-06-28 15:32:32 +01:00
Sam Machin bd3a8db438 log readOnly on startup 2021-06-16 10:10:31 +01:00
Nick O'Leary ce905ba2c4
Merge branch 'master' into dev 2021-06-08 11:44:31 +01:00
Nick O'Leary 7651941722
Do not assign z property to tab node when updating flow
Fixes #3010
2021-06-08 11:35:43 +01:00
Nick O'Leary 3541b4b968
Merge pull request #3004 from node-red-hitachi/fix-get-subflow-info
Fix allow Flow.getNode to return subflowInstance nodes
2021-06-07 18:16:01 +01:00
Nick O'Leary 5b1bf35a23
Fix over-greeding matching whilst parsing commit history
Fixes #3006
2021-06-07 18:07:58 +01:00
Kazuhiro Ito a7b8adb0e1 Fix allow Flow.getNode to return subflowInstance nodes 2021-06-04 15:08:03 +09:00
Nick O'Leary 7c02e4d66a
Merge branch 'master' into dev 2021-06-02 15:40:56 +01:00
Nick O'Leary 711794cfe1
Merge pull request #2993 from Steve-Mcl/master
ensure context get/set key is a string
2021-06-02 15:20:25 +01:00
Nick O'Leary c0e4cf2358
Fix handling of boolean subflow module properties
Fixes #3000
2021-06-02 14:48:54 +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
Nick O'Leary 468ef7ecff
Allow RED.settings.set to replace string property with object property 2021-05-25 21:02:14 +01:00
Steve-Mcl 4d768fd236 ensure context get/set key is a string 2021-05-25 14:53:06 +01:00
Nick O'Leary a9164e63ab
Merge branch 'dev' into pr_2971 2021-05-18 16:30:13 +01:00
Nick O'Leary d49d9a783c
Merge branch 'master' into dev 2021-05-13 16:06:33 +01:00
Nick O'Leary d7dc7c4eda
Fix error handling in runtime/lib/api/nodes 2021-05-13 15:46:56 +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 5dbaaae68e
Merge branch 'master' into dev 2021-05-12 16:00:36 +01:00
Nick O'Leary 9cdec156dc
Merge pull request #2974 from aheissenberger/fix-bundle-error
Fixed esbuild bundle error "installRetry" was declared a constant and changed
2021-05-11 17:45:07 +01:00
Nick O'Leary d8d384a979
Fix plugin loading when browser sends unrecognised lang 2021-05-11 16:42:00 +01:00
Nick O'Leary 71ba73b38f
Merge branch 'master' into dev 2021-05-04 11:19:05 +01:00
Andreas Heissenberger 54c9d27fd8 fix 2021-05-03 17:35:50 +02:00
Andreas Heissenberger 01888ff078 fix "installRetry" was declared a constant and changed 2021-05-03 17:23:27 +02:00
Steve-Mcl 69dafd6c68 add codeEditor settings 2021-04-29 16:53:59 +01:00
Nick O'Leary 7df1a03b4b
Handle subflow modules that contain subflows 2021-04-28 21:50:00 +01:00
Nick O'Leary 4133f9c56f
Merge pull request #2936 from node-red/npm-install-hooks
Add pre/postInstall hooks to npm install handling
2021-04-27 10:57:14 +01:00
Nick O'Leary b62e4f6662
Fix deprecation of httpRoot 2021-04-26 14:43:06 +01:00
Nick O'Leary f5a1c8bc49
Merge pull request #2957 from node-red-hitachi/fix-error-on-git-auto-commit
fix error on auto commit for no flow change
2021-04-26 11:54:05 +01:00
Nick O'Leary 4cb8e99430
Timeout http upgrade requests that are not otherwise handled
Fixes #2956
2021-04-26 11:45:28 +01:00