Updating Path on module's manifests. Adding FeatureName attribute.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2011-03-24 14:18:17 -07:00
parent c3bfa268dd
commit ff31d75ce1
7 changed files with 12 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
Name: Archive Later
Path: ArchiveLater
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net

View File

@@ -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

View File

@@ -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;

View File

@@ -1,4 +1,5 @@
Name: Import Export
Path: ImportExport
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net

View File

@@ -1,4 +1,5 @@
Name: Publish Later
Path: PublishLater
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net

View File

@@ -1,4 +1,5 @@
Name: jQuery
Path: Orchard.jQuery
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net

View File

@@ -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")),