config-editor-base 3.2.1 → 3.2.3
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/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +20 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1063,6 +1063,19 @@ var checkConfigAwsEndpoint = function checkConfigAwsEndpoint(content) {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
};
|
|
1065
1065
|
};
|
|
1066
|
+
var checkS3OtaDisabled = function checkS3OtaDisabled(content) {
|
|
1067
|
+
return function (dispatch) {
|
|
1068
|
+
if (content.connect != undefined && content.connect.s3 != undefined && content.connect.s3.sync != undefined) {
|
|
1069
|
+
if (content.connect.s3.sync.ota != undefined && content.connect.s3.sync.ota == 0) {
|
|
1070
|
+
dispatch(set({
|
|
1071
|
+
type: "warning",
|
|
1072
|
+
message: "Your S3 firmware/config/certificate update interval (OTA) is set to 0, which disables over-the-air updates. The device will not fetch future configuration changes remotely. Set a non-zero interval unless this is intentional",
|
|
1073
|
+
autoClear: false
|
|
1074
|
+
}));
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1066
1079
|
var checkS3EncryptedPasswordsNoKpub = function checkS3EncryptedPasswordsNoKpub(content) {
|
|
1067
1080
|
return function (dispatch) {
|
|
1068
1081
|
if (content.connect != undefined && content.connect.s3 != undefined && content.connect.s3.server != undefined && content.general != undefined && content.general.security != undefined) {
|
|
@@ -1275,6 +1288,7 @@ var runConfigurationWarningChecks = function runConfigurationWarningChecks(conte
|
|
|
1275
1288
|
dispatch(checkConfigFilterLimits(content));
|
|
1276
1289
|
dispatch(checkConfigTls(content));
|
|
1277
1290
|
dispatch(checkConfigAwsEndpoint(content));
|
|
1291
|
+
dispatch(checkS3OtaDisabled(content));
|
|
1278
1292
|
dispatch(checkS3EncryptedPasswordsNoKpub(content));
|
|
1279
1293
|
dispatch(checkWiFiEncryptedPasswordsNoKpub(content));
|
|
1280
1294
|
dispatch(checkFileSplitOffsetPeriod(content));
|
|
@@ -1431,6 +1445,7 @@ var actions = {
|
|
|
1431
1445
|
checkConfigControlSignalZeroScalingFactor: checkConfigControlSignalZeroScalingFactor,
|
|
1432
1446
|
checkConfigTls: checkConfigTls,
|
|
1433
1447
|
checkConfigAwsEndpoint: checkConfigAwsEndpoint,
|
|
1448
|
+
checkS3OtaDisabled: checkS3OtaDisabled,
|
|
1434
1449
|
checkS3EncryptedPasswordsNoKpub: checkS3EncryptedPasswordsNoKpub,
|
|
1435
1450
|
checkWiFiEncryptedPasswordsNoKpub: checkWiFiEncryptedPasswordsNoKpub,
|
|
1436
1451
|
checkFileSplitOffsetPeriod: checkFileSplitOffsetPeriod,
|
|
@@ -22921,8 +22936,7 @@ var OBDTool = /*#__PURE__*/function (_React$Component) {
|
|
|
22921
22936
|
});
|
|
22922
22937
|
},
|
|
22923
22938
|
style: {
|
|
22924
|
-
marginRight: "6px"
|
|
22925
|
-
marginBottom: "4px"
|
|
22939
|
+
marginRight: "6px"
|
|
22926
22940
|
}
|
|
22927
22941
|
}), "Add filter to only log OBD data on ", channel === "can_1" ? "CAN-1" : "CAN-2"), /*#__PURE__*/React.createElement("p", {
|
|
22928
22942
|
className: "field-description field-description-shift"
|
|
@@ -22951,8 +22965,7 @@ var OBDTool = /*#__PURE__*/function (_React$Component) {
|
|
|
22951
22965
|
},
|
|
22952
22966
|
disabled: !hasGnssSupport,
|
|
22953
22967
|
style: {
|
|
22954
|
-
marginRight: "6px"
|
|
22955
|
-
marginBottom: "4px"
|
|
22968
|
+
marginRight: "6px"
|
|
22956
22969
|
}
|
|
22957
22970
|
}), "Add GPS-based speed control signal"), /*#__PURE__*/React.createElement("p", {
|
|
22958
22971
|
className: "field-description field-description-shift"
|
|
@@ -25187,8 +25200,7 @@ var FilterBuilderTool = /*#__PURE__*/function (_React$Component) {
|
|
|
25187
25200
|
});
|
|
25188
25201
|
},
|
|
25189
25202
|
style: {
|
|
25190
|
-
marginRight: "6px"
|
|
25191
|
-
marginBottom: "2px"
|
|
25203
|
+
marginRight: "6px"
|
|
25192
25204
|
}
|
|
25193
25205
|
}), "Group 29-bit IDs as PGNs"), /*#__PURE__*/React.createElement("p", {
|
|
25194
25206
|
className: "field-description field-description-shift"
|
|
@@ -25216,8 +25228,7 @@ var FilterBuilderTool = /*#__PURE__*/function (_React$Component) {
|
|
|
25216
25228
|
},
|
|
25217
25229
|
disabled: !isEnabled,
|
|
25218
25230
|
style: {
|
|
25219
|
-
marginRight: "6px"
|
|
25220
|
-
marginBottom: "2px"
|
|
25231
|
+
marginRight: "6px"
|
|
25221
25232
|
}
|
|
25222
25233
|
}), "Show summary with current filters"), /*#__PURE__*/React.createElement("p", {
|
|
25223
25234
|
className: "field-description field-description-shift"
|
|
@@ -25906,4 +25917,5 @@ exports.OBDTool = OBDTool$1;
|
|
|
25906
25917
|
exports.computeConfigDelta = computeConfigDelta;
|
|
25907
25918
|
exports.editor = reducer;
|
|
25908
25919
|
exports.editorActions = actions;
|
|
25920
|
+
exports.loadFile = loadFile;
|
|
25909
25921
|
//# sourceMappingURL=index.js.map
|