Index: openacs-4/packages/proctoring-support/proctoring-support.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/Attic/proctoring-support.info,v diff -u -N -r1.1.2.30 -r1.1.2.31 --- openacs-4/packages/proctoring-support/proctoring-support.info 21 Feb 2022 15:56:55 -0000 1.1.2.30 +++ openacs-4/packages/proctoring-support/proctoring-support.info 22 Feb 2022 14:30:06 -0000 1.1.2.31 @@ -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/Attic/proctoring-support.de_DE.ISO-8859-1.xml,v diff -u -N -r1.1.2.18 -r1.1.2.19 --- openacs-4/packages/proctoring-support/catalog/proctoring-support.de_DE.ISO-8859-1.xml 21 Feb 2022 15:56:55 -0000 1.1.2.18 +++ openacs-4/packages/proctoring-support/catalog/proctoring-support.de_DE.ISO-8859-1.xml 22 Feb 2022 14:30:06 -0000 1.1.2.19 @@ -12,6 +12,7 @@ Ihre Kamera kann nicht verwendet werden, da sie keine Berechtigung dazu hat. M�gliche Ursachen sind:<ul><li><b>Die Kamera ist in Google Chrome allgemein blockiert</b>: Gehen Sie in Google Chrome auf \"Einstellungen\" | \"Datenschutz und Sicherheit\" | \"Website-Einstellungen\" | \"Berechtigungen\" | \"Kamera\". Wenn der Schieberegler auf \"Blockiert\" steht, dann setzen Sie ihn auf \"Vor dem Zugriff nachfragen (empfohlen)\".</li><li><b>Die Kamera ist in Google Chrome f�r %system_name% blockiert</b>: Gehen Sie in Google Chrome auf \"Einstellungen\" | \"Datenschutz und Sicherheit\" | \"Website-Einstellungen\" | \"Berechtigungen\" | \"Kamera\". Pr�fen Sie, ob unter \"Blockieren\" Links zu unseren Webseiten angef�hrt sind. L�schen Sie diese Webseiten aus der Liste �ber einen Klick auf das M�lltonnensymbol.</li><li><b>Die Kamera ist f�r Google Chrome blockiert (macOS)</b>: Gehen Sie unter \"Systemeinstellungen\" auf \"Sicherheit\" | \"Datenschutz\" und dann in der Seitenleiste auf \"Kamera\". Aktivieren Sie das Markierungsfeld neben Google Chrome. Starten Sie GoogleChrome neu.</li><li><b>Die Kamera ist in den Systemeinstellungen f�r Apps oder Desktop-Apps blockiert(Windows)</b>: �ffnen Sie die Systemeinstellungen Ihres Computers und gehen Sie zu \"Apps\" und \"Desktop-Apps\". Pr�fen Sie, ob Apps und Desktop-Apps auf Ihre Kamera zugreifen d�rfen. Wenn nicht, dann setzen Sie den Schieberegler jeweils auf \"Ein\".</li><li><b>Die Kamera ist in den Systemeinstellungen allgemein blockiert</b>: (Windows) �ffnen Sie die Systemeinstellungen Ihres Computers und gehen Sie zu \"Kamera\". Pr�fen Sie, ob der Kamerazugriff allgemein aktiviert ist. Wenn nicht, dann gehen Sie auf \"�ndern\", um den Kamerazugriff allgemein zu aktivieren. (macOS) Pr�fen Sie, ob die Kamera aktiviert ist und funktioniert</b>: <a href='https://support.apple.com/de-at/HT211130'>Link zur Anleitung.</a></li><li><b>Die Kamera wurde aufgrund mangelnder Energieversorgung abgeschaltet (Windows)</b>: Verbinden Sie Ihren Computer mit einer Stromquelle und aktivieren Sie die Kamera nunwieder. �ffnen Sie die Systemeinstellungen Ihres Computers und gehen Sie zu \"Kamera\". Pr�fen Sie, ob der Kamerazugriff f�r dieses Ger�t noch aktiviert ist. Wenn nicht, dann gehen Sie auf \"�ndern\", um den Kamerazugriff wieder zu aktivieren.</li></ul> Nochmals pr�fen Wenn die automatisierte Online-Aufsicht aktiviert ist, erstellt das System Aufzeichnungen von den Teilnehmer/innen und deren Bildschirm. + Sind Sie sicher, dass Sie die Online-Aufsicht-Artefakte f�r ausgew�hlte Benutzer l�schen m�chten? 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>. Ihr Bildschirm kann nicht aufgenommen werden, da Google Chrome keine Berechtigung dazu hat. M�gliche Ursachen sind: <ul> <li><b>Die Bildschirmaufnahme ist durch ein Antivirenprogramm blockiert</b>: Erlauben Sie Ihrem Antivirenprogramm bzw. der Antivirenschutzerweiterung in Google Chrome die Bildschirmaufnahme bzw. deaktivieren Sie alle Antivirusprogramme f�r die Dauer der Pr�fung.</li> <li><b>Die Bildschirmaufnahme ist in den Systemeinstellungen ist blockiert (macOS)</b>: Gehen Sie unter \"Systemeinstellungen\" auf \"Sicherheit\" | \"Datenschutz\" und dann in der Seitenleiste auf \"Bildschirmaufnahme\". Aktivieren Sie das Markierungsfeld neben Google Chrome. Starten Sie Google Chrome neu.</li> </ul> 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>. @@ -112,6 +113,9 @@ Die Tonaufnahme des Mikrofons ist unzureichend. M�gliche Ursachen sind:<ul><li><b>Die Lautst�rke des Mikrofons ist zu leise eingestellt</b>: Schalten Sie die Eingangslautst�rke lauter. (Windows) �ffnen Sie die Systemsteuerung Ihres Computers und gehen Sie zu\"Sound\" | \"Eingabe\" | \"Ger�teeigenschaften\". Passen Sie hier die Lautst�rke an. (macOS)Klicken Sie auf \"Systemeinstellungen\" | \"Ton\" und �ffnen Sie den Reiter \"Eingabe\". Passen Sie bei Ihrem Mikrofon die Eingangslautst�rke an.</li><li><b>Das Mikrofon ist stummgeschaltet</b>: Heben Sie die Stummschaltung auf. Kontrollieren Sie die entsprechenden Tastaturbefehle und alle hardwareseitigen Einstellungen wie z.B. die Stummschaltung direkt in den Soundeinstellungen oder am Mikrofon/Headset selbst.</li></ul> Die Online-Aufsicht wurde beendet, ist f�r diese Pr�fung aber noch aktiviert. Bitte schlie�en Sie Google Chrome, um die Pr�fungsumgebung ganz zu verlassen, oder starten Sie die automatisierte Online-Aufsicht wieder mit einem Klick auf \"OK\". Damit betreten Sie die Pr�fungsumgebung erneut.<br><br>Wenn Sie �ber dieses Problem melden, inkludieren Sie bitte folgenden Text: Mobile Ger�te werden nicht unterst�tzt. + Artefakte + Markiert + �berpr�ft Nicht �berpr�ft Online-Pr�fung Vorschau @@ -123,6 +127,7 @@ Aufzeichnungen �berpr�ft Anfangsdatum + Matrikelnummer Als OK best�tigen Best�tigt OK Dieses Objekt wurde zur �berpr�fung vorgemerkt 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/Attic/proctoring-support.en_US.ISO-8859-1.xml,v diff -u -N -r1.1.2.22 -r1.1.2.23 --- openacs-4/packages/proctoring-support/catalog/proctoring-support.en_US.ISO-8859-1.xml 21 Feb 2022 15:56:55 -0000 1.1.2.22 +++ openacs-4/packages/proctoring-support/catalog/proctoring-support.en_US.ISO-8859-1.xml 22 Feb 2022 14:30:06 -0000 1.1.2.23 @@ -13,6 +13,7 @@ Your camera cannot be recorded because it has no permission to do so. Possible causes are:<ul><li><b>The camera is blocked in Google Chrome</b>: In Google Chrome go to \"Settings\" | \"Privacy and security\" | \"Site Settings\" | \"Permissions\" | \"Camera\". If the slider is on \"Blocked\", then set it to \"Ask before accessing (recommended)\".</li><li><b>The camera is blocked for %system_name% in Google Chrome</b>: In Google Chrome go to \"Settings\" | \"Privacy and security\" | \"Site Settings\" | \"Permissions\" | \"Camera\". Check whether there are links to our websites under \"Block\". Delete these websites from the list by clicking on the garbage can symbol.</li><li><b>The camera is blocked for Google Chrome (macOS)</b>: Go to \"System Settings\" | \"Security\" | \"Privacy\" and then in the sidebar on \"Camera\". Activate the checkbox next to Google Chrome. Restart Google Chrome.</li><li><b>The camera is blocked in the system settings for apps or desktop apps (Windows)</b>: Open the system settings of your computer and go to \"Apps\" and \"Desktop apps\". Check if apps and desktop apps are allowed to access your camera. If not, set the slider to \"On\".</li><li><b>The camera is blocked in the system settings</b>: (Windows) Open the system settings of your computer and go to \"Camera\". Check whether camera access is generally activated. If not, go to \"Change\" to activate general camera access. (macOS) Check that the camera is activated and working</b>: link to instructions.</li><li><b>The camera was switched off due to insufficient power supply (Windows)</b>: Connect your computer to a power source. Open the system settings of your computer and go to \"Camera\". Check that camera access is still enabled for this device. If not, go to \"Change\" to reactivate camera access.</li></ul> Check again If automated exam-supervision is activated, the system will create recordings of the participants and their screen. + Are you sure you want to delete the proctoring artifacts for selected users? Desktop cannot be recorded. Error is: 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>. Your screen cannot be recorded because it has no permission to do so. Possible causes are: <ul> <li><b>The screen recording is blocked by an antivirus program</b>: Allow your antivirus program or the antivirus protection extension in Google Chrome to record the screen or deactivate all antivirus programs for the duration of the exam.</li> <li><b>The screen recording is blocked in the system settings (macOS)</b>: Go to \"System settings\" | \"Security\" | \"Privacy\" and then click on \"Screen recording\" in the sidebar. Activate the checkbox next to Google Chrome. Restart Google Chrome.</li> </ul> @@ -115,6 +116,9 @@ The microphone's sound recording is insufficient. Possible causes are:<ul><li><b>The volume of the microphone is set too low</b>: Turn up the input volume. (Windows) Open your computer's control panel and go to \"Sound\" | \"Input\" | \"Device properties\". Adjust the volume here. (macOS) Click on \"System Preferences\" | \"Sound\" and open the \"Input\" tab.Adjust the input volume on your microphone.</li><li><b>The microphone is muted</b>: Unmute it. Check the corresponding keyboard commands and all hardware settings such as the mute function directly in the sound settings or on the microphone / headset itself.</li></ul> Online Supervision has ended. However, it is still activated for this exam. Please close Google Chrome to completely exit the exam environment. Alternatively, you can restart the automated online supervision: By clicking \"OK\", you are re-entering the exam environment.<br><br>When reporting this issue, please mention the following message: Mobile devices are unsupported. + Artifacts + Flagged + Reviewed Not reviewed Online Exam Preview @@ -133,6 +137,7 @@ Safe Exam Browser key Encryption key generated via the Safe Exam Browser configuration tool that will be used to ensure students are applying supplied configuration to their exam session. Start date + Student ID Confirm OK Confirmed OK This artifact has been flagged for revision Index: openacs-4/packages/proctoring-support/catalog/proctoring-support.it_IT.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/catalog/Attic/proctoring-support.it_IT.ISO-8859-1.xml,v diff -u -N -r1.1.2.5 -r1.1.2.6 --- openacs-4/packages/proctoring-support/catalog/proctoring-support.it_IT.ISO-8859-1.xml 21 Feb 2022 15:56:55 -0000 1.1.2.5 +++ openacs-4/packages/proctoring-support/catalog/proctoring-support.it_IT.ISO-8859-1.xml 22 Feb 2022 14:30:06 -0000 1.1.2.6 @@ -13,6 +13,7 @@ La tua videocamera non pu� essere registrata perch� non si ha il permesso di farlo. Le possibili cause sono:<ul><li><b>La videocamera � bloccata in Google Chrome</b>: In Google Chrome vai su \"Impostazioni\" \"Privacy e sicurezza\" \"Impostazioni sito\" \"Autorizzazioni\" | \"Camera\". Se il cursore � su \"Bloccato\", impostalo su \"Chiedi prima di accedere (consigliato)\".</li><li><b>La fotocamera � bloccata per yourdomain Network in Google Chrome</b>: In Google Chrome vai su \"Impostazioni\" \"Privacy e sicurezza\" \"Impostazioni del sito\" \"Autorizzazioni\" | \"Camera\". Controlla se ci sono collegamenti ai nostri siti web sotto \"Blocco\". Cancella questi siti web dalla lista cliccando sul simbolo del bidone della spazzatura.</li><li><b>La fotocamera � bloccata per Google Chrome (macOS)</b>: Vai a \"Impostazioni di sistema\" | \"Sicurezza\" e poi nella barra laterale su \"Fotocamera\". Attiva la casella di controllo accanto a Google Chrome. Riavvia Google Chrome.</li><li><b>La fotocamera � bloccata nelle impostazioni di sistema per le app o le applicazioni desktop (Windows)</b>: Apri le impostazioni di sistema del tuo computer e vai su \"Apps\" e \"Desktop apps\". Controlla se le app e le applicazioni desktop sono autorizzate ad accedere alla tua fotocamera. In caso contrario, imposta il cursore su \"On\".</li><li><b>La fotocamera � bloccata nelle impostazioni di sistema</b>: (Windows) Apri le impostazioni di sistema del tuo computer e vai su \"Fotocamera\". Controlla se l'accesso alla videocamera � generalmente attivato. Se non lo �, vai su \"Modifica\" per attivare l'accesso generale alla telecamera. (macOS) Controlla che la videocamera sia attivata e funzionante</b>: link alle istruzioni.</li><li><b>La videocamera si � spenta per insufficiente alimentazione (Windows)</b>: Collega il tuo computer a una fonte di alimentazione. Apri le impostazioni di sistema del tuo computer e vai su \"Camera\". Controlla che l'accesso alla videocamera sia ancora abilitato per questo dispositivo. In caso contrario, vai su \"Cambia\" per riattivare l'accesso alla videocamera.</li></ul> Controlla di nuovo Se la supervisione automatica dell'esame � attiva, il sistema creer� registrazioni dei partecipanti e del loro schermo. + Vuoi davvero eliminare gli artefatti prodotti dalla supervisione per gli utenti selezionati? Il desktop non pu� essere registrato. L'errore riportato �: Stai lavorando con un browser che non supporta la supervisione automatica dell'esame. Usa per favore la versione pi� recente di Google <a href='https://www.google.com/chrome/'>Chrome</a> Il tuo schermo non pu� essere registrato perch� non si ha il permesso di farlo. Le possibili cause sono: <ul> <li><b>La registrazione dello schermo � bloccata da un programma antivirus</b>: Consenti al tuo programma antivirus o all'estensione di protezione antivirus in Google Chrome di registrare lo schermo o disattiva tutti i programmi antivirus per la durata dell'esame.</li> <li><b>La registrazione dello schermo � bloccata nelle impostazioni di sistema (macOS)</b>: Vai a \"Impostazioni di sistema\" | \"Sicurezza\" e poi clicca su \"Registrazione schermo\" nella barra laterale. Attiva la casella di controllo accanto a Google Chrome. Riavvia Google Chrome.</li> </ul> @@ -36,6 +37,9 @@ Il suono del microfono � insufficiente. Le possibili cause sono:<ul><li><b>Il volume del microfono � troppo basso</b>: Alza il volume di ingresso. (Windows) Apri il pannello di controllo del tuo computer e vai su \"Suono\" | \"Ingresso\". | \"Propriet� dei dispositivi\". Regola qui il volume. (macOS) Clicca su \"Preferenze di sistema\" | (macOS) Clicca su \"Preferenze di sistema\", \"Suono\" e apri la scheda \"Ingresso\". Regola il volume del tuo microfono.</li><li><b>Il microfono � silenziato</b>: Disattivarlo. Controlla i comandi da tastiera corrispondenti e tutte le impostazioni hardware come la funzione mute direttamente nelle impostazioni audio o sul microfono/cuffia stessa.</li></ul> La supervisione online � terminata. Tuttavia, � ancora attiva per questo esame. Si prega di chiudere Google Chrome per uscire completamente dall'ambiente d'esame. In alternativa, puoi riavviare la supervisione online automatica: Cliccando su \"OK\", stai rientrando nell'ambiente d'esame.<br><br>Nel segnalare questo problema, menziona il seguente messaggio: I dispositivi movili non sono supportati. + Artefatti + Segnati + Revisionati Non verificati Esame Online Anteprima @@ -54,6 +58,7 @@ Chiave per Safe Exam Browser Chiave di cifratura generata tramite lo strumento di configurazione del Safe Exam Browser che sar� usata per verificare che gli studenti stiano davvero applicando la configurazione specificata alla loro sessione d'esame. Data inizio + ID Studente Segna come OK Confermati OK Questo artefatto � stato segnalato per la revisione Index: openacs-4/packages/proctoring-support/lib/proctoring-display.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/Attic/proctoring-display.adp,v diff -u -N -r1.1.2.19 -r1.1.2.20 --- openacs-4/packages/proctoring-support/lib/proctoring-display.adp 21 Feb 2022 18:14:42 -0000 1.1.2.19 +++ openacs-4/packages/proctoring-support/lib/proctoring-display.adp 22 Feb 2022 14:30:06 -0000 1.1.2.20 @@ -246,18 +246,6 @@ }) - -

- @delete_label@ -

- -

@user_name@

@@ -593,14 +581,14 @@ data-artifact-id="">#acs-subsite.Comment#
- +
@@ -693,53 +681,79 @@
+
- +
- -
- - - - - -
-
- + + +
Index: openacs-4/packages/proctoring-support/lib/proctoring-display.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/Attic/proctoring-display.tcl,v diff -u -N -r1.1.2.14 -r1.1.2.15 --- openacs-4/packages/proctoring-support/lib/proctoring-display.tcl 22 Feb 2022 09:01:24 -0000 1.1.2.14 +++ openacs-4/packages/proctoring-support/lib/proctoring-display.tcl 22 Feb 2022 14:30:06 -0000 1.1.2.15 @@ -86,9 +86,6 @@ set folder [::proctoring::folder \ -object_id $object_id -user_id $user_id] - set delete_label [_ xowiki.delete] - set delete_confirm [_ xowiki.delete_confirm] - if {$file ne ""} { # # Display a specific artifact file: this branch of the script @@ -196,41 +193,113 @@ set folder [::proctoring::folder \ -object_id $object_id] - set delete_label [_ xowiki.delete_all] - set delete_confirm [_ xowiki.delete_all_confirm] - - if {$delete_p} { - # - # Delete all of the artifacts for this proctored object - # - ::proctoring::artifact::delete -object_id $object_id - ad_returnredirect $base_url - ad_script_abort - } - # # Display the list of proctored users for this object for whom # artifacts exist # + set bulk_actions [list] + if {$swa_p} { + lappend bulk_actions \ + "#acs-kernel.common_Delete#" [ad_conn url] "#acs-kernel.common_Delete#" + } + + template::list::create \ + -name users \ + -multirow users \ + -key user_id \ + -actions [list] \ + -bulk_actions $bulk_actions \ + -bulk_action_method post \ + -bulk_action_export_vars { + object_id {delete true} + } \ + -elements { + filter { + label "" + display_template { + + } + } + name { + label "[_ acs-admin.Name]" + link_url_col proctoring_url + } + student_id { + label "[_ proctoring-support.student_id_label]" + link_url_col proctoring_url + } + status { + label "[_ acs-subsite.Status]" + display_template { +
+
+ class="inprogress" + style="width:@users.completion@%;" + + + class="flagged" + + + class="ok" + + > 
+
+ } + } + n_artifacts { + label "[_ proctoring-support.n_artifacts_label]" + } + n_reviewed { + label "[_ proctoring-support.n_reviewed_label]" + } + n_flagged { + label "[_ proctoring-support.n_flagged_label]" + } + } + db_multirow -extend { student_id proctoring_url portrait_url filter + completion } -unclobber users get_users { - select distinct a.user_id, - p.first_names, - p.last_name + with reviewed_picture_name as ( + select name from proctoring_object_artifacts + where object_id = :object_id + order by metadata is not null desc + fetch first 1 rows only + ) + select a.user_id, + p.last_name || ' ' || p.first_names as name, + count(*) as n_artifacts, + count(a.metadata->'revisions') as n_reviewed, + count( + (select 1 from + jsonb_path_query(a.metadata->'revisions', + '$[*] ? (@.flag == "true")') + fetch first 1 rows only + ) + ) as n_flagged from proctoring_object_artifacts a, persons p where object_id = :object_id + and (a.type = 'audio' or + a.name = (select name from reviewed_picture_name)) and a.user_id = p.person_id - order by last_name asc, first_names asc + group by a.user_id, p.person_id + order by p.last_name asc, p.first_names asc } { set student_id [::party::email -party_id $user_id] set proctoring_url [export_vars -no_base_encode -base $base_url { user_id object_id }] set portrait_url /shared/portrait-bits.tcl?user_id=$user_id - set filter [string tolower "$last_name $first_names $student_id"] + set filter [string tolower "$name $student_id"] + + if {$n_artifacts > 0} { + set completion [expr {round(100 * (($n_reviewed * 1.0) / ($n_artifacts * 1.0)))}] + } } }