Commit Graph

5319 Commits

Author SHA1 Message Date
Renaud Paquay
2922ede0d5 Refactor WarmupHttpModule use of AsyncResult
If processing the request immediately, use a dedicated
"DoneAsyncResult" class to avoid waiting on a handle.

Also make sure that we return false from "CompletedSynchronously" only
when in "Warmup" mode.

--HG--
branch : 1.x
2011-05-27 10:50:58 -07:00
Sebastien Ros
e3a3753d53 #17841: Fixing page sie selector in admin
The <select /> element might not be in a <form />

Work Items: 17841

--HG--
branch : 1.x
2011-05-23 13:25:56 -07:00
Sebastien Ros
de6fc72d8e Merge
--HG--
branch : 1.x
2011-05-23 10:34:28 -07:00
Andre Rodrigues
984c11a80f #17825: Showing created instead of published datetime.
--HG--
branch : 1.x
2011-05-20 16:10:34 -07:00
Nathan Heskew
0fba396da1 Merge
--HG--
branch : 1.x
2011-05-19 09:52:15 -07:00
Andre Rodrigues
a6bee4cdab Addinf fluentnhibernate patches.
--HG--
branch : 1.x
2011-05-18 14:47:33 -07:00
Nathan Heskew
07a69a6bdf Adding a "Delete" button on the blog edit page. Keeping consistent with what we're doing with widgets.
work item: 17769

--HG--
branch : 1.x
2011-05-18 14:00:43 -07:00
Andre Rodrigues
6a88f44e73 #17830: Registering ServiceRoutes after MVCRoutes. Using existing WorkContext in OrchardFactory in case of aspnetcompatibilitymode.
--HG--
branch : 1.x
2011-05-18 13:25:57 -07:00
Dave Reed
eed3340e89 MediaPicker: refactor
--HG--
branch : 1.x
2011-05-18 10:51:52 -07:00
Renaud Paquay
8fc1b4d707 Refactoring: moving code out of WarmupHttpModule class
--HG--
branch : 1.x
extra : transplant_source : %86%0A%26%0DP%29e%99%0E%87%5D%F5%7E%F5X%C0i%9E%2C%01
2011-05-17 13:04:51 -07:00
Renaud Paquay
b01a0898a9 Refactor Orchard.WarmupStarter assembly
* Remove dependency on Orchard.Framework assembly
* Fix issue where a host initialization failure would result in
  '404' errors. We need to restart the host initialization and
  make sure new incoming requests are queued.
* Fix concurrency issue when multiple requests are pending for the
  host initialization to finish (only one request would notify
  of a potentially error, the other ones would return a '404').

--HG--
branch : 1.x
extra : transplant_source : %3Dz%E4%ADEq%91%9D%17%D2%10jut%A6%93%09t%7CR
2011-05-17 13:01:39 -07:00
Renaud Paquay
c51f4ce2de PERF: Adding more logging calls related to performance tracking
Also added a few "Disabled" checks in extension loaders to avoid
extra-work when they are disabled.

--HG--
branch : 1.x
2011-05-27 10:45:28 -07:00
Renaud Paquay
852d21fee9 Fix incorrect condition
--HG--
branch : 1.x
2011-05-26 20:41:02 -07:00
Renaud Paquay
7084ecbbbc #17804: Ensure views are recompiled more aggressively
When a module changes, it's loader can change, which means the list
of dependencies can change to. Instead of trying to track the list
of dependencies, we now simply add a dependency on a file on disk
which describe the module compilation state.

As an aside, this also improves startup performance when
there were no changes to a site, since asp.net now only has
to check a single file instead of the list of dependencies.

--HG--
branch : 1.x
2011-05-26 18:11:51 -07:00
Renaud Paquay
1a30d2492f Refactor interaction between Dynamic loader and Dynamic VPP
--HG--
branch : 1.x
2011-05-26 16:40:05 -07:00
Renaud Paquay
6889ba4328 Perf: Include references from module project files only
In particular, files from ~/Core should not be included in
the list of dependencies, are Orchard.Core.dll is assumed to be
in "~/bin", so any change to it will force a whole site recompilation
anyways.

--HG--
branch : 1.x
2011-05-26 16:28:28 -07:00
Renaud Paquay
7a4e86e6a5 Virtual paths are case insensitive.
--HG--
branch : 1.x
2011-05-26 11:06:20 -07:00
Renaud Paquay
6c732af595 Implement dependency files storing state of modules compilation
The file is similar to "dependencies.xml", except it contains file
hash of all virtual path stored in the file. This is to ensure that
the file content is updated when any file hash changes.

This will be used in an upcoming bug fix.

--HG--
branch : 1.x
2011-05-26 11:05:50 -07:00
Renaud Paquay
b20b68c9fd Expose GetFileHash method on IVirtualPathProvider
--HG--
branch : 1.x
2011-05-25 21:35:37 -07:00
Renaud Paquay
314c9cb9a6 Refactoring a couple of method related to dynamic compilation
Abstract away WebForms syntax knowledge from extension loader
implementations.

Rename the corresponding methods to be more semantically correct.

--HG--
branch : 1.x
2011-05-25 20:56:02 -07:00
Renaud Paquay
6d0b7e1d61 Removing method from interface
The method really only makes sense for the DynamicExtensionLoader.
It is used only in the DynamicModuleVirtualPathProvider only.

--HG--
branch : 1.x
2011-05-25 19:49:08 -07:00
Renaud Paquay
72e787ed38 Renaming method
--HG--
branch : 1.x
2011-05-25 19:36:19 -07:00
Renaud Paquay
56284c516a Fix typo
--HG--
branch : 1.x
2011-05-25 18:10:51 -07:00
Renaud Paquay
6de0700f3e Merge
--HG--
branch : 1.x
2011-05-25 17:47:02 -07:00
Renaud Paquay
0ac6091b74 17875: Too many InvalidOperationExceptions during startup
Prevent common cases exception by explicitly rejecting invalid
virtual paths.

--HG--
branch : 1.x
2011-05-25 17:36:27 -07:00
Renaud Paquay
eb88b28443 PERF: Decrease # of virtual path dependencies for Razor views
Lots of duplicate virtual paths were added, as they came from
different sources.

--HG--
branch : 1.x
2011-05-25 13:28:47 -07:00
Renaud Paquay
f7e2804363 #17869: Fix medium trust issue
"Assembly.Location" propery is not allowed in medium trust.
Use the virtual path of the assembly file instead.

Work Item: 17869

--HG--
branch : 1.x
2011-05-25 12:05:47 -07:00
Renaud Paquay
27503d8d1b #17850: Include and enable Orchard.Warmup by default
Also update blog and default recipe to set the site base url
during setup using the current request information.

Work Item: 17850

--HG--
branch : 1.x
2011-05-25 11:59:13 -07:00
Renaud Paquay
73c4f84636 #17855: Remove explicit medium trust element from web.config
Work Items: 17855

--HG--
branch : 1.x
2011-05-24 19:52:07 -07:00
Renaud Paquay
846a40a1fe Update version to generic 1.2.0
--HG--
branch : 1.x
2011-05-24 19:49:58 -07:00
Nathan Heskew
4ee831b974 Merge
--HG--
branch : 1.x
2011-05-16 15:56:45 -07:00
Dave Reed
1114c3ebf0 Merge
--HG--
branch : 1.x
2011-05-16 14:25:19 -07:00
Dave Reed
7fd4a55a82 #17808: Getting 404 after editing the home page.
A content item had a RoutePartRecord but its content type did not have the RoutePart anymore. Null ref ensued.

--HG--
branch : 1.x
2011-05-16 14:22:12 -07:00
Suha Can
6313fecf0d #17824
--HG--
branch : 1.x
2011-05-16 13:45:07 -07:00
Dave Reed
b666feda89 #17839: MediaPicker insert button is always disabled
--HG--
branch : 1.x
2011-05-16 10:40:26 -07:00
Dave Reed
8b9d524105 #17838: Remove uses of T() in calls to Logger
--HG--
branch : 1.x
2011-05-16 10:24:40 -07:00
Andre Rodrigues
5d31f5b8d9 #17820: Extension descriptor parser keyword comparisons should be case insensitive.
--HG--
branch : 1.x
2011-05-14 17:34:13 -07:00
Andre Rodrigues
744ddf1c61 Fixing UT.
--HG--
branch : 1.x
2011-05-13 11:18:03 -07:00
Renaud Paquay
8e8b919dfe Merge
--HG--
branch : 1.x
2011-05-12 22:03:39 -07:00
Renaud Paquay
ad01bc5dcb Consistency in log level
--HG--
branch : 1.x
2011-05-12 22:03:14 -07:00
Dave Reed
7224c10658 #17708: Media views use bad translations
--HG--
branch : 1.x
2011-05-12 14:51:41 -07:00
Dave Reed
84e2853f82 #17796: Migrate jQuery to 1.6
--HG--
branch : 1.x
2011-05-12 14:25:14 -07:00
Dave Reed
816f954384 #17803: Null WidgetPartRecord after removing WidgetPart from ContentType
--HG--
branch : 1.x
2011-05-12 13:47:13 -07:00
Dave Reed
765cf34b83 #17714: Authentication in dev environments can bleed from other local sites.
Changed all instances of IsAuthenticated to WorkContext.CurrentUser != null, etc.

--HG--
branch : 1.x
2011-05-12 11:06:11 -07:00
Renaud Paquay
10eb02d887 Merge
--HG--
branch : 1.x
2011-05-12 10:50:04 -07:00
Renaud Paquay
130f9d3c80 PERF: Adding various logging calls related to startup performance
--HG--
branch : 1.x
2011-05-12 10:47:08 -07:00
Andre Rodrigues
435b688816 Merge
--HG--
branch : 1.x
2011-05-11 14:30:46 -07:00
Andre Rodrigues
2c6873dc8c Adding setting to common part owner as well with default set to true. Removing incorrect permission check, adding missing UTC conversion.
--HG--
branch : 1.x
2011-05-11 14:30:31 -07:00
Dave Reed
ba5fe7bd2b Merge
--HG--
branch : 1.x
2011-05-11 14:17:53 -07:00
Dave Reed
98bbca397c #17737: Updated mediapicker tinymce compressed script to match src script
--HG--
branch : 1.x
2011-05-11 14:17:02 -07:00