Update Safe Exam Browser Patch to 3.10.0.826

This commit is contained in:
2025-09-16 16:32:31 +02:00
parent 4827ae1afc
commit dd82d45ed8
320 changed files with 8445 additions and 5295 deletions

View File

@@ -0,0 +1,15 @@
/*
* 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/.
*/
namespace SafeExamBrowser.Server.Contracts.Events
{
/// <summary>
/// The default event handler for invigilation events.
/// </summary>
public delegate void InvigilationEventHandler();
}

View File

@@ -0,0 +1,49 @@
/*
* 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 SafeExamBrowser.Server.Contracts.Events;
using SafeExamBrowser.Settings.Server;
namespace SafeExamBrowser.Server.Contracts
{
/// <summary>
/// Provides invigilation functionality for server sessions.
/// </summary>
public interface IInvigilator
{
/// <summary>
/// Indicates whether the hand is currently raised.
/// </summary>
bool IsHandRaised { get; }
/// <summary>
/// Fired when the hand has been lowered.
/// </summary>
event InvigilationEventHandler HandLowered;
/// <summary>
/// Fired when the hand has been raised.
/// </summary>
event InvigilationEventHandler HandRaised;
/// <summary>
/// Initializes the invigilation functionality according to the given settings.
/// </summary>
void Initialize(InvigilationSettings settings);
/// <summary>
/// Lowers the hand.
/// </summary>
void LowerHand();
/// <summary>
/// Raises the hand, optionally with the given message.
/// </summary>
void RaiseHand(string message = default);
}
}

View File

@@ -57,6 +57,7 @@
<ItemGroup>
<Compile Include="Data\ConnectionInfo.cs" />
<Compile Include="Data\Exam.cs" />
<Compile Include="Events\InvigilationEventHandler.cs" />
<Compile Include="Events\LockScreenRequestedEventHandler.cs" />
<Compile Include="Events\Proctoring\InstructionMethod.cs" />
<Compile Include="Events\Proctoring\JitsiMeetInstruction.cs" />
@@ -67,6 +68,7 @@
<Compile Include="Events\Proctoring\ZoomInstruction.cs" />
<Compile Include="Events\ServerEventHandler.cs" />
<Compile Include="Events\TerminationRequestedEventHandler.cs" />
<Compile Include="IInvigilator.cs" />
<Compile Include="IServerProxy.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Data\ServerResponse.cs" />