improved file upload, enhanced module installation from Nuget to support upgrades, added ability to upgrade the framework from Nuget, completed isolated multitenancy and site alias management, created IPortable interface for importing data into modules, added default content to initial installation

This commit is contained in:
Shaun Walker
2019-10-08 16:11:23 -04:00
parent dce53e10b0
commit 9971510b1e
48 changed files with 961 additions and 157 deletions

View File

@ -0,0 +1,9 @@
namespace Oqtane.Models
{
public class ModuleContent
{
public string ModuleDefinitionName { get; set; }
public string Version { get; set; }
public string Content { get; set; }
}
}

View File

@ -34,6 +34,8 @@ namespace Oqtane.Models
[NotMapped]
public string PermissionNames { get; set; }
[NotMapped]
public string ServerAssemblyName { get; set; }
[NotMapped]
public string ControlTypeTemplate { get; set; }
[NotMapped]
public string ControlTypeRoutes { get; set; }

View File

@ -1,4 +1,6 @@
namespace Oqtane.Models
using System.Collections.Generic;
namespace Oqtane.Models
{
public class PageTemplate
{
@ -10,10 +12,16 @@
public bool IsNavigation { get; set; }
public bool EditMode { get; set; }
public string PagePermissions { get; set; }
public List<PageTemplateModule> PageTemplateModules { get; set; }
}
public class PageTemplateModule
{
public string ModuleDefinitionName { get; set; }
public string ModulePermissions { get; set; }
public string Title { get; set; }
public string Pane { get; set; }
public string ContainerType { get; set; }
public string Content { get; set; }
}
}

View File

@ -2,10 +2,14 @@
{
public class Constants
{
public const string PackageId = "Oqtane.Framework";
public const string Version = "0.0.1";
public const string DefaultPage = "Oqtane.Shared.ThemeBuilder, Oqtane.Client";
public const string DefaultContainer = "Oqtane.Shared.ContainerBuilder, Oqtane.Client";
public const string DefaultAdminContainer = "Oqtane.Themes.AdminContainer, Oqtane.Client";
public const string DefaultSettingsControl = "Oqtane.Modules.Admin.ModuleSettings.Index, Oqtane.Client";
public static readonly string[] DefaultModuleActions = new[] { "Settings", "Import", "Export" };
public const string DefaultModuleActionsTemplate = "Oqtane.Modules.Admin.Modules.{Control}, Oqtane.Client";
public const string PageManagementModule = "Oqtane.Modules.Admin.Pages, Oqtane.Client";
public const string ModuleMessageControl = "Oqtane.Modules.Controls.ModuleMessage, Oqtane.Client";
public const string DefaultControl = "Index";