master
Tudor Stanciu 2023-02-14 01:23:13 +02:00
parent 9a9370c2ec
commit dfcce02301
51 changed files with 168 additions and 47 deletions

22
LICENSE.txt Normal file
View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2020 Tudor Stanciu
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution items", "solution
.gitignore = .gitignore
dependencies.props = dependencies.props
Directory.Build.props = Directory.Build.props
LICENSE.txt = LICENSE.txt
NuGet.config = NuGet.config
README.md = README.md
ReleaseNotes.xml = ReleaseNotes.xml

View File

@ -1,4 +1,6 @@
using AutoMapper;
// Copyright (c) 2020 Tudor Stanciu
using AutoMapper;
using Tuitio.Application.Commands;
using Tuitio.Application.Services;
using Tuitio.PublishedLanguage.Constants;

View File

@ -1,4 +1,6 @@
using AutoMapper;
// Copyright (c) 2020 Tudor Stanciu
using AutoMapper;
using Tuitio.Application.Commands;
using Tuitio.Application.Services;
using Tuitio.PublishedLanguage.Dto;

View File

@ -1,4 +1,6 @@
using MediatR;
// Copyright (c) 2020 Tudor Stanciu
using MediatR;
using Tuitio.PublishedLanguage.Events;
namespace Tuitio.Application.Commands

View File

@ -1,4 +1,6 @@
using MediatR;
// Copyright (c) 2020 Tudor Stanciu
using MediatR;
using Tuitio.PublishedLanguage.Dto;
namespace Tuitio.Application.Commands

View File

@ -1,4 +1,6 @@
using Tuitio.Application.Services;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Application.Services;
using Tuitio.Application.Services.Abstractions;
using Tuitio.Application.Stores;
using Tuitio.Domain.Abstractions;

View File

@ -1,4 +1,6 @@
using AutoMapper;
// Copyright (c) 2020 Tudor Stanciu
using AutoMapper;
using Tuitio.Domain.Entities;
using System.Collections.Generic;
using dto = Tuitio.PublishedLanguage.Dto;

View File

@ -1,4 +1,6 @@
namespace Tuitio.Application.Services.Abstractions
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Application.Services.Abstractions
{
public interface IBehaviorService
{

View File

@ -1,4 +1,6 @@
namespace Tuitio.Application.Services.Abstractions
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Application.Services.Abstractions
{
internal interface IHashingService
{

View File

@ -1,4 +1,6 @@
using Tuitio.Application.Services.Abstractions;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Application.Services.Abstractions;
using Tuitio.Application.Stores;
using Tuitio.Domain.Entities;
using Tuitio.Domain.Models;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Abstractions;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Abstractions;
using Tuitio.Domain.Models.Config;
using Microsoft.Extensions.Configuration;

View File

@ -1,4 +1,6 @@
using Tuitio.Application.Services.Abstractions;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Application.Services.Abstractions;
using System;
using System.Security.Authentication;
using System.Security.Cryptography;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Entities;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Entities;
using Tuitio.Domain.Models;
namespace Tuitio.Application.Services

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Models;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Models;
using System.Threading.Tasks;
namespace Tuitio.Application.Services

View File

@ -1,4 +1,6 @@
using AutoMapper;
// Copyright (c) 2020 Tudor Stanciu
using AutoMapper;
using Tuitio.Domain.Abstractions;
using Tuitio.Domain.Entities;
using Tuitio.Domain.Models;

View File

@ -1,4 +1,6 @@
using Tuitio.Application.Services.Abstractions;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Application.Services.Abstractions;
using Tuitio.Application.Stores;
using Tuitio.Domain.Abstractions;
using Tuitio.Domain.Entities;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Models;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Models;
namespace Tuitio.Application.Stores
{

View File

@ -1,4 +1,6 @@
using Tuitio.Application.Services;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Application.Services;
using Tuitio.Domain.Models;
using System.Collections.Concurrent;
using System.Collections.Generic;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Data.EntityTypeConfiguration;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Data.EntityTypeConfiguration;
using Tuitio.Domain.Entities;
using Microsoft.EntityFrameworkCore;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Data.DbContexts;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Data.DbContexts;
using Tuitio.Domain.Data.Repositories;
using Tuitio.Domain.Repositories;
using Microsoft.Extensions.Configuration;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Entities;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Entities;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Entities;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Entities;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Data.DbContexts;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Data.DbContexts;
using Tuitio.Domain.Entities;
using Tuitio.Domain.Models;
using Tuitio.Domain.Repositories;

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Models.Config;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Models.Config;
namespace Tuitio.Domain.Abstractions
{

View File

@ -1,4 +1,6 @@
using System;
// Copyright (c) 2020 Tudor Stanciu
using System;
using System.Collections.Generic;
namespace Tuitio.Domain.Entities

View File

@ -1,4 +1,6 @@
namespace Tuitio.Domain.Entities
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Domain.Entities
{
public class UserClaim
{

View File

@ -1,4 +1,6 @@
namespace Tuitio.Domain.Entities
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Domain.Entities
{
public class UserStatus
{

View File

@ -1,4 +1,6 @@
using System;
// Copyright (c) 2020 Tudor Stanciu
using System;
namespace Tuitio.Domain.Entities
{

View File

@ -1,4 +1,6 @@
namespace Tuitio.Domain.Models.Config
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Domain.Models.Config
{
public class RestrictionsConfig
{

View File

@ -1,4 +1,6 @@
namespace Tuitio.Domain.Models.Config
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Domain.Models.Config
{
public class TokenConfig
{

View File

@ -1,4 +1,6 @@
using System;
// Copyright (c) 2020 Tudor Stanciu
using System;
namespace Tuitio.Domain.Models
{

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
// Copyright (c) 2020 Tudor Stanciu
using System.Collections.Generic;
namespace Tuitio.Domain.Models
{

View File

@ -1,4 +1,6 @@
using Tuitio.Domain.Entities;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Domain.Entities;
using Tuitio.Domain.Models;
using System.Threading.Tasks;

View File

@ -1,4 +1,6 @@
namespace Tuitio.PublishedLanguage.Constants
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.PublishedLanguage.Constants
{
public struct AuthenticationStatus
{

View File

@ -1,4 +1,6 @@
using System;
// Copyright (c) 2020 Tudor Stanciu
using System;
namespace Tuitio.PublishedLanguage.Dto
{

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
// Copyright (c) 2020 Tudor Stanciu
using System.Collections.Generic;
namespace Tuitio.PublishedLanguage.Dto
{

View File

@ -1,4 +1,6 @@
using Tuitio.PublishedLanguage.Dto;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.PublishedLanguage.Dto;
namespace Tuitio.PublishedLanguage.Events
{

View File

@ -1,4 +1,6 @@
namespace Tuitio.Wrapper.Constants
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Wrapper.Constants
{
internal struct ApiRoutes
{

View File

@ -1,4 +1,6 @@
using Tuitio.Wrapper.Models;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Wrapper.Models;
using Tuitio.Wrapper.Services;
using Microsoft.Extensions.DependencyInjection;

View File

@ -1,4 +1,6 @@
namespace Tuitio.Wrapper.Models
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Wrapper.Models
{
internal class ServiceConfiguration
{

View File

@ -1,4 +1,6 @@
using Tuitio.PublishedLanguage.Dto;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.PublishedLanguage.Dto;
using System.Threading.Tasks;
namespace Tuitio.Wrapper.Services

View File

@ -1,4 +1,6 @@
using Tuitio.PublishedLanguage.Dto;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.PublishedLanguage.Dto;
using Tuitio.Wrapper.Constants;
using Tuitio.Wrapper.Models;
using Netmash.Extensions.Http;

View File

@ -1,4 +1,6 @@
using Tuitio.Application.Commands;
// Copyright (c) 2020 Tudor Stanciu
using Tuitio.Application.Commands;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;

View File

@ -1,4 +1,6 @@
using MediatR;
// Copyright (c) 2020 Tudor Stanciu
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;

View File

@ -1,4 +1,6 @@
namespace Tuitio.Extensions
// Copyright (c) 2020 Tudor Stanciu
namespace Tuitio.Extensions
{
internal static class DataTypeExtensions
{

View File

@ -1,4 +1,6 @@
using Microsoft.Extensions.Configuration;
// Copyright (c) 2020 Tudor Stanciu
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Configuration;
using Serilog.Sinks.MSSqlServer;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2020 Tudor Stanciu
using MediatR;
using MediatR.Pipeline;
using Microsoft.AspNetCore.Builder;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2020 Tudor Stanciu
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;