+
-
-
+
- Document:
-
+ Document:
- Target:
-
+ Target:
@@ -58,11 +53,9 @@
- |
-
+ |
|
-
- Message
+ | Message
|
@@ -75,11 +68,9 @@
@@ -309,13 +300,11 @@
ko.applyBindings(vm);
// Init Persistent Connection
- liveConnection = $.connection('@(Url.Content("~/API/Logging/Notifications"))');
+ liveConnection = $.connection('@(Url.Content("~/API/Logging/Notifications"))', { addToGroups: '@(Disco.BI.DocumentTemplateBI.Importer.DocumentImporterLog.Current.LiveLogGroupName)' });
liveConnection.received(parseLog);
liveConnection.error(function (e) { if (e.status != 200) alert('Live-Log Error: ' + e.statusText + ': ' + e.responseText); });
isLive = true;
- liveConnection.start(function () {
- liveConnection.send('/addToGroups:@(Disco.BI.DocumentTemplateBI.Importer.DocumentImporterLog.Current.LiveLogGroupName)');
- });
+ liveConnection.start();
}
init();
});
diff --git a/Disco.Web/Areas/Config/Views/DocumentTemplate/ImportStatus.generated.cs b/Disco.Web/Areas/Config/Views/DocumentTemplate/ImportStatus.generated.cs
index 402d6e7f..6c833d70 100644
--- a/Disco.Web/Areas/Config/Views/DocumentTemplate/ImportStatus.generated.cs
+++ b/Disco.Web/Areas/Config/Views/DocumentTemplate/ImportStatus.generated.cs
@@ -50,7 +50,7 @@ namespace Disco.Web.Areas.Config.Views.DocumentTemplate
#line default
#line hidden
-WriteLiteral("\r\n\r\n Documents Imported Today\r\n
\r\nDocuments Imported Today\r\n\r\n
\r\n
\r\n No imported documents today
\r\n \r\n
\r\n No imported documents today
\r\n \r\n \r\n
\r\n \r\n
WriteLiteral(" class=\"sessionPages clearfix\"");
-WriteLiteral(" data-bind=\"foreach: {data: sessionPages}\"");
+WriteLiteral(" data-bind=\"foreach: { data: sessionPages }\"");
WriteLiteral(">\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n Disco QR-Code not found
\r\n
WriteLiteral(" target=\"_blank\"");
-WriteLiteral(" data-bind=\"attr: {href: manuallyAssignUrl}, visible: $parent.sessionEnded\"");
+WriteLiteral(" data-bind=\"attr: { href: manuallyAssignUrl }, visible: $parent.sessionEnded\"");
WriteLiteral(">Manually Assign Page\r\n
\r\n " +
"
\r\n Document:
\r\n \r\n
\r\n " +
-" Target:
\r\n
\r\n Target:
\r\n \r\n
\r\n " +
-"
\r\n
\r\n
\r\n
\r\n \r
WriteLiteral(" class=\"icon\"");
-WriteLiteral(">\r\n \r\n \r\n " +
-" | \r\n | \r\n \r\n Message\r\n | \r\n " +
-"
\r\n \r\n \r\n
Message\r\n \r\n \r\n " +
+" \r\n
\r\n
\r\n
\r\n
WriteLiteral(" class=\"icon\"");
-WriteLiteral(" data-bind=\"attr: {title: FormattedTimestamp}, css: {information: EventTypeSeveri" +
-"ty == 0, warning: EventTypeSeverity == 1, error: EventTypeSeverity == 2}\"");
+WriteLiteral(" data-bind=\"attr: { title: FormattedTimestamp }, css: { information: EventTypeSev" +
+"erity == 0, warning: EventTypeSeverity == 1, error: EventTypeSeverity == 2 }\"");
-WriteLiteral(">\r\n \r\n " +
-"td>\r\n | \r\n | \r\n <" +
+"td");
WriteLiteral(" class=\"message\"");
-WriteLiteral(" data-bind=\"text: FormattedMessage, attr: {title: EventTypeName}\"");
+WriteLiteral(" data-bind=\"text: FormattedMessage, attr: { title: EventTypeName }\"");
-WriteLiteral(">\r\n \r\n
\r\n " +
-" \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n");
+WriteLiteral(@"' });
+ liveConnection.received(parseLog);
+ liveConnection.error(function (e) { if (e.status != 200) alert('Live-Log Error: ' + e.statusText + ': ' + e.responseText); });
+ isLive = true;
+ liveConnection.start();
+ }
+ init();
+ });
+
+");
}
}
diff --git a/Disco.Web/Areas/Config/Views/Enrolment/Status.cshtml b/Disco.Web/Areas/Config/Views/Enrolment/Status.cshtml
index a4684032..d2eddb06 100644
--- a/Disco.Web/Areas/Config/Views/Enrolment/Status.cshtml
+++ b/Disco.Web/Areas/Config/Views/Enrolment/Status.cshtml
@@ -357,12 +357,10 @@
vm.isotopeInited = true;
// Init Persistent Connection
- liveConnection = $.connection('@(Url.Content("~/API/Logging/Notifications"))');
+ liveConnection = $.connection('@(Url.Content("~/API/Logging/Notifications"))', { addToGroups: '@(Disco.BI.DeviceBI.EnrolmentLog.Current.LiveLogGroupName)' });
liveConnection.received(parseLog);
liveConnection.error(function (e) { if (e.status != 200) alert('Live-Log Error: ' + e.statusText + ': ' + e.responseText); });
- liveConnection.start(function () {
- liveConnection.send('/addToGroups:@(Disco.BI.DeviceBI.EnrolmentLog.Current.LiveLogGroupName)');
- });
+ liveConnection.start();
}
init();
});
diff --git a/Disco.Web/Areas/Config/Views/Enrolment/Status.generated.cs b/Disco.Web/Areas/Config/Views/Enrolment/Status.generated.cs
index 906271cd..6e54defa 100644
--- a/Disco.Web/Areas/Config/Views/Enrolment/Status.generated.cs
+++ b/Disco.Web/Areas/Config/Views/Enrolment/Status.generated.cs
@@ -519,20 +519,24 @@ WriteLiteral(@"',
#line default
#line hidden
-WriteLiteral(@"');
- liveConnection.received(parseLog);
- liveConnection.error(function (e) { if (e.status != 200) alert('Live-Log Error: ' + e.statusText + ': ' + e.responseText); });
- liveConnection.start(function () {
- liveConnection.send('/addToGroups:");
+WriteLiteral("\', { addToGroups: \'");
- #line 364 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
- Write(Disco.BI.DeviceBI.EnrolmentLog.Current.LiveLogGroupName);
+ #line 360 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ Write(Disco.BI.DeviceBI.EnrolmentLog.Current.LiveLogGroupName);
#line default
#line hidden
-WriteLiteral("\');\r\n });\r\n }\r\n init();\r\n });\r\n\r\n");
+WriteLiteral(@"' });
+ liveConnection.received(parseLog);
+ liveConnection.error(function (e) { if (e.status != 200) alert('Live-Log Error: ' + e.statusText + ': ' + e.responseText); });
+ liveConnection.start();
+ }
+ init();
+ });
+
+");
}
}
diff --git a/Disco.Web/Areas/Config/Views/Logging/TaskStatus.cshtml b/Disco.Web/Areas/Config/Views/Logging/TaskStatus.cshtml
index 139cc808..a1e4a90e 100644
--- a/Disco.Web/Areas/Config/Views/Logging/TaskStatus.cshtml
+++ b/Disco.Web/Areas/Config/Views/Logging/TaskStatus.cshtml
@@ -29,7 +29,7 @@
- |
+ |
|
@@ -240,11 +240,10 @@
});
}
function updateWithLive() {
- liveConnection = $.connection('@(Url.Content("~/API/Logging/TaskStatusNotifications"))');
+ liveConnection = $.connection('@(Url.Content("~/API/Logging/TaskStatusNotifications"))', { addToGroups: sessionId });
liveConnection.received(update_Received);
liveConnection.error(function (e) { if (e.status != 200) alert('Live-Status Error: ' + e.statusText + ': ' + e.responseText); });
liveConnection.start(function () {
- liveConnection.send('/addToGroups:' + sessionId);
updateWithAjax();
});
}
diff --git a/Disco.Web/Areas/Config/Views/Logging/TaskStatus.generated.cs b/Disco.Web/Areas/Config/Views/Logging/TaskStatus.generated.cs
index 3e9642c5..fecae69c 100644
--- a/Disco.Web/Areas/Config/Views/Logging/TaskStatus.generated.cs
+++ b/Disco.Web/Areas/Config/Views/Logging/TaskStatus.generated.cs
@@ -122,7 +122,7 @@ WriteLiteral(">\r\n
\r\n |