From 18a9e9f811f3146c8a7d8c23ab26bbe79615726b Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 30 Jun 2021 17:31:21 +0200 Subject: [PATCH] added SEB Settings Key: allowedDisplaysIgnoreFailure --- .../sql/base/V9__examConfigChanges_v1_2.sql | 15 +++++++++++++-- src/main/resources/messages.properties | 2 ++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main/resources/config/sql/base/V9__examConfigChanges_v1_2.sql b/src/main/resources/config/sql/base/V9__examConfigChanges_v1_2.sql index 52f4d25b..0fcccf3e 100644 --- a/src/main/resources/config/sql/base/V9__examConfigChanges_v1_2.sql +++ b/src/main/resources/config/sql/base/V9__examConfigChanges_v1_2.sql @@ -10,7 +10,9 @@ INSERT IGNORE INTO configuration_attribute VALUES (960, 'allowFind', 'CHECKBOX', null, null, null, null, 'true'), (961, 'allowPDFReaderToolbar', 'CHECKBOX', null, null, null, null, 'false'), - (970, 'setVmwareConfiguration', 'CHECKBOX', null, null, null, null, 'false') + (970, 'setVmwareConfiguration', 'CHECKBOX', null, null, null, null, 'false'), + (971, 'allowedDisplaysIgnoreFailure', 'CHECKBOX', null, null, null, null, 'false') + ; -- ----------------------------------------------------- @@ -66,6 +68,11 @@ INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group -- insert Set VMWare Configuration INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group_id, x_position, y_position, width, height, title) VALUES (970, 0, 10, 'registry', 0, 7, 4, 1, 'NONE'); + +-- insert mac settings + +INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group_id, x_position, y_position, width, height, title) VALUES + (971, 0, 9, 'macSettings', 7, 11, 5, 1, 'NONE'); -- ----------------------------------------------------- -- Update old orientations @@ -105,7 +112,11 @@ UPDATE orientation SET group_id='additionalWindow', x_position=0, y_position=14, UPDATE orientation SET x_position=7, y_position=11, width=5 WHERE config_attribute_id=57; UPDATE orientation SET x_position=7, y_position=13, width=5 WHERE config_attribute_id=58; --- insert Set VMWare Configuration +-- update Set VMWare Configuration UPDATE orientation SET y_position=8 WHERE config_attribute_id=406; UPDATE orientation SET y_position=9 WHERE config_attribute_id=407; UPDATE orientation SET y_position=10 WHERE config_attribute_id=408; + +-- update mac settings +UPDATE orientation SET y_position=10 WHERE config_attribute_id=315; +UPDATE orientation SET y_position=12 WHERE config_attribute_id=316; diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index 265bdb92..09c103a8 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -1296,6 +1296,8 @@ sebserver.examconfig.props.label.logLevel.4=Verbose sebserver.examconfig.props.label.logLevel.4.tooltip=Verbose level contains events of all levels sebserver.examconfig.props.label.allowApplicationLog=Allow access to application log (Win) sebserver.examconfig.props.label.showApplicationLogButton=Show log button on taskbar (Win) +sebserver.examconfig.props.label.allowedDisplaysIgnoreFailure=Ignore errors when validating display configuration. +sebserver.examconfig.props.label.allowedDisplaysIgnoreFailure.tooltip=Needs to be active when using SEB inside a virtual machine sebserver.examconfig.props.group.registry=While running SEB sebserver.examconfig.props.group.registry.tooltip=Options in the Windows Security Screen invoked by Ctrl-Alt-Del