config-editor-base 3.2.1 → 3.2.2

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.
@@ -1059,6 +1059,19 @@ var checkConfigAwsEndpoint = function checkConfigAwsEndpoint(content) {
1059
1059
  }
1060
1060
  };
1061
1061
  };
1062
+ var checkS3OtaDisabled = function checkS3OtaDisabled(content) {
1063
+ return function (dispatch) {
1064
+ if (content.connect != undefined && content.connect.s3 != undefined && content.connect.s3.sync != undefined) {
1065
+ if (content.connect.s3.sync.ota != undefined && content.connect.s3.sync.ota == 0) {
1066
+ dispatch(set({
1067
+ type: "warning",
1068
+ 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",
1069
+ autoClear: false
1070
+ }));
1071
+ }
1072
+ }
1073
+ };
1074
+ };
1062
1075
  var checkS3EncryptedPasswordsNoKpub = function checkS3EncryptedPasswordsNoKpub(content) {
1063
1076
  return function (dispatch) {
1064
1077
  if (content.connect != undefined && content.connect.s3 != undefined && content.connect.s3.server != undefined && content.general != undefined && content.general.security != undefined) {
@@ -1271,6 +1284,7 @@ var runConfigurationWarningChecks = function runConfigurationWarningChecks(conte
1271
1284
  dispatch(checkConfigFilterLimits(content));
1272
1285
  dispatch(checkConfigTls(content));
1273
1286
  dispatch(checkConfigAwsEndpoint(content));
1287
+ dispatch(checkS3OtaDisabled(content));
1274
1288
  dispatch(checkS3EncryptedPasswordsNoKpub(content));
1275
1289
  dispatch(checkWiFiEncryptedPasswordsNoKpub(content));
1276
1290
  dispatch(checkFileSplitOffsetPeriod(content));
@@ -1427,6 +1441,7 @@ var actions = {
1427
1441
  checkConfigControlSignalZeroScalingFactor: checkConfigControlSignalZeroScalingFactor,
1428
1442
  checkConfigTls: checkConfigTls,
1429
1443
  checkConfigAwsEndpoint: checkConfigAwsEndpoint,
1444
+ checkS3OtaDisabled: checkS3OtaDisabled,
1430
1445
  checkS3EncryptedPasswordsNoKpub: checkS3EncryptedPasswordsNoKpub,
1431
1446
  checkWiFiEncryptedPasswordsNoKpub: checkWiFiEncryptedPasswordsNoKpub,
1432
1447
  checkFileSplitOffsetPeriod: checkFileSplitOffsetPeriod,
@@ -22917,8 +22932,7 @@ var OBDTool = /*#__PURE__*/function (_React$Component) {
22917
22932
  });
22918
22933
  },
22919
22934
  style: {
22920
- marginRight: "6px",
22921
- marginBottom: "4px"
22935
+ marginRight: "6px"
22922
22936
  }
22923
22937
  }), "Add filter to only log OBD data on ", channel === "can_1" ? "CAN-1" : "CAN-2"), /*#__PURE__*/React.createElement("p", {
22924
22938
  className: "field-description field-description-shift"
@@ -22947,8 +22961,7 @@ var OBDTool = /*#__PURE__*/function (_React$Component) {
22947
22961
  },
22948
22962
  disabled: !hasGnssSupport,
22949
22963
  style: {
22950
- marginRight: "6px",
22951
- marginBottom: "4px"
22964
+ marginRight: "6px"
22952
22965
  }
22953
22966
  }), "Add GPS-based speed control signal"), /*#__PURE__*/React.createElement("p", {
22954
22967
  className: "field-description field-description-shift"
@@ -25183,8 +25196,7 @@ var FilterBuilderTool = /*#__PURE__*/function (_React$Component) {
25183
25196
  });
25184
25197
  },
25185
25198
  style: {
25186
- marginRight: "6px",
25187
- marginBottom: "2px"
25199
+ marginRight: "6px"
25188
25200
  }
25189
25201
  }), "Group 29-bit IDs as PGNs"), /*#__PURE__*/React.createElement("p", {
25190
25202
  className: "field-description field-description-shift"
@@ -25212,8 +25224,7 @@ var FilterBuilderTool = /*#__PURE__*/function (_React$Component) {
25212
25224
  },
25213
25225
  disabled: !isEnabled,
25214
25226
  style: {
25215
- marginRight: "6px",
25216
- marginBottom: "2px"
25227
+ marginRight: "6px"
25217
25228
  }
25218
25229
  }), "Show summary with current filters"), /*#__PURE__*/React.createElement("p", {
25219
25230
  className: "field-description field-description-shift"