mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Cleaning up Orchard.Lists a little (extra codegen's folders and module/feature descriptions)
--HG-- branch : dev
This commit is contained in:
@@ -4,9 +4,9 @@ Author: The Orchard Team
|
|||||||
Website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
OrchardVersion: 0.8.0
|
OrchardVersion: 0.8.0
|
||||||
Description: The common module introduces container and containable behaviors for content items
|
Description: The containers module introduces container and containable behaviors for content items.
|
||||||
Features:
|
Features:
|
||||||
Containers:
|
Containers:
|
||||||
Description: Container content parts.
|
Description: Container and containable parts to enable parent-child relationships between content items.
|
||||||
Dependencies: Contents, Routable
|
Dependencies: Contents, Routable
|
||||||
Category: Content
|
Category: Content
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
using System;
|
using Orchard.ContentManagement.MetaData;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using Orchard.ContentManagement.MetaData;
|
|
||||||
using Orchard.Core.Contents.Extensions;
|
using Orchard.Core.Contents.Extensions;
|
||||||
using Orchard.Data.Migration;
|
using Orchard.Data.Migration;
|
||||||
|
|
||||||
@@ -17,12 +13,12 @@ namespace Orchard.Lists {
|
|||||||
.WithPart("MenuPart")
|
.WithPart("MenuPart")
|
||||||
.Creatable());
|
.Creatable());
|
||||||
|
|
||||||
//ContentDefinitionManager.AlterTypeDefinition("ListWidget",
|
ContentDefinitionManager.AlterTypeDefinition("ListWidget",
|
||||||
// cfg => cfg
|
cfg => cfg
|
||||||
// .WithPart("CommonPart")
|
.WithPart("CommonPart")
|
||||||
// .WithPart("WidgetPart")
|
.WithPart("WidgetPart")
|
||||||
// .WithPart("ListWidgetPart")
|
.WithPart("ContainerPart")
|
||||||
// .WithSetting("Stereotype", "Widget"));
|
.WithSetting("Stereotype", "Widget"));
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@@ -4,9 +4,9 @@ Author: The Orchard Team
|
|||||||
Website: http://orchardproject.net
|
Website: http://orchardproject.net
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
OrchardVersion: 0.8.0
|
OrchardVersion: 0.8.0
|
||||||
Description: Description for the module
|
Description: Introduces a preconfigured container-enabled content type.
|
||||||
Features:
|
Features:
|
||||||
Orchard.Lists:
|
Orchard.Lists:
|
||||||
Description: Description for feature Orchard.Lists.
|
Description: A basic container-enabled content type.
|
||||||
Dependencies: Contents, Containers
|
Dependencies: Contents, Containers
|
||||||
Category: Content
|
Category: Content
|
||||||
|
@@ -65,9 +65,6 @@
|
|||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Views\Web.config" />
|
|
||||||
<Content Include="Scripts\Web.config" />
|
|
||||||
<Content Include="Styles\Web.config" />
|
|
||||||
<Content Include="Properties\AssemblyInfo.cs" />
|
<Content Include="Properties\AssemblyInfo.cs" />
|
||||||
<Content Include="Module.txt" />
|
<Content Include="Module.txt" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -84,10 +81,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Migrations.cs" />
|
<Compile Include="Migrations.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup />
|
||||||
<Folder Include="Controllers\" />
|
|
||||||
<Folder Include="Models\" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<configuration>
|
|
||||||
<system.web>
|
|
||||||
<httpHandlers>
|
|
||||||
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
|
||||||
<add path="*" verb="*" type="System.Web.StaticFileHandler" />
|
|
||||||
</httpHandlers>
|
|
||||||
</system.web>
|
|
||||||
<system.webServer>
|
|
||||||
<handlers accessPolicy="Script,Read">
|
|
||||||
<!--
|
|
||||||
iis7 - for any request to a file exists on disk, return it via native http module.
|
|
||||||
accessPolicy 'Script' is to allow for a managed 404 page.
|
|
||||||
-->
|
|
||||||
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
|
|
||||||
</handlers>
|
|
||||||
</system.webServer>
|
|
||||||
</configuration>
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<configuration>
|
|
||||||
<system.web>
|
|
||||||
<httpHandlers>
|
|
||||||
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
|
||||||
<add path="*" verb="*" type="System.Web.StaticFileHandler" />
|
|
||||||
</httpHandlers>
|
|
||||||
</system.web>
|
|
||||||
<system.webServer>
|
|
||||||
<handlers accessPolicy="Script,Read">
|
|
||||||
<!--
|
|
||||||
iis7 - for any request to a file exists on disk, return it via native http module.
|
|
||||||
accessPolicy 'Script' is to allow for a managed 404 page.
|
|
||||||
-->
|
|
||||||
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
|
|
||||||
</handlers>
|
|
||||||
</system.webServer>
|
|
||||||
</configuration>
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<configuration>
|
|
||||||
<system.web>
|
|
||||||
<httpHandlers>
|
|
||||||
</httpHandlers>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Enabling request validation in view pages would cause validation to occur
|
|
||||||
after the input has already been processed by the controller. By default
|
|
||||||
MVC performs request validation before a controller processes the input.
|
|
||||||
To change this behavior apply the ValidateInputAttribute to a
|
|
||||||
controller or action.
|
|
||||||
-->
|
|
||||||
<pages
|
|
||||||
validateRequest="false"
|
|
||||||
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
|
||||||
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
|
||||||
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
||||||
<controls>
|
|
||||||
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
|
||||||
</controls>
|
|
||||||
</pages>
|
|
||||||
</system.web>
|
|
||||||
|
|
||||||
<system.webServer>
|
|
||||||
<validation validateIntegratedModeConfiguration="false"/>
|
|
||||||
<handlers>
|
|
||||||
</handlers>
|
|
||||||
</system.webServer>
|
|
||||||
</configuration>
|
|
Reference in New Issue
Block a user