Skip to content

Orchard 1.7.2

建立:1.7.2

Published: 11/19/2013

发布时间:2013年11月19日

How to Install Orchard

如何安装Orchard


To install Orchard using Web PI, follow these instructions:

要使用Web PI安装Orchard,请按照以下说明操作:

http://docs.orchardproject.net/Documentation/Installing-Orchard.

http://docs.orchardproject.net/Documentation/Installing-Orchard

Web PI will detect your hardware environment and install the application.

Web PI将检测您的硬件环境并安装该应用程序。

Alternatively, to install the release manually, download the Orchard.Web.1.7.2.zip file.

或者,要手动安装发行版,请下载Orchard.Web.1.7.2.zip文件。

http://docs.orchardproject.net/Documentation/Manually-installing-Orchard-zip-file

http://docs.orchardproject.net/Documentation/Manually-installing-Orchard-zip-file

The zip contents are pre-built and ready-to-run. Simply extract the contents of the Orchard

zip内容是预先构建的并且可以立即运行。只需提取果园的内容即可

folder from the zip contents to an IIS virtual directory (or site root) and then point your

从zip内容到IIS虚拟目录(或站点根目录)的文件夹,然后指向您的

browser to the site. You can also just extract to a local folder and open the Orchard

浏览器到网站。您也可以只提取到本地文件夹并打开Orchard

folder in Visual Studio or WebMatrix as a web site (but not as a web application).

Visual Studio或WebMatrix中的文件夹作为Web站点(但不是Web应用程序)。

Please make sure you have a machine key

请确保您有机器钥匙

http://docs.orchardproject.net/Documentation/Setting-up-a-machine-key

http://docs.orchardproject.net/Documentation/Setting-up-a-machine-key

or you may experience frequent disconnections.

或者您可能会经常断开连接。

What file to download?

要下载什么文件?


If you just want to use Orchard and don't care about the source code, Orchard.Web.1.7.2.zip

如果你只想使用Orchard而不关心源代码,Orchard.Web.1.7.2.zip

is what you want to use, preferably through the WebPI instructions.

是你想要使用的,最好是通过WebPI指令。

Do not attempt to build the WebPI version in VS. Use the full source if you want to use VS.

不要尝试在VS中构建WebPI版本。如果要使用VS,请使用完整源代码。

If you want to take a look at the source code or want to be able to build the application in Visual Studio,

如果您想查看源代码或希望能够在Visual Studio中构建应用程序,

Orchard.Source.1.7.2.zip is fine.

Orchard.Source.1.7.2.zip很好。

If you want to setup a development environment for patch or module development,

如果要为修补程序或模块开发设置开发环境,

you should clone the repository by following the instructions here:

您应该按照此处的说明克隆存储库:

http://docs.orchardproject.net/Documentation/Setting-up-a-source-enlistment

http://docs.orchardproject.net/Documentation/Setting-up-a-source-enlistment

Branches are described here: http://docs.orchardproject.net/Documentation/Developer-FAQ#Whatarethedefaultanddevbranches?WhichoneshouldIbeusing?

分支在这里描述:http://docs.orchardproject.net/Documentation/Developer-FAQ#Whatarethedefaultanddevbranches?WhichoneshouldIbeusing?

Who should use this software?

谁应该使用这个软件?


This software is in version 1.7.2. The code is in a stable state and constitutes

该软件的版本为1.7.2。代码处于稳定状态并构成

a solid foundation for building applications, themes and modules.

为构建应用程序,主题和模块奠定坚实的基础。

Suggestions are welcome in the discussion forums.

欢迎在论坛中提出建议。

You are allowed to use this software in any way that is compatible with the new BSD license.

您可以以与新BSD许可证兼容的任何方式使用此软件。

This includes commercial derivative work.

这包括商业衍生作品。

What's new?

什么是新的?


Orchard 1.7.2 fixes bugs and introduces the following features:

Orchard 1.7.2修复了bug并引入了以下功能:

  • Orchard.SSL: New SSL module replacing Contrib.SSL, providing convention enhanced security, convention based

  • Orchard.SSL :替换Contrib.SSL的新SSL模块,提供基于约定的约定增强安全性

  • Azure SDK 2.2 support

  • Azure SDK 2.2支持 *

  • Orchard.MediaLibrary:

  • Orchard.MediaLibrary

  • Search engine integration feature

  • 搜索引擎集成功能

  • Creation of custom media types

  • 创建自定义媒体类型

  • Consistent css class names for text boxes

  • 文本框的一致css类名称 *

  • Performance

  • 性能 *

  • Removed BlogConstraintPathUpdator background task

  • 删除了BlogConstraintPathUpdator后台任务

  • Optimized AliasUpdator

  • 优化的AliasUpdator

  • Removed deep recursive data migration calls

  • 删除了深度递归数据迁移调用

  • Created default indexes on content item tables

  • 在内容项表上创建默认索引

  • Added Eager Fetching filter for projection

  • 为投影添加了Eager Fetching过滤器

  • Orchard.Search:

  • Orchard.Search

  • Improved API to define range queries

  • 改进的API用于定义范围查询

The full list of fixed bugs for this release can be found here:

可以在此处找到此版本的已修复错误的完整列表:

  • Bugs fixed in 1.7.2.

  • [修正了1.7.2中的错误](https://orchard.codeplex.com/workitem/list/advanced?keyword=\u0026status=Resolved|Closed\u0026type=All\u0026priority=All\u0026release=Orchard%201.7.2\u0026assignedTo=All\u0026component=All\u0026sortField=LastUpdatedDate\u0026sortDirection=Scendingnding\"page = 0&reasonClosed =全部)。 *

How to upgrade from a previous version

如何从以前的版本升级


You can find migration instructions here: http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard.

您可以在此处找到迁移说明:http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard

No matter what migration path you take, please take the precaution of making a backup of your

无论您采取何种迁移路径,请采取预防措施备份您的

site and database first.

站点和数据库第一。

Upgrading from Orchard 1.3 and earlier

从Orchard 1.3及更早版本升级

Orchard 1.4 introduced breaking changes in the way content URLs are managed. Because of that,

Orchard 1.4引入了内容URL管理方式的重大变化。因此,

and if you're migrating from version 1.3 or earlier, the Upgrade module can be used to migrate

如果您要从1.3或更早版本迁移,可以使用升级模块进行迁移

data. If you upgrade a site to 1.7 from 1.3 or earlier and can't

数据。如果您将站点从1.3或更早版本升级到1.7而不能

see your contents, you probably need to run this module. In order to do that, go to the admin

看到你的内容,你可能需要运行这个模块。为此,请转到管理员

section of the site (by appending /admin to the URL where the home page should be), then go

网站的一部分(通过将/ admin添加到主页所在的URL),然后转到

to Modules and enable the feature.

到模块并启用该功能。

The feature, once enabled, adds a new entry to the admin menu: "Upgrade to 1.7", that can

该功能一旦启用,就会在管理菜单中添加一个新条目:“升级到1.7”,即可

migrate the Route data of your content items as well as field data from older field modules, and menu items.

迁移内容项的Route数据以及旧字段模块和菜单项中的字段数据。

Upgrading from Orchard 1.6 and earlier

从Orchard 1.6及更早版本升级

  • Enable the Upgrade module

  • 启用升级模块 *

Migrating Content Item Picker Field contents

迁移内容项目选择器字段内容

In Orchard 1.7 this field has been moved to a more appropriate module, and thus needs it definitions to be migrated

在Orchard 1.7中,此字段已移至更合适的模块,因此需要迁移定义

in order to reflect this change.

为了反映这种变化。

  • Click on Upgrade To 1.7 from the menu

  • 单击菜单中的Upgrade To 1.7 *

  • Select the Content Picker tab and click Migrate

  • 选择内容选择器选项卡,然后单击迁移

Migrating Contrib.Taxonomies module

迁移Contrib.Taxonomies模块

In Orchard 1.7 the Contrib.Taxonomies module has been integrated into the core modules as the Orchard.Taxonomies module.

在Orchard 1.7中,Contrib.Taxonomies模块已作为Orchard.Taxonomies模块集成到核心模块中。

If you want to use the new module then you need to follow these steps. It will convert all your content and metadata

如果要使用新模块,则需要执行以下步骤。它将转换您的所有内容和元数据

which were associated with Contrib.Taxonomies.

与Contrib.Taxonomies相关联。

  • Disable the module Contrib.Taxonomies

  • 禁用模块Contrib.Taxonomies *

  • Enable the module Orchard.Taxonomies

  • 启用模块Orchard.Taxonomies *

  • Click on Upgrade To 1.7 from the menu

  • 单击菜单中的Upgrade To 1.7 *

  • Select the Taxonomies tab and click Migrate

  • 选择Taxonomies选项卡,然后单击 Migrate

  • Finally, update any template which was previously using the Contrib.Taxonomies templates

  • 最后,更新以前使用Contrib.Taxonomies模板的任何模板 *

Importing Media files into the Media Library

将媒体文件导入媒体库

In Orchard 1.7 a new media management module is provided. In order to use it you will have to import all your media files

在Orchard 1.7中,提供了新的媒体管理模块。要使用它,您必须导入所有媒体文件

to this new module. It will create a dedicated content item for each of your files. Ultimately it will also convert

这个新模块。它将为您的每个文件创建一个专用内容项。最终它也将转换

all the current usage of Media Picker Fields to the new Media Library Picker Field.

媒体选择器字段当前在新媒体库选取器字段中的使用情况。

  • Disable the module Media

  • 禁用模块媒体 *

  • Enable the module Media Library

  • 启用模块媒体库 *

  • Click on Upgrade To 1.7 from the menu

  • 单击菜单中的Upgrade To 1.7 *

  • Select the Media Library tab and click Migrate

  • 选择媒体库选项卡,然后单击迁移

  • In the Media Picker Field section click Migrate

  • 在“媒体选择器字段”部分中,单击迁移

  • Finally, update any template which was previously using the Media Picker Field directly

  • 最后,更新以前直接使用Media Picker Field的任何模板 *

Upgrading from Orchard 1.7.1

从Orchard升级1.7.1

If you were using the Roles or Comments Workflow Activities you will need to enable the corresponding features:

如果您使用的是角色或评论工作流程活动,则需要启用相应的功能:

  • Comments Workflows Activities

  • 评论工作流程活动 *

  • Roles Workflows Activities

  • 角色工作流程活动 *

If you were using Multi-Tenancy then you might need to change the settings of the tenants. Multi-tenant host name are

如果您使用多租户,则可能需要更改租户的设置。多租户主机名是

not more matching sub-domains automatically. You will need to replace foo.com by *.foo.com if you want the tenant

不会自动匹配子域。如果你想要租户,你需要用* .foo.com替换foo.com

to match any sub-domain. You can also specifically set which sub-domains to accept like this: foo.com, www.foo.com

匹配任何子域。您还可以专门设置接受哪些子域:foo.com,www.foo.com

Contributors

贡献者


This software would not exist without the community. In particular, for this release,

没有社区,该软件将不存在。特别是,对于此版本,

we should all be grateful to the following people who contributed patches and features:

我们都应该感谢以下提供补丁和功能的人:

  • Antoine Griffard (agriffard)

  • Antoine Griffard([agriffard](http://www.codeplex.com/site/users/view/agriffard))

  • Benedek Farkas (nightwolf226)

  • Benedek Farkas([nightwolf226](https://www.codeplex.com/site/users/view/nightwolf226))

  • Bertrand Le Roy (bertrandleroy)

  • Bertrand Le Roy([bertrandleroy](http://www.codeplex.com/site/users/view/bertrandleroy))

  • Christian Surieux (csadnt)

  • Christian Surieux([csadnt](http://www.codeplex.com/site/users/view/csadnt))

  • Daniel Stolt (Decorum)

  • Daniel Stolt([Decorum](https://www.codeplex.com/site/users/view/Decorum))

  • Eric McGrath (EricMcGrath)

  • Eric McGrath([EricMcGrath](https://www.codeplex.com/site/users/view/EricMcGrath))

  • Jay Harris (jayharris)

  • 杰伊哈里斯([jayharris](https://www.codeplex.com/site/users/view/jayharris))

  • Jeff Bullock (j3ffb)

  • Jeff Bullock([j3ffb](http://www.codeplex.com/site/users/view/j3ffb))

  • Jeff Olmstead (jao28)

  • Jeff Olmstead([jao28](https://www.codeplex.com/site/users/view/jao28))

  • Jim Macdonald (Jimasp)

  • Jim Macdonald([Jimasp](http://www.codeplex.com/site/users/view/Jimasp))

  • Piotr Szmyd (pszmyd)

  • Piotr Szmyd([pszmyd](https://www.codeplex.com/site/users/view/pszmyd))

  • Sebastien Ros (sebastienros)

  • Sebastien Ros([sebastienros](http://www.codeplex.com/site/users/view/sebastienros))

  • Sipke Schoorstra (sfmskywalker)

  • Sipke Schoorstra([sfmskywalker](http://www.codeplex.com/site/users/view/sfmskywalker))

  • Stanley Goldman (StanleyGoldman)

  • Stanley Goldman([StanleyGoldman](http://www.codeplex.com/site/users/view/StanleyGoldman))

  • Vladimir Makaev (VMakaev)

  • Vladimir Makaev([VMakaev](https://www.codeplex.com/site/users/view/VMakaev))

  • Volodymyr Usarskyy (usarskyy)

  • Volodymyr Usarskyy([usarskyy](https://www.codeplex.com/site/users/view/usarskyy))

  • Zoltán Lehóczky (Piedone)

  • ZoltánLehóczky([Piedone](http://www.codeplex.com/site/users/view/Piedone))