-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #694 from mixcore/bugfix/add_missing_endpoints
Add missing endpoints
- Loading branch information
Showing
8 changed files
with
4,930 additions
and
4,748 deletions.
There are no files selected for viewing
9,496 changes: 4,748 additions & 4,748 deletions
9,496
src/applications/Mixcore/wwwroot/mix-app/js/app-portal.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
src/modules/mix.portal/Controllers/MixDatabaseContextController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-database-context")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixDatabaseContextController : MixRestfulApiControllerBase<MixDatabaseContextViewModel, MixCmsContext, MixDatabaseContext, int> | ||
{ | ||
public MixDatabaseContextController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/modules/mix.portal/Controllers/MixModuleContentController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-module-content")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixModuleController : MixRestfulApiControllerBase<MixModuleContentViewModel, MixCmsContext, MixModuleContent, int> | ||
{ | ||
public MixModuleController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-module")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixModuleContentController : MixRestfulApiControllerBase<MixModuleViewModel, MixCmsContext, MixModule, int> | ||
{ | ||
public MixModuleContentController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-page")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixPageController : MixRestfulApiControllerBase<MixPageContentViewModel, MixCmsContext, MixPageContent, int> | ||
{ | ||
public MixPageController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-post")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixPostController : MixRestfulApiControllerBase<MixPostContentViewModel, MixCmsContext, MixPostContent, int> | ||
{ | ||
public MixPostController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/modules/mix.portal/Controllers/MixUrlAliasController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-url-alias")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixUrlAliasController : MixRestfulApiControllerBase<MixUrlAliasViewModel, MixCmsContext, MixUrlAlias, int> | ||
{ | ||
public MixUrlAliasController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/modules/mix.portal/Controllers/MixViewTemplateController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Mix.Lib.Interfaces; | ||
using Mix.SignalR.Interfaces; | ||
|
||
namespace Mix.Portal.Controllers | ||
{ | ||
[Route("api/v2/rest/mix-portal/mix-view-template")] | ||
[ApiController] | ||
[MixAuthorize(MixRoles.Owner)] | ||
public class MixViewTemplateController : MixRestfulApiControllerBase<MixViewTemplateViewModel, MixCmsContext, MixTemplate, int> | ||
{ | ||
public MixViewTemplateController( | ||
IHttpContextAccessor httpContextAccessor, | ||
IConfiguration configuration, | ||
MixCacheService cacheService, | ||
TranslatorService translator, | ||
MixIdentityService mixIdentityService, | ||
UnitOfWorkInfo<MixCmsContext> uow, | ||
IQueueService<MessageQueueModel> queueService, | ||
IPortalHubClientService portalHub, | ||
IMixTenantService mixTenantService) | ||
: base(httpContextAccessor, configuration, cacheService, translator, mixIdentityService, uow, queueService, portalHub, mixTenantService) | ||
{ | ||
} | ||
} | ||
} |