node-red 2.1.1 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,103 @@
1
+ #### 2.1.5: Maintenance Release
2
+
3
+ Runtime
4
+
5
+ - Handle reporting error location when stack is truncated (#3346) @knolleary
6
+ - Initialize passport when only adminAuth.tokens is set (#3343) @knolleary
7
+ - Add log logging (#3342) @knolleary
8
+
9
+ Editor
10
+
11
+ - Fix copy buttons on the debug window (another method) (#3331) @kazuhitoyokoi
12
+ - Add Japanese translations for hidden flow (#3302) @kazuhitoyokoi
13
+ - Improve jsonata legacy mode detection regex (#3345) @knolleary
14
+ - Fix generating flow name with incrementing number (#3347) @knolleary
15
+ - resume focus after import/export dialog close (#3337) @HiroyasuNishiyama
16
+ - Fix findPreviousVisibleTab action (#3321) @knolleary
17
+ - Fix storing hidden tab state when not hidden via action (#3312) @knolleary
18
+ - Avoid adding empty env properties to tabs/groups (#3311) @knolleary
19
+ - Fix hide icon in tour guide (#3301) @kazuhitoyokoi
20
+
21
+ Nodes
22
+
23
+ - File: Update file node examples according to node name change (#3335) @HiroyasuNishiyama
24
+ - Filter (RBE): Fix for filter node narrrowbandEq mode start condition failure (#3339) @dceejay
25
+ - Function: Prevent function scrollbar from obscuring expand button (#3348) @knolleary
26
+ - Function: load extralibs when expanding monaco. fixes #3319 (#3334) @Steve-Mcl
27
+ - Function: Update Function to use correct api to access env vars (#3310) @knolleary
28
+ - HTTP Request: Fix basic auth with empty username or password (#3325) @hardillb
29
+ - Inject: Fix incorrect clearing of blank payload property in Inject node (#3322) @knolleary
30
+ - Link Call: add link call example (#3336) @HiroyasuNishiyama
31
+ - WebSocket: Only setup ws client heartbeat once it is connected (#3344) @knolleary
32
+ - Update Japanese translations in node help (#3332) @kazuhitoyokoi
33
+
34
+
35
+ #### 2.1.4: Maintenance Release
36
+
37
+ Runtime
38
+
39
+ - fix env var access using $parent for groups (#3278) @HiroyasuNishiyama
40
+ - Add proper error handling for 404 errors when serving debug files (#3277) @knolleary
41
+ - Add Japanese translations for Node-RED v2.1.0-beta.1 (#3179) @kazuhitoyokoi
42
+ - Include full user object on login audit events (#3269) @knolleary
43
+ - Remove styling from de locale files (#3237) @knolleary
44
+
45
+ Editor
46
+
47
+ - Change tab hide button icon to an eye and add search option (#3282) @knolleary
48
+ - Fix i18n handling of namespaces with spaces in (#3281) @knolleary
49
+ - Trigger change event when autoComplete fills in input (#3280) @knolleary
50
+ - Apply CN i18n fix (#3279) @knolleary
51
+ - fix select menu label of config node to use paletteLabel (#3273) @HiroyasuNishiyama
52
+ - fix removed tab not to cause node conflict (#3275) @HiroyasuNishiyama
53
+ - Group diff fix (#3239) @knolleary
54
+ - Only toggle disabled workspace flag if on activeWorkspace (#3252) @knolleary
55
+ - Do not show status for disabled nodes (#3253) @knolleary
56
+ - Set dimension value for tour guide (#3265) @kazuhitoyokoi
57
+ - Avoid redundant initialisation of TypedInput type (#3263) @knolleary
58
+ - Don't let themes change flow port label color (#3270) @bonanitech
59
+ - Fix treeList gutter calculation to handle floating gutters (#3238) @knolleary
60
+
61
+ Nodes
62
+
63
+ - Debug: Handle RegExp types in Debug sidebar (#3251) @knolleary
64
+ - Delay: fix 2nd output when in rate limit per topic modes (#3261) @dceejay
65
+ - Link: fix to show link target when selected (#3267) @HiroyasuNishiyama
66
+ - Inject: Do not modify inject node props in oneditprepare (#3242) @knolleary
67
+ - HTTP Request: HTTP Basic Auth should always add : between username and password even if empty (#3236) @hardillb
68
+
69
+ #### 2.1.3: Maintenance Release
70
+
71
+ Runtime
72
+
73
+ - Update gen-publish script to update 'next' tag for main releases
74
+ - Add environment variable to enable/disable tours (#3221) @hardillb
75
+ - Fix loading non-default language files leaving runtime in wrong locale (#3225) @knolleary
76
+
77
+ Editor
78
+
79
+ - Refresh editor settings whenever a node is added or enabled (#3227) @knolleary
80
+ - Revert spinner css change that made it shrink in some cases (#3229) @knolleary
81
+ - Fix import notification message when importing config nodes (#3224) @knolleary
82
+ - Handle changing types of TypedInput repeatedly (#3223) @knolleary
83
+
84
+
85
+ #### 2.1.2: Maintenance Release
86
+
87
+
88
+ Runtime
89
+
90
+ - node-red-pi: Remove bash dependency (#3216) @a16bitsysop
91
+
92
+ Editor
93
+
94
+ - Improved regex for markdown renderer (#3213) @GerwinvBeek
95
+ - Fix TypedInput initialisation (#3220) @knolleary
96
+
97
+ Nodes
98
+
99
+ - MQTT: fix datatype in node config not used. fixes #3215 (#3219) @Steve-Mcl
100
+
1
101
  #### 2.1.1: Maintenance Release
2
102
 
3
103
  Editor
package/bin/node-red-pi CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/bin/sh
2
2
  #
3
3
  # Copyright JS Foundation and other contributors, http://js.foundation
4
4
  #
@@ -29,15 +29,16 @@ do
29
29
  done
30
30
 
31
31
  # Find the real location of this script
32
- CURRENT_PATH=`pwd`
33
- SCRIPT_PATH="${BASH_SOURCE[0]}";
32
+ CURRENT_PATH=$(pwd)
33
+ SCRIPT_PATH=$(readlink -f "$0")
34
34
  while [ -h "${SCRIPT_PATH}" ]; do
35
- cd "`dirname "${SCRIPT_PATH}"`"
36
- SCRIPT_PATH="$(readlink "`basename "${SCRIPT_PATH}"`")";
35
+ cd "$(dirname "${SCRIPT_PATH}")" || exit 1
36
+ P=$(basename "${SCRIPT_PATH}")
37
+ SCRIPT_PATH=$(readlink "${P}")
37
38
  done
38
- cd "`dirname "${SCRIPT_PATH}"`" > /dev/null
39
- SCRIPT_PATH="`pwd`";
40
- cd $CURRENT_PATH
39
+ cd "$(dirname "${SCRIPT_PATH}")" > /dev/null || exit 1
40
+ SCRIPT_PATH=$(pwd)
41
+ cd "$CURRENT_PATH" || exit 1
41
42
 
42
43
  # Run Node-RED
43
- exec /usr/bin/env node $OPTIONS $SCRIPT_PATH/../red.js $ARGS
44
+ exec /usr/bin/env node ${OPTIONS} ${SCRIPT_PATH}/../red.js ${ARGS}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red",
3
- "version": "2.1.1",
3
+ "version": "2.1.5",
4
4
  "description": "Low-code programming for event-driven applications",
5
5
  "homepage": "http://nodered.org",
6
6
  "license": "Apache-2.0",
@@ -31,13 +31,13 @@
31
31
  "flow"
32
32
  ],
33
33
  "dependencies": {
34
- "@node-red/editor-api": "2.1.1",
35
- "@node-red/runtime": "2.1.1",
36
- "@node-red/util": "2.1.1",
37
- "@node-red/nodes": "2.1.1",
34
+ "@node-red/editor-api": "2.1.5",
35
+ "@node-red/runtime": "2.1.5",
36
+ "@node-red/util": "2.1.5",
37
+ "@node-red/nodes": "2.1.5",
38
38
  "basic-auth": "2.0.1",
39
39
  "bcryptjs": "2.4.3",
40
- "express": "4.17.1",
40
+ "express": "4.17.2",
41
41
  "fs-extra": "10.0.0",
42
42
  "node-red-admin": "^2.2.1",
43
43
  "nopt": "5.0.0",
package/red.js CHANGED
@@ -194,6 +194,11 @@ if (process.env.NODE_RED_ENABLE_PROJECTS) {
194
194
  settings.editorTheme.projects.enabled = !/^false$/i.test(process.env.NODE_RED_ENABLE_PROJECTS);
195
195
  }
196
196
 
197
+ if (process.env.NODE_RED_ENABLE_TOURS) {
198
+ settings.editorTheme = settings.editorTheme || {};
199
+ settings.editorTheme.tours = !/^false$/i.test(process.env.NODE_RED_ENABLE_TOURS);
200
+ }
201
+
197
202
 
198
203
  var defaultServerSettings = {
199
204
  "x-powered-by": false