diff --git a/package.json b/package.json
index 84198f1a..7cab0e2d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "meshcentral",
- "version": "0.3.4-q",
+ "version": "0.3.4-r",
"keywords": [
"Remote Management",
"Intel AMT",
diff --git a/views/default-min.handlebars b/views/default-min.handlebars
index 24892566..1f2c1b2d 100644
--- a/views/default-min.handlebars
+++ b/views/default-min.handlebars
@@ -1 +1 @@
-
{{{title}}} My Devices | My Account | My Events | My Files | My Users | My Server | |
General | Desktop | Terminal | Files | Events | Intel® AMT | Console | |
Server disconnected, click to reconnect.
My Devices
| No device groups. |
My Account
Device Groups ( New ) My Files
These files are shared publicly, click "link" to get public url.
✓
✗
My Server
Server Statistics
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
General -
File Selection
Agent Remote Desktop
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
\ No newline at end of file
+ {{{title}}} My Devices | My Account | My Events | My Files | My Users | My Server | |
General | Desktop | Terminal | Files | Events | Intel® AMT | Console | |
Server disconnected, click to reconnect.
My Devices
| No device groups. |
My Account
Device Groups ( New ) My Files
These files are shared publicly, click "link" to get public url.
✓
✗
My Server
Server Statistics
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
General -
File Selection
Agent Remote Desktop
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
\ No newline at end of file
diff --git a/views/default.handlebars b/views/default.handlebars
index 7f9dd040..fc08c32d 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -6055,9 +6055,9 @@
var consent = 0;
if (currentMesh.consent) { consent = currentMesh.consent; }
if (serverinfo.consent) { consent |= serverinfo.consent; }
- if (consent & 1) { meshFeatures.push('Desktop Notify'); }
- if (consent & 2) { meshFeatures.push('Terminal Notify'); }
- if (consent & 4) { meshFeatures.push('Files Notify'); }
+ if (consent & 0x0008) { meshFeatures.push('Desktop Prompt'); } else { if (consent & 0x0001) { meshFeatures.push('Desktop Notify'); } }
+ if (consent & 0x0010) { meshFeatures.push('Terminal Prompt'); } else { if (consent & 0x0002) { meshFeatures.push('Terminal Notify'); } }
+ if (consent & 0x0020) { meshFeatures.push('Files Prompt'); } else { if (consent & 0x0004) { meshFeatures.push('Files Notify'); } }
//if ((consent & 7) == 7) { meshFeatures.push('Always Notify'); } else if ((currentMesh.consent & 7) != 0) { meshFeatures.push('Notify Sometimes'); }
//if ((consent & 56) == 56) { meshFeatures.push('Always Blink Border'); } else if ((currentMesh.consent & 56) != 0) { meshFeatures.push('Blick Border Sometimes'); }
@@ -6228,33 +6228,39 @@
if (xxdialogMode) return;
var x = '', consent = (currentMesh.consent) ? currentMesh.consent : 0;
x += 'Desktop
';
- x += "Notify User
";
- //x += "Blinking Border
";
+ x += "Notify user
";
+ x += "Prompt for user consent
";
x += 'Terminal
';
- x += "Notify User
";
- //x += "Blinking Border
";
+ x += "Notify user
";
+ x += "Prompt for user consent
";
x += 'Files
';
- x += "Notify User
";
- //x += "Blinking Border
";
+ x += "Notify user
";
+ x += "Prompt for user consent
";
setDialogMode(2, "Edit Device Group User Consent", 3, p20editmeshconsentEx, x);
if (serverinfo.consent) {
- if (serverinfo.consent & 1) { Q('d20flag1').checked = true; }
- if (serverinfo.consent & 2) { Q('d20flag3').checked = true; }
- if (serverinfo.consent & 4) { Q('d20flag5').checked = true; }
- QE('d20flag1', !(serverinfo.consent & 1));
- QE('d20flag3', !(serverinfo.consent & 2));
- QE('d20flag5', !(serverinfo.consent & 4));
+ if (serverinfo.consent & 0x0001) { Q('d20flag1').checked = true; }
+ if (serverinfo.consent & 0x0008) { Q('d20flag2').checked = true; }
+ if (serverinfo.consent & 0x0002) { Q('d20flag3').checked = true; }
+ if (serverinfo.consent & 0x0010) { Q('d20flag4').checked = true; }
+ if (serverinfo.consent & 0x0004) { Q('d20flag5').checked = true; }
+ if (serverinfo.consent & 0x0020) { Q('d20flag6').checked = true; }
+ QE('d20flag1', !(serverinfo.consent & 0x0001));
+ QE('d20flag2', !(serverinfo.consent & 0x0008));
+ QE('d20flag3', !(serverinfo.consent & 0x0002));
+ QE('d20flag4', !(serverinfo.consent & 0x0010));
+ QE('d20flag5', !(serverinfo.consent & 0x0004));
+ QE('d20flag6', !(serverinfo.consent & 0x0020));
}
}
function p20editmeshconsentEx() {
var consent = 0;
if (Q('d20flag1').checked) { consent += 0x0001; }
- //if (Q('d20flag2').checked) { consent += 0x0008; }
+ if (Q('d20flag2').checked) { consent += 0x0008; }
if (Q('d20flag3').checked) { consent += 0x0002; }
- //if (Q('d20flag4').checked) { consent += 0x0010; }
+ if (Q('d20flag4').checked) { consent += 0x0010; }
if (Q('d20flag5').checked) { consent += 0x0004; }
- //if (Q('d20flag6').checked) { consent += 0x0020; }
+ if (Q('d20flag6').checked) { consent += 0x0020; }
meshserver.send({ action: 'editmesh', meshid: currentMesh._id, consent: consent });
}