Adds a CSRF-protected admin-only alert command with severity presets and 5-second rate limit; signs a NexBus event and fans out via native IDialogModule.SendGeneralAlert across all hosted regions, including EventSim when configured. Default remains opt-in. NexVerse CI, .NET10 full build, SYS.API HTTP/HMAC tests and security contracts passed. Cross-platform builds/ROBUST boot passed; release-artifact upload remains blocked by GitHub storage quota. No production deployment.
32 lines
1.9 KiB
XML
32 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<AssemblyName>sys.api</AssemblyName>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../NexVerse/Core/NexVerse.Core.csproj"/>
|
|
<ProjectReference Include="../../OpenSim/Server/Handlers/OpenSim.Server.Handlers.csproj"/>
|
|
<ProjectReference Include="../../OpenSim/Server/Base/OpenSim.Server.Base.csproj"/>
|
|
<ProjectReference Include="../../OpenSim/Framework/OpenSim.Framework.csproj"/>
|
|
<ProjectReference Include="../../OpenSim/Framework/Servers/HttpServer/OpenSim.Framework.Servers.HttpServer.csproj"/>
|
|
<ProjectReference Include="../../OpenSim/Services/Interfaces/OpenSim.Services.Interfaces.csproj"/>
|
|
<Reference Include="OpenMetaverse"><HintPath>../../bin/OpenMetaverse.dll</HintPath><Private>false</Private></Reference>
|
|
<Reference Include="OpenMetaverseTypes"><HintPath>../../bin/OpenMetaverseTypes.dll</HintPath><Private>false</Private></Reference>
|
|
<Reference Include="Nini"><HintPath>../../bin/Nini.dll</HintPath><Private>false</Private></Reference>
|
|
<Reference Include="log4net"><HintPath>../../bin/log4net.dll</HintPath><Private>false</Private></Reference>
|
|
<Reference Include="MySql.Data"><HintPath>../../bin/MySql.Data.dll</HintPath><Private>false</Private></Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="www/index.html"/>
|
|
<EmbeddedResource Include="www/app.js"/>
|
|
<EmbeddedResource Include="www/style.css"/>
|
|
<EmbeddedResource Include="www/ogl-mascot.webp"/>
|
|
</ItemGroup>
|
|
<Target Name="CopySysApiToServerBin" AfterTargets="Build" Condition="'$(DesignTimeBuild)' != 'true'">
|
|
<Copy SourceFiles="$(TargetPath)" DestinationFiles="$(MSBuildThisFileDirectory)../../bin/$(TargetFileName)" SkipUnchangedFiles="true"/>
|
|
</Target>
|
|
</Project>
|