Compare commits
No commits in common. "dfcce023018aed5dc824daecf5df5320c9316a71" and "ffaf546864dc8a392daff2c02b3c6dfee403439b" have entirely different histories.
dfcce02301
...
ffaf546864
22
LICENSE.txt
22
LICENSE.txt
|
@ -1,22 +0,0 @@
|
|||
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.
|
12
README.md
12
README.md
|
@ -44,16 +44,16 @@ The only hosting environment tested for this service is Docker, but considering
|
|||
### Javascript
|
||||
Tuitio can be integrated with any system written in javascript through the npm package [tuitio-client](https://lab.code-rove.com/gitea/bricks/tuitio-client#readme).
|
||||
|
||||
**Source code:** https://lab.code-rove.com/gitea/bricks/tuitio-client
|
||||
**Registry:** https://lab.code-rove.com/public-node-registry/-/web/detail/@flare/tuitio-client
|
||||
**Source code:** https://lab.code-rove.com/gitea/bricks/tuitio-client \
|
||||
**Registry:** https://lab.code-rove.com/public-node-registry/-/web/detail/@flare/tuitio-client
|
||||
|
||||
### React
|
||||
Tuitio can be integrated with an application written in React both through the above package and through [tuitio-react-client](https://lab.code-rove.com/gitea/bricks/tuitio-react-client).
|
||||
Tuitio can be integrated with an application written in React both through the above package and through: react-tuitio-client.
|
||||
|
||||
Tuitio react client uses [tuitio-client](https://lab.code-rove.com/gitea/bricks/tuitio-client#readme) internally and adds state management through a react context and various react hooks through which the user has access to data and actions.
|
||||
React Tuitio client uses [tuitio-client](https://lab.code-rove.com/gitea/bricks/tuitio-client#readme) internally and adds state management through a react context and various react hooks through which the user has access to data and actions.
|
||||
|
||||
**Source code:** https://lab.code-rove.com/gitea/bricks/tuitio-react-client
|
||||
**Registry:** https://lab.code-rove.com/public-node-registry/-/web/detail/@flare/tuitio-react-client
|
||||
**Source code:** \
|
||||
**Registry:** In development
|
||||
|
||||
### C#
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ 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
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using AutoMapper;
|
||||
using AutoMapper;
|
||||
using Tuitio.Application.Commands;
|
||||
using Tuitio.Application.Services;
|
||||
using Tuitio.PublishedLanguage.Constants;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using AutoMapper;
|
||||
using AutoMapper;
|
||||
using Tuitio.Application.Commands;
|
||||
using Tuitio.Application.Services;
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using MediatR;
|
||||
using Tuitio.PublishedLanguage.Events;
|
||||
|
||||
namespace Tuitio.Application.Commands
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using MediatR;
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
|
||||
namespace Tuitio.Application.Commands
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Application.Services;
|
||||
using Tuitio.Application.Services;
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using Tuitio.Application.Stores;
|
||||
using Tuitio.Domain.Abstractions;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using AutoMapper;
|
||||
using AutoMapper;
|
||||
using Tuitio.Domain.Entities;
|
||||
using System.Collections.Generic;
|
||||
using dto = Tuitio.PublishedLanguage.Dto;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Application.Services.Abstractions
|
||||
namespace Tuitio.Application.Services.Abstractions
|
||||
{
|
||||
public interface IBehaviorService
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Application.Services.Abstractions
|
||||
namespace Tuitio.Application.Services.Abstractions
|
||||
{
|
||||
internal interface IHashingService
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using Tuitio.Application.Stores;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Models;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Abstractions;
|
||||
using Tuitio.Domain.Abstractions;
|
||||
using Tuitio.Domain.Models.Config;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using System;
|
||||
using System.Security.Authentication;
|
||||
using System.Security.Cryptography;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Models;
|
||||
|
||||
namespace Tuitio.Application.Services
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Models;
|
||||
using Tuitio.Domain.Models;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tuitio.Application.Services
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using AutoMapper;
|
||||
using AutoMapper;
|
||||
using Tuitio.Domain.Abstractions;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Models;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using Tuitio.Application.Services.Abstractions;
|
||||
using Tuitio.Application.Stores;
|
||||
using Tuitio.Domain.Abstractions;
|
||||
using Tuitio.Domain.Entities;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Models;
|
||||
using Tuitio.Domain.Models;
|
||||
|
||||
namespace Tuitio.Application.Stores
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Application.Services;
|
||||
using Tuitio.Application.Services;
|
||||
using Tuitio.Domain.Models;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Data.EntityTypeConfiguration;
|
||||
using Tuitio.Domain.Data.EntityTypeConfiguration;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Data.DbContexts;
|
||||
using Tuitio.Domain.Data.DbContexts;
|
||||
using Tuitio.Domain.Data.Repositories;
|
||||
using Tuitio.Domain.Repositories;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Data.DbContexts;
|
||||
using Tuitio.Domain.Data.DbContexts;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Models;
|
||||
using Tuitio.Domain.Repositories;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Models.Config;
|
||||
using Tuitio.Domain.Models.Config;
|
||||
|
||||
namespace Tuitio.Domain.Abstractions
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
namespace Tuitio.Domain.Entities
|
||||
{
|
||||
public class UserClaim
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
namespace Tuitio.Domain.Entities
|
||||
{
|
||||
public class UserStatus
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Models.Config
|
||||
namespace Tuitio.Domain.Models.Config
|
||||
{
|
||||
public class RestrictionsConfig
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Models.Config
|
||||
namespace Tuitio.Domain.Models.Config
|
||||
{
|
||||
public class TokenConfig
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace Tuitio.Domain.Models
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Tuitio.Domain.Models
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Entities;
|
||||
using Tuitio.Domain.Models;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Constants
|
||||
namespace Tuitio.PublishedLanguage.Constants
|
||||
{
|
||||
public struct AuthenticationStatus
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Dto
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Dto
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Events
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Wrapper.Constants
|
||||
namespace Tuitio.Wrapper.Constants
|
||||
{
|
||||
internal struct ApiRoutes
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Wrapper.Models;
|
||||
using Tuitio.Wrapper.Models;
|
||||
using Tuitio.Wrapper.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Wrapper.Models
|
||||
namespace Tuitio.Wrapper.Models
|
||||
{
|
||||
internal class ServiceConfiguration
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tuitio.Wrapper.Services
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
using Tuitio.Wrapper.Constants;
|
||||
using Tuitio.Wrapper.Models;
|
||||
using Netmash.Extensions.Http;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Application.Commands;
|
||||
using Tuitio.Application.Commands;
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Extensions
|
||||
namespace Tuitio.Extensions
|
||||
{
|
||||
internal static class DataTypeExtensions
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Serilog;
|
||||
using Serilog.Configuration;
|
||||
using Serilog.Sinks.MSSqlServer;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using MediatR.Pipeline;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
|
Loading…
Reference in New Issue