cira connected instead of cira detected

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Mar 22, 2025 at 19:27 UTC 2337013acfa7d05479f7526a9c8d03f1680bfc93
4 files changed +7 -16
meshcentral-config-schema.json
+1 -4
@@ -2706,10 +2706,7 @@
2706 }
2707 }
2708 }
2709 - },
2710 - "required": [
2711 - "certs"
2712 - ]
2709 + }
2710 },
2711 "amtAcmActivation": {
2712 "type": "object",
translate/translate.json
+2 -8
@@ -41224,10 +41224,7 @@
41224 "tr": "Intel AMT CIRA bağlandı",
41225 "uk": "Intel AMT CIRA підключено",
41226 "zh-chs": "英特尔 AMT CIRA 已连接",
41227 - "zh-cht": "英特爾 AMT CIRA 已連接"
41228 - },
41229 - {
41230 - "en": "Intel AMT CIRA detected",
41227 + "zh-cht": "英特爾 AMT CIRA 已連接",
41228 "xloc": [
41229 "default.handlebars->47->273",
41230 "default3.handlebars->35->270"
@@ -41257,10 +41254,7 @@
41254 "tr": "Intel AMT CIRA'nın bağlantısı kesildi",
41255 "uk": "Intel AMT CIRA припинено",
41256 "zh-chs": "英特尔 AMT CIRA 断开连接",
41260 - "zh-cht": "英特爾 AMT CIRA 斷開連接"
41261 - },
41262 - {
41263 - "en": "Intel AMT CIRA not detected",
41257 + "zh-cht": "英特爾 AMT CIRA 斷開連接",
41258 "xloc": [
41259 "default.handlebars->47->277",
41260 "default3.handlebars->35->274"
views/default.handlebars
+2 -2
@@ -3692,14 +3692,14 @@
3692 if ((node.agent != null) && (node.agent.root === false)) { agentPrivilages = "Agent connected with limited privilages"; }
3693 var abc = { title: node.name, icon: node.icon, nodeid: node._id, id: message.event.id };
3694 if (((node.conn & 1) == 0) && ((message.event.conn & 1) != 0)) { abc.text = agentPrivilages; addNotification(abc); }
3695 - if (((node.conn & 2) == 0) && ((message.event.conn & 2) != 0)) { abc.text = "Intel AMT CIRA detected"; addNotification(abc); }
3695 + if (((node.conn & 2) == 0) && ((message.event.conn & 2) != 0)) { abc.text = "Intel AMT CIRA connected"; addNotification(abc); }
3696 if (((node.conn & 4) == 0) && ((message.event.conn & 4) != 0)) { abc.text = "Intel AMT connected"; addNotification(abc); }
3697 if (((node.conn & 16) == 0) && ((message.event.conn & 16) != 0)) { abc.text = "MQTT connected"; addNotification(abc); }
3698 }
3699 if (n & 4) {
3700 var abc = { title: node.name, icon: node.icon, nodeid: node._id, id: message.event.id };
3701 if (((node.conn & 1) != 0) && ((message.event.conn & 1) == 0)) { abc.text = "Agent disconnected"; addNotification(abc); }
3702 - if (((node.conn & 2) != 0) && ((message.event.conn & 2) == 0)) { abc.text = "Intel AMT CIRA not detected"; addNotification(abc); }
3702 + if (((node.conn & 2) != 0) && ((message.event.conn & 2) == 0)) { abc.text = "Intel AMT CIRA disconnected"; addNotification(abc); }
3703 if (((node.conn & 4) != 0) && ((message.event.conn & 4) == 0)) { abc.text = "Intel AMT disconnected"; addNotification(abc); }
3704 if (((node.conn & 16) != 0) && ((message.event.conn & 16) == 0)) { abc.text = "MQTT disconnected"; addNotification(abc); }
3705 }
views/default3.handlebars
+2 -2
@@ -4154,14 +4154,14 @@
4154 if ((node.agent != null) && (node.agent.root === false)) { agentPrivilages = "Agent connected with limited privilages"; }
4155 var abc = { title: node.name, icon: node.icon, nodeid: node._id, id: message.event.id };
4156 if (((node.conn & 1) == 0) && ((message.event.conn & 1) != 0)) { abc.text = agentPrivilages; addNotification(abc); }
4157 - if (((node.conn & 2) == 0) && ((message.event.conn & 2) != 0)) { abc.text = "Intel AMT CIRA detected"; addNotification(abc); }
4157 + if (((node.conn & 2) == 0) && ((message.event.conn & 2) != 0)) { abc.text = "Intel AMT CIRA connected"; addNotification(abc); }
4158 if (((node.conn & 4) == 0) && ((message.event.conn & 4) != 0)) { abc.text = "Intel AMT connected"; addNotification(abc); }
4159 if (((node.conn & 16) == 0) && ((message.event.conn & 16) != 0)) { abc.text = "MQTT connected"; addNotification(abc); }
4160 }
4161 if (n & 4) {
4162 var abc = { title: node.name, icon: node.icon, nodeid: node._id, id: message.event.id };
4163 if (((node.conn & 1) != 0) && ((message.event.conn & 1) == 0)) { abc.text = "Agent disconnected"; addNotification(abc); }
4164 - if (((node.conn & 2) != 0) && ((message.event.conn & 2) == 0)) { abc.text = "Intel AMT CIRA not detected"; addNotification(abc); }
4164 + if (((node.conn & 2) != 0) && ((message.event.conn & 2) == 0)) { abc.text = "Intel AMT CIRA disconnected"; addNotification(abc); }
4165 if (((node.conn & 4) != 0) && ((message.event.conn & 4) == 0)) { abc.text = "Intel AMT disconnected"; addNotification(abc); }
4166 if (((node.conn & 16) != 0) && ((message.event.conn & 16) == 0)) { abc.text = "MQTT disconnected"; addNotification(abc); }
4167 }