Compare commits

..

No commits in common. "dfcce023018aed5dc824daecf5df5320c9316a71" and "ffaf546864dc8a392daff2c02b3c6dfee403439b" have entirely different histories.

52 changed files with 53 additions and 174 deletions

View File

@ -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.

View File

@ -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#

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

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

View File

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

View File

@ -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;

View File

@ -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;

View File

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

View File

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

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

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

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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;

View File

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

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

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

View File

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

View File

@ -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;

View File

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

View File

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