Update Safe Exam Browser Patch to 3.10.0.826
This commit is contained in:
29
SafeExamBrowser.Settings/Server/InvigilationSettings.cs
Normal file
29
SafeExamBrowser.Settings/Server/InvigilationSettings.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (c) 2025 ETH Zürich, IT Services
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace SafeExamBrowser.Settings.Server
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines all invigilation settings for a server session.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class InvigilationSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Determines whether the message input for the raise hand notification will be forced.
|
||||
/// </summary>
|
||||
public bool ForceRaiseHandMessage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the raise hand notification will be shown in the shell.
|
||||
/// </summary>
|
||||
public bool ShowRaiseHandNotification { get; set; }
|
||||
}
|
||||
}
|
@@ -46,6 +46,11 @@ namespace SafeExamBrowser.Settings.Server
|
||||
/// </summary>
|
||||
public string Institution { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The invigilation-related settings.
|
||||
/// </summary>
|
||||
public InvigilationSettings Invigilation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether SEB will fallback to the start URL in case no connection could be established with the server.
|
||||
/// </summary>
|
||||
@@ -75,5 +80,10 @@ namespace SafeExamBrowser.Settings.Server
|
||||
/// The URL of the server.
|
||||
/// </summary>
|
||||
public string ServerUrl { get; set; }
|
||||
|
||||
public ServerSettings()
|
||||
{
|
||||
Invigilation = new InvigilationSettings();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user