Index: openacs-4/packages/proctoring-support/proctoring-support.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/proctoring-support.info,v diff -u -r1.1.2.7 -r1.1.2.8 --- openacs-4/packages/proctoring-support/proctoring-support.info 21 Aug 2020 15:18:34 -0000 1.1.2.7 +++ openacs-4/packages/proctoring-support/proctoring-support.info 28 Aug 2020 13:33:40 -0000 1.1.2.8 @@ -10,7 +10,7 @@ f proctoring - + Antonio Pisano Set of tools to implement proctoring of user interaction Wirtschaftsuniversität Wien @@ -21,7 +21,7 @@ No real UI is provided by the package itself. Other packages must integrate the provided includes. 0 - + Index: openacs-4/packages/proctoring-support/catalog/proctoring-support.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/catalog/proctoring-support.de_DE.ISO-8859-1.xml,v diff -u -r1.1.2.5 -r1.1.2.6 --- openacs-4/packages/proctoring-support/catalog/proctoring-support.de_DE.ISO-8859-1.xml 21 Aug 2020 15:18:34 -0000 1.1.2.5 +++ openacs-4/packages/proctoring-support/catalog/proctoring-support.de_DE.ISO-8859-1.xml 28 Aug 2020 13:33:40 -0000 1.1.2.6 @@ -1,6 +1,7 @@ + Best�tigen Zur Erkennung einer "Erschleichung der Pr�fungsleistung" findet eine automatisierte Online-Aufsicht statt. Dabei werden Sie, Ihr Bildschirm und Ihr Mikrofon aufgezeichnet. Ihre Daten werden nur zum angegebenen Zweck verwendet, sicher verwahrt und nicht an Dritte weitergegeben. Sie arbeiten mit einem Browser der die automatische Online-Aufsicht nicht unterst�tzt. Bitte verwenden Sie die neueste Version von <a href='https://www.google.de/chrome'>Google Chrome</a>. Der Pr�fungsmodus l�uft. Schlie�en Sie das Browserfenster daher erst nach Beendigung der Pr�fung. Index: openacs-4/packages/proctoring-support/catalog/proctoring-support.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/catalog/proctoring-support.en_US.ISO-8859-1.xml,v diff -u -r1.1.2.7 -r1.1.2.8 --- openacs-4/packages/proctoring-support/catalog/proctoring-support.en_US.ISO-8859-1.xml 21 Aug 2020 15:18:34 -0000 1.1.2.7 +++ openacs-4/packages/proctoring-support/catalog/proctoring-support.en_US.ISO-8859-1.xml 28 Aug 2020 13:33:40 -0000 1.1.2.8 @@ -1,6 +1,7 @@ + Accept An automated exam-supervision is activated to detect any fraudulent examination performance. You, your screen and your microphone will be recorded. Your data will only be used for the stated purpose, will be stored securely and will not be passed on to third parties. You are working with a browser that does not support the automated exam-supervision. Please use the latest version of Google <a href='https://www.google.com/chrome/'>Chrome</a>. The examination mode is activated. Close your browser window after the exam. Index: openacs-4/packages/proctoring-support/lib/proctored-page.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/proctored-page.adp,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/proctoring-support/lib/proctored-page.adp 18 Aug 2020 12:46:10 -0000 1.1.2.4 +++ openacs-4/packages/proctoring-support/lib/proctored-page.adp 28 Aug 2020 13:33:40 -0000 1.1.2.5 @@ -25,11 +25,6 @@

#xowf.menu-New-App-OnlineExam#

- -
-
@msg.exam_mode;literal@
-
-
@msg.proctoring_accept@
@@ -50,6 +45,11 @@
+ +
+
@msg.exam_mode;literal@
+
+
@@ -117,6 +117,7 @@ var isMobile = @mobile_p;literal@; var nextLabel = "#acs-kernel.common_Next#"; var submitLabel = "#proctoring-support.wizard_finish#"; + var acceptLabel = "#proctoring-support.accept#"; var blackPictureSizeThreshold = 24000; // kbytes Index: openacs-4/packages/proctoring-support/www/resources/proctored-page.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/www/resources/proctored-page.js,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/proctoring-support/www/resources/proctored-page.js 18 Aug 2020 12:46:10 -0000 1.1.2.4 +++ openacs-4/packages/proctoring-support/www/resources/proctored-page.js 28 Aug 2020 13:33:40 -0000 1.1.2.5 @@ -174,9 +174,6 @@ var streams = []; var handlers = []; -if (hasExaminationStatement) { - handlers.push(approveStartExam); -} if (hasProctoring) { handlers.push(function () { clearError(); @@ -290,16 +287,22 @@ }); }); } +if (hasExaminationStatement) { + handlers.push(function () { + var acceptButton = document.getElementById("nextBtn"); + acceptButton.innerHTML = acceptLabel; + var clickHandler = function(e) { + approveStartExam(); + this.removeEventListener("click", clickHandler); + }; + acceptButton.addEventListener("click", clickHandler); + }); +} function showTab(n) { // This function will display the specified tab of the form... var x = document.getElementsByClassName("tab"); x[n].style.display = "block"; - if (typeof handlers[n] == "function") { - handlers[n](); - } else { - valid = true; - } //... and fix the Previous/Next buttons: if (n == 0) { document.getElementById("prevBtn").style.display = "none"; @@ -312,7 +315,13 @@ document.getElementById("nextBtn").innerHTML = nextLabel; } //... and run a function that will display the correct step indicator: - fixStepIndicator(n) + fixStepIndicator(n); + + if (typeof handlers[n] == "function") { + handlers[n](); + } else { + valid = true; + } } var errorEl = document.querySelector("#error-message");