From 9a21ba25c8c8c35a16d53d901a2e8f4bde4ad691 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 15 Jan 2024 10:35:45 +0100 Subject: [PATCH] SEBSERV-465 SEB Settings GUI migration --- .../V27__exam_config_gui_additions_v1_6.sql | 24 ++++++++++++++++++- src/main/resources/messages.properties | 1 + 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/main/resources/config/sql/base/V27__exam_config_gui_additions_v1_6.sql b/src/main/resources/config/sql/base/V27__exam_config_gui_additions_v1_6.sql index 7dccdec4..4d19d7b4 100644 --- a/src/main/resources/config/sql/base/V27__exam_config_gui_additions_v1_6.sql +++ b/src/main/resources/config/sql/base/V27__exam_config_gui_additions_v1_6.sql @@ -1,4 +1,26 @@ -- ---------------------------------------------------------------- --- Add SEB Settings GUI additions (SEBSERV-414 and SEBSERV-465) +-- Repair SEB Settings signature to be child of prohibitedProcesses +-- ---------------------------------------------------------------- + +UPDATE configuration_attribute SET name="permittedProcesses.signature", parent_id=73 WHERE id=1200; + +-- ---------------------------------------------------------------- +-- New Settings from issue SEBSERV-501 +-- ---------------------------------------------------------------- + +INSERT IGNORE INTO configuration_attribute VALUES + (1580, 'allowUploads', 'CHECKBOX', null, null, null, null, 'true'), + (1581, 'allowDownloads', 'CHECKBOX', null, null, null, null, 'true') +; + +-- ---------------------------------------------------------------- +-- Add SEB Settings GUI additions (SEBSERV-465) +-- ---------------------------------------------------------------- + +INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group_id, x_position, y_position, width, height, title) VALUES + (1564, 0, 3, null, 7, 15, 5, 1, 'TOP'); + +-- ---------------------------------------------------------------- +-- Add SEB Settings GUI additions (SEBSERV-414) -- ---------------------------------------------------------------- diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index 714920b9..7c524875 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -1868,6 +1868,7 @@ sebserver.examconfig.props.label.browserMediaCaptureMicrophone=Allow microphone sebserver.examconfig.props.label.browserMediaCaptureMicrophone.tooltip=Allow web sites to access the microphone, for WebRTC live streams or audio recording (only in modern WebView and on macOS 11.1/iOS 14.3 or newer) sebserver.examconfig.props.label.browserMediaCaptureScreen=Allow screen capture sebserver.examconfig.props.label.browserMediaCaptureScreen.tooltip=Allow web sites to capture the screen, for WebRTC live streams or still pictures (only in modern WebView and on macOS 11.1 or newer ) +sebserver.examconfig.props.group.browserWindowWebView.title=Select Browser Engine Policy sebserver.examconfig.props.label.browserWindowWebView=Select Browser Engine Policy sebserver.examconfig.props.label.browserWindowWebView.tooltip=The modern WKWebView browser engine currently doesn't support URL content filters (Network > URL Filter > Filter Embedded Content)
and sending the Browser Exam and Config Key in HTTP headers (Exam Session > Use Browser & Config Keys).
If one of these settings is enabled, the classic WebView is used in the Automatic policy.
Prefer Modern ignores the 'Use Browser & Config Keys' option in new tabs on a different server or generally. sebserver.examconfig.props.label.browserWindowWebView.0=Automatic