Commit Graph

4030 Commits

Author SHA1 Message Date
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
Andre Rodrigues
7d54cd8c2c Fix UT.
--HG--
branch : dev
2010-12-06 17:07:35 -08:00
Andre Rodrigues
9617f3a666 Removing unecesssary references.
--HG--
branch : dev
2010-12-06 16:25:27 -08:00
Andre Rodrigues
9018bdb02c #16829: Replacing TraceLogger by log4netLogger
--HG--
branch : dev
2010-12-06 16:25:12 -08:00
Louis DeJardin
8bf1511461 Merge
--HG--
branch : dev
2010-12-06 15:52:06 -08:00
Dave Reed
ac9166f037 Added webpages:Enabled appsetting to root config, too.
--HG--
branch : dev
2010-12-06 15:51:06 -08:00
Louis DeJardin
55389323b5 Merge perf -> dev
--HG--
branch : dev
2010-12-06 14:45:03 -08:00
Louis DeJardin
70e438a510 PERF: Cache role and permission
Fixes http://orchard.codeplex.com/workitem/16888

--HG--
branch : perf
2010-12-06 14:36:38 -08:00
Renaud Paquay
0092755471 Merge
--HG--
branch : dev
2010-12-06 14:13:41 -08:00
Dave Reed
4741f33e28 #16911: Prevent YSOD when a gallery feed doesn't respond or responds unexpectedly.
--HG--
branch : dev
2010-12-06 13:37:11 -08:00
Nathan Heskew
948f0a26d0 Fixing the massively tall TinyMCE editor window in Chrome when the editor has some content on load.
--HG--
branch : dev
2010-12-06 12:49:57 -08:00
Dave Reed
374020b3ed #16944: Fix null reference error when localizing a content item and not picking a culture.
--HG--
branch : dev
2010-12-06 12:26:03 -08:00
Andre Rodrigues
2314c8061b Merge
--HG--
branch : dev
2010-12-06 11:43:38 -08:00
Andre Rodrigues
b8c23d0f82 #1694: Moving module / theme install from gallery to packaging services and changing themes / module modules dependencies.
--HG--
branch : dev
2010-12-06 11:43:00 -08:00
Suha Can
f1c169caeb Merge dev -> perf
--HG--
branch : perf
2010-12-06 11:28:48 -08:00
Dave Reed
f5c88ea616 Merge
--HG--
branch : dev
2010-12-06 11:28:26 -08:00
Dave Reed
c5fdb792b6 #16919: Setting customErrors to 'RemoteOnly'
--HG--
branch : dev
2010-12-06 11:27:54 -08:00
Nathan Heskew
8a0f68bdcc Fixing the admin menu to not have the "New" group collapse if there is only one item in there
--HG--
branch : dev
2010-12-06 11:15:43 -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
Suha Can
63cbb03b93 Adding unit tests for the Comments module.
--HG--
branch : dev
2010-12-04 17:33:02 -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
Suha Can
ee9801c55e Merge 2010-12-04 15:03:06 -08:00
Kevin LaBranche
9d46edf6c6 Forgot to include the deleted items.... 2010-12-04 15:56:12 -07:00
Kevin LaBranche
f9d482b6c8 Work Item 16929 - Remove dll & css libs not in use anymore. Included the removal of HibernatingRhinos.Profiler.Appender. 2010-12-04 15:53:59 -07:00
Suha Can
848fa508bd Removing files related to unused classes (addition to previous contribution) 2010-12-04 14:43:24 -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
Kevin LaBranche
10e27ac0a6 Work Item 16934 - Remove KeyedListModelBinder dead code 2010-12-04 14:57:00 -07: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