Html encode job log messages, add new IModule property to allow modules to specify Runtime support, provide feedback during module content import, remove default EditMode option at the Page level (should be implemented at Module level) - resolves issue where Admin modules could not be deleted, include link to Event Log in AddModuleMessage for Error message type, fixed fallback support for themes in siterouter, integrated auth policy into site templates for Module Creator

This commit is contained in:
Shaun Walker
2020-07-08 19:56:02 -04:00
parent 49f4e64cb4
commit f515def414
37 changed files with 220 additions and 165 deletions

View File

@ -20,6 +20,7 @@ namespace Oqtane.Models
ServerManagerType = "";
ControlTypeRoutes = "";
ReleaseVersions = "";
Runtimes = "";
Template = "";
}
@ -45,6 +46,8 @@ namespace Oqtane.Models
[NotMapped]
public string License { get; set; }
[NotMapped]
public string Runtimes { get; set; }
[NotMapped]
public string Dependencies { get; set; }
[NotMapped]
public string PermissionNames { get; set; }

View File

@ -19,7 +19,6 @@ namespace Oqtane.Models
public string DefaultContainerType { get; set; }
public string Icon { get; set; }
public bool IsNavigation { get; set; }
public bool EditMode { get; set; }
public int? UserId { get; set; }
public bool IsPersonalizable { get; set; }
@ -41,5 +40,9 @@ namespace Oqtane.Models
public int Level { get; set; }
[NotMapped]
public bool HasChildren { get; set; }
[Obsolete("This property is obsolete", false)]
[NotMapped]
public bool EditMode { get; set; }
}
}

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
namespace Oqtane.Models
{
@ -16,9 +17,11 @@ namespace Oqtane.Models
public string Icon { get; set; }
public bool IsNavigation { get; set; }
public bool IsPersonalizable { get; set; }
public bool EditMode { get; set; }
public string PagePermissions { get; set; }
public List<PageTemplateModule> PageTemplateModules { get; set; }
[Obsolete("This property is obsolete", false)]
public bool EditMode { get; set; }
}
public class PageTemplateModule