Compare commits
2 Commits
ffaf546864
...
dfcce02301
Author | SHA1 | Date |
---|---|---|
Tudor Stanciu | dfcce02301 | |
Tudor Stanciu | 9a9370c2ec |
|
@ -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.
|
10
README.md
10
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 \
|
||||
**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: react-tuitio-client.
|
||||
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).
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
**Source code:** \
|
||||
**Registry:** In development
|
||||
**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
|
||||
|
||||
### C#
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using MediatR;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using Tuitio.PublishedLanguage.Events;
|
||||
|
||||
namespace Tuitio.Application.Commands
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using MediatR;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
|
||||
namespace Tuitio.Application.Commands
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Application.Services.Abstractions
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Application.Services.Abstractions
|
||||
{
|
||||
public interface IBehaviorService
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Application.Services.Abstractions
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Application.Services.Abstractions
|
||||
{
|
||||
internal interface IHashingService
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using Tuitio.Domain.Models;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Models;
|
||||
|
||||
namespace Tuitio.Application.Stores
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using Tuitio.Domain.Models.Config;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.Domain.Models.Config;
|
||||
|
||||
namespace Tuitio.Domain.Abstractions
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Domain.Entities
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
{
|
||||
public class UserClaim
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Domain.Entities
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
{
|
||||
public class UserStatus
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
|
||||
namespace Tuitio.Domain.Entities
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Domain.Models.Config
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Models.Config
|
||||
{
|
||||
public class RestrictionsConfig
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Domain.Models.Config
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Domain.Models.Config
|
||||
{
|
||||
public class TokenConfig
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
|
||||
namespace Tuitio.Domain.Models
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Tuitio.Domain.Models
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.PublishedLanguage.Constants
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Constants
|
||||
{
|
||||
public struct AuthenticationStatus
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System;
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Dto
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Dto
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using Tuitio.PublishedLanguage.Dto;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Tuitio.PublishedLanguage.Dto;
|
||||
|
||||
namespace Tuitio.PublishedLanguage.Events
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Wrapper.Constants
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Wrapper.Constants
|
||||
{
|
||||
internal struct ApiRoutes
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Wrapper.Models
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Wrapper.Models
|
||||
{
|
||||
internal class ServiceConfiguration
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using MediatR;
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Tuitio.Extensions
|
||||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
namespace Tuitio.Extensions
|
||||
{
|
||||
internal static class DataTypeExtensions
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using MediatR;
|
||||
using MediatR.Pipeline;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (c) 2020 Tudor Stanciu
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
|
Loading…
Reference in New Issue