mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
* chore: Change vscode workspace settings to work with omnisharp * refactor(.NET): Use connection string builder to init sqlite database * docs(.NET): Add method documentation to most things that matter * docs(.NET): Add more docs I forgot to commit apparently * feat: Add PoC world database structure ^& http listener * fix: Send a response if VRCX isn't initialized rather than hanging * feat: Initialize world db schema on startup * feat: Allow worlds to store data in db through logfile * use existing current location for worldDB * Add tooltips * chore: Make it so vscode can format C# files without prettier * refactor: Add sqlite-net to (eventually) replace sqlite impl * refactor: Make use of sqlite-net for world database * docs: Add todo for fixing some random exception * refactor: Remove now-unused SQLiteWorld * refactor: Fix DB init query and change table structure again * refactor: Add WorldDataRequest, add attributes for camelcase json keys * Support current user location from API in addition to gameLog * Change current location check for worldDB * feat: Take store requests in JSON, identify worlds by GUID on store. * refactor: Remove unused worldId param from connection key generator * docs: Add more documentation to the methods for the world database * fix: Hey wait that's not a primary key * feat: Add a 10MB data cap for worlds shared across all of their rows. * fix: Don't calculate size of world date twice when inserting * refactor: Discard the guid variable since we only check for validity * docs: Add docs/comments for new data cap functionality * feat: Implement /getbulk API endpoint * fix: Correct WorldDB init query typo * fix: Update data entries properly instead of using 'OR REPLACE' * refactor: Move endpoint processing to separate methods * refactor: Add another check for error 503, remove old code * feat: Add debug capability to /vrcx/getbulk * fix: Correct the usage of getUser in actuallyGetCurrentLocation * feat: Add store errors, implement external reading, stop 404ing * docs: Add docs for new world db funcs * refactor: Change world db server listen port to 22500 * fix: Use getUser correctly, dumb dumb * fix: This error set shouldn't be here * feat: Future-proof api endpoints. Add /status endpoint --------- Co-authored-by: Natsumi <cmcooper123@hotmail.com>
232 lines
9.0 KiB
XML
232 lines
9.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{D9F66F2E-3ED9-4D53-A6AC-ADCC1513562A}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<RootNamespace>VRCX</RootNamespace>
|
|
<AssemblyName>VRCX</AssemblyName>
|
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<Deterministic>true</Deterministic>
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<TargetFrameworkProfile />
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationIcon>VRCX.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<StartupObject />
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Blake2Sharp">
|
|
<HintPath>librsync.net\Blake2Sharp.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="librsync.net">
|
|
<HintPath>librsync.net\librsync.net.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.IO.Compression" />
|
|
<Reference Include="System.IO.Compression.FileSystem" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Deployment" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="AssetBundleCacher.cs" />
|
|
<Compile Include="AutoAppLaunchManager.cs" />
|
|
<Compile Include="CefCustomDownloadHandler.cs" />
|
|
<Compile Include="CefCustomDragHandler.cs" />
|
|
<Compile Include="CefCustomMenuHandler.cs" />
|
|
<Compile Include="WorldDatabase.cs" />
|
|
<Compile Include="ImageCache.cs" />
|
|
<Compile Include="IPCClient.cs" />
|
|
<Compile Include="IPCServer.cs" />
|
|
<Compile Include="ProcessMonitor.cs" />
|
|
<Compile Include="ScreenshotHelper.cs" />
|
|
<Compile Include="SQLite.cs" />
|
|
<Compile Include="StartupArgs.cs" />
|
|
<Compile Include="Update.cs" />
|
|
<Compile Include="CefService.cs" />
|
|
<Compile Include="Discord.cs" />
|
|
<Compile Include="CpuMonitor.cs" />
|
|
<Compile Include="OffScreenBrowser.cs" />
|
|
<Compile Include="NoopDragHandler.cs" />
|
|
<Compile Include="OpenVR\openvr_api.cs" />
|
|
<Compile Include="WebApi.cs" />
|
|
<Compile Include="SQLiteLegacy.cs" />
|
|
<Compile Include="SharedVariable.cs" />
|
|
<Compile Include="Util.cs" />
|
|
<Compile Include="VRForm.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="VRForm.Designer.cs">
|
|
<DependentUpon>VRForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="MainForm.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="MainForm.Designer.cs">
|
|
<DependentUpon>MainForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="VRCXVR.cs" />
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="LogWatcher.cs" />
|
|
<Compile Include="AppApi.cs" />
|
|
<Compile Include="VRCXStorage.cs" />
|
|
<Compile Include="JsonSerializer.cs" />
|
|
<Compile Include="WorldDataRequestResponse.cs" />
|
|
<Compile Include="WorldDBManager.cs" />
|
|
<Compile Include="WinApi.cs" />
|
|
<Compile Include="WinformBase.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="WinformThemer.cs" />
|
|
<EmbeddedResource Include="VRForm.resx">
|
|
<DependentUpon>VRForm.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="MainForm.resx">
|
|
<DependentUpon>MainForm.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<Compile Include="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
<DesignTime>True</DesignTime>
|
|
</Compile>
|
|
<None Include="app.manifest" />
|
|
<None Include="Properties\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
</None>
|
|
<Compile Include="Properties\Settings.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
<None Include="Version">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="App.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="IPCPacket.cs" />
|
|
<Content Include="VRCX.ico">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="CefSharp.Common">
|
|
<Version>113.1.40</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="CefSharp.OffScreen">
|
|
<Version>113.1.40</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="CefSharp.WinForms">
|
|
<Version>113.1.40</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="DiscordRichPresence">
|
|
<Version>1.1.3.18</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications">
|
|
<Version>7.1.3</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Newtonsoft.Json">
|
|
<Version>13.0.3</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="SharpDX.D3DCompiler">
|
|
<Version>4.2.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="SharpDX.Desktop">
|
|
<Version>4.2.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="SharpDX.Direct2D1">
|
|
<Version>4.2.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="SharpDX.Direct3D11">
|
|
<Version>4.2.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="SharpDX.Mathematics">
|
|
<Version>4.2.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Data.SQLite.Core">
|
|
<Version>1.0.117</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Text.Json">
|
|
<Version>7.0.2</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<PostBuildEvent>xcopy /y "$(ProjectDir)OpenVR\win64\openvr_api.dll"
|
|
xcopy /y "$(ProjectDir)lib\sqlite3.dll"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
</Project> |