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

@@ -34,11 +34,8 @@ namespace SafeExamBrowser.Proctoring
private IEnumerable<ProctoringImplementation> implementations;
public bool IsHandRaised { get; private set; }
public IEnumerable<INotification> Notifications => new List<INotification>(implementations);
public event ProctoringEventHandler HandLowered;
public event ProctoringEventHandler HandRaised;
public event RemainingWorkUpdatedEventHandler RemainingWorkUpdated
{
add { implementations.ForEach(i => i.RemainingWorkUpdated += value); }
@@ -104,7 +101,6 @@ namespace SafeExamBrowser.Proctoring
{
implementations = factory.CreateAllActive(settings);
server.HandConfirmed += Server_HandConfirmed;
server.ProctoringConfigurationReceived += Server_ProctoringConfigurationReceived;
server.ProctoringInstructionReceived += Server_ProctoringInstructionReceived;
@@ -121,40 +117,6 @@ namespace SafeExamBrowser.Proctoring
}
}
public void LowerHand()
{
var response = server.LowerHand();
if (response.Success)
{
IsHandRaised = false;
HandLowered?.Invoke();
logger.Info("Hand lowered.");
}
else
{
logger.Error($"Failed to send lower hand notification to server! Message: {response.Message}.");
}
}
public void RaiseHand(string message = null)
{
var response = server.RaiseHand(message);
if (response.Success)
{
IsHandRaised = true;
HandRaised?.Invoke();
logger.Info("Hand raised.");
}
else
{
logger.Error($"Failed to send raise hand notification to server! Message: {response.Message}.");
}
}
public void Terminate()
{
foreach (var implementation in implementations)
@@ -170,14 +132,6 @@ namespace SafeExamBrowser.Proctoring
}
}
private void Server_HandConfirmed()
{
logger.Info("Hand confirmation received.");
IsHandRaised = false;
HandLowered?.Invoke();
}
private void Server_ProctoringConfigurationReceived(bool allowChat, bool receiveAudio, bool receiveVideo)
{
foreach (var implementation in implementations)

View File

@@ -54,16 +54,16 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<HintPath>..\packages\BouncyCastle.Cryptography.2.5.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
<HintPath>..\packages\BouncyCastle.Cryptography.2.6.2\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
</Reference>
<Reference Include="KGySoft.CoreLibraries, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b45eba277439ddfe, processorArchitecture=MSIL">
<HintPath>..\packages\KGySoft.CoreLibraries.9.0.0\lib\net472\KGySoft.CoreLibraries.dll</HintPath>
<Reference Include="KGySoft.CoreLibraries, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b45eba277439ddfe, processorArchitecture=MSIL">
<HintPath>..\packages\KGySoft.CoreLibraries.10.0.0\lib\net472\KGySoft.CoreLibraries.dll</HintPath>
</Reference>
<Reference Include="KGySoft.Drawing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b45eba277439ddfe, processorArchitecture=MSIL">
<HintPath>..\packages\KGySoft.Drawing.9.0.0\lib\net46\KGySoft.Drawing.dll</HintPath>
<Reference Include="KGySoft.Drawing, Version=9.2.0.0, Culture=neutral, PublicKeyToken=b45eba277439ddfe, processorArchitecture=MSIL">
<HintPath>..\packages\KGySoft.Drawing.9.2.0\lib\net46\KGySoft.Drawing.dll</HintPath>
</Reference>
<Reference Include="KGySoft.Drawing.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b45eba277439ddfe, processorArchitecture=MSIL">
<HintPath>..\packages\KGySoft.Drawing.Core.9.0.0\lib\net46\KGySoft.Drawing.Core.dll</HintPath>
<Reference Include="KGySoft.Drawing.Core, Version=9.1.0.0, Culture=neutral, PublicKeyToken=b45eba277439ddfe, processorArchitecture=MSIL">
<HintPath>..\packages\KGySoft.Drawing.Core.9.1.1\lib\net46\KGySoft.Drawing.Core.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>

View File

@@ -84,7 +84,7 @@ namespace SafeExamBrowser.Proctoring.ScreenProctoring
if (args.CancellationRequested)
{
logger.Warn($"The execution of the remaining work has been cancelled and {remaining} item(s) will not be transmitted!");
logger.Warn($"The execution of the remaining work has been canceled and {remaining} item(s) will not be transmitted!");
break;
}

View File

@@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="KGySoft.CoreLibraries" publicKeyToken="b45eba277439ddfe" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.3.0.0" newVersion="8.3.0.0" />
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="KGySoft.Drawing.Core" publicKeyToken="b45eba277439ddfe" culture="neutral" />

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BouncyCastle.Cryptography" version="2.5.0" targetFramework="net48" />
<package id="KGySoft.CoreLibraries" version="9.0.0" targetFramework="net48" />
<package id="KGySoft.Drawing" version="9.0.0" targetFramework="net48" />
<package id="KGySoft.Drawing.Core" version="9.0.0" targetFramework="net48" />
<package id="BouncyCastle.Cryptography" version="2.6.2" targetFramework="net48" />
<package id="KGySoft.CoreLibraries" version="10.0.0" targetFramework="net48" />
<package id="KGySoft.Drawing" version="9.2.0" targetFramework="net48" />
<package id="KGySoft.Drawing.Core" version="9.1.1" targetFramework="net48" />
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net48" />
</packages>