Shannon
c6389852ea
Adds public ctors for ApplicationContext, ServiceContext, DatabaseContext, RepositoryFactory, makes IDatabaseFactory public, makes an interfaces for IEntityService, adds EnsureContext methods for ApplicationContext - to set the singleton.
2013-10-09 13:17:19 +11:00
Shannon
a8b037f2e0
Fixes member type repository when member types don't have properties declared and adds tests. Adds IMemberTypeService.
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/MemberTypeRepository.cs
src/Umbraco.Core/Services/ServiceContext.cs
2013-10-09 12:09:28 +11:00
Stephan
08660704cc
Core.StringExtensions - adjust to new default IShortStringHelper (see f64b8d6)
2013-10-03 18:10:51 +02:00
Shannon
86430f1b01
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
2013-10-03 12:46:01 +10:00
Shannon
55247fe31d
Finally got around to changing all calls to umbraco.IO to Umbraco.Core.IO - that'll clear up several hundreds of warnings :)
2013-10-03 12:45:40 +10:00
Stephan
cdd1a0a4cb
Core.Resolution - fix concurrency issues
...
Conflicts:
src/Umbraco.Core/ObjectResolution/Resolution.cs
2013-10-02 11:41:48 +02:00
Morten Christensen
74f6a34651
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
2013-10-01 10:20:29 +02:00
Morten Christensen
7dee2802fe
Fixing Member and MemberType, so the ids are properly assigned through the repositories.
...
Adding test to assert that no Properties, PropertyTypes or PropertyGroups exists without an id when loaded from the db.
NOTE Changes signature of Member class as Email, Username and Password is required.
2013-10-01 10:20:16 +02:00
Sebastiaan Janssen
5238293c09
Merge branch '6.1.6' into 6.2.0
...
Conflicts:
build/Build.bat
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/umbraco.presentation/umbraco/users/EditUser.aspx.cs
2013-09-30 16:09:25 +02:00
Sebastiaan Janssen
cdda69c4cd
U4-2788 Error installing Umbraco 6.1.5 with SQL CE 4 option
2013-09-30 12:39:28 +02:00
Morten Christensen
5aa01e78ab
Updating conn.string in test
2013-09-30 12:13:49 +02:00
Morten Christensen
a21bee6683
Fixing MemberType- and MemberRepository so properties, property types and property groups are properly initialized.
2013-09-30 12:12:58 +02:00
Shannon
0cff484113
fixes unit test
2013-09-30 12:12:17 +02:00
Shannon
35f65a2c64
re-enables LoadMinimalDocument and adds this to the optimized check, even in optimized model the OnRenderNode can still execute with a minimal doc.
2013-09-30 10:55:38 +02:00
Sebastiaan Janssen
965a7fc500
Fixes: U4-2925 Tree performance is very poor in 6.1.x when having event subscriptions
2013-09-30 10:55:13 +02:00
Shannon
e0878fdd9f
fixes unit test
2013-09-30 14:48:05 +10:00
Shannon
4df79ce55b
re-enables LoadMinimalDocument and adds this to the optimized check, even in optimized model the OnRenderNode can still execute with a minimal doc.
2013-09-30 13:47:19 +10:00
Shannon
a8f6b9eeb9
Fixes: U4-2925 Tree performance is very poor in 6.1.x when having event subscriptions
2013-09-30 13:31:48 +10:00
Morten Christensen
f4b8d9bd6e
Fixing broken Publishing test after the service and repository tests are probably setup.
2013-09-18 11:50:52 +02:00
Morten Christensen
5cf07ba6be
Refactoring how DeleteVersion and DeleteVersions is used in the Content- and MediaRepository, so we ensure that the latest version is never deleted. Worse case would have been an incomplete content node, which we want to avoid. So better to have a fail safe way of deleting versions, and use the regular Delete method for deleting the latest version.
2013-09-18 11:49:36 +02:00
Shannon
95df28bf64
Fixes issue with runtime cache provider when retrieving all items of a certain type, we were sending back an array of nulls if the cache was expired.
2013-09-18 17:44:25 +10:00
Shannon
f1c0aa2439
adds a comment
2013-09-18 15:21:35 +10:00
Shannon
c8fa881bc5
Ensures all service tests do not use any caching in their underlying repos. This change has been made to the base database test classes so any repo/service access done for inheritors also ensure that no cache is used for tests.
2013-09-18 12:54:06 +10:00
Shannon
b17db9f143
Fixed last failing unit test with repo's
2013-09-18 12:42:18 +10:00
Shannon
23b7e94ce3
Fixes pretty big issue with MediaType's not implementing the same IsDirty property check rules as ContentType when they should have shared the same rules. After removing caching on the unit tests, this bug became known.
2013-09-18 12:36:38 +10:00
Shannon
8fe7c0da9e
Changed all repository tests to ensure they are not testing with cache enabled... now to fix the problems :(
2013-09-18 11:40:40 +10:00
Shannon
5b943ca866
fixed couple tests
2013-09-17 11:53:57 +10:00
Shannon
abe3efa9a1
Replaces Rhino mocks with Moq... so much nicer/easier.
2013-09-17 11:35:08 +10:00
Stephan
67a632aa43
Merge branch '6.2.0' into zb-cleanup
2013-09-12 11:13:07 +02:00
Stephan
42c432caa0
Merge branch '6.2.0' into zb-cleanup
2013-09-11 10:39:40 +02:00
Morten Christensen
812d5c1391
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
2013-09-11 10:17:08 +02:00
Morten Christensen
8d510fd512
Committing some POC code in the test project for strongly typed models/queries
2013-09-11 10:16:49 +02:00
Stephan
82f81d1f4f
Core.Attempt - backport and refactor Attempt.Outcome from v7
2013-09-11 10:03:17 +02:00
Shannon
9f1d212375
Implements: U4-2824 Type Converter for string type with unit test
2013-09-11 11:57:15 +10:00
Stephan
39316a345f
Tests - stop deleting dummy.txt files
2013-09-06 20:24:22 +02:00
Morten Christensen
0c05836537
Fixes U4-2791 Error creating node containing @ v6.1.4.
...
Adding unit test which covers both U4-2791 and U4-2607
2013-09-05 10:44:28 +02:00
Morten Christensen
72dcb32ac2
Refactoring the TypedModelBase and UmbracoTempaltePage for the TypedModel POC
2013-09-04 15:42:25 +02:00
Morten Christensen
24091991fa
Updating MemberRepository test fixture. All tests ignored while using local db for testing.
2013-09-04 14:47:42 +02:00
Morten Christensen
d65e94f519
Adding LocalizationService test fixture class
2013-09-04 14:43:48 +02:00
Morten Christensen
966416c0a5
Updating classes for small TypedModel POC
2013-09-04 11:30:21 +02:00
Morten Christensen
642c6c1afe
Implementing a POC and tests for a simple TypedModel base class
2013-09-03 17:03:35 +02:00
Morten Christensen
008d413302
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/MediaRepository.cs
src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/moveOrCopy.aspx.cs
2013-09-02 15:55:05 +02:00
Sebastiaan Janssen
437408464f
Merge branch '6.1.5' into 6.2.0
...
Conflicts:
.gitignore
build/Build.bat
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
2013-09-02 12:29:47 +02:00
Shannon
5989d19f7f
Re-fixes the issue with using IDataValueSetter.SetValue on the DefaultData implementation and ensures that when there is a null value that it reverts to an empty string since this was what the default value was in the Value getter of DefaultData when there was no value. Have added a couple unit tests to support.
2013-09-02 13:27:48 +10:00
Shannon
da1c33a034
Fixes unit test
2013-09-02 12:57:56 +10:00
Morten Christensen
5640daff32
Fixes U4-2752 ContentService.DeleteVersion and DeleteVersions fail
...
Signed-off-by: Sebastiaan Janssen <sebastiaan@umbraco.com >
2013-08-31 19:19:25 +02:00
Morten Christensen
ea76c42c7b
Updating Resolves_Assigned_Mappers test to reflect current number of mappers
2013-08-31 18:02:10 +02:00
Morten Christensen
d44318f589
Fixes U4-2752 ContentService.DeleteVersion and DeleteVersions fail
2013-08-30 10:50:43 +02:00
Shannon
f332e6530a
Ensures the whole ancestry of view data is merged in with unit tests.
2013-08-30 12:50:39 +10:00
Shannon
c228c24ba5
Creted MergeParentContextViewData filter, this is by default applied to SurfaceController's and the PartialViewMacroController. Now if you are rendering a partial view macro or a child action from a SurfaceController and are putting data into ViewData on a POST, you don't have to access the ViewData from the ParentViewContext.
2013-08-30 12:03:16 +10:00