Skip to content

Orchard 1.9

建立:1.9

Published: 05/05/2015

发布时间:05/05/2015

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

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

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

Orchard.Sources.1.9.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.9. The code is in a stable state and constitutes

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

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

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

  • Migration to Microsoft .NET 4.5.1

  • 迁移到Microsoft .NET 4.5.1 *

  • Audit Trail module

  • Audit Trail模块 *

  • Daniel Stolt (DanielStolt) and Sipke Schoorstra (sfmskywalker) own this contribution

  • Daniel Stolt([DanielStolt](https://github.com/DanielStolt))和Sipke Schoorstra([sfmskywalker](https://www.codeplex.com/site/users/view/sfmskywalker))拥有此贡献 *

  • Draftable widgets

  • 可折叠的小部件 *

  • Indexable drafts

  • 可索引的草稿 *

  • Date localization and calendar support improvements and fixes

  • 日期本地化和日历支持改进和修复 *

  • Daniel Stolt (DanielStolt) owns this contribution

  • Daniel Stolt([DanielStolt](https://github.com/DanielStolt))拥有这一贡献 *

  • More information here: https://orchard.codeplex.com/discussions/560347

  • 更多信息请访问:https://orchard.codeplex.com/discussions/560347 *

  • Dynamic Layout module

  • 动态布局模块 *

  • Sipke Schoorstra (sfmskywalker) and Daniel Stolt (DanielStolt) own this contribution

  • Sipke Schoorstra([sfmskywalker](https://www.codeplex.com/site/users/view/sfmskywalker))和Daniel Stolt([DanielStolt](https://github.com/DanielStolt))拥有此贡献 *

  • Dynamic Forms module

  • 动态表单模块 *

  • Sipke Schoorstra (sfmskywalker) owns this contribution

  • Sipke Schoorstra([sfmskywalker](https://www.codeplex.com/site/users/view/sfmskywalker))拥有此贡献 *

  • Output cache improvements

  • 输出缓存改进 *

  • Daniel Stolt (DanielStolt) owns this contribution

  • Daniel Stolt([DanielStolt](https://github.com/DanielStolt))拥有这一贡献 *

  • More information here: http://www.ideliverable.com/blog/output-cache-improvements-in-orchard-1-9

  • 更多信息请访问:http://www.ideliverable.com/blog/output-cache-improvements-in-orchard-1-9 *

  • Integrate OWIN middlewares support

  • 集成OWIN中间件支持 *

  • Nick (Jetski5822) is responsible for this feature

  • 尼克([Jetski5822](https://www.codeplex.com/site/users/view/Jetski5822))负责此功能 *

  • Upgrading to ASP.NET MVC 5.2

  • 升级到ASP.NET MVC 5.2 *

  • Upgrading to .NET Framework 4.5.1

  • 升级到.NET Framework 4.5.1 *

  • Upgrading to Microsoft Azure SDK 2.5

  • 升级到Microsoft Azure SDK 2.5 *

  • Adding Azure Redis Cache support

  • 添加Azure Redis缓存支持 *

  • Add business cache implementation

  • 添加业务缓存实施 *

  • Upgrading to TinyMCe 4

  • 升级到TinyMCe 4 *

  • Localization improvements

  • 本地化改进 *

  • Nick (Jetski5822) is responsible for this feature

  • 尼克([Jetski5822](https://www.codeplex.com/site/users/view/Jetski5822))负责此功能 *

  • RTL support in Admin

  • Admin中的RTL支持 *

  • Culture selector (admin and front end)

  • 文化选择器(管理员和前端) *

  • Message Bus

  • 消息总线 *

  • Search widgets

  • 搜索小部件 *

  • PBKDF2 is now the default password hashing algorithm

  • PBKDF2现在是默认密码哈希算法 *

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

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

  • Bugs fixed in 1.9.

  • [错误修复于1.9](https://github.com/OrchardCMS/Orchard/issues?q=is%3Aissue+milestone%3A%22Orchard+1.9%22+is%3Aclosed)。 *

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.8.2 and earlier

从Orchard 1.8.2及更早版本升级

Please follow the upgrade instruction from this document: http://docs.orchardproject.net/en/latest/Documentation/Orchard-1-8-2.release-notes/

请按照本文档中的升级说明进行操作:http://docs.orchardproject.net/en/latest/Documentation/Orchard-1-8-2.release-notes/

Upgrading modules

升级模块

Orchard 1.9 bumps up the .NET Framework version it depends on from 4.5 to 4.5.1. You may need to perform the same upgrade in your module's project properties before it successfully compiles.

Orchard 1.9破坏了.NET Framework版本,它依赖于4.5到4.5.1。在成功编译之前,您可能需要在模块的项目属性中执行相同的升级。

As part of upgrading to Azure SDK 2.5 most of the Azure-related binaries have been updated. Some of these may contain some breaking changes, so if you use them, you should test your sites/modules for compatibility.

作为升级到Azure SDK 2.5的一部分,大多数与Azure相关的二进制文件都已更新。其中一些可能包含一些重大更改,因此如果您使用它们,您应该测试您的站点/模块的兼容性。

Note on the change of the default password hash algorithm

关于更改默认密码哈希算法的注意事项

As per the work item #21036 the hash algorithm used by default to hash user passwords for storage was changed from SHA1 to PBKDF2 (more precisely the System.Web.Helpers.Crypto.HashPassword() implementation).

根据[工作项目#21036](https://orchard.codeplex.com/workitem/21036),默认情况下用于存储用户密码的哈希算法从SHA1更改为PBKDF2(更确切地说是System.Web .Helpers.Crypto.HashPassword()实现)。

By default all existing user passwords will be migrated to the new hash when the user successfully logs in next time. If you want to prevent this migration and force every existing password hashes to stay SHA1 then add an appSettings or connectionString configuration to the Web.config (or equivalent) with the name "Orchard.Users.KeepOldPasswordHash" and value "true".

默认情况下,当用户下次成功登录时,所有现有用户密码都将迁移到新哈希。如果要阻止此迁移并强制每个现有密码哈希保持SHA1,则将appSettings或connectionString配置添加到名称为“”Orchard.Users.KeepOldPasswordHash“和值”“true”的Web.config(或等效项)中

Note on improved handling of setup recipes

关于改进设置配方处理的注意事项

Setup recipes are now automatically harvested from all modules for the setup screen. This means that you don't have to add your setup recipes to the Orchard.Setup module any more, you can keep them in your own modules.

现在,[自动收集]设置配方(https://orchard.codeplex.com/workitem/20942)来自设置屏幕的所有模块。这意味着您不必再将设置配方添加到Orchard.Setup模块,您可以将它们保存在您自己的模块中。

Keep in mind however that recipes intended for setup now should possess the IsSetupRecipe metadata (see the recipes in Orchard.Setup), otherwise they won't show up on the setup screen.

但请记住,现在用于安装的配方应具有IsSetupRecipe元数据(请参阅Orchard.Setup中的配方),否则它们将不会显示在设置屏幕上。

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:

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

  • Abhishek Luv (abhishekluv)

  • Abhishek Luv([abhishekluv](http://www.codeplex.com/site/users/view/abhishekluv))

  • Arjan Noordende (anoordende)

  • Arjan Noordende([anoordende](http://www.codeplex.com/site/users/view/anoordende))

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

  • Benjamin Grabkowitz (bgrabkowitz)

  • Benjamin Grabkowitz([bgrabkowitz](https://www.codeplex.com/site/users/view/bgrabkowitz))

  • Bertrand Le Roy (bertrandleroy)

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

  • Bill Cooper (bill_cooper)

  • Bill Cooper([bill_cooper](http://www.codeplex.com/site/users/view/bill_cooper))

  • Brett Morrison (morrisonbrett)

  • Brett Morrison([morrisonbrett](https://www.codeplex.com/site/users/view/morrisonbrett))

  • Bryan Porter (brporter)

  • Bryan Porter([brporter](https://www.codeplex.com/site/users/view/brporter))

  • Christian Surieux (csadnt)

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

  • Claire Botman (planetClaire)

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

  • Dain Kaplan

  • Dain Kaplan

  • Daniel Dabrowski (rodpl)

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

  • Daniel Stolt (Decorum)

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

  • Denis Besic (besicdenis)

  • Denis Besic([besicdenis](https://www.codeplex.com/site/users/view/besicdenis))

  • Eric Perez (codereached)

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

  • Gilian Keulens (Walance)

  • Gilian Keulens([Walance](http://www.codeplex.com/site/users/view/Walance))

  • Jack Cheng (jchenga)

  • Jack Cheng([jchenga](https://www.codeplex.com/site/users/view/jchenga))

  • Jay Harris (jayharris)

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

  • Jason Burgard (jburgard)

  • Jason Burgard([jburgard](https://www.codeplex.com/site/users/view/jburgard))

  • Jasper Dunker (jasperd)

  • Jasper Dunker([jasperd](http://www.codeplex.com/site/users/view/jasperd))

  • Jorge Castillo Pino (jcastillopino)

  • Jorge Castillo Pino([jcastillopino](http://www.codeplex.com/site/users/view/jcastillopino))

  • Jean-Thierry Kéchichian (jtkech)

  • Jean-ThierryKéchichian([jtkech](https://www.codeplex.com/site/users/view/jtkech))

  • Jeff Bullock (j3ffb)

  • 杰夫布洛克([j3ffb](https://www.codeplex.com/site/users/view/j3ffb))

  • Josh Berry (joshby)

  • Josh Berry([joshby](https://www.codeplex.com/site/users/view/joshby))

  • Katsuyuki Ohmuro (kohmuro)

  • Katsuyuki Ohmuro([kohmuro](https://www.codeplex.com/site/users/view/kohmuro))

  • Kegan Maher (thekaveman)

  • Kegan Maher([thekaveman](https://www.codeplex.com/site/users/view/thekaveman))

  • Mark Loveland-Armour (forsvarir)

  • Mark Loveland-Armor([forsvarir](https://www.codeplex.com/site/users/view/forsvarir))

  • Matt Varblow (mvarblow)

  • Matt Varblow([mvarblow](https://www.codeplex.com/site/users/view/mvarblow))

  • Michael Yates (mjy78)

  • Michael Yates([mjy78](http://www.codeplex.com/site/users/view/mjy78))

  • Nicholas Mayne (Jetski5822)

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

  • Paul Devenney

  • 保罗·德文尼

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

  • Sotirios Roussos (urbanit

  • Sotirios Roussos([urbanit](http://www.codeplex.com/site/users/view/urbanit)

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

  • Thierry Fleury (Codinlab)

  • Thierry Fleury([Codinlab](https://www.codeplex.com/site/users/view/Codinlab))

  • Wojciech Gadzinski (Ermesx)

  • Wojciech Gadzinski([Ermesx](https://www.codeplex.com/site/users/view/Ermesx))

  • (Xeevis)

  • ([Xeevis](https://www.codeplex.com/site/users/view/Xeevis))

  • Zoltán Lehóczky (Piedone)

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

  • Baruch Nissenbaum (qt1)

  • Baruch Nissenbaum([qt1](http://www.codeplex.com/site/users/view/qt1))