Skip to content
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: 1 addition & 3 deletions NSSLServer.Core/Authentication/JwtKeyProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.IO;
using System.Text;

namespace NSSLServer.Core.Authentication
Expand Down
2 changes: 0 additions & 2 deletions NSSLServer.Core/BaseController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

using System;
using System.Collections.Generic;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Core/Extension/IPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Core.Extension
{

Expand Down
2 changes: 0 additions & 2 deletions NSSLServer.Core/Extension/PluginAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace NSSLServer.Core.Extension
{
Expand Down
2 changes: 0 additions & 2 deletions NSSLServer.Core/HelperMethods/InstanceCreator.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace NSSLServer.Core.HelperMethods
{
Expand Down
2 changes: 0 additions & 2 deletions NSSLServer.Core/HelperMethods/PluginCreator.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace NSSLServer.Core.HelperMethods
{
Expand Down
6 changes: 1 addition & 5 deletions NSSLServer.Core/Jwt.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer
{
Expand Down
41 changes: 19 additions & 22 deletions NSSLServer.Core/NSSLServer.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<PackageId>NSSLServer.Core</PackageId>
<description>Core dll for creating a nssl server plugin.</description>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<PackageId>NSSLServer.Core</PackageId>
<description>Core dll for creating a nssl server plugin.</description>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="LitGit" Version="0.2.0.56-alpha" Condition="$(IsDockerBuild)!=true AND '$(CI)' != ''">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.6" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="LitGit" Version="0.2.0.58-alpha" Condition="'$(IsDockerBuild)' != 'true' AND '$(CI)' != ''">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.6" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="6.0.0" />
</ItemGroup>

<!--<Import Project="..\NSSLServer.Nuget.Litgit.props" Condition="$(IsDockerBuild)!=true AND '$(CI)' != ''" />-->
<Import Project="..\NSSLServer.Litgit.targets" Condition="Exists('..\NSSLServer.Litgit.targets') AND $(IsDockerBuild)!=true" />
<Import Project="..\NSSLServer.Litgit.targets" Condition="Exists('..\NSSLServer.Litgit.targets') AND '$(IsDockerBuild)' != 'true'" />



<ItemGroup>
<ProjectReference Include="..\NSSLServer.Shared\NSSLServer.Shared.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NSSLServer.Shared\NSSLServer.Shared.csproj" />
</ItemGroup>

</Project>
3 changes: 0 additions & 3 deletions NSSLServer.Database/Attributes/WithDbContextAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Microsoft.AspNetCore.Mvc.Filters;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Database.Attributes
Expand Down
6 changes: 0 additions & 6 deletions NSSLServer.Database/BaseDbContextController.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using NSSLServer.Database.Attributes;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Database
{
[WithDbContext]
Expand Down
3 changes: 0 additions & 3 deletions NSSLServer.Database/DBContext.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using NSSLServer.Models;
using Npgsql;
using System.Data.Common;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;

namespace NSSLServer
{
Expand Down
7 changes: 1 addition & 6 deletions NSSLServer.Database/Models/Connection/User/InfoUser.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSSLServer.Models;
using System.Collections.Generic;

namespace NSSLServer.Models.Connection.User
{
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/Contributor.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using Deviax.QueryBuilder;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Deviax.QueryBuilder;
using Deviax.QueryBuilder.Parts;
using NSSLServer.Models.Products;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace NSSLServer.Models.DatabaseConnection
{
Expand Down
7 changes: 1 addition & 6 deletions NSSLServer.Database/Models/DbFunctionModel.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace NSSLServer.Models
namespace NSSLServer.Models
{
public class DbFunctionModel
{
Expand Down
6 changes: 0 additions & 6 deletions NSSLServer.Database/Models/DbVersion.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Deviax.QueryBuilder;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Database.Models
{
public class DbVersion
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/IProductSource.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using NSSLServer.Database;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/Products/BasicProduct.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Deviax.QueryBuilder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
{
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/Products/Edeka/GtinEntry.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using Deviax.QueryBuilder;
using Deviax.QueryBuilder.Parts;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models.Products
{
Expand Down
7 changes: 0 additions & 7 deletions NSSLServer.Database/Models/Products/GtinEntry.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Deviax.QueryBuilder;
using Deviax.QueryBuilder.Parts;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models.Products
{
Expand Down
8 changes: 1 addition & 7 deletions NSSLServer.Database/Models/Products/IDatabaseProduct.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
namespace NSSLServer.Models
{
public interface IDatabaseProduct
{
Expand Down
4 changes: 0 additions & 4 deletions NSSLServer.Database/Models/Products/Product.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using Deviax.QueryBuilder;
using NSSLServer.Models.Products;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NSSLServer.Models.Products
{
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/Products/ProductGtins.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using Deviax.QueryBuilder;
using Deviax.QueryBuilder.Parts;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models.Products
{
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/ShoppingItem.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using Deviax.QueryBuilder;
using NSSLServer.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace NSSLServer
{
Expand Down
7 changes: 0 additions & 7 deletions NSSLServer.Database/Models/ShoppingList.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using Deviax.QueryBuilder;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
{
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/TokenUserId.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@

using Deviax.QueryBuilder;
using NSSLServer.Models.Connection.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
{
Expand Down
5 changes: 0 additions & 5 deletions NSSLServer.Database/Models/User.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@

using Deviax.QueryBuilder;
using NSSLServer.Models.Connection.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NSSLServer.Models
{
Expand Down
4 changes: 0 additions & 4 deletions NSSLServer.Database/NSSLEnvironment.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using Npgsql;

using System;
using System.Collections.Generic;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace NSSLServer
Expand Down
Loading
Loading