mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
@@ -228,10 +228,10 @@ namespace Orchard.Tests.DataMigration {
|
|||||||
Init(new[] {typeof (DataMigrationEmpty)});
|
Init(new[] {typeof (DataMigrationEmpty)});
|
||||||
|
|
||||||
_folders.Manifests.Add("Module2", @"
|
_folders.Manifests.Add("Module2", @"
|
||||||
name: Module2
|
Name: Module2
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -245,10 +245,10 @@ features:
|
|||||||
Init(new[] { typeof(DataMigration11) });
|
Init(new[] { typeof(DataMigration11) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -262,10 +262,10 @@ features:
|
|||||||
Init(new[] { typeof(DataMigration11Create) });
|
Init(new[] { typeof(DataMigration11Create) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -281,10 +281,10 @@ features:
|
|||||||
Init(new[] {typeof (DataMigrationCreateCanBeFollowedByUpdates)});
|
Init(new[] {typeof (DataMigrationCreateCanBeFollowedByUpdates)});
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -299,10 +299,10 @@ features:
|
|||||||
Init(new[] { typeof(DataMigrationSameMigrationClassCanEvolve) });
|
Init(new[] { typeof(DataMigrationSameMigrationClassCanEvolve) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -322,20 +322,20 @@ features:
|
|||||||
Init(new[] { typeof(DataMigrationDependenciesModule1), typeof(DataMigrationDependenciesModule2) });
|
Init(new[] { typeof(DataMigrationDependenciesModule1), typeof(DataMigrationDependenciesModule2) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
Dependencies: Feature2
|
Dependencies: Feature2
|
||||||
");
|
");
|
||||||
|
|
||||||
_folders.Manifests.Add("Module2", @"
|
_folders.Manifests.Add("Module2", @"
|
||||||
name: Module2
|
Name: Module2
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature2:
|
Feature2:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -351,10 +351,10 @@ features:
|
|||||||
Init(new[] { typeof(DataMigrationWithSchemaBuilder) });
|
Init(new[] { typeof(DataMigrationWithSchemaBuilder) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
@@ -369,10 +369,10 @@ features:
|
|||||||
Init(new[] { typeof(DataMigrationFeatureNeedUpdate1), typeof(DataMigrationFeatureNeedUpdate2), typeof(DataMigrationFeatureNeedUpdate3) });
|
Init(new[] { typeof(DataMigrationFeatureNeedUpdate1), typeof(DataMigrationFeatureNeedUpdate2), typeof(DataMigrationFeatureNeedUpdate3) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
Feature2:
|
Feature2:
|
||||||
@@ -418,10 +418,10 @@ features:
|
|||||||
Init(new[] { typeof(DataMigrationSimpleBuilder) });
|
Init(new[] { typeof(DataMigrationSimpleBuilder) });
|
||||||
|
|
||||||
_folders.Manifests.Add("Module1", @"
|
_folders.Manifests.Add("Module1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
|
@@ -88,10 +88,10 @@ namespace Orchard.Tests.DataMigration {
|
|||||||
_generator = _container.Resolve<ISchemaCommandGenerator>();
|
_generator = _container.Resolve<ISchemaCommandGenerator>();
|
||||||
|
|
||||||
_folders.Manifests.Add("Feature1", @"
|
_folders.Manifests.Add("Feature1", @"
|
||||||
name: Module1
|
Name: Module1
|
||||||
version: 0.1
|
Version: 0.1
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Feature1:
|
Feature1:
|
||||||
Description: Feature
|
Description: Feature
|
||||||
");
|
");
|
||||||
|
@@ -121,10 +121,10 @@ namespace Orchard.Tests.Environment.Extensions {
|
|||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void AvailableExtensionsShouldFollowCatalogLocations() {
|
public void AvailableExtensionsShouldFollowCatalogLocations() {
|
||||||
_folders.Manifests.Add("foo", "name: Foo");
|
_folders.Manifests.Add("foo", "Name: Foo");
|
||||||
_folders.Manifests.Add("bar", "name: Bar");
|
_folders.Manifests.Add("bar", "Name: Bar");
|
||||||
_folders.Manifests.Add("frap", "name: Frap");
|
_folders.Manifests.Add("frap", "Name: Frap");
|
||||||
_folders.Manifests.Add("quad", "name: Quad");
|
_folders.Manifests.Add("quad", "Name: Quad");
|
||||||
|
|
||||||
var available = _manager.AvailableExtensions();
|
var available = _manager.AvailableExtensions();
|
||||||
|
|
||||||
@@ -136,8 +136,8 @@ namespace Orchard.Tests.Environment.Extensions {
|
|||||||
public void ExtensionDescriptorsShouldHaveNameAndVersion() {
|
public void ExtensionDescriptorsShouldHaveNameAndVersion() {
|
||||||
|
|
||||||
_folders.Manifests.Add("Sample", @"
|
_folders.Manifests.Add("Sample", @"
|
||||||
name: Sample Extension
|
Name: Sample Extension
|
||||||
version: 2.x
|
Version: 2.x
|
||||||
");
|
");
|
||||||
|
|
||||||
var descriptor = _manager.AvailableExtensions().Single();
|
var descriptor = _manager.AvailableExtensions().Single();
|
||||||
@@ -150,10 +150,10 @@ version: 2.x
|
|||||||
public void ExtensionDescriptorsShouldBeParsedForMinimalModuleTxt() {
|
public void ExtensionDescriptorsShouldBeParsedForMinimalModuleTxt() {
|
||||||
|
|
||||||
_folders.Manifests.Add("SuperWiki", @"
|
_folders.Manifests.Add("SuperWiki", @"
|
||||||
name: SuperWiki
|
Name: SuperWiki
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
SuperWiki:
|
SuperWiki:
|
||||||
Description: My super wiki module for Orchard.
|
Description: My super wiki module for Orchard.
|
||||||
");
|
");
|
||||||
@@ -172,12 +172,12 @@ features:
|
|||||||
public void ExtensionDescriptorsShouldBeParsedForCompleteModuleTxt() {
|
public void ExtensionDescriptorsShouldBeParsedForCompleteModuleTxt() {
|
||||||
|
|
||||||
_folders.Manifests.Add("MyCompany.AnotherWiki", @"
|
_folders.Manifests.Add("MyCompany.AnotherWiki", @"
|
||||||
name: AnotherWiki
|
Name: AnotherWiki
|
||||||
author: Coder Notaprogrammer
|
Author: Coder Notaprogrammer
|
||||||
website: http://anotherwiki.codeplex.com
|
Website: http://anotherwiki.codeplex.com
|
||||||
version: 1.2.3
|
Version: 1.2.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
AnotherWiki:
|
AnotherWiki:
|
||||||
Description: My super wiki module for Orchard.
|
Description: My super wiki module for Orchard.
|
||||||
Dependencies: Versioning, Search
|
Dependencies: Versioning, Search
|
||||||
@@ -255,10 +255,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders("Module");
|
var extensionFolder = new StubFolders("Module");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -281,10 +281,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders("Module");
|
var extensionFolder = new StubFolders("Module");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -316,10 +316,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders("Module");
|
var extensionFolder = new StubFolders("Module");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -346,10 +346,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders("Module");
|
var extensionFolder = new StubFolders("Module");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -374,10 +374,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders("Module");
|
var extensionFolder = new StubFolders("Module");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -403,9 +403,9 @@ features:
|
|||||||
var extensionFolder = new StubFolders("Module");
|
var extensionFolder = new StubFolders("Module");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("Minimalistic", @"
|
extensionFolder.Manifests.Add("Minimalistic", @"
|
||||||
name: Minimalistic
|
Name: Minimalistic
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
|
|
||||||
IExtensionManager extensionManager = new ExtensionManager(new[] { extensionFolder }, new[] { extensionLoader });
|
IExtensionManager extensionManager = new ExtensionManager(new[] { extensionFolder }, new[] { extensionLoader });
|
||||||
@@ -422,9 +422,9 @@ orchardversion: 1
|
|||||||
var extensionFolder = new StubFolders("Theme");
|
var extensionFolder = new StubFolders("Theme");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("Minimalistic", @"
|
extensionFolder.Manifests.Add("Minimalistic", @"
|
||||||
name: Minimalistic
|
Name: Minimalistic
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
|
|
||||||
IExtensionManager extensionManager = new ExtensionManager(new[] { extensionFolder }, new[] { extensionLoader });
|
IExtensionManager extensionManager = new ExtensionManager(new[] { extensionFolder }, new[] { extensionLoader });
|
||||||
|
@@ -124,10 +124,10 @@ namespace Orchard.Tests.Environment.Extensions {
|
|||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void AvailableExtensionsShouldFollowCatalogLocations() {
|
public void AvailableExtensionsShouldFollowCatalogLocations() {
|
||||||
_folders.Manifests.Add("foo", "name: Foo");
|
_folders.Manifests.Add("foo", "Name: Foo");
|
||||||
_folders.Manifests.Add("bar", "name: Bar");
|
_folders.Manifests.Add("bar", "Name: Bar");
|
||||||
_folders.Manifests.Add("frap", "name: Frap");
|
_folders.Manifests.Add("frap", "Name: Frap");
|
||||||
_folders.Manifests.Add("quad", "name: Quad");
|
_folders.Manifests.Add("quad", "Name: Quad");
|
||||||
|
|
||||||
var available = _manager.AvailableExtensions();
|
var available = _manager.AvailableExtensions();
|
||||||
|
|
||||||
@@ -139,8 +139,8 @@ namespace Orchard.Tests.Environment.Extensions {
|
|||||||
public void ExtensionDescriptorsShouldHaveNameAndVersion() {
|
public void ExtensionDescriptorsShouldHaveNameAndVersion() {
|
||||||
|
|
||||||
_folders.Manifests.Add("Sample", @"
|
_folders.Manifests.Add("Sample", @"
|
||||||
name: Sample Extension
|
Name: Sample Extension
|
||||||
version: 2.x
|
Version: 2.x
|
||||||
");
|
");
|
||||||
|
|
||||||
var descriptor = _manager.AvailableExtensions().Single();
|
var descriptor = _manager.AvailableExtensions().Single();
|
||||||
@@ -153,10 +153,10 @@ version: 2.x
|
|||||||
public void ExtensionDescriptorsShouldBeParsedForMinimalModuleTxt() {
|
public void ExtensionDescriptorsShouldBeParsedForMinimalModuleTxt() {
|
||||||
|
|
||||||
_folders.Manifests.Add("SuperWiki", @"
|
_folders.Manifests.Add("SuperWiki", @"
|
||||||
name: SuperWiki
|
Name: SuperWiki
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
SuperWiki:
|
SuperWiki:
|
||||||
Description: My super wiki module for Orchard.
|
Description: My super wiki module for Orchard.
|
||||||
");
|
");
|
||||||
@@ -175,12 +175,12 @@ features:
|
|||||||
public void ExtensionDescriptorsShouldBeParsedForCompleteModuleTxt() {
|
public void ExtensionDescriptorsShouldBeParsedForCompleteModuleTxt() {
|
||||||
|
|
||||||
_folders.Manifests.Add("MyCompany.AnotherWiki", @"
|
_folders.Manifests.Add("MyCompany.AnotherWiki", @"
|
||||||
name: AnotherWiki
|
Name: AnotherWiki
|
||||||
author: Coder Notaprogrammer
|
Author: Coder Notaprogrammer
|
||||||
website: http://anotherwiki.codeplex.com
|
Website: http://anotherwiki.codeplex.com
|
||||||
version: 1.2.3
|
Version: 1.2.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
AnotherWiki:
|
AnotherWiki:
|
||||||
Description: My super wiki module for Orchard.
|
Description: My super wiki module for Orchard.
|
||||||
Dependencies: Versioning, Search
|
Dependencies: Versioning, Search
|
||||||
@@ -258,10 +258,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -284,10 +284,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -319,10 +319,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -349,10 +349,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -377,10 +377,10 @@ features:
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("TestModule", @"
|
extensionFolder.Manifests.Add("TestModule", @"
|
||||||
name: TestModule
|
Name: TestModule
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
TestModule:
|
TestModule:
|
||||||
Description: My test module for Orchard.
|
Description: My test module for Orchard.
|
||||||
TestFeature:
|
TestFeature:
|
||||||
@@ -406,9 +406,9 @@ features:
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("Minimalistic", @"
|
extensionFolder.Manifests.Add("Minimalistic", @"
|
||||||
name: Minimalistic
|
Name: Minimalistic
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
|
|
||||||
IExtensionManager extensionManager = new ExtensionManager(new[] { extensionFolder }, new[] { extensionLoader });
|
IExtensionManager extensionManager = new ExtensionManager(new[] { extensionFolder }, new[] { extensionLoader });
|
||||||
@@ -425,24 +425,24 @@ orchardversion: 1
|
|||||||
var extensionFolder = new StubFolders();
|
var extensionFolder = new StubFolders();
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("Alpha", @"
|
extensionFolder.Manifests.Add("Alpha", @"
|
||||||
name: Alpha
|
Name: Alpha
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Alpha:
|
Alpha:
|
||||||
Dependencies: Gamma
|
Dependencies: Gamma
|
||||||
");
|
");
|
||||||
|
|
||||||
extensionFolder.Manifests.Add("Beta", @"
|
extensionFolder.Manifests.Add("Beta", @"
|
||||||
name: Beta
|
Name: Beta
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
extensionFolder.Manifests.Add("Gamma", @"
|
extensionFolder.Manifests.Add("Gamma", @"
|
||||||
name: Gamma
|
Name: Gamma
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Gamma:
|
Gamma:
|
||||||
Dependencies: Beta
|
Dependencies: Beta
|
||||||
");
|
");
|
||||||
@@ -459,32 +459,32 @@ features:
|
|||||||
var themeExtensionFolder = new StubFolders("Theme");
|
var themeExtensionFolder = new StubFolders("Theme");
|
||||||
|
|
||||||
moduleExtensionFolder.Manifests.Add("Alpha", @"
|
moduleExtensionFolder.Manifests.Add("Alpha", @"
|
||||||
name: Alpha
|
Name: Alpha
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Alpha:
|
Alpha:
|
||||||
Dependencies: Gamma
|
Dependencies: Gamma
|
||||||
");
|
");
|
||||||
|
|
||||||
moduleExtensionFolder.Manifests.Add("Beta", @"
|
moduleExtensionFolder.Manifests.Add("Beta", @"
|
||||||
name: Beta
|
Name: Beta
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
moduleExtensionFolder.Manifests.Add("Gamma", @"
|
moduleExtensionFolder.Manifests.Add("Gamma", @"
|
||||||
name: Gamma
|
Name: Gamma
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Gamma:
|
Gamma:
|
||||||
Dependencies: Beta
|
Dependencies: Beta
|
||||||
");
|
");
|
||||||
|
|
||||||
moduleExtensionFolder.Manifests.Add("Classic", @"
|
moduleExtensionFolder.Manifests.Add("Classic", @"
|
||||||
name: Classic
|
Name: Classic
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
|
|
||||||
IExtensionManager extensionManager = new ExtensionManager(new[] { moduleExtensionFolder, themeExtensionFolder }, new[] { extensionLoader });
|
IExtensionManager extensionManager = new ExtensionManager(new[] { moduleExtensionFolder, themeExtensionFolder }, new[] { extensionLoader });
|
||||||
@@ -499,33 +499,33 @@ orchardversion: 1
|
|||||||
var themeExtensionFolder = new StubFolders("Theme");
|
var themeExtensionFolder = new StubFolders("Theme");
|
||||||
|
|
||||||
moduleExtensionFolder.Manifests.Add("Alpha", @"
|
moduleExtensionFolder.Manifests.Add("Alpha", @"
|
||||||
name: Alpha
|
Name: Alpha
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Alpha:
|
Alpha:
|
||||||
Dependencies: Gamma
|
Dependencies: Gamma
|
||||||
");
|
");
|
||||||
|
|
||||||
moduleExtensionFolder.Manifests.Add("Beta", @"
|
moduleExtensionFolder.Manifests.Add("Beta", @"
|
||||||
name: Beta
|
Name: Beta
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
");
|
");
|
||||||
moduleExtensionFolder.Manifests.Add("Gamma", @"
|
moduleExtensionFolder.Manifests.Add("Gamma", @"
|
||||||
name: Gamma
|
Name: Gamma
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Gamma:
|
Gamma:
|
||||||
Dependencies: Beta
|
Dependencies: Beta
|
||||||
");
|
");
|
||||||
|
|
||||||
moduleExtensionFolder.Manifests.Add("Classic", @"
|
moduleExtensionFolder.Manifests.Add("Classic", @"
|
||||||
name: Classic
|
Name: Classic
|
||||||
version: 1.0.3
|
Version: 1.0.3
|
||||||
orchardversion: 1
|
OrchardVersion: 1
|
||||||
features:
|
Features:
|
||||||
Classic:
|
Classic:
|
||||||
Dependencies: Alpha
|
Dependencies: Alpha
|
||||||
");
|
");
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
name: Le plug-in français
|
Name: Le plug-in français
|
||||||
author: Bertrand Le Roy
|
Author: Bertrand Le Roy
|
||||||
description:
|
Description:
|
||||||
This plug-in replaces
|
This plug-in replaces
|
||||||
'the' with 'le'
|
'the' with 'le'
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
tags: plug-in, français, the, le
|
Tags: plug-in, français, the, le
|
||||||
homepage: http://weblogs.asp.net/bleroy
|
homepage: http://weblogs.asp.net/bleroy
|
||||||
|
@@ -1 +1 @@
|
|||||||
name: This is another test.txt
|
Name: This is another test.txt
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Common
|
Name: Common
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The common module introduces content parts that are going to be used by most content types (common, body and routable).
|
Description: The common module introduces content parts that are going to be used by most content types (common, body and routable).
|
||||||
features:
|
Features:
|
||||||
Common:
|
Common:
|
||||||
Description: Core content parts.
|
Description: Core content parts.
|
||||||
Dependencies: Settings
|
Dependencies: Settings
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Contents
|
Name: Contents
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The contents module enables the creation of custom content types.
|
Description: The contents module enables the creation of custom content types.
|
||||||
features:
|
Features:
|
||||||
Contents:
|
Contents:
|
||||||
Description: Default custom content type definition, creation and management.
|
Description: Default custom content type definition, creation and management.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: ContentsLocation
|
Name: ContentsLocation
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The "Contents Location" module introduces settings for part and field to fine tune the location of contents.
|
Description: The "Contents Location" module introduces settings for part and field to fine tune the location of contents.
|
||||||
features:
|
Features:
|
||||||
ContentsLocation:
|
ContentsLocation:
|
||||||
Description: Contents location settings management
|
Description: Contents location settings management
|
||||||
Dependencies: Settings
|
Dependencies: Settings
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Dashboard
|
Name: Dashboard
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The dashboard module is providing the dashboard screen of the admininstration UI of the application.
|
Description: The dashboard module is providing the dashboard screen of the admininstration UI of the application.
|
||||||
features:
|
Features:
|
||||||
Dashboard:
|
Dashboard:
|
||||||
Description: Standard admin dashboard.
|
Description: Standard admin dashboard.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Feeds
|
Name: Feeds
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The Feeds module is providing RSS feeds to content items.
|
Description: The Feeds module is providing RSS feeds to content items.
|
||||||
features:
|
Features:
|
||||||
Feeds:
|
Feeds:
|
||||||
Description: RSS feeds for content items.
|
Description: RSS feeds for content items.
|
||||||
Category: Syndication
|
Category: Syndication
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: HomePage
|
Name: HomePage
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The HomePage module enables the promotion of a content item or container to be the home page of the site.
|
Description: The HomePage module enables the promotion of a content item or container to be the home page of the site.
|
||||||
features:
|
Features:
|
||||||
HomePage:
|
HomePage:
|
||||||
Description: Standard site home page that allows a specified content type or container to *be* the home page.
|
Description: Standard site home page that allows a specified content type or container to *be* the home page.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Localization
|
Name: Localization
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The localization module enables the localization of content items.
|
Description: The localization module enables the localization of content items.
|
||||||
features:
|
Features:
|
||||||
Localization:
|
Localization:
|
||||||
Description: Localize content items.
|
Description: Localize content items.
|
||||||
Dependencies: Settings
|
Dependencies: Settings
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Messaging
|
Name: Messaging
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.1.0
|
Version: 0.1.0
|
||||||
orchardversion: 0.6.0
|
OrchardVersion: 0.6.0
|
||||||
description: The Messaging module adds messaging functionalities.
|
Description: The Messaging module adds messaging functionalities.
|
||||||
features:
|
Features:
|
||||||
Messaging:
|
Messaging:
|
||||||
Description: Messaging services.
|
Description: Messaging services.
|
||||||
Category: Messaging
|
Category: Messaging
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Navigation
|
Name: Navigation
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The navigation module creates and manages a simple navigation menu for the front-end of the application.
|
Description: The navigation module creates and manages a simple navigation menu for the front-end of the application.
|
||||||
features:
|
Features:
|
||||||
Navigation:
|
Navigation:
|
||||||
Description: Menu management.
|
Description: Menu management.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: PublishLater
|
Name: PublishLater
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The PublishLater module introduces draft creation and scheduled publishing functionality.
|
Description: The PublishLater module introduces draft creation and scheduled publishing functionality.
|
||||||
features:
|
Features:
|
||||||
PublishLater:
|
PublishLater:
|
||||||
Description: Draft creation and scheduled publishing.
|
Description: Draft creation and scheduled publishing.
|
||||||
Category: Content
|
Category: Content
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Reports
|
Name: Reports
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The dashboard module is providing the reports screen of the application.
|
Description: The dashboard module is providing the reports screen of the application.
|
||||||
features:
|
Features:
|
||||||
Reports:
|
Reports:
|
||||||
Description: Reports management.
|
Description: Reports management.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Routable
|
Name: Routable
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The routable module enables content items to be accessed through a friendly human-readable URL.
|
Description: The routable module enables content items to be accessed through a friendly human-readable URL.
|
||||||
features:
|
Features:
|
||||||
Routable:
|
Routable:
|
||||||
Description: Routable content part.
|
Description: Routable content part.
|
||||||
Dependencies: Settings
|
Dependencies: Settings
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Scheduling
|
Name: Scheduling
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The scheduling module enables background task scheduling.
|
Description: The scheduling module enables background task scheduling.
|
||||||
features:
|
Features:
|
||||||
Scheduling:
|
Scheduling:
|
||||||
Description: Scheduled background tasks.
|
Description: Scheduled background tasks.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Settings
|
Name: Settings
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The settings module creates site settings that other modules can contribute to.
|
Description: The settings module creates site settings that other modules can contribute to.
|
||||||
features:
|
Features:
|
||||||
Settings:
|
Settings:
|
||||||
Description: Site settings.
|
Description: Site settings.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Shapes
|
Name: Shapes
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The shapes module contains core shape templates and display hooks.
|
Description: The shapes module contains core shape templates and display hooks.
|
||||||
features:
|
Features:
|
||||||
Shapes:
|
Shapes:
|
||||||
Description: Core shape templates and display hooks.
|
Description: Core shape templates and display hooks.
|
||||||
Category: Core
|
Category: Core
|
@@ -1,11 +1,11 @@
|
|||||||
Name: XmlRpc
|
Name: XmlRpc
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The XmlRpc module enables creation of contents from client applications such as LiveWriter.
|
Description: The XmlRpc module enables creation of contents from client applications such as LiveWriter.
|
||||||
features:
|
Features:
|
||||||
XmlRpc:
|
XmlRpc:
|
||||||
Description: XML-RPC opt-in implementation.
|
Description: XML-RPC opt-in implementation.
|
||||||
Category: Content Publishing
|
Category: Content Publishing
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Lucene
|
Name: Lucene
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The Lucene module enables the site to be indexed usin Lucene.NET. The index generated by this module can then be used by the search module to provide an integrated full-text search experience to a web site.
|
Description: The Lucene module enables the site to be indexed usin Lucene.NET. The index generated by this module can then be used by the search module to provide an integrated full-text search experience to a web site.
|
||||||
features:
|
Features:
|
||||||
Lucene:
|
Lucene:
|
||||||
Description: Lucene indexing services.
|
Description: Lucene indexing services.
|
||||||
Category: Search
|
Category: Search
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: ArchiveLater
|
Name: ArchiveLater
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.1.0
|
Version: 0.1.0
|
||||||
orchardversion: 0.6.0
|
OrchardVersion: 0.6.0
|
||||||
description: The ArhiveLater module introduces scheduled archiving functionality.
|
Description: The ArhiveLater module introduces scheduled archiving functionality.
|
||||||
features:
|
Features:
|
||||||
Orchard.ArchiveLater:
|
Orchard.ArchiveLater:
|
||||||
Description: Scheduled archiving.
|
Description: Scheduled archiving.
|
||||||
Category: Content
|
Category: Content
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Blogs
|
Name: Blogs
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The Orchard Blogs module is implementing basic blogging features.
|
Description: The Orchard Blogs module is implementing basic blogging features.
|
||||||
features:
|
Features:
|
||||||
Orchard.Blogs:
|
Orchard.Blogs:
|
||||||
Description: A simple web log.
|
Description: A simple web log.
|
||||||
Dependencies: Feeds
|
Dependencies: Feeds
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
name: $$ModuleName$$
|
Name: $$ModuleName$$
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: Description for the module
|
Description: Description for the module
|
||||||
features:
|
Features:
|
||||||
$$ModuleName$$:
|
$$ModuleName$$:
|
||||||
Description: Description for feature $$ModuleName$$.
|
Description: Description for feature $$ModuleName$$.
|
@@ -1,7 +1,7 @@
|
|||||||
name: $$ThemeName$$
|
Name: $$ThemeName$$
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
description: Description for the theme
|
Description: Description for the theme
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
# todo: provide tags
|
# todo: provide tags
|
||||||
# tags: Classic, Serif
|
# Tags: Classic, Serif
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Code generation
|
Name: Code generation
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.1.0
|
Version: 0.1.0
|
||||||
orchardversion: 0.6.0
|
OrchardVersion: 0.6.0
|
||||||
description:
|
Description:
|
||||||
features:
|
Features:
|
||||||
Orchard.CodeGeneration:
|
Orchard.CodeGeneration:
|
||||||
Description: Tools to create Orchard components.
|
Description: Tools to create Orchard components.
|
||||||
Category: Developer
|
Category: Developer
|
@@ -1,11 +1,11 @@
|
|||||||
name: Comments
|
Name: Comments
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The comments system implemented by this module can be applied to arbitrary Orchard content types, such as blogs and pages. It includes comment validation and spam protection through the Akismet service.
|
Description: The comments system implemented by this module can be applied to arbitrary Orchard content types, such as blogs and pages. It includes comment validation and spam protection through the Akismet service.
|
||||||
features:
|
Features:
|
||||||
Orchard.Comments:
|
Orchard.Comments:
|
||||||
Description: Standard content item comments.
|
Description: Standard content item comments.
|
||||||
Dependencies: Settings
|
Dependencies: Settings
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
name: ContentTypes
|
Name: ContentTypes
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
features:
|
Features:
|
||||||
Orchard.ContentTypes:
|
Orchard.ContentTypes:
|
||||||
Description: ContentTypes modules enables the creation and alteration of content types not based on code.
|
Description: ContentTypes modules enables the creation and alteration of content types not based on code.
|
||||||
Dependencies: Contents
|
Dependencies: Contents
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Email Messaging
|
Name: Email Messaging
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.1.0
|
Version: 0.1.0
|
||||||
orchardversion: 0.6.0
|
OrchardVersion: 0.6.0
|
||||||
description: The Email Messaging module adds Email sending functionalities.
|
Description: The Email Messaging module adds Email sending functionalities.
|
||||||
features:
|
Features:
|
||||||
Orchard.Email:
|
Orchard.Email:
|
||||||
Description: Email Messaging services.
|
Description: Email Messaging services.
|
||||||
Category: Messaging
|
Category: Messaging
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Experimental
|
Name: Experimental
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.1.0
|
Version: 0.1.0
|
||||||
orchardversion: 0.6.0
|
OrchardVersion: 0.6.0
|
||||||
description:
|
Description:
|
||||||
features:
|
Features:
|
||||||
Profiling:
|
Profiling:
|
||||||
Description: Tools to help profile Orchard.
|
Description: Tools to help profile Orchard.
|
||||||
Category: Developer
|
Category: Developer
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Indexing
|
Name: Indexing
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The Indexing module enables the site to be indexed. The index generated by this module can then be used by the search module to provide an integrated full-text search experience to a web site.
|
Description: The Indexing module enables the site to be indexed. The index generated by this module can then be used by the search module to provide an integrated full-text search experience to a web site.
|
||||||
features:
|
Features:
|
||||||
Orchard.Indexing:
|
Orchard.Indexing:
|
||||||
Description: Indexing infrastructure. Requires an index implementation like the Lucene module.
|
Description: Indexing infrastructure. Requires an index implementation like the Lucene module.
|
||||||
Category: Search
|
Category: Search
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Media
|
Name: Media
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The media module offer basic media management features. It currently only supports image files. Storage goes into the current Orchard file system, which can be the server's physical file system or Azure blob storage.
|
Description: The media module offer basic media management features. It currently only supports image files. Storage goes into the current Orchard file system, which can be the server's physical file system or Azure blob storage.
|
||||||
features:
|
Features:
|
||||||
Orchard.Media:
|
Orchard.Media:
|
||||||
Description: File system based media upload, storage and management.
|
Description: File system based media upload, storage and management.
|
||||||
Category: Media
|
Category: Media
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
Name: Migrations
|
Name: Migrations
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.1.0
|
Version: 0.1.0
|
||||||
orchardversion: 0.6.0
|
OrchardVersion: 0.6.0
|
||||||
description:
|
Description:
|
||||||
features:
|
Features:
|
||||||
Orchard.Migrations:
|
Orchard.Migrations:
|
||||||
Description: Data migration commands.
|
Description: Data migration commands.
|
||||||
Category: Developer
|
Category: Developer
|
||||||
|
@@ -68,7 +68,7 @@ namespace Orchard.Modules.Commands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Context.Output.WriteLine(T("Could not enable features: {0}", string.Join(",", featureNames)));
|
Context.Output.WriteLine(T("Could not enable Features: {0}", string.Join(",", featureNames)));
|
||||||
listAvailableFeatures = true;
|
listAvailableFeatures = true;
|
||||||
}
|
}
|
||||||
if (listAvailableFeatures)
|
if (listAvailableFeatures)
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Modules
|
Name: Modules
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The Modules module enables the administrator of the site to manage the installed modules as well as activate and de-activate features.
|
Description: The Modules module enables the administrator of the site to manage the installed modules as well as activate and de-activate features.
|
||||||
features:
|
Features:
|
||||||
Orchard.Modules:
|
Orchard.Modules:
|
||||||
Description: Standard module and feature management.
|
Description: Standard module and feature management.
|
||||||
Dependencies: PackagingServices
|
Dependencies: PackagingServices
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: MultiTenancy
|
Name: MultiTenancy
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The multi-tenancy module enables multiple Orchard sites to run in isolation inside of a single web application, improving site density on a single server or hosted account.
|
Description: The multi-tenancy module enables multiple Orchard sites to run in isolation inside of a single web application, improving site density on a single server or hosted account.
|
||||||
features:
|
Features:
|
||||||
Orchard.MultiTenancy:
|
Orchard.MultiTenancy:
|
||||||
Description: Configure multiple site tenants.
|
Description: Configure multiple site tenants.
|
||||||
Category: Hosting
|
Category: Hosting
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Packaging
|
Name: Packaging
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The packaging module enables packaging modules using the OPC format.
|
Description: The packaging module enables packaging modules using the OPC format.
|
||||||
features:
|
Features:
|
||||||
PackagingServices:
|
PackagingServices:
|
||||||
Description: Core services for packaging using the OPC format.
|
Description: Core services for packaging using the OPC format.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Roles
|
Name: Roles
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The roles module is adding the ability to assign roles to users. It's also providing a set of default roles for which other modules can define default permissions.
|
Description: The roles module is adding the ability to assign roles to users. It's also providing a set of default roles for which other modules can define default permissions.
|
||||||
features:
|
Features:
|
||||||
Orchard.Roles:
|
Orchard.Roles:
|
||||||
Description: Standard user roles.
|
Description: Standard user roles.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Search
|
Name: Search
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The search module enables the management of the search index and provides the front-end searching user interface.
|
Description: The search module enables the management of the search index and provides the front-end searching user interface.
|
||||||
features:
|
Features:
|
||||||
Orchard.Search:
|
Orchard.Search:
|
||||||
Description: Standard interface to Orchard's built-in search.
|
Description: Standard interface to Orchard's built-in search.
|
||||||
Category: Search
|
Category: Search
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Setup
|
Name: Setup
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The setup module is creating the application's setup experience.
|
Description: The setup module is creating the application's setup experience.
|
||||||
features:
|
Features:
|
||||||
Orchard.Setup:
|
Orchard.Setup:
|
||||||
Description: Standard site setup. This feature is disabled automatically once setup is over.
|
Description: Standard site setup. This feature is disabled automatically once setup is over.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Tags
|
Name: Tags
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The tags module is providing basic tagging for arbitrary content types.
|
Description: The tags module is providing basic tagging for arbitrary content types.
|
||||||
features:
|
Features:
|
||||||
Orchard.Tags:
|
Orchard.Tags:
|
||||||
Description: Tag a content item.
|
Description: Tag a content item.
|
||||||
Dependencies: Settings
|
Dependencies: Settings
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Themes
|
Name: Themes
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The themes module makes it possible for Orchard applications to customize the look and feel of an Orchard web site.
|
Description: The themes module makes it possible for Orchard applications to customize the look and feel of an Orchard web site.
|
||||||
features:
|
Features:
|
||||||
Orchard.Themes:
|
Orchard.Themes:
|
||||||
Description: Basic theming capability.
|
Description: Basic theming capability.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Users
|
Name: Users
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The users module enables user management.
|
Description: The users module enables user management.
|
||||||
features:
|
Features:
|
||||||
Orchard.Users:
|
Orchard.Users:
|
||||||
Description: Standard users.
|
Description: Standard users.
|
||||||
Category: Core
|
Category: Core
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Widgets
|
Name: Widgets
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: An implementation of widgets for Orchard.
|
Description: An implementation of widgets for Orchard.
|
||||||
features:
|
Features:
|
||||||
Orchard.Widgets:
|
Orchard.Widgets:
|
||||||
Description: An implementation of widgets.
|
Description: An implementation of widgets.
|
||||||
Category: Widget
|
Category: Widget
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: Orchard.jQuery
|
Name: Orchard.jQuery
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The jQuery module contains the jQuery and related script libraries.
|
Description: The jQuery module contains the jQuery and related script libraries.
|
||||||
features:
|
Features:
|
||||||
Orchard.jQuery:
|
Orchard.jQuery:
|
||||||
Description: A common location for jQuery and related script libraries.
|
Description: A common location for jQuery and related script libraries.
|
||||||
Category: Resources
|
Category: Resources
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
name: TinyMce
|
Name: TinyMce
|
||||||
antiforgery: enabled
|
AntiForgery: enabled
|
||||||
author: The Orchard Team
|
Author: The Orchard Team
|
||||||
website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
version: 0.5.0
|
Version: 0.5.0
|
||||||
orchardversion: 0.5.0
|
OrchardVersion: 0.5.0
|
||||||
description: The TinyMCE module enables rich text contents to be created using a "What You See Is What You Get" user interface.
|
Description: The TinyMCE module enables rich text contents to be created using a "What You See Is What You Get" user interface.
|
||||||
features:
|
Features:
|
||||||
TinyMce:
|
TinyMce:
|
||||||
Description: TinyMCE HTML WYSIWYG editor.
|
Description: TinyMCE HTML WYSIWYG editor.
|
||||||
Category: Input Editor
|
Category: Input Editor
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
name: Classic
|
Name: Classic
|
||||||
author: Jonathan Wall
|
Author: Jonathan Wall
|
||||||
description: Theme using serif.
|
Description: Theme using serif.
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
tags: Classic, Serif
|
Tags: Classic, Serif
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
zones: Sidebar
|
Zones: Sidebar
|
@@ -1,7 +1,7 @@
|
|||||||
name: Classic Dark
|
Name: Classic Dark
|
||||||
author: Jonathan Wall
|
Author: Jonathan Wall
|
||||||
description: Dark version of the Classic theme.
|
Description: Dark version of the Classic theme.
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
tags: Classic, Dark, Serif
|
Tags: Classic, Dark, Serif
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
zones: Sidebar
|
Zones: Sidebar
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
name: Contoso Business
|
Name: Contoso Business
|
||||||
author: Michael Dorian Bach
|
Author: Michael Dorian Bach
|
||||||
description: A simple CMS theme perfect for any modern product or service business website.
|
Description: A simple CMS theme perfect for any modern product or service business website.
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
tags: business, cms, modern
|
Tags: business, cms, modern
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
name: Corporate
|
Name: Corporate
|
||||||
author: Michael Dorian Bach
|
Author: Michael Dorian Bach
|
||||||
description: A simple and neutral business theme for a variety of industries.
|
Description: A simple and neutral business theme for a variety of industries.
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
tags: business, cms, simple, classic, medical, finance, legal, corporate
|
Tags: business, cms, simple, classic, medical, finance, legal, corporate
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
name: Green
|
Name: Green
|
||||||
author: Jonathan Wall
|
Author: Jonathan Wall
|
||||||
description: This is the Green theme. It uses the YUI grid system for layout.
|
Description: This is the Green theme. It uses the YUI grid system for layout.
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
tags: green, YUI
|
Tags: green, YUI
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
name: SafeMode
|
Name: SafeMode
|
||||||
author: Jonathan Wall
|
Author: Jonathan Wall
|
||||||
description: The Orchard Theme for setup and failure conditions.
|
Description: The Orchard Theme for setup and failure conditions.
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
tags: hidden
|
Tags: hidden
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
name: The Admin
|
Name: The Admin
|
||||||
version: 1.0
|
Version: 1.0
|
||||||
author: Jon Wall
|
Author: Jon Wall
|
||||||
tags: hidden, admin
|
Tags: hidden, admin
|
||||||
description: An admin theme not to be used for the site so don't click "Activate" (or "Uninstall"). In the near future admin themes won't be mixed in with site themes.
|
Description: An admin theme not to be used for the site so don't click "Activate" (or "Uninstall"). In the near future admin themes won't be mixed in with site themes.
|
||||||
website: http://www.orchardproject.net
|
Website: http://www.orchardproject.net
|
||||||
|
@@ -81,7 +81,7 @@ namespace Orchard.Environment.Extensions.Folders {
|
|||||||
var manifestText = _webSiteFolder.ReadFile(manifestPath);
|
var manifestText = _webSiteFolder.ReadFile(manifestPath);
|
||||||
if (manifestText == null) {
|
if (manifestText == null) {
|
||||||
if (_manifestIsOptional) {
|
if (_manifestIsOptional) {
|
||||||
manifestText = string.Format("name: {0}", extensionName);
|
manifestText = string.Format("Name: {0}", extensionName);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return null;
|
return null;
|
||||||
@@ -118,18 +118,18 @@ namespace Orchard.Environment.Extensions.Folders {
|
|||||||
Location = locationPath,
|
Location = locationPath,
|
||||||
Name = extensionName,
|
Name = extensionName,
|
||||||
ExtensionType = extensionType,
|
ExtensionType = extensionType,
|
||||||
DisplayName = GetValue(fields, "name") ?? extensionName,
|
DisplayName = GetValue(fields, "Name") ?? extensionName,
|
||||||
Description = GetValue(fields, "description"),
|
Description = GetValue(fields, "Description"),
|
||||||
Version = GetValue(fields, "version"),
|
Version = GetValue(fields, "Version"),
|
||||||
OrchardVersion = GetValue(fields, "orchardversion"),
|
OrchardVersion = GetValue(fields, "OrchardVersion"),
|
||||||
Author = GetValue(fields, "author"),
|
Author = GetValue(fields, "Author"),
|
||||||
WebSite = GetValue(fields, "website"),
|
WebSite = GetValue(fields, "Website"),
|
||||||
Tags = GetValue(fields, "tags"),
|
Tags = GetValue(fields, "Tags"),
|
||||||
AntiForgery = GetValue(fields, "antiforgery"),
|
AntiForgery = GetValue(fields, "AntiForgery"),
|
||||||
Zones = GetValue(fields, "zones"),
|
Zones = GetValue(fields, "Zones"),
|
||||||
};
|
};
|
||||||
|
|
||||||
extensionDescriptor.Features = GetFeaturesForExtension(GetMapping(fields, "features"), extensionDescriptor);
|
extensionDescriptor.Features = GetFeaturesForExtension(GetMapping(fields, "Features"), extensionDescriptor);
|
||||||
|
|
||||||
return extensionDescriptor;
|
return extensionDescriptor;
|
||||||
}
|
}
|
||||||
@@ -144,13 +144,13 @@ namespace Orchard.Environment.Extensions.Folders {
|
|||||||
};
|
};
|
||||||
var featureMapping = (Mapping)entity.Value;
|
var featureMapping = (Mapping)entity.Value;
|
||||||
foreach (var featureEntity in featureMapping.Entities) {
|
foreach (var featureEntity in featureMapping.Entities) {
|
||||||
if (String.Equals(featureEntity.Key.ToString(), "description", StringComparison.OrdinalIgnoreCase)) {
|
if (String.Equals(featureEntity.Key.ToString(), "Description", StringComparison.OrdinalIgnoreCase)) {
|
||||||
featureDescriptor.Description = featureEntity.Value.ToString();
|
featureDescriptor.Description = featureEntity.Value.ToString();
|
||||||
}
|
}
|
||||||
else if (String.Equals(featureEntity.Key.ToString(), "category", StringComparison.OrdinalIgnoreCase)) {
|
else if (String.Equals(featureEntity.Key.ToString(), "Category", StringComparison.OrdinalIgnoreCase)) {
|
||||||
featureDescriptor.Category = featureEntity.Value.ToString();
|
featureDescriptor.Category = featureEntity.Value.ToString();
|
||||||
}
|
}
|
||||||
else if (String.Equals(featureEntity.Key.ToString(), "dependencies", StringComparison.OrdinalIgnoreCase)) {
|
else if (String.Equals(featureEntity.Key.ToString(), "Dependencies", StringComparison.OrdinalIgnoreCase)) {
|
||||||
featureDescriptor.Dependencies = ParseFeatureDependenciesEntry(featureEntity.Value.ToString());
|
featureDescriptor.Dependencies = ParseFeatureDependenciesEntry(featureEntity.Value.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user