SMBIOS is no longer saved by default.

Ylian Saint-Hilaire committed Sep 7, 2020 at 20:35 UTC 95b68fb2a5066da5eae4a1601fbb5cf7be859994
4 files changed +16 -22
meshagent.js
+1 -1
@@ -1165,7 +1165,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
1165 case 'smbios':
1166 {
1167 // See if we need to save SMBIOS information
1168 - if (domain.smbios !== false) {
1168 + if (domain.smbios === true) {
1169 // Store the RAW SMBios table of this computer
1170 // Perform sanity checks before storing
1171 try {
public/styles/style.css
+2 -2
@@ -1220,11 +1220,11 @@ NoMeshesPanel img {
1220
1221 .p10html3right {
1222 float: right;
1223 - font-size: x-small;
1223 + font-size: small;
1224 }
1225
1226 .p10html3left {
1227 - font-size: x-small;
1227 + font-size: small;
1228 }
1229
1230 #dp10devicevalue {
translate/translate.json
+1 -7
@@ -6652,12 +6652,6 @@
6652 "default.handlebars->27->1214"
6653 ]
6654 },
6655 - {
6656 -
6657 - "tr": "Çince (Traditioneel)",
6658 - "zh-chs": "中国传统的",
6659 - "zh-cht": "中國傳統的)"
6660 - },
6655 {
6656 "cs": "ChromeOS",
6657 "de": "ChromeOS",
@@ -38390,4 +38384,4 @@
38384 ]
38385 }
38386 ]
38393 -}
38387 +}
\ No newline at end of file
views/default.handlebars
+12 -12
@@ -3624,7 +3624,7 @@
3624 }
3625
3626 // Add a "Add Device Group" option
3627 - r += '<div style=border-top-style:solid;border-top-width:1px;border-top-color:#DDDDDD;cursor:pointer;font-size:10px>';
3627 + r += '<div style=border-top-style:solid;border-top-width:1px;border-top-color:#DDDDDD;cursor:pointer;font-size:small>';
3628 if ((view < 3) && (sort == 0) && (Object.keys(meshes).length > 0) && ((userinfo.siteadmin == 0xFFFFFFFF) || ((userinfo.siteadmin & 64) == 0))) {
3629 r += '<a href=# onclick="return account_createMesh()" title="' + "Create a new group of devices." + '" style=cursor:pointer>' + "Add Device Group" + '</a>&nbsp';
3630 }
@@ -3904,22 +3904,22 @@
3904 if ((meshrights & 4) == 0) return '';
3905 var r = '';
3906 if ((features & 1024) == 0) { // If CIRA is allowed
3907 - r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Add a new Intel&reg; AMT computer that is located on the internet." + '" onclick=\'return addCiraDeviceToMesh("' + mesh._id + '")\'>' + "Add CIRA" + '</a>';
3907 + r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Add a new Intel&reg; AMT computer that is located on the internet." + '" onclick=\'return addCiraDeviceToMesh("' + mesh._id + '")\'>' + "Add CIRA" + '</a>';
3908 }
3909 if (mesh.mtype == 1) {
3910 if ((features & 1) == 0) { // If not WAN-Only
3911 - r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Add a new Intel&reg; AMT computer that is located on the local network." + '" onclick=\'return addDeviceToMesh("' + mesh._id + '")\'>' + "Add Local" + '</a>';
3912 - r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Add a new Intel&reg; AMT computer by scanning the local network." + '" onclick=\'return addAmtScanToMesh("' + mesh._id + '")\'>' + "Scan Network" + '</a>';
3911 + r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Add a new Intel&reg; AMT computer that is located on the local network." + '" onclick=\'return addDeviceToMesh("' + mesh._id + '")\'>' + "Add Local" + '</a>';
3912 + r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Add a new Intel&reg; AMT computer by scanning the local network." + '" onclick=\'return addAmtScanToMesh("' + mesh._id + '")\'>' + "Scan Network" + '</a>';
3913 }
3914 if (mesh.amt && (mesh.amt.type == 2)) { // CCM activation
3915 - r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Perform Intel AMT client control mode (CCM) activation." + '" onclick=\'return showCcmActivation("' + mesh._id + '")\'>' + "Activation" + '</a>';
3915 + r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Perform Intel AMT client control mode (CCM) activation." + '" onclick=\'return showCcmActivation("' + mesh._id + '")\'>' + "Activation" + '</a>';
3916 } else if (mesh.amt && (mesh.amt.type == 3) && ((features & 0x00100000) != 0)) { // ACM activation
3917 - r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Perform Intel AMT admin control mode (ACM) activation." + '" onclick=\'return showAcmActivation("' + mesh._id + '")\'>' + "Activation" + '</a>';
3917 + r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Perform Intel AMT admin control mode (ACM) activation." + '" onclick=\'return showAcmActivation("' + mesh._id + '")\'>' + "Activation" + '</a>';
3918 }
3919 }
3920 if (mesh.mtype == 2) {
3921 - r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Add a new computer to this device group by installing the mesh agent." + '" onclick=\'return addAgentToMesh("' + mesh._id + '")\'>' + "Add Agent" + '</a>';
3922 - if ((features & 2) == 0) { r += ' <a href=# style=cursor:pointer;font-size:10px title="' + "Invite someone to install the mesh agent on this device group." + '" onclick=\'return inviteAgentToMesh("' + mesh._id + '")\'>' + "Invite" + '</a>'; }
3921 + r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Add a new computer to this device group by installing the mesh agent." + '" onclick=\'return addAgentToMesh("' + mesh._id + '")\'>' + "Add Agent" + '</a>';
3922 + if ((features & 2) == 0) { r += ' <a href=# style=cursor:pointer;font-size:small title="' + "Invite someone to install the mesh agent on this device group." + '" onclick=\'return inviteAgentToMesh("' + mesh._id + '")\'>' + "Invite" + '</a>'; }
3923 }
3924 return r;
3925 }
@@ -9403,7 +9403,7 @@
9403 x += '</tbody></table>';
9404
9405 // If we are full administrator on this mesh, allow deletion of the mesh
9406 - if (meshrights == 0xFFFFFFFF) { x += '<div style=font-size:x-small;text-align:right><span><a href=# onclick=p20showDeleteMeshDialog() style=cursor:pointer>' + "Delete Group" + '</a></span></div>'; }
9406 + if (meshrights == 0xFFFFFFFF) { x += '<div style=font-size:small;text-align:right><span><a href=# onclick=p20showDeleteMeshDialog() style=cursor:pointer>' + "Delete Group" + '</a></span></div>'; }
9407
9408 QH('p20info', x);
9409
@@ -11527,7 +11527,7 @@
11527 x += '</tbody></table>';
11528
11529 if ((userinfo.siteadmin & 256) != 0) {
11530 - x += '<div style=font-size:x-small;text-align:right><span><a href=# onclick=p51showDeleteUserGroupDialog() style=cursor:pointer>' + "Delete User Group" + '</a></span></div>';
11530 + x += '<div style=font-size:small;text-align:right><span><a href=# onclick=p51showDeleteUserGroupDialog() style=cursor:pointer>' + "Delete User Group" + '</a></span></div>';
11531 }
11532
11533 QH('p51group2', x);
@@ -11822,9 +11822,9 @@
11822 var userAdminRights = (((userinfo.siteadmin != null) && (userinfo.siteadmin & 2) && (user.siteadmin != 0xFFFFFFFF)) || (userinfo.siteadmin == 0xFFFFFFFF));
11823
11824 // Show bottom buttons
11825 - x = '<div style=float:right;font-size:x-small>';
11825 + x = '<div style=float:right;font-size:small>';
11826 if (userAdminRights) { x += '<a href=# style=cursor:pointer onclick=\'return p30showDeleteUserDialog()\' title="' + "Remove this user" + '">' + "Delete User" + '</a>'; }
11827 - x += '</div><div style=font-size:x-small>';
11827 + x += '</div><div style=font-size:small>';
11828 // If user admin rights and not SSPI/LDAP and UserID does not start with ~, show change password
11829 if (userAdminRights && ((features & 0x00080000) == 0) && (user._id.split('/')[2][0] != '~')) { x += '<a href=# style=cursor:pointer onclick=\'return p30showUserChangePassDialog(' + multiFactor + ')\' title="' + "Change the password for this user" + '">' + "Change Password" + '</a>'; }
11830 x += '</div><br>'