Commit Graph
100 Commits
Author SHA1 Message Date
Renaud Paquay 7c3b71d5e2 Added a "Disabled" option for all extension loaders
--HG--
branch : dev
2010-12-12 23:25:37 -08:00
Renaud Paquay b2d0f1d623 Add ability to configure orchard components via config file
A special file "HostSingletons.config" is read at startup to
look for properties to set on host components.

--HG--
branch : dev
2010-12-12 22:40:39 -08:00
Renaud Paquay 01fdf07b95 Fix SpecFlow tests
--HG--
branch : dev
2010-12-11 14:39:37 -08:00
Renaud Paquay 94192a667b Fix merge errors
--HG--
branch : dev
2010-12-11 14:21:49 -08:00
Renaud Paquay f69c47b544 Merge default => dev
--HG--
branch : dev
2010-12-11 14:19:15 -08:00
Renaud Paquay 43082540bb Fix unit test
--HG--
branch : dev
2010-12-10 23:49:27 -08:00
Renaud Paquay 7bb485ed4e Making specflow tests faster
When setting up specflow tests, we ended up copying the full content
of the "bin" folder of every module. These folder contain not only
the module assembly, but also many other assemblies used by the
Orchard framework (the framework itself, and all dependencies).

We know skip these files, which dramatically decreases the amount of
file I/O needed to start these tests.

Also adding logging to trace what's going on during initialization.

--HG--
branch : dev
2010-12-10 23:45:55 -08:00
Renaud Paquay 9e0387c76a Remove all traces of "default.aspx"
--HG--
branch : dev
2010-12-10 21:42:57 -08:00
Renaud Paquay 3bbdac0eb6 Remove default.aspx from Orchard.web
It hasn't been needed since MVC2, and it now broken with MVC3.

--HG--
branch : dev
extra : transplant_source : N%CA%B4%F6%13%9C%BE%2AL%14z_%13%A9%90cF%00%DCn
2010-12-10 21:09:53 -08:00
Renaud Paquay b6205e2295 Merge
--HG--
branch : dev
2010-12-10 13:08:42 -08:00
Renaud Paquay 04f733c34b Remove fallback for field specialization
Fallback logic is implied by ordering in placement.info

--HG--
branch : dev
2010-12-10 13:02:54 -08:00
Renaud Paquay e9380fb02f Merge
--HG--
branch : dev
2010-12-10 12:03:27 -08:00
Renaud Paquay 9337e12134 Adding differentiator fallback for field locations override
Work Item: 16915

--HG--
branch : dev
2010-12-10 11:59:20 -08:00
Renaud Paquay 8e7adc6ee2 Remove unused legacy code
--HG--
branch : dev
2010-12-09 18:01:36 -08:00
Renaud Paquay cd68f2430c Merge
--HG--
branch : dev
2010-12-09 13:07:57 -08:00
Renaud Paquay b91101d2ec Add check for extension with the same ID
This can happen as we collect extensions from different
source locations.

Work Item: 16632

--HG--
branch : dev
2010-12-09 13:07:26 -08:00
Renaud Paquay 1ce6ab190e Merge
--HG--
branch : dev
2010-12-09 12:15:00 -08:00
Renaud Paquay 93914fc296 Rename method
--HG--
branch : dev
2010-12-09 09:56:57 -08:00
Renaud Paquay 1cc0c528f8 Merge
--HG--
branch : dev
2010-12-08 21:39:58 -08:00
Renaud Paquay 932f7fd792 Fix unit tests
--HG--
branch : dev
2010-12-08 21:39:17 -08:00
Renaud Paquay 4df23c2221 Tweak assembly loading policy one more
We have this in Orchard.Setup.csproj:
    <Reference Include="Autofac, Version=2.1.13.813, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\lib\autofac\Autofac.dll</HintPath>
    </Reference>

However, version of autoface we are using is not 2.1.13.813.

This means that, even if the full assembly name is specified in the csproj file,
we still need to lookup the assembly by short name if we can't find it.

--HG--
branch : dev
2010-12-08 20:07:58 -08:00
Renaud Paquay ee271abff2 Rename method
--HG--
branch : dev
2010-12-08 18:32:59 -08:00
Renaud Paquay 7a4ece294c Merge
--HG--
branch : dev
2010-12-08 18:14:56 -08:00
Renaud Paquay ff6c5f3edc Make the engine view discovery more correct
For themes, the pattern is slighty different than for modules,
Also, we need to interleave the different views engine in between
themes and base themes, so that overrides between Razor and WebForms
work as excpected.

--HG--
branch : dev
2010-12-08 15:40:15 -08:00
Renaud Paquay a81d4c0821 Removing incorrect definition of extension type
There is no such thing as a "Core" extension type.
"Theme" and "Module" are the only valid extension types.

--HG--
branch : dev
2010-12-08 14:44:55 -08:00
Renaud Paquay 9b8a20c222 Merge
--HG--
branch : dev
2010-12-08 14:33:44 -08:00
Renaud Paquay ab3d0a2636 Fix computed set of views paths to allow themes in the admin
When looking for ViewPath to activate, the order should be:
1. Current active theme
2. Base themes of the current theme (in "base" order). Note that "base themes"
   for "TheAdmin" theme means all enabled themes
3. Modules which have at least one active feature, in feature dependency order

Work Item: 16654

--HG--
branch : dev
2010-12-08 14:27:50 -08:00
Renaud Paquay e41e43bda4 Simplifying code, and making more efficient too
--HG--
branch : dev
2010-12-07 20:35:58 -08:00
Renaud Paquay 259b465fd3 Skip SqlServer related unit tests if SqlServer is not installed
--HG--
branch : dev
extra : transplant_source : g%B6%FFf%9DD%B0UD%97%E8%2B%94%2B%3A%CF%A8B%17%A0
2010-12-07 13:11:44 -08:00
Renaud Paquay a2d456e6f8 Adding GAC lookup policy for assembly name resolution
For dynamic compilation, there is a limited set of thing Orchard can
do to load assemblies referenced in .csproj files. With this checkin,
there are now 4 policies for resolving short assembly names to full
assembly names:
1. Try to load the assembly with its short name
2. Try to find the assembly in the list of assemblies in the AppDomain
3. Try to find the assembly in the list of assemblies referenced
   by Orchard.Framework
4. Try to find the assembly in the list of assemblies commonly
   installed in the GAC with .NET 4.0.

Work Items: 16940, 16946

--HG--
branch : dev
2010-12-06 23:01:31 -08:00
Renaud Paquay cb8b5f3812 Delete 'Trust Level="Medium"' element for package
--HG--
branch : dev
2010-12-06 22:03:10 -08:00
Renaud Paquay ce4c6d6ca5 Merge
--HG--
branch : dev
2010-12-06 20:58:43 -08:00
Renaud Paquay 57ff31e8e5 Revising how Orchard restarts the AppDomain
Orchard used to write to the "~/web.config" file to force an AppDomain
restart needed in some case of dynamic compilation.

Revised the policy to be like this:
1. If full trust, use HttpRuntime.UnloadAppDomain()
2. If Medium Trust, write to "~/bin/HostRestart/marker.txt"
3. If Medium Trust and 2. failed, write to "~/web.config"
4. If Medium Trust and 2.+3. failed, give an error message to
   the user with appropriate measures to take on the web server.

Also removed a now unused "ResetSiteCompilation" method

--HG--
branch : dev
2010-12-06 20:52:33 -08:00
Renaud Paquay 5f10d84ac2 Update call to logger to pass exception
--HG--
branch : dev
2010-12-06 20:21:12 -08:00
Renaud Paquay 3b01899bb1 Ensure file dependencies are inserted for "~/Themes" csproj files too
--HG--
branch : dev
2010-12-06 19:11:07 -08:00
Renaud Paquay f2ce631377 Ensure Microsoft.Web.Infrastructure is copied to ~/bin
--HG--
branch : dev
2010-12-06 17:51:03 -08:00
Renaud Paquay 0092755471 Merge
--HG--
branch : dev
2010-12-06 14:13:41 -08:00
Renaud Paquay 687fe45672 Fix dynamic compilation issue
Don't try to load references that have been already loaded by
extension loaders. This bug was affecting compiling of modules
depending on other modules (e.g. Orchard.Widgets depends on
Orchard.Scripting). If Orchard.Scripting has been loaded by the
dynamic compilation loader, don't try to load the "Orchard.Scripting"
assembly.

--HG--
branch : dev
2010-12-06 10:28:37 -08:00
Renaud Paquay 947fb55d7d Fix regression in monitoring file changes
We were only monitoring existing directories only (not files).
Since asp.net supports monitoring missing files, but not missing
directories, we have to catch the HttpException and fallback
adequatly.

--HG--
branch : dev
2010-12-05 14:41:41 -08:00
Renaud Paquay 91c5e6dae8 Remove unnecessary reference
--HG--
branch : dev
2010-12-05 14:29:25 -08:00
Renaud Paquay 29a1b5cce1 Removing extra spaces
--HG--
branch : dev
2010-12-05 11:29:04 -08:00
Renaud Paquay 9cb05a9a31 Update ASP.NET compilation options
Ensure batch compilation is on and that the number of recompilation
before appdomain restart is greater than the default (15), because
Orchard being a composable application where new modules can be installed
at any time, views can be re-compiled more often than for a typical
application.

--HG--
branch : dev
2010-12-05 11:28:48 -08:00
Renaud Paquay 8a9b41a3be Fix command
--HG--
branch : dev
2010-12-04 23:03:49 -08:00
Renaud Paquay 27f046ca60 Delete ASP.NET folder created by spec flow tests
--HG--
branch : dev
2010-12-04 23:02:12 -08:00
Renaud Paquay 26888dd360 Re-enable ignored specflow tests
--HG--
branch : dev
2010-12-04 22:04:50 -08:00
Renaud Paquay cda72759a1 Fix incorrect command
--HG--
branch : dev
2010-12-04 22:04:38 -08:00
Renaud Paquay f23f9806f7 Merge
--HG--
branch : dev
2010-12-04 18:55:18 -08:00
Renaud Paquay 9ba2e35a6a Update web.config file for SpecFlow tests
* Remove un-used machine key
* Increase "numRecompilesBeforeAppRestart" default value (15) to (1000) so
  that the AppDomain used for hosting the ASP.NET domain doesn't get unloaded
  during the test.

--HG--
branch : dev
2010-12-04 18:51:19 -08:00
Renaud Paquay f794b3f955 Split feature lifetime events to "xx'ing" and "xx'ed"
--HG--
branch : dev
2010-12-04 15:31:24 -08:00
Renaud Paquay b12a25e169 Fix unit tests
--HG--
branch : dev
2010-12-04 15:29:35 -08:00
Renaud Paquay 299d49b41a Re-organizing targets
Build => CI build
FullBuild => Daily build (Build + SpecFlow + Gallery Packages)

--HG--
branch : dev
2010-12-04 15:29:23 -08:00
Renaud Paquay 5ab00ebabe Process all pending tasks at the end of the request
Instead of processing tasks asynchronously at the end of a request,
we process them synchronously, so that the behavior is more
deterministic.

--HG--
branch : dev
2010-12-04 14:11:18 -08:00
Renaud Paquay 3a4a4b7837 Make all event notifications fail fast
--HG--
branch : dev
2010-12-04 14:09:29 -08:00
Renaud Paquay a1059de8bb Adding logging in a couple of components
--HG--
branch : dev
2010-12-04 14:09:15 -08:00
Renaud Paquay 74701225aa Add a "NotifyFailFast" method to the event bus
This mode allows exceptions to be bubbled up when then caller cares,
which is the case in the "ProcessingEngine", as the transaction scope
may become invalid if a nhibernate exception is not bubbled up.

--HG--
branch : dev
2010-12-04 13:31:29 -08:00
Renaud Paquay 32adc23ee1 Fix concurrency issue with "T" injection
--HG--
branch : dev
2010-12-04 13:29:31 -08:00
Renaud Paquay 87186191ae Flatten "Comments" views
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.Comments.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts.Comments.Comments.cshtml
rename : src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.SiteSettings.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts.Comments.SiteSettings.cshtml
rename : src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Count.SummaryAdmin.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comments.Count.SummaryAdmin.cshtml
rename : src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Count.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comments.Count.cshtml
rename : src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comments.cshtml
2010-12-03 23:49:08 -08:00
Renaud Paquay a56b80322a Flatten "Blogs" views
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Items/Content-Blog.DetailAdmin.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Content-Blog.DetailAdmin.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Items/Content-Blog.Edit.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Content-Blog.Edit.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Items/Content-Blog.SummaryAdmin.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Content-Blog.SummaryAdmin.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.Blog.Fields.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts.Blogs.Blog.Fields.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.BlogArchives.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts.Blogs.BlogArchives.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.RecentBlogPosts.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts.Blogs.RecentBlogPosts.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.Blog.BlogPostCount.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.Blog.BlogPostCount.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.Blog.Description.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.Blog.Description.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.Blog.Manage.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.Blog.Manage.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.BlogArchives.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.BlogArchives.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.BlogPost.List.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.BlogPost.List.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.BlogPost.ListAdmin.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.BlogPost.ListAdmin.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.RecentBlogPosts.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.RecentBlogPosts.cshtml
rename : src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts/Blogs.RemotePublishing.cshtml => src/Orchard.Web/Modules/Orchard.Blogs/Views/Parts.Blogs.RemotePublishing.cshtml
2010-12-03 23:29:23 -08:00
Renaud Paquay b1f9a33ed7 Flatten "Widgets" views
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Widgets/Views/Items/Content-WidgetPage.cshtml => src/Orchard.Web/Modules/Orchard.Widgets/Views/Content-WidgetPage.cshtml
rename : src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.LayerPart.cshtml => src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts.Widgets.LayerPart.cshtml
rename : src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.WidgetPart.cshtml => src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts.Widgets.WidgetPart.cshtml
rename : src/Orchard.Web/Modules/Orchard.Widgets/Views/Items/Widget.Edit.cshtml => src/Orchard.Web/Modules/Orchard.Widgets/Views/Widget.Edit.cshtml
rename : src/Orchard.Web/Modules/Orchard.Widgets/Views/Items/Widget.cshtml => src/Orchard.Web/Modules/Orchard.Widgets/Views/Widget.cshtml
2010-12-03 22:57:42 -08:00
Renaud Paquay b09f5e5a80 Fixing unit test
--HG--
branch : dev
2010-12-03 19:07:59 -08:00
Renaud Paquay 8f56b05541 Merge
--HG--
branch : dev
2010-12-03 18:59:37 -08:00
Renaud Paquay 5cad080d8b Fix a few views with compilation errors
--HG--
branch : dev
2010-12-03 18:56:01 -08:00
Renaud Paquay a0e8404fe4 Flatten "Settings" and "Navigation"
--HG--
branch : dev
rename : src/Orchard.Web/Core/Navigation/Views/EditorTemplates/Parts/Navigation.Menu.Edit.cshtml => src/Orchard.Web/Core/Navigation/Views/EditorTemplates/Parts.Navigation.Menu.Edit.cshtml
rename : src/Orchard.Web/Core/Settings/Views/EditorTemplates/Parts/Settings.SiteSettingsPart.cshtml => src/Orchard.Web/Core/Settings/Views/EditorTemplates/Parts.Settings.SiteSettingsPart.cshtml
2010-12-03 17:52:01 -08:00
Renaud Paquay 1087a05494 Flatten "Core/Containers/Views" folder
--HG--
branch : dev
rename : src/Orchard.Web/Core/Containers/Views/Parts/Container.Contained.SummaryAdmin.cshtml => src/Orchard.Web/Core/Containers/Views/Parts.Container.Contained.SummaryAdmin.cshtml
rename : src/Orchard.Web/Core/Containers/Views/Parts/ContainerWidget.cshtml => src/Orchard.Web/Core/Containers/Views/Parts.ContainerWidget.cshtml
2010-12-03 17:02:51 -08:00
Renaud Paquay e348e5a2d3 Flatten "Core/Contents/Views" folder
--HG--
branch : dev
rename : src/Orchard.Web/Core/Contents/Views/Items/Content.Edit.cshtml => src/Orchard.Web/Core/Contents/Views/Content.Edit.cshtml
rename : src/Orchard.Web/Core/Contents/Views/Items/Content.Summary.cshtml => src/Orchard.Web/Core/Contents/Views/Content.Summary.cshtml
rename : src/Orchard.Web/Core/Contents/Views/Items/Content.SummaryAdmin.cshtml => src/Orchard.Web/Core/Contents/Views/Content.SummaryAdmin.cshtml
rename : src/Orchard.Web/Core/Contents/Views/Items/Content.cshtml => src/Orchard.Web/Core/Contents/Views/Content.cshtml
rename : src/Orchard.Web/Core/Contents/Views/Parts/Contents.Publish.SummaryAdmin.cshtml => src/Orchard.Web/Core/Contents/Views/Parts.Contents.Publish.SummaryAdmin.cshtml
rename : src/Orchard.Web/Core/Contents/Views/Parts/Contents.Publish.cshtml => src/Orchard.Web/Core/Contents/Views/Parts.Contents.Publish.cshtml
2010-12-03 17:00:21 -08:00
Renaud Paquay c4fb128c72 Fix intermitent bug with injecting ILogger
--HG--
branch : dev
2010-12-03 16:42:13 -08:00
Renaud Paquay ee31489a17 Fix Routable views ("Item" is a controller name)
--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Views/Item.Display.cshtml => src/Orchard.Web/Core/Routable/Views/Item/Display.cshtml
2010-12-03 14:34:45 -08:00
Renaud Paquay ee4b77790d Merge
--HG--
branch : dev
2010-12-03 14:14:02 -08:00
Renaud Paquay 58f54e24a5 Flatten "Core/Route/Views" folder
--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml => src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts.Routable.RoutePart.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Item/Display.cshtml => src/Orchard.Web/Core/Routable/Views/Item.Display.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle.cshtml => src/Orchard.Web/Core/Routable/Views/Parts.RoutableTitle.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle_Summary.cshtml => src/Orchard.Web/Core/Routable/Views/Parts.RoutableTitle_Summary.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle_SummaryAdmin.cshtml => src/Orchard.Web/Core/Routable/Views/Parts.RoutableTitle_SummaryAdmin.cshtml
2010-12-03 14:12:38 -08:00
Renaud Paquay d30cd7aa8c Add more unit tests for shape template harvester
--HG--
branch : dev
2010-12-03 14:03:28 -08:00
Renaud Paquay 799471b902 Flatten "Core/Common/Views" folder
--HG--
branch : dev
2010-12-03 14:02:56 -08:00
Renaud Paquay f486b7afa3 Flatten "Core/Common/Views" folder
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Views/EditorTemplates/Fields/Common.Text.Edit.cshtml => src/Orchard.Web/Core/Common/Views/EditorTemplates/Fields.Common.Text.Edit.cshtml
rename : src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Body.cshtml => src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts.Common.Body.cshtml
rename : src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Container.cshtml => src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts.Common.Container.cshtml
rename : src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Owner.cshtml => src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts.Common.Owner.cshtml
rename : src/Orchard.Web/Core/Common/Views/Fields/Common.Text.cshtml => src/Orchard.Web/Core/Common/Views/Fields.Common.Text.cshtml
rename : src/Orchard.Web/Core/Common/Views/Parts/Common.Body.Summary.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Body.Summary.cshtml
rename : src/Orchard.Web/Core/Common/Views/Parts/Common.Body.SummaryAdmin.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Body.SummaryAdmin.cshtml
rename : src/Orchard.Web/Core/Common/Views/Parts/Common.Body.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Body.cshtml
rename : src/Orchard.Web/Core/Common/Views/Parts/Common.Metadata.Summary.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Metadata.Summary.cshtml
rename : src/Orchard.Web/Core/Common/Views/Parts/Common.Metadata.SummaryAdmin.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Metadata.SummaryAdmin.cshtml
rename : src/Orchard.Web/Core/Common/Views/Parts/Common.Metadata.Summary.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Metadata.cshtml
2010-12-03 14:02:10 -08:00
Renaud Paquay 65c0def67e Log total time and total number of directories processed
--HG--
branch : dev
2010-12-03 12:12:04 -08:00
Renaud Paquay 40924a0f73 Merge Perf => Dev
--HG--
branch : dev
2010-12-02 22:56:46 -08:00
Renaud Paquay 37c133af48 Remove use of "async" (future C# keyword)
Work Item: 16709

--HG--
branch : dev
2010-12-02 20:32:13 -08:00
Renaud Paquay cc44d1d7dd Add a "OnUnpublish" event to content handlers
Work Item: 16856

--HG--
branch : dev
2010-12-02 20:30:13 -08:00
Renaud Paquay d336bfa6cf Add error message in dynamic compilation if a reference can't be found
Work item: 16920

--HG--
branch : dev
2010-12-02 20:01:38 -08:00
Renaud Paquay eb8624966a Merge
--HG--
branch : dev
2010-12-02 17:18:38 -08:00
Renaud Paquay e88e52b280 Improve response time for first time users
On the first time installation of Orchard, the user gets to the setup screen, which
will take a while to finish (user entering data and the setup process itself).
We use this opportunity to start a background task to "pre-compile" all the known
views in the app folder, so that the application is more reponsive when the user
hits the homepage and admin screens for the first time.

--HG--
branch : dev
2010-12-02 17:13:44 -08:00
Renaud Paquay 907c6481c8 Fix csproj file
--HG--
branch : dev
2010-12-02 00:07:02 -08:00
Renaud Paquay 5dd5f1333c Merge
--HG--
branch : dev
2010-12-01 19:43:01 -08:00
Renaud Paquay 1cd1e8c417 Removed unused methods
--HG--
branch : dev
2010-12-01 19:40:13 -08:00
Renaud Paquay 7281a5d174 Removed unused methods
--HG--
branch : dev
2010-12-01 15:40:02 -08:00
Renaud Paquay 2d032e59d2 Merge
--HG--
branch : dev
2010-11-30 23:21:29 -08:00
Renaud Paquay 7b14eced5b Improve performance of GetFeaturesThatNeedUpdate
This improves (~25%) the response time of _every_ admin page,
as the GetFeaturesThatNeedUpdate method is called once per page
to figure out if an admin notification should be displayed
about features needed to update.

There were 2 issues:
1. Using (and compiling) a regular expression is expensive to match
   a simple "UpdateFrom[n]" pattern.
2. Reading each row of the data migration table is more expensive than
   reading everything in one shot (the number of rows is alway going to be
   small, as there is one row per feature)

--HG--
branch : dev
2010-11-30 23:20:19 -08:00
Renaud Paquay 9d7d2d5b12 Merge perf => dev
--HG--
branch : dev
2010-11-30 13:36:13 -08:00
Renaud Paquay d97b2aacb0 Merge
--HG--
branch : dev
2010-11-30 11:05:31 -08:00
Renaud Paquay 9366f79f5a Fixing error from previous merge
--HG--
branch : dev
2010-11-30 10:30:36 -08:00
Renaud Paquay 24ef2adb9e Merge perf => dev
--HG--
branch : dev
2010-11-29 16:44:10 -08:00
Renaud Paquay 4101cfef7e Merge
--HG--
branch : dev
2010-11-29 10:29:30 -08:00
Renaud Paquay 5b01b31079 Fix SpecFlow tests
--HG--
branch : dev
2010-11-29 10:29:06 -08:00
Renaud Paquay a206e1e119 Merge
--HG--
branch : dev
2010-11-28 18:53:03 -08:00
Renaud Paquay 2afa0fff41 Implement support for "null" (and "nil") literals
--HG--
branch : dev
2010-11-28 18:48:24 -08:00
Renaud Paquay 32730f0309 Implement evaluation of operators: <, <=, >, >=, ==, != and !
--HG--
branch : dev
2010-11-28 18:40:54 -08:00
Renaud Paquay ea049d28d0 Implement parsing of relational operators
--HG--
branch : dev
2010-11-28 16:59:45 -08:00
Renaud Paquay ffe6c88038 Implement tokenization of relational operators
--HG--
branch : dev
2010-11-28 16:18:00 -08:00
Renaud Paquay 2d5b2bb20c Fix unit tests
--HG--
branch : dev
2010-11-28 15:53:31 -08:00
Renaud Paquay bc96901a93 Merge
--HG--
branch : dev
2010-11-28 15:15:36 -08:00
Renaud Paquay b97d9bd227 Replace enumerators
--HG--
branch : dev
2010-11-28 15:13:53 -08:00
Renaud Paquay a59d1fa97e Fix bug with ignoring whitespaces at end of expression
--HG--
branch : dev
2010-11-28 13:28:03 -08:00