Commit Graph

2837 Commits

Author SHA1 Message Date
sitereactor
a98fddbd58 Fixing event subscription which caused a series of unit tests to fail 2012-11-01 15:06:35 -01:00
sitereactor
3d7376824d Adding more unit tests to cover different scenarios for publishing logic 2012-11-01 13:48:03 -01:00
sitereactor
b1240abf0b Unit tests covering the ContentService.
Adding new configurations to the release configs.
Refactoring the publishing strategy and a few of the services.
2012-11-01 10:59:32 -01:00
sitereactor
053e26b34c Updating nuspec files for v6-alpha 2012-11-01 07:52:49 -01:00
sitereactor
6e8add79ac Merge 2012-11-01 07:25:40 -01:00
sitereactor
42d233239a Adding dummy files, so unit tests doesn't fail in TC 2012-11-01 07:25:02 -01:00
Sebastiaan Janssen
9184a12056 Merge 2012-10-31 15:32:35 -01:00
Sebastiaan Janssen
d2788f202a NuGet Package restore problem seems related to version of nuget.exe, updated
See: http://nuget.codeplex.com/discussions/398910
2012-10-31 15:31:52 -01:00
sitereactor
a4a4ab433d Merge with 4.10.0 2012-10-31 15:17:20 -01:00
sitereactor
8225950cac Merge 2012-10-31 15:15:32 -01:00
sitereactor
4e2bcee35b Adding more tests to cover the ContentService and refactoring. 2012-10-31 15:15:02 -01:00
Sebastiaan Janssen
e781bac935 And another update to the nuget path to hopefully get it correct for TeamCity 2012-10-31 14:55:06 -01:00
Sebastiaan Janssen
235527a5a6 SolutionDir path is not correct when there are spaces in it (TeamCity has that) 2012-10-31 14:53:18 -01:00
jeavonleopold
e502ce4ff9 U4-1112 - Add Any() property to DynamicXml 2012-10-31 10:47:04 +00:00
Shannon Deminick
8fff66dcb7 Merge 2012-10-31 20:48:50 +06:00
Shannon Deminick
bc47e0c4a6 Fixed the get enumerator method in the legacy DynamicXml so that it still returns the legacy class instead of the new one. 2012-10-31 20:42:06 +06:00
Sebastiaan Janssen
4cec26c71b New NuGet targets file, might fix pacakge restore problem in TeamCity 2012-10-31 08:32:56 -01:00
sitereactor
b86bfdd87b Refactoring usage of UOW in ContentService 2012-10-31 08:20:45 -01:00
Shannon Deminick
85c110bad5 missing changed file 2012-10-31 11:46:02 +06:00
Shannon Deminick
8866607582 changed milliseconds to seconds 2012-10-31 11:43:14 +06:00
Shannon Deminick
0db6c2cc11 Fixed issue that locally declared SurfaceControllers are routed through 'umbraco' area, this should not have been the case.
Created new CacheHelper which replaces the old Cache class and is accessible via the UmbracoContext.
Added new CachedPartial extension method to be able to cache the output of your partials (also by page and by member)
Added mew CacheHelperApplicationEventListener in order to automatically clear the partials cache when content is published, media or members is saved.
2012-10-31 11:36:22 +06:00
sitereactor
e30cf6bc65 Adding unit tests for the ContentRepository and starting refactoring of the UOW usages in the services. 2012-10-30 20:01:09 -01:00
sitereactor
d3655fd726 Making BaseDatabaseFactoryTest single threaded.
Refactoring while testing ContentService.
2012-10-30 19:27:47 -01:00
sitereactor
16bb9df623 Refactoring usage of the DatabaseContext 2012-10-30 15:20:54 -01:00
sitereactor
137a54b193 Refactoring DTOs for Identity seed, which is used by Sql Ce.
Updating unit tests and Contexts to include the ServiceContext and DatabaseContext.
2012-10-30 15:03:58 -01:00
sitereactor
347bf3fabf Implements a basic version of the MacroService for U4-940
Adding a static ServiceFactory class for easy access to the various services in a non-singleton way.
Adding a Resolver for MacroPropertyTypes.
Updating the CoreBootManager and PluginManager to include the MacroPropertyTypeResolver.
2012-10-30 09:25:28 -01:00
sitereactor
9306fd0b5c Missing log4net reference 2012-10-30 07:58:29 -01:00
sitereactor
9673f60948 Updating nuspec files for 4.10.0 beta release 2012-10-30 07:40:42 -01:00
Shannon Deminick
c3795d7e5a Added some code comments and did a check for redirects (returns null if this is the case) 2012-10-30 06:49:36 +06:00
Shannon Deminick
36eea348ba changes the fix for U4-1097 to use an InvariantEquals instead of a direct equals just in case! 2012-10-30 06:23:29 +06:00
sitereactor
81aedbd9dd Merge with 4.10.0 2012-10-29 14:40:02 -01:00
sitereactor
17a70b4e05 Updating repositories 2012-10-29 14:39:24 -01:00
sitereactor
0c4c429b68 Implements U4-943 to the extent its currently possible.
Refactoring publishing methods in the ContentService.
Adding tests for the QueryBuilder.
2012-10-29 14:28:16 -01:00
Stephan
be3f95610b U4-1081 - treat missing template at 404 2012-10-29 12:35:39 -01:00
sitereactor
c20072c01d Merge with 4.10.0 2012-10-29 09:55:33 -01:00
sitereactor
960ae22271 Adding convention to column naming for table creation.
Adding DatabaseContext hooked up to UmbracoContext and initialized through the CoreBootManager.
Adding constant for ConnectionString name in GlobalSettings.
2012-10-29 09:49:31 -01:00
Stephan
f9aa4b28af U4-889 - cancelling publish via an event caused a JavaScript error 2012-10-29 07:48:45 -01:00
Stephan
232c2292cb U4-1093 - fail to publish a node w/new content type
the way we added the new content type to the schema just could not work
also, stop reloading the whole XML from DB because the schema changes
2012-10-28 19:35:19 -01:00
Stephan
80dca1e3f2 U4-1089 - non-ascii chars in urls cause 404 2012-10-28 11:58:48 -01:00
Stephan
47b6f7f4d5 fix U4-1087 : preview badge does not show 2012-10-28 10:58:56 -01:00
pgregorynz
03af54b1d5 Merge 2012-10-25 14:21:16 -10:00
Casey Neehouse
bbd62f20a9 Corrects a couple minor issue with Directory support when mapped to a
Virtual Directory and network shares.
2012-10-26 04:19:14 +04:00
pgregorynz
9738227189 Making the CTOR for UmbracoHelper public so it can be newed up for other uses 2012-10-25 14:18:53 -10:00
Shannon Deminick
6bf3a7a74a Merge 2012-10-26 03:01:21 +05:00
Shannon Deminick
07f8f79620 Fixes: #U4-1077, found an bug with both our code and Microsoft's code in that if you RemapPath with an incorrect URL which contains
2 '?' the internals of ASP.net actually force a secondary internal request which causes BeginRequest to fire but doesn't follow the normal
chain of the module. It was a bug with our code having two query strings, however its pretty strange behavior on their part!
Have removed UmbracoContext.ClientUrl since it is not necessary to have. Have renamed UmbracoContext.UmbracoUrl = CleanedUmbracoUrl and UmbracoContext.RequextUrl = OriginalRequestUrl
Have moved the route processing logic to a static method on PublishedContentRequest which auto assigns the request back to the UmbracoContext, plus this is a cleaner
way to do the processing, including allowing us to unit test this one aspect.
Lastly, we are now rewriting the path back to the original URL in the RenderRouteHandler so that in MVC controllers the HttpContext.Request actually
reflects the URL that the client requested, not the rewritten URL (we do this in webforms too)
2012-10-26 02:55:57 +05:00
sitereactor
3e6c56a394 Merge with 4.10.0 2012-10-25 18:39:33 -02:00
sitereactor
9fd23a4bc3 Merge 2012-10-25 18:39:11 -02:00
sitereactor
07b5f6983f Refactoring the creation of database schema and base/default data creation.
Adding extension method to get all properties for interfaces in PetaPoco used for mapping.
Creating ServiceContext and adding it to the UmbracoContext to provide access to the various services.
Adding UmbracoContext to BaseDatabaseFactory test.
2012-10-25 18:38:23 -02:00
Ismail Mayat
f0690ec55f U4-1069 localize file umbraco.web.ui\umbraco 2012-10-25 14:47:00 -01:00
Tom Fulton
e4bfccf974 U4-1057: Add localization of 'relate copied items' text 2012-10-25 19:42:16 +04:00