Compare commits
5
Commits
3b2a869fb2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f17fd23a7a | ||
|
|
6020b67b25 | ||
|
|
4c18f0a575 | ||
|
|
3b8d554759 | ||
|
|
caa0eb7713 |
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Constants;
|
using xFileService.Constants;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||||
|
|
||||||
namespace xFileService.Configurations.Entities
|
namespace xFileService.Configurations.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace xFileService.Constants
|
|||||||
// Custome Constants ...
|
// Custome Constants ...
|
||||||
public const string XFileTagProvided = nameof(XFile);
|
public const string XFileTagProvided = nameof(XFile);
|
||||||
|
|
||||||
|
public const string XAdminRole = "admin";
|
||||||
|
|
||||||
//
|
//
|
||||||
// EF Repositories Helper Extensions ...
|
// EF Repositories Helper Extensions ...
|
||||||
public const string GetXFileEFRepositoryDescriptor = "GetXFileEFRepositoryDescriptor";
|
public const string GetXFileEFRepositoryDescriptor = "GetXFileEFRepositoryDescriptor";
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.AspNetCore.Http;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using Microsoft.EntityFrameworkCore.Query;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xCommons.Configurations;
|
|
||||||
using xCommons.Extensions;
|
|
||||||
using xCommons.Providers;
|
using xCommons.Providers;
|
||||||
|
using xCommons.Extensions;
|
||||||
using xDataService.Models;
|
using xDataService.Models;
|
||||||
using xExceptions.Constants;
|
using xExceptions.Constants;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using xCommons.Configurations;
|
||||||
using xFileService.Interfaces;
|
using xFileService.Interfaces;
|
||||||
|
using xTagService.Controllers;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using Microsoft.AspNetCore.Http;
|
||||||
|
using System.Collections.Generic;
|
||||||
using xFileService.Providers.Dtos;
|
using xFileService.Providers.Dtos;
|
||||||
using xIdentityService.Interfaces;
|
using xIdentityService.Interfaces;
|
||||||
using xTagService.Controllers;
|
using Microsoft.Extensions.Logging;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
using Microsoft.EntityFrameworkCore.Query;
|
||||||
|
|
||||||
namespace xFileService.Controllers
|
namespace xFileService.Controllers
|
||||||
{
|
{
|
||||||
@@ -222,8 +222,6 @@ namespace xFileService.Controllers
|
|||||||
/// Remove Specified Files ...
|
/// Remove Specified Files ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="ids"></param>
|
/// <param name="ids"></param>
|
||||||
/// <param name="userInfo"></param>
|
|
||||||
/// <param name="connectionId"></param>
|
|
||||||
/// <param name="cancellationToken"></param>
|
/// <param name="cancellationToken"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpDelete("")]
|
[HttpDelete("")]
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Microsoft.EntityFrameworkCore.Query;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xCommons.Configurations;
|
|
||||||
using xCommons.Providers;
|
using xCommons.Providers;
|
||||||
using xDataService.Controllers;
|
using xCommons.Configurations;
|
||||||
using xDataService.Interfaces;
|
using xDataService.Interfaces;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Controllers;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
using Microsoft.EntityFrameworkCore.Query;
|
||||||
|
|
||||||
namespace xFileService.Controllers
|
namespace xFileService.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Microsoft.EntityFrameworkCore.Query;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xCommons.Configurations;
|
|
||||||
using xCommons.Providers;
|
using xCommons.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
using xCommons.Configurations;
|
||||||
|
using xPushService.Interfaces;
|
||||||
|
using xPushService.Controllers;
|
||||||
|
using xIdentityService.Interfaces;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
using xFileService.Providers.Entities;
|
using xFileService.Providers.Entities;
|
||||||
using xIdentityService.Interfaces;
|
using xFileService.Interfaces.Entities;
|
||||||
using xPushService.Controllers;
|
using Microsoft.EntityFrameworkCore.Query;
|
||||||
using xPushService.Interfaces;
|
|
||||||
|
|
||||||
namespace xFileService.Controllers
|
namespace xFileService.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Microsoft.EntityFrameworkCore.Query;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xCommons.Configurations;
|
|
||||||
using xCommons.Providers;
|
using xCommons.Providers;
|
||||||
using xDataService.Controllers;
|
using xCommons.Configurations;
|
||||||
using xDataService.Interfaces;
|
using xDataService.Interfaces;
|
||||||
using xFileService.Interfaces.Dtos;
|
using xDataService.Controllers;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using xFileService.Interfaces.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using Microsoft.EntityFrameworkCore.Query;
|
||||||
|
|
||||||
namespace xFileService.Controllers
|
namespace xFileService.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,18 +1,16 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.EntityFrameworkCore.Query;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xCommons.Configurations;
|
|
||||||
using xCommons.Providers;
|
using xCommons.Providers;
|
||||||
using xFileService.Interfaces.Dtos;
|
using xCommons.Configurations;
|
||||||
|
using xPushService.Interfaces;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using xPushService.Controllers;
|
||||||
using xFileService.Providers.Dtos;
|
using xFileService.Providers.Dtos;
|
||||||
using xIdentityService.Interfaces;
|
using xIdentityService.Interfaces;
|
||||||
using xPushService.Controllers;
|
using Microsoft.Extensions.Logging;
|
||||||
using xPushService.Interfaces;
|
using xFileService.Interfaces.Dtos;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
using Microsoft.EntityFrameworkCore.Query;
|
||||||
|
|
||||||
namespace xFileService.Controllers
|
namespace xFileService.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
+12
-12
@@ -1,23 +1,23 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNetCore.Builder;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using xCommons.Extensions;
|
|
||||||
using xCommons.Helpers;
|
|
||||||
using xDataService.Constants;
|
|
||||||
using xDataService.Db;
|
using xDataService.Db;
|
||||||
using xDataService.DI;
|
using xDataService.DI;
|
||||||
using xDataService.Models;
|
|
||||||
using xExceptions.Constants;
|
|
||||||
using xPushService.DI;
|
using xPushService.DI;
|
||||||
|
using xCommons.Helpers;
|
||||||
|
using xCommons.Extensions;
|
||||||
|
using xDataService.Models;
|
||||||
using xPushService.Helpers;
|
using xPushService.Helpers;
|
||||||
using xFileService.Helpers;
|
using xFileService.Helpers;
|
||||||
using xFileService.Interfaces.Dtos;
|
using xExceptions.Constants;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Constants;
|
||||||
using xFileService.Providers.Dtos;
|
|
||||||
using xFileService.Providers.Entities;
|
|
||||||
using xFileService.Interfaces;
|
|
||||||
using xFileService.Providers;
|
using xFileService.Providers;
|
||||||
using xFileService.Constants;
|
using xFileService.Constants;
|
||||||
|
using xFileService.Interfaces;
|
||||||
|
using xFileService.Providers.Dtos;
|
||||||
|
using Microsoft.AspNetCore.Builder;
|
||||||
|
using xFileService.Interfaces.Dtos;
|
||||||
|
using xFileService.Providers.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace xFileService.DI
|
namespace xFileService.DI
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using xCommons.Extensions;
|
using xCommons.Extensions;
|
||||||
using xDataService.Extensions;
|
|
||||||
using xDataService.Models;
|
using xDataService.Models;
|
||||||
|
using xDataService.Extensions;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
|
using System.Collections.Generic;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Extensions
|
namespace xFileService.Extensions
|
||||||
|
|||||||
@@ -3,11 +3,10 @@ using GraphQL.Types;
|
|||||||
using xDataService.Db;
|
using xDataService.Db;
|
||||||
using xDataService.Models;
|
using xDataService.Models;
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces;
|
|
||||||
using xFileService.Interfaces.Entities;
|
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
using xFileService.Providers.Entities;
|
|
||||||
using xFileService.Providers.GraphQL;
|
using xFileService.Providers.GraphQL;
|
||||||
|
using xFileService.Providers.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Helpers
|
namespace xFileService.Helpers
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using xPushService.Interfaces;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
using xPushService.Interfaces;
|
|
||||||
|
|
||||||
namespace xFileService.Interfaces.Dtos
|
namespace xFileService.Interfaces.Dtos
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using xFileService.Models.Dtos;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xFileService.Providers.Dtos;
|
|
||||||
using xPushService.Interfaces;
|
using xPushService.Interfaces;
|
||||||
|
using xFileService.Models.Dtos;
|
||||||
|
using xFileService.Providers.Dtos;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Interfaces.Dtos
|
namespace xFileService.Interfaces.Dtos
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xPushService.Interfaces;
|
using xPushService.Interfaces;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Interfaces.Entities
|
namespace xFileService.Interfaces.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using xPushService.Interfaces;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
using xFileService.Providers.Entities;
|
using xFileService.Providers.Entities;
|
||||||
using xPushService.Interfaces;
|
|
||||||
|
|
||||||
namespace xFileService.Interfaces.Entities
|
namespace xFileService.Interfaces.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Http;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using xFileService.Models.Dtos;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xFileService.Providers.Dtos;
|
|
||||||
using xIdentityModels.Models;
|
using xIdentityModels.Models;
|
||||||
using xIdentityService.Interfaces;
|
|
||||||
using xTagService.Interfaces;
|
using xTagService.Interfaces;
|
||||||
|
using xFileService.Models.Dtos;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using xFileService.Providers.Dtos;
|
||||||
|
using xIdentityService.Interfaces;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Interfaces
|
namespace xFileService.Interfaces
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Http;
|
using xTagService.Interfaces;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using Microsoft.AspNetCore.Http;
|
||||||
|
using System.Collections.Generic;
|
||||||
using xFileService.Providers.Dtos;
|
using xFileService.Providers.Dtos;
|
||||||
using xIdentityService.Interfaces;
|
using xIdentityService.Interfaces;
|
||||||
using xTagService.Interfaces;
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Interfaces
|
namespace xFileService.Interfaces
|
||||||
{
|
{
|
||||||
@@ -81,8 +81,6 @@ namespace xFileService.Interfaces
|
|||||||
/// Remove Specified Files ...
|
/// Remove Specified Files ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="ids"></param>
|
/// <param name="ids"></param>
|
||||||
/// <param name="userInfo"></param>
|
|
||||||
/// <param name="connectionId"></param>
|
|
||||||
/// <param name="cancellationToken"></param>
|
/// <param name="cancellationToken"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpDelete("")]
|
[HttpDelete("")]
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using xFileService.Models.Dtos;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xFileService.Providers.Dtos;
|
|
||||||
using xTagService.Interfaces;
|
using xTagService.Interfaces;
|
||||||
|
using xFileService.Models.Dtos;
|
||||||
|
using xFileService.Providers.Dtos;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Interfaces
|
namespace xFileService.Interfaces
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using xCommons.Constants;
|
|
||||||
using xModels.Base;
|
using xModels.Base;
|
||||||
using xModels.Dtos;
|
using xModels.Dtos;
|
||||||
|
using xCommons.Constants;
|
||||||
|
|
||||||
namespace xFileService.Models.Dtos
|
namespace xFileService.Models.Dtos
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using xCommons.Constants;
|
|
||||||
using xModels.Base;
|
using xModels.Base;
|
||||||
|
using xCommons.Constants;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace xFileService.Models.Entities
|
namespace xFileService.Models.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using xPushService.Base;
|
||||||
|
using xFileService.Models.Dtos;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using xFileService.Interfaces.Dtos;
|
using xFileService.Interfaces.Dtos;
|
||||||
using xFileService.Models.Dtos;
|
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
using xPushService.Base;
|
|
||||||
|
|
||||||
namespace xFileService.Providers.Dtos
|
namespace xFileService.Providers.Dtos
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using AutoMapper;
|
using AutoMapper;
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Dtos;
|
|
||||||
using xFileService.Interfaces.Entities;
|
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using xFileService.Interfaces.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Dtos
|
namespace xFileService.Providers.Dtos
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNetCore.SignalR;
|
|
||||||
using xDataService.Configuration;
|
|
||||||
using xFileService.Interfaces.Dtos;
|
|
||||||
using xFileService.Models.Dtos;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xIdentityService.Interfaces;
|
|
||||||
using xPushService.Base;
|
using xPushService.Base;
|
||||||
|
using xFileService.Models.Dtos;
|
||||||
|
using xDataService.Configuration;
|
||||||
|
using xIdentityService.Interfaces;
|
||||||
|
using Microsoft.AspNetCore.SignalR;
|
||||||
|
using xFileService.Interfaces.Dtos;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Dtos
|
namespace xFileService.Providers.Dtos
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using xDataService.Configuration;
|
|
||||||
using xDataService.Db;
|
using xDataService.Db;
|
||||||
using xDataService.Interfaces;
|
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Interfaces;
|
||||||
|
using xDataService.Configuration;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using xFileService.Interfaces.Entities;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xPushService.Base;
|
using xPushService.Base;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using xDataService.Configuration;
|
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Configuration;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using xDataService.Configuration;
|
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Configuration;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNetCore.SignalR;
|
|
||||||
using xDataService.Configuration;
|
|
||||||
using xFileService.Interfaces.Entities;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xIdentityService.Interfaces;
|
|
||||||
using xPushService.Base;
|
using xPushService.Base;
|
||||||
|
using xDataService.Configuration;
|
||||||
|
using xIdentityService.Interfaces;
|
||||||
|
using Microsoft.AspNetCore.SignalR;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using xDataService.Configuration;
|
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Configuration;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.Entities
|
namespace xFileService.Providers.Entities
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using xDataService.Configuration;
|
|
||||||
using xDataService.GraphQL;
|
using xDataService.GraphQL;
|
||||||
using xFileService.Constants;
|
using xFileService.Constants;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Configuration;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.GraphQL
|
namespace xFileService.Providers.GraphQL
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using GraphQL.Types;
|
using GraphQL.Types;
|
||||||
using xDataService.Configuration;
|
|
||||||
using xDataService.GraphQL;
|
using xDataService.GraphQL;
|
||||||
using xFileService.Interfaces.Entities;
|
using xDataService.Configuration;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using xFileService.Interfaces.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers.GraphQL
|
namespace xFileService.Providers.GraphQL
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using xDataService.Interfaces;
|
|
||||||
using xDataService.Providers;
|
using xDataService.Providers;
|
||||||
using xFileService.Configurations.Entities;
|
using xDataService.Interfaces;
|
||||||
using xFileService.Models.Entities;
|
using xFileService.Models.Entities;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using xFileService.Configurations.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers
|
namespace xFileService.Providers
|
||||||
{
|
{
|
||||||
|
|||||||
+13
-12
@@ -1,25 +1,26 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.AspNetCore.Http;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using Microsoft.AspNetCore.StaticFiles;
|
|
||||||
using Microsoft.Extensions.FileProviders;
|
|
||||||
using xCommons.Extensions;
|
using xCommons.Extensions;
|
||||||
using xDataService.Models;
|
using xDataService.Models;
|
||||||
using xExceptions.Constants;
|
using xExceptions.Constants;
|
||||||
|
using xTagService.Providers;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using xIdentityModels.Models;
|
||||||
|
using xFileService.Constants;
|
||||||
using xFileService.Extensions;
|
using xFileService.Extensions;
|
||||||
using xFileService.Interfaces;
|
using xFileService.Interfaces;
|
||||||
using xFileService.Interfaces.Dtos;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using xFileService.Models.Dtos;
|
using xFileService.Models.Dtos;
|
||||||
using xFileService.Models.Entities;
|
using Microsoft.AspNetCore.Http;
|
||||||
using xFileService.Providers.Dtos;
|
using System.Collections.Generic;
|
||||||
using xIdentityModels.Models;
|
|
||||||
using xStorageService.Interfaces;
|
using xStorageService.Interfaces;
|
||||||
using xTagService.Providers;
|
using xFileService.Providers.Dtos;
|
||||||
|
using xFileService.Interfaces.Dtos;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
using Microsoft.AspNetCore.StaticFiles;
|
||||||
|
using Microsoft.Extensions.FileProviders;
|
||||||
|
|
||||||
namespace xFileService.Providers
|
namespace xFileService.Providers
|
||||||
{
|
{
|
||||||
@@ -35,7 +36,7 @@ namespace xFileService.Providers
|
|||||||
) : base(
|
) : base(
|
||||||
provider: provider,
|
provider: provider,
|
||||||
tagProvider: tagProvider,
|
tagProvider: tagProvider,
|
||||||
permittedRoles: new string[] { "admin" }
|
permittedRoles: [XFileServiceConstants.XAdminRole]
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using xCommons.Extensions;
|
using xCommons.Extensions;
|
||||||
using xFileService.Interfaces;
|
|
||||||
using xFileService.Interfaces.Dtos;
|
|
||||||
using xFileService.Models.Dtos;
|
|
||||||
using xFileService.Models.Entities;
|
|
||||||
using xFileService.Providers.Dtos;
|
|
||||||
using xIdentityModels.Models;
|
|
||||||
using xTagService.Interfaces;
|
|
||||||
using xTagService.Providers;
|
using xTagService.Providers;
|
||||||
|
using xIdentityModels.Models;
|
||||||
|
using xFileService.Constants;
|
||||||
|
using xFileService.Interfaces;
|
||||||
|
using xFileService.Models.Dtos;
|
||||||
|
using xFileService.Providers.Dtos;
|
||||||
|
using xFileService.Interfaces.Dtos;
|
||||||
|
using xFileService.Models.Entities;
|
||||||
|
|
||||||
namespace xFileService.Providers
|
namespace xFileService.Providers
|
||||||
{
|
{
|
||||||
@@ -19,7 +19,7 @@ namespace xFileService.Providers
|
|||||||
) : base(
|
) : base(
|
||||||
provider: provider,
|
provider: provider,
|
||||||
tagProvider: tagProvider,
|
tagProvider: tagProvider,
|
||||||
permittedRoles: new string[] { "admin" }
|
permittedRoles: [XFileServiceConstants.XAdminRole]
|
||||||
)
|
)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using xTagService.Providers;
|
||||||
using xFileService.Constants;
|
using xFileService.Constants;
|
||||||
using xFileService.Interfaces;
|
using xFileService.Interfaces;
|
||||||
using xTagService.Interfaces.Dtos;
|
using xTagService.Interfaces.Dtos;
|
||||||
using xTagService.Providers;
|
|
||||||
|
|
||||||
namespace xFileService.Providers
|
namespace xFileService.Providers
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
<packageSources>
|
<packageSources>
|
||||||
<!-- <add key="megan" value="https://hub.megan.ir/nuget/index.json" /> -->
|
<!-- <add key="megan" value="https://hub.megan.ir/nuget/index.json" /> -->
|
||||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||||
<add key="baget" value="https://nuget.saherelmhub.ir/v3/index.json" protocolVersion="3" disableTLSCertificateValidation="true" />
|
<!-- <add key="baget" value="https://nuget.saherelmhub.ir/v3/index.json" protocolVersion="3" disableTLSCertificateValidation="true" /> -->
|
||||||
</packageSources>
|
</packageSources>
|
||||||
</configuration>
|
</configuration>
|
||||||
+2
-2
@@ -37,9 +37,9 @@
|
|||||||
|
|
||||||
<!-- For XML Documentation Support -->
|
<!-- For XML Documentation Support -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
||||||
<NoWarn>$(NoWarn);1591</NoWarn>
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
||||||
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user