mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Updating Path on module's manifests. Adding FeatureName attribute.
--HG-- branch : dev
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Name: Archive Later
|
||||
Path: ArchiveLater
|
||||
AntiForgery: enabled
|
||||
Author: The Orchard Team
|
||||
Website: http://orchardproject.net
|
||||
|
||||
@@ -5,12 +5,11 @@ Website: http://orchardproject.net
|
||||
Version: 1.0
|
||||
OrchardVersion: 1.0
|
||||
Description: Contains designer tools to ease the Themes development process
|
||||
FeatureName: Shape Tracing
|
||||
Category: Designer
|
||||
FeatureDescription: Displays all currently displayed shapes and some information to customize them
|
||||
Dependencies: Orchard.jQuery
|
||||
Features:
|
||||
Orchard.DesignerTools:
|
||||
Name: Shape Tracing
|
||||
Category: Designer
|
||||
Description: Displays all currently displayed shapes and some information to customize them
|
||||
Dependencies: Orchard.jQuery
|
||||
UrlAlternates:
|
||||
Name: Url Alternates
|
||||
Category: Designer
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace Orchard.Experimental {
|
||||
[OrchardFeature("Orchard.Experimental.LockLogging")]
|
||||
public class LockLogging : FilterProvider, IExceptionFilter {
|
||||
private readonly Work<ISessionLocator> _sessionLocator;
|
||||
private readonly ITransactionManager _transactionManager;
|
||||
|
||||
public LockLogging(Work<ISessionLocator> sessionLocator) {
|
||||
_sessionLocator = sessionLocator;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Name: Import Export
|
||||
Path: ImportExport
|
||||
AntiForgery: enabled
|
||||
Author: The Orchard Team
|
||||
Website: http://orchardproject.net
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Name: Publish Later
|
||||
Path: PublishLater
|
||||
AntiForgery: enabled
|
||||
Author: The Orchard Team
|
||||
Website: http://orchardproject.net
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Name: jQuery
|
||||
Path: Orchard.jQuery
|
||||
AntiForgery: enabled
|
||||
Author: The Orchard Team
|
||||
Website: http://orchardproject.net
|
||||
|
||||
@@ -183,6 +183,9 @@ namespace Orchard.Environment.Extensions.Folders {
|
||||
case "FeatureDescription":
|
||||
manifest.Add("FeatureDescription", field[1]);
|
||||
break;
|
||||
case "FeatureName":
|
||||
manifest.Add("FeatureName", field[1]);
|
||||
break;
|
||||
case "Priority":
|
||||
manifest.Add("Priority", field[1]);
|
||||
break;
|
||||
@@ -202,7 +205,7 @@ namespace Orchard.Environment.Extensions.Folders {
|
||||
// Default feature
|
||||
FeatureDescriptor defaultFeature = new FeatureDescriptor {
|
||||
Id = extensionDescriptor.Id,
|
||||
Name = extensionDescriptor.Name,
|
||||
Name = GetValue(manifest, "FeatureName") ?? extensionDescriptor.Name,
|
||||
Priority = GetValue(manifest, "Priority") != null ? int.Parse(GetValue(manifest, "Priority")) : 0,
|
||||
Description = GetValue(manifest, "FeatureDescription") ?? GetValue(manifest, "Description") ?? string.Empty,
|
||||
Dependencies = ParseFeatureDependenciesEntry(GetValue(manifest, "Dependencies")),
|
||||
|
||||
Reference in New Issue
Block a user