Skip to content

Orchard 1.8.1

建立:1.8.1

Published: 06/19/2014

发布时间:06/19/2014

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.8.1.zip file.

或者,要手动安装发行版,请下载Orchard.Web.1.8.1.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.8.zip

如果你只是想使用Orchard而不关心源代码,Orchard.Web.1.8.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.8.1.zip is fine.

Orchard.Source.1.8.1.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.8.1. The code is in a stable state and constitutes

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

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.8.1 fixes bugs and introduces the following changes and features:

Orchard 1.8.1修复了错误并引入了以下更改和功能:

  • Url tokens not working in background tasks

  • Url令牌不在后台任务中工作 *

  • Decision Activity doesn't work

  • 决策活动不起作用 *

  • Jobs queue don't use the correct priority when created

  • 作业队列在创建时不使用正确的优先级 *

  • Unable to use HasTerms multiple times on the same query

  • 无法在同一查询中多次使用HasTerms *

  • Media library does not display thumbnail if the urls contains special chars

  • 如果网址包含特殊字符,则媒体库不显示缩略图 *

  • Upgraded JSON.NET

  • 升级的JSON.NET *

  • Razor Template Processor is now a separate feature

  • 剃刀模板处理器现在是一个单独的功能 *

  • Missing Microsoft.Data.Edm dependency

  • 缺少Microsoft.Data.Edm依赖项 *

  • PublishOwnBlogPost and PublishBlogPost permissions are ignored

  • PublishOwnBlogPost和PublishBlogPost权限将被忽略 *

  • Output cache improvements

  • 输出缓存改进 *

  • Changing Site owner doesn't work

  • 更改站点所有者不起作用 *

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

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

  • Bugs fixed in 1.8.1.

  • [固定在1.8.1臭虫(https://orchard.codeplex.com/workitem/list/advanced?keyword=\u0026status=Resolved%7CClosed\u0026type=All\u0026priority=All\u0026release=Orchard%201.8.1\u0026assignedTo=All\u0026component=All\u0026sortField=LastUpdatedDate\u0026sortDirection=Descending\u0026page = 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.7.1 and earlier

从Orchard 1.7.1及更早版本升级

Please follow the upgrade instruction from this document: http://docs.orchardproject.net/Documentation/Orchard-1-7-2-Release-Notes

请按照本文档中的升级说明进行操作:http://docs.orchardproject.net/Documentation/Orchard-1-7-2-Release-Notes

Then proceed with the upgrade steps from 1.7.2.

然后继续执行1.7.2中的升级步骤。

Upgrading from Orchard 1.7.2

从Orchard升级1.7.2

BEFORE DOING ANYTHING PLEASE FOLLOW THIS STEPS:

在执行任何操作之前,请按照以下步骤操作:

  • Backup your database and your website content

  • 备份数据库和网站内容 *

  • Assign the Administrator role to your current Super User account.

  • __将“管理员”角色分配给您当前的超级用户帐户___。 *

You will need an account with the Site Owner permission before you update your website with the new release. Without this step you won't be able to access the dashboard.

在使用新版本更新网站之前,您将需要具有“站点所有者”权限的帐户。如果没有此步骤,您将无法访问仪表板。

In case you are discovering this notice too late, here is the manual operation to apply. In your database table Orchard_Framework_ContentItemRecord, on the record with id=1 (the site content item), update the value with this content <Data><SiteSettingsPart SuperUser="admin"/></Data>

如果您发现此通知为时已晚,请执行以下手动操作。在您的数据库表Orchard_Framework_ContentItemRecord中,在具有id = 1(站点内容项)的记录上,使用此内容更新值<Data> <SiteSettingsPart SuperUser =“admin”/> </ Data>

  • Enable the Upgrade module

  • 启用升级模块 *

Migrating Email activities

迁移电子邮件活动

In Orchard 1.8 the Send Email workflow activity has been replaced by a new one which is able to send emails asynchronously using the Jobs Queue.

在Orchard 1.8中,发送电子邮件工作流活动已被新的替换,该活动能够使用作业队列异步发送电子邮件。

  • Click on Upgrade To 1.8 from the menu

  • 单击菜单中的Upgrade To 1.8 *

  • Select the Messaging tab and click Migrate

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

Migrating Infoset

迁移信息集

In Orchard 1.8 a new data storage technique is introduced saving some of the content in the infoset document of content items instead of records. This way some records are obsolete and can be deleted. The data it contained needs to be migrated though.

在Orchard 1.8中,引入了一种新的数据存储技术,在内容项的信息集文档中保存了一些内容而不是记录。这样一些记录已经过时,可以删除。它包含的数据需要迁移。

  • Click on Upgrade To 1.8 from the menu

  • 单击菜单中的Upgrade To 1.8 *

  • Select the Infoset tab and click on all the Migrate buttons one at a time

  • 选择Infoset选项卡,然后一次单击所有 Migrate 按钮

If you are not sure if one button was clicked you can try again and it will just be ignored if it was already processed.

如果您不确定是否单击了一个按钮,则可以再次尝试,如果已经处理,则会被忽略。

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

  • Claire Botman (planetClaire)

  • Claire Botman([planetClaire](https://www.codeplex.com/site/users/view/planetClaire))

  • Daniel Stolt (Decorum)

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

  • Jeff Bullock (j3ffb)

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

  • Nicholas Mayne (Jetski5822)

  • Nicholas Mayne([Jetski5822](http://www.codeplex.com/site/users/view/Jetski5822))

  • 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))

  • Wojciech Gadziński (Ermesx)

  • WojciechGadziński([Ermesx](https://www.codeplex.com/site/users/view/Ermesx))

  • Zoltán Lehóczky (Piedone)

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