shannon@ShandemVaio
d92d309c61
Added initial MVC supporting files and updated some unit tests.
2012-08-07 21:40:34 +06:00
shannon@ShandemVaio
d9eb8b426c
Added TODO notes for NiceUrlProvider to fix an issue for Stephan.
2012-08-07 04:55:27 +06:00
shannon@ShandemVaio
ef0d7821eb
Fixes default url cache to use concurrentdictionary instead of custom locks as this was causing errors.
...
Updated the references between context objects since a DocumentRequest should only be set when rendering
a front-end doc, not in the back office.
Fixes the LookupByNiceUrl to work with non directory paths.
Fixes the UmbracoContext.ClientUrl to work properly.
2012-08-07 03:54:47 +06:00
shannon@ShandemVaio
b68bcba85e
Updated UmbracoModule to support the TransferRequest just like umbraMVCo does using query strings. Added more
...
unit tests for UmbracoModule, refactored the Umbraco.Web.Routing.Domains to not have static methods and created an
interface for it so that we can unit test it. Changed DocumentRequest stuff to internal. Finally got unit test working for the module
2012-08-07 02:33:08 +06:00
shannon@ShandemVaio
fbf94bbf01
Fixed module with client side perf check, added unit test
2012-08-06 23:04:08 +06:00
shannon@ShandemVaio
19205f1435
Improves perf of UmbracoModule rendering, adds unit test for UmbracoModule, fixes StateHelper with HttpContext.Current,
...
Fixes Action with empty JsSource, Fixes GlobalSettings to be unit testable, adds medium trust config
section to my own transform.
2012-08-06 22:40:06 +06:00
shannon@ShandemVaio
11a6b2a31f
Changed ThumbnailProviderManager to ThumbnailProvidersResolver and initializes it in WebBootManager
2012-08-04 06:20:06 +06:00
shannon@ShandemVaio
58dec4774d
Merge with 4.9.0
2012-08-04 06:12:02 +06:00
shannon@ShandemVaio
7235141f02
missing readme file content
2012-08-04 06:10:12 +06:00
shannon@ShandemVaio
32bef227b7
Added App_Code assembly loading to new type finder, had to recompile log4net to support medium trust.
...
Updated TypeFinder and assembly info to support medium trust.
2012-08-04 06:07:29 +06:00
sebastiaan
082378815f
Fixes issue 30965 - Pipe character in URL causes YSOD
2012-08-02 16:39:15 -02:00
sebastiaan
f8bdb42a63
Fixes issue 30905 - Checkbox "Include unpublished child pages" for Dutch Language doesn't work
2012-08-02 16:34:05 -02:00
Matt@MBP13-PC
86be51f7ce
Added missing files
2012-08-02 09:31:35 -01:00
shannon@ShandemVaio
a539fd2554
Fixes DataTypesResolver namespace
2012-08-01 23:53:19 +06:00
shannon@ShandemVaio
8a192a0065
Renamed TypeFinder2 to Umbraco.Core.TypeFinder. Obsoleted old TypeFinder and cleaned up non-used methods
...
in the new TypeFinder. Updated some unit tests and removed benchmark tests since we already have the benchmarks.
2012-08-01 23:50:33 +06:00
shannon@ShandemVaio
923f4f517f
Created ActionsResolver for creating IActions and updated Action class to use this now. Still needs
...
a bit of cleanup, see TODO notes in Action.cs
2012-08-01 23:30:37 +06:00
shannon@ShandemVaio
d644b44d80
Created PackageActionsResolver object to deal with IPackageAction plugins.
2012-08-01 23:03:26 +06:00
shannon@ShandemVaio
2115146fdb
Removed old MacroControlFactory - marked as internal FTW ! moved it to new MacroFieldEditorsResolver
...
using the new framework. Also moved PersistableMacroProperty to new assembly (it was also marked as internal).
Updated unit tests to work with Resolution and resetting resolvers.
2012-08-01 22:46:13 +06:00
shannon@ShandemVaio
646e96ab15
Changed PluginResolverType to PluginManager. Reinstated Resolution and ResolverBase<T> since
...
this gives us more control over all Resolvers and streamlines them. Created IBootManager, CoreBootManager and WebBootManager
to handle the application initialization including the creation of Resolvers. This means that if people are using the dlls outside
of the web app, they can run the boot strappers to initialize everything.
2012-08-01 22:06:15 +06:00
Matt@MBP13-PC
4049a77332
Made ThumbnailProviders internal for the time being. We'll make them public in 4.10 as this has a new / consistant way of loading plugins.
2012-08-01 08:37:18 -01:00
Matt@MBP13-PC
cabe37014b
Moved IThumbnailProvider interface to root of Umbraco.Core assembly
2012-08-01 08:13:45 -01:00
Matt@MBP13-PC
20fada8fd4
Converted ThumbnailProviderManager to singleton and made internal
2012-08-01 08:11:48 -01:00
shannon@ShandemVaio
dff3905e85
Converted over ThumbnailProviderManager to ThumbnailProvidersResolver using the new apis.
2012-08-01 11:24:39 +06:00
shannon@ShandemVaio
c2ee1e63bb
Added unit tests for ManyObjectResolverBase for the different lifetime scope of instantiated objects.
2012-08-01 10:48:19 +06:00
shannon@ShandemVaio
d4806895a9
Had to remove the Resolution freezing idea because we are lazily instantiating the singleton instances, otherwise
...
we have to instantiate them all on startup which means that all type searching happens on startup and not lazily which
is bad for performance. I don't think its a big deal that we're not freezing these objects, MVC doesn't freeze its singletons
and nobody seems to have a problem with it, people will just know not to modify these items after startup.
2012-08-01 10:15:39 +06:00
shannon@ShandemVaio
bee357ffdc
Obsoletes umbraco.cms.businesslogic.datatype.controls.Factory with new Umbraco.Core.DataTypesResolver
2012-08-01 10:05:39 +06:00
shannon@ShandemVaio
a0a99e8f12
Obsoletes umbraco.presentation.cache with new Umbraco.Core.CacheRefreshersResolver
...
Have removed ResolverBase as we cannot rely on manually setting the current singleton object since applications outside of the standard umbraco web application
might be using these singletons and would expect they already be setup. Have changed all current resolvers to manage their
own singleton instances and sealed them.
2012-08-01 09:49:10 +06:00
shannon@ShandemVaio
ddc2619511
Merge with 4.9.0
2012-08-01 06:31:28 +06:00
Matt@MBP13-PC
69b3645e9c
Added Edit / Download context menu support for media library
2012-07-31 13:31:31 -01:00
Matt@MBP13-PC
4e1e7fe657
Added context menu to media grid
...
Restructured folderBrowser js class to be less clutered
2012-07-31 12:56:51 -01:00
Matt@MBP13-PC
2481a8df98
Updated fileUploader to use face uploader progress bar when uploading using iFrames.
2012-07-31 08:15:42 -01:00
shannon@ShandemVaio
76c99d3f47
Changed TypeFinder2 to be a static object as there's no reason to have it as an instance.
...
Still need to integrate the app_code stuff into the new one and then merge the old/new
2012-07-31 03:24:33 +06:00
shannon@ShandemVaio
2fd8d17be9
Changed Action over to use PluginTypeResolver to find IActions and added unit test for it.
2012-07-31 03:14:24 +06:00
shannon@ShandemVaio
5b8057f063
Updated cache refresher factory to use PluginTypeResolver and added unit tests to show that it
...
resolves the objects, fixes up the GetAll() call since I'm not sure if that actually ever worked.
2012-07-31 03:08:46 +06:00
shannon@ShandemVaio
c9a4b708aa
Fixes TreeDefinitionCollection to lazily load/find the trees
2012-07-31 02:45:18 +06:00
shannon@ShandemVaio
2537925350
Fixed up unit tests, enables logging for unit tests
2012-07-31 02:34:57 +06:00
shannon@ShandemVaio
5a3534bc52
Upgraded macr to use PluginTypeResolver to resolve XsltExtensions and added unit tests
...
to support finding these types.
2012-07-31 02:16:29 +06:00
shannon@ShandemVaio
5da0445c32
Updated TreeDefinitionCollection to use PluginTypeResolver and fixed its code to be thread safe.
...
Updated restExtensions to use PluginTypeResolver and added unit test for resolving these types.
Updated TypeFinder2 with a slight perf increase.
2012-07-31 01:56:03 +06:00
shannon@ShandemVaio
352d817fc1
Updates DynamicNode to use PluginTypeResolver, fixees DynamicNode RazorDataTypeModelTypes resolution
...
to be thread safe. Removes unused classes (we can put them back if we need them later)
2012-07-31 01:06:10 +06:00
shannon@ShandemVaio
e55e688dc7
Added unit test for ContentStore, added object extensions and supporting classes from v5,
...
added RhinoMocks to the test project and httpcontext factory from v5 unit tests to be used
in our v4 ones.
2012-07-31 00:02:27 +06:00
shannon@ShandemVaio
ec22d985ef
Updated all lookups to use new logging system. Updated lookups resolvers to use ManyObjectResolverBase
...
and are just adding the known resolvers on app startup and commented out the other resolver stuff for now.
Fixed up xpath statement for resolving the first document, site now renders :)
2012-07-30 22:52:59 +06:00
Matt@MBP13-PC
3b6508e534
Merge
2012-07-30 10:23:01 -01:00
Matt@MBP13-PC
60ec172d37
Tweak to file uploader so that if the upload is complete, it just removes the UI item
2012-07-30 10:22:35 -01:00
shannon@ShandemVaio
95451e99a7
Reinstating persisting of xml cache file in new module.
2012-07-29 00:04:11 +06:00
shannon@ShandemVaio
1aa70c4bb8
Reinstated temporary new settings in the UmbracoModule and have changed UmbracoModule to reference
...
the new Umbraco.Core.Configuration settings instead of the legacy ones.
2012-07-28 23:53:07 +06:00
shannon@ShandemVaio
750f5b18d3
Changed the UmbracoModule to use new logging system and updated the log4net config (not release config) to
...
enable Debug calls.
2012-07-28 23:40:48 +06:00
shannon@ShandemVaio
b7cea05f18
Added unit test for custom log file appender, integrated a few more classes from v5 for tracing,
...
added initial trace logging to application startup which works. Changed the application startup handler
to use new logging, now the system won't bork if the sql db isn't initialized.
2012-07-28 23:08:02 +06:00
shannon@ShandemVaio
b09422ed5e
Added Log4Net and supporting classes from v5 in order to start integration of new diagnostic logging system.
2012-07-28 01:28:39 +06:00
shannon@ShandemVaio
b186d5f8e4
Migrated UmbracoSettings and GlobalSettings along with other supporting classes to Umbraco.Core.
...
Everything is still marked as internal until such time we can clean everything up.
2012-07-28 00:13:06 +06:00
sgay
c4d578442b
merge
2012-07-27 14:08:00 -02:00