Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pickban #489

Merged
merged 2 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/MysqlMigrations/MysqlMigrations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.5" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.5">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
6 changes: 6 additions & 0 deletions src/dsstats.api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dsstats.authshared", "dssta
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pax.dsstats.parser", "dsstats.maui\pax.dsstats.parser\pax.dsstats.parser.csproj", "{8E62721C-E4E9-4AA9-9EEF-9D4B3562607F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dsstats.pickban", "dsstats.pickban\dsstats.pickban.csproj", "{F72AB22C-9A9C-402F-AA56-B5C712C35427}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -87,6 +89,10 @@ Global
{8E62721C-E4E9-4AA9-9EEF-9D4B3562607F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E62721C-E4E9-4AA9-9EEF-9D4B3562607F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E62721C-E4E9-4AA9-9EEF-9D4B3562607F}.Release|Any CPU.Build.0 = Release|Any CPU
{F72AB22C-9A9C-402F-AA56-B5C712C35427}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F72AB22C-9A9C-402F-AA56-B5C712C35427}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F72AB22C-9A9C-402F-AA56-B5C712C35427}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F72AB22C-9A9C-402F-AA56-B5C712C35427}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
102 changes: 0 additions & 102 deletions src/dsstats.api/Hubs/PickBanHub.cs

This file was deleted.

190 changes: 0 additions & 190 deletions src/dsstats.api/Hubs/PickBanHub2.cs

This file was deleted.

6 changes: 3 additions & 3 deletions src/dsstats.api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
using dsstats.db8services;
using dsstats.db8services.DsData;
using dsstats.db8services.Import;
using dsstats.pickban;
using dsstats.ratings;
using dsstats.shared;
using dsstats.shared.Interfaces;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.EntityFrameworkCore;
using pax.dsstats.web.Server.Hubs;
using pax.dsstats.web.Server.Services.Arcade;
using System.Threading.RateLimiting;

Expand Down Expand Up @@ -111,7 +111,7 @@
builder.Services.AddSingleton<IRatingsSaveService, RatingsSaveService>();
builder.Services.AddSingleton<ImportService>();
builder.Services.AddSingleton<UploadService>();
builder.Services.AddSingleton<PickBanService>();
builder.Services.AddSingleton<PickBanRepository>();
builder.Services.AddSingleton<AuthenticationFilterAttribute>();
builder.Services.AddSingleton<AuthenticationFilterAttributeV6>();
builder.Services.AddSingleton<IRemoteToggleService, RemoteToggleService>();
Expand Down Expand Up @@ -196,7 +196,7 @@
app.UseAuthorization();

app.MapControllers();
app.MapHub<PickBanHub>("/hubs/pickban");
app.MapHub<PickBanHub>("/hubs/pickban2");
app.MapHub<IhHub>("/hubs/ih");
app.MapHub<UploadHub>("/hubs/upload");

Expand Down
Loading
Loading