Commit Graph

90 Commits

Author SHA1 Message Date
Lombiq
a685517118 Normalizing all catch (Exception ex) lines and adding exception fatality check where applicable, fixes #3949 2015-09-07 00:17:57 +02:00
Sergio Navarro
8a8b0f91c6 Fixed #5140 Recipe from Migrations didn't work 2015-07-25 08:54:31 +02:00
Lombiq
d5c85265b5 #21158: Preventing disabled shells from being started.
Work Item: 21158
2015-01-25 22:49:05 +01:00
Lombiq
a6c467106f Typo 2015-01-25 22:34:42 +01:00
Lombiq
22ee57582d #20928: Preventing race condition when starting shells
Work Item: 20928
2015-01-25 22:33:27 +01:00
Lombiq
780fc2a15f Fixing that disposed shell context were later accessed because of lazy enumerations.
Aka fixing the fix's improvement's fix.
2014-08-14 00:35:54 +02:00
Lombiq
64eb4725bc Using ShellContext.Dispose() where applicable 2014-08-13 15:58:31 +02:00
Sebastien Ros
60ee35837b Adding disposable pattern to ShellContext 2014-08-12 15:47:37 -07:00
Lombiq
ecb9918964 #20877: standalone environments have their shell lifetime scope disposed as well
Work Item: 20877
2014-08-13 00:28:47 +02:00
Lombiq
97026dd0fa #20374: Fixing that tenant suspend/restart didn't take effect until an app restart
Work Item: 20374
2014-01-18 22:40:53 +01:00
Sebastien Ros
082b28204b Activate tenants in parallel 2013-11-26 15:12:34 -08:00
Sebastien Ros
372579d9c8 Fixing feature enabling and adding ContextState 2013-11-20 16:01:03 -08:00
Sebastien Ros
b751ef7216 Preventing app to restart when a tenant is created 2013-11-18 21:17:22 -08:00
Sebastien Ros
b8f97cd0a7 Recovering DefaultOrchardHost.Current for unit tests 2013-08-23 17:07:09 -07:00
Sebastien Ros
a50e1b704d #19799: Improving tenants creation stability
Work Item: 19799
2013-08-22 18:23:29 -07:00
Sebastien Ros
66a89c3102 Fixing specflow tests
--HG--
branch : 1.x
2013-07-05 16:47:33 -07:00
Sebastien Ros
2b95730530 #18685, #18673: Fixing multi tenancy actions (edit and disable)
Work Items: 18673, 18685

--HG--
branch : 1.x
2012-07-02 10:57:40 -07:00
Sebastien Ros
ef6a1ac89e Fixing creation of new tenants
--HG--
branch : 1.x
2012-02-17 15:55:13 -08:00
Sebastien Ros
f4ba05e851 #18339: Isolating shells creation
Work Item: 18339

--HG--
branch : 1.x
2012-01-12 10:12:23 -08:00
Sebastien Ros
331c2155f8 #18288: Displaying an error message when a manifest could not be loaded
Work Item: 18288

--HG--
branch : 1.x
2011-12-28 11:22:20 -08:00
Sebastien Ros
c00953f18d #17177: Moving content wrappers to features
Work Item: 17177

--HG--
branch : 1.x
2011-12-16 11:26:22 -08:00
Sebastien Ros
b6fbe4bd63 #18040: Adding a list of available themes per tenant
Work Item: 18040

--HG--
branch : 1.x
2011-12-14 16:49:01 -08:00
Sebastien Ros
9380e2c4a6 Preventing modules from breaking the website if a referenced assembly is missing
--HG--
branch : 1.x
2011-11-30 17:43:09 -08:00
Sebastien Ros
f64fe39a43 Reeabling command host restart detection
--HG--
branch : 1.x
2011-09-30 15:29:18 -07:00
Sebastien Ros
f4dc89de16 Fixing shell context activation as per module enabling/disabling
--HG--
branch : 1.x
2011-09-24 20:47:53 -07:00
Sebastien Ros
0ce436c0a5 Working on multi tenancy provisioning
--HG--
branch : 1.x
2011-09-12 10:46:04 -07:00
Sebastien Ros
87f9b5f77c Fixing memory pressure when creating new tenants
--HG--
branch : 1.x
2011-09-08 14:57:08 -07:00
Renaud Paquay
23afea8a0e PERF: Monitor modules files asynchronously
Monitoring virtual dependency files for modules takes requires a lot
of file I/O, and can be a significant bottleneck on heavily loaded
disk sub-system (5-10 secs). Making this process asynchronous during
startup decreases startup time by almost that amount of time.

--HG--
branch : 1.x
2011-05-28 19:05:52 -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
6a90e8fe2e Adding Orchard Service Host Factory and IoC behavior for WCF support.
--HG--
branch : 1.x
extra : transplant_source : %93%05%12%2Ag8%08c%D5%7Co%DA%5B%5C%B2%C4%81%C3w%3A
2011-03-28 09:29:51 -07:00
Andre Rodrigues
66c23928ef #17289: only allowing default tenant site administrator to install packages by default. Others can be granted permission.
--HG--
branch : dev
rename : src/Orchard.Tests.Modules/Packaging/Hello.World.csproj.txt => src/Orchard.Tests.Modules/Packaging/Services/Hello.World.csproj.txt
rename : src/Orchard.Tests.Modules/Packaging/HelloDriver.cs.txt => src/Orchard.Tests.Modules/Packaging/Services/HelloDriver.cs.txt
rename : src/Orchard.Tests.Modules/Packaging/PackageBuilderTests.cs => src/Orchard.Tests.Modules/Packaging/Services/PackageBuilderTests.cs
2011-02-01 13:17:03 -08:00
Suha Can
c97a8d26cb Cleanup (includes)
--HG--
branch : dev
2010-12-07 15:47:45 -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
Suha Can
035c60fb90 PERF: Fix for Memory leak when enabling/disabling a feature
http://orchard.codeplex.com/workitem/16716

--HG--
branch : perf
2010-11-04 14:49:12 -07:00
Louis DeJardin
2de2f685e9 Implementing shim and cache for theme awareness
Configured arrays of view engines cached for use in appropriate contexts
Adding current theme as dedicated property on work context
Current theme assigned by selecters, if null, as result begins executing
Distinction is made between deep and shallow view path locations

--HG--
branch : theming
2010-09-03 17:41:14 -07:00
Louis DeJardin
6a5536dd32 Additional incremental work towards removing redundant layers.
--HG--
branch : dev
2010-09-02 16:34:17 -07:00
Louis DeJardin
4a84a0d591 Adding mvc3/razor placeholder support
Unofficial bits - do not use.
Integrates with mvc3 CSL hooks
Adds razor view engine to default configuration

--HG--
branch : mvc3p1
2010-08-23 13:10:12 -07:00
Renaud Paquay
7c2abaf53d Fix feature enable from command line
When enabling features from the command line, we need
a way to signal the WebHost app that the OrchardHost needs
to re-compute the list of activated features.

We enable this by touching and monitoring a local file in "App_Data".
The file is touched whenever a feature is enabled or disabled,
and is monitored by the OrchardHost to watch for a re-initialization.

--HG--
branch : dev
2010-07-29 20:54:25 -07:00
Renaud Paquay
aa7077af22 Fix enable feature from command line
If we enable a feature from the command line, we need the host to
recompute it's list of shell topologies on the next request
of the web application.

We enable this by making the OrchardHost watch for file changes
on the "cache.dat" file (topology cache)

--HG--
branch : dev
2010-07-28 18:14:22 -07:00
Renaud Paquay
6afd8a0a68 Workaround issue with creating a module from command line
I'm not quite sure why, but when creating a new module using
the scaffolding command, the FileChangeMonitor doesn't detect a new
directory has been added in "~/Modules". Added an explicit call to
the OrchardHost to force reloading of extensions.

--HG--
branch : dev
2010-07-24 16:16:32 -07:00
Renaud Paquay
9907d0c997 Ensure list of extensions is validated when creating standalone env
--HG--
branch : dev
2010-07-24 14:36:45 -07:00
Renaud Paquay
dc6f614be3 Fix SpecFlow test
When a new module is installed in the host app, explicitly call
"ReloadExtensions" on the host so that the new module is activated.

We need this because some SpecFlow binding talk directly to the host through
remoting, whereas in the real web scenarios, all comunication is done through
"BeingRequest" which is the guy taking care of reloading modules when
they have changed on disk.

--HG--
branch : dev
2010-07-17 10:51:07 -07:00
Renaud Paquay
462eed28f3 Slightly refactor AppDomain restart code
--HG--
branch : dev
2010-07-02 10:55:11 -07:00
Renaud Paquay
ed3bece16e Slightly tweak the redirect code...
--HG--
branch : dev
2010-07-01 16:57:07 -07:00
Renaud Paquay
bf9e6f78f8 Redirect the request if the AppDomain needs to be restarted
--HG--
branch : dev
2010-07-01 12:12:39 -07:00
Renaud Paquay
3725b84b20 Refactoring a csproj file compiler/build provider
* Removed unused "ServiceLocator" class

* Added "OrchardHostContainerRegistry" class to enable Shim/HostContainer
  registration for DI

* Refactored the BuildProvider for .csproj file to use the new
  OrchardHostContainerRegistry class and enable proper DI for implementations.

--HG--
branch : dev
2010-06-21 16:40:13 -07:00
Renaud Paquay
cd3a537396 work on extension loading
* Add a "ExtensionLoaderCoordinator" class
* Rework the way loaders are notified of extensions being loaded,
  (de)activated, etc.

--HG--
branch : dev
2010-06-14 09:01:31 -07:00
Renaud Paquay
695f001f0f Add ability for OrchardHost to reset its state when Extensions change
OrchardHost calls into all extension loaders to all extensions descriptor,
allowing each loader to add the set of resource to monitor for change.
OrchardHost resets its list of shells at the beginning of a request if
any monitored resources has changed.

--HG--
branch : dev
2010-06-12 12:38:49 -07:00
Renaud Paquay
9f92ee275c Merge
--HG--
branch : dev
2010-06-11 21:23:42 -07:00
Louis DeJardin
e2af46ed71 Changing folder paths to follow namespaces
--HG--
branch : dev
2010-06-11 17:28:46 -07:00