Skip to content

Commit 10a245d

Browse files
authored
Merge pull request #60 from GedasFX/dev
Dev
2 parents b39f7ad + ea93a17 commit 10a245d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1561
-476
lines changed

Alderto.Data/AldertoDbContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class AldertoDbContext : DbContext
2020
public DbSet<GuildManagedMessage> GuildManagedMessages { get; set; }
2121

2222
#nullable disable
23-
public AldertoDbContext(DbContextOptions options) : base(options) { }
23+
public AldertoDbContext(DbContextOptions<AldertoDbContext> options) : base(options) { }
2424
#nullable restore
2525

2626
protected override void OnModelCreating(ModelBuilder modelBuilder)

Alderto.Tests/Alderto.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77

Alderto.Tests/MockedEntities/Dummies.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Threading.Tasks;
32
using Discord;
43
using Moq;
54

@@ -63,7 +62,7 @@ static Dummies()
6362
var channelA = new Mock<ITextChannel>();
6463
channelA.SetupGet(o => o.Id).Returns(1);
6564
channelA.SetupGet(o => o.Name).Returns("AChannel1");
66-
65+
6766
var channelB = new Mock<ITextChannel>();
6867
channelB.SetupGet(o => o.Id).Returns(2);
6968
channelB.SetupGet(o => o.Name).Returns("AChannel2");

Alderto.Web/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,5 @@ _Pvt_Extensions
233233
.fake/
234234

235235
ReferenceApp/
236+
237+
token.rsa

Alderto.Web/Alderto.Web.csproj

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.0</TargetFramework>
3+
<TargetFramework>netcoreapp3.1</TargetFramework>
44
<UserSecretsId>c53fe5d3-16e9-400d-a588-4859345371e5</UserSecretsId>
5+
<OpenApiGenerateDocuments>true</OpenApiGenerateDocuments>
56
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
67
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
78
<IsPackable>false</IsPackable>
@@ -22,24 +23,26 @@
2223

2324
<ItemGroup>
2425
<PackageReference Include="Alderto.Analyzer" Version="1.0.0" />
26+
<PackageReference Include="IdentityServer4" Version="3.1.2" />
27+
<PackageReference Include="IdentityServer4.EntityFramework" Version="3.1.2" />
2528
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.2.0" />
26-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.0.0" />
27-
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="3.0.0" />
28-
<PackageReference Include="Microsoft.AspNetCore.CookiePolicy" Version="2.2.0" />
29+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.2" />
30+
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="3.1.2" />
31+
<PackageReference Include="Microsoft.AspNetCore.CookiePolicy" Version="2.2.8" />
2932
<PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.2.0" />
30-
<PackageReference Include="Microsoft.AspNetCore.SpaServices" Version="3.0.0" />
31-
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.0.0" />
32-
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.6">
33+
<PackageReference Include="Microsoft.AspNetCore.SpaServices" Version="3.1.2" />
34+
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.2" />
35+
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8">
3336
<PrivateAssets>all</PrivateAssets>
3437
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3538
</PackageReference>
36-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0" />
37-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0">
39+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.2" />
40+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2">
3841
<PrivateAssets>all</PrivateAssets>
3942
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4043
</PackageReference>
41-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.0.0" />
42-
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.0.0-rc3" />
44+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.2" />
45+
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.0.0" />
4346
</ItemGroup>
4447

4548
<ItemGroup>

0 commit comments

Comments
 (0)