Morten Christensen
be1e98fda2
Making a few more corrections to allow setting the Key-guid value for ContentType, MediaType and Media.
2012-11-14 07:24:07 -01:00
Morten Christensen
46ce70f4a7
Minor adding to guid Key unit test.
2012-11-13 19:10:08 -01:00
Morten Christensen
5540959e71
Correcting ability to set guid Key, as it was overwritten when saving.
...
Adding unit tests to verify get/set Key.
Adding unit tests to verify GetById with guid Key.
Adding overload to GetById with guid Key to supplement the int Id.
2012-11-13 19:07:43 -01:00
Morten Christensen
f7b7b90bed
Correcting a new issues after merge
2012-11-13 15:13:06 -01:00
Morten Christensen
59630b99b4
Merge with 4.11.0
2012-11-13 14:33:28 -01:00
Morten Christensen
c9c160bc29
Adding unit test for saving bulk content, and adding lazy collection save overload.
...
Adding AuditTrail class and test case.
2012-11-13 14:30:05 -01:00
Morten Christensen
50dc9f2b7b
Resolving UserService usage in ContentService to set Creator/Writer.
...
Adding audit class for future implementation.
2012-11-12 08:39:29 -01:00
Morten Christensen
00e3f16d30
A few corrections after running the unit tests
2012-11-12 08:00:51 -01:00
Sebastiaan Janssen
291b0582e4
Merge
2012-11-12 07:41:40 -01:00
Sebastiaan Janssen
f4e48872a2
Imported pull request by Michiel van Oosterhout (consistent line endings)
...
Removed some commented out code
Pull: http://umbraco.codeplex.com/SourceControl/network/forks/michielvoo/UmbracoU4451/contribution/3482
2012-11-12 07:40:58 -01:00
Morten Christensen
a4d4411cca
Moving services from Web proj to Core proj.
2012-11-12 07:40:11 -01:00
Morten Christensen
d1db48eb72
Moving PublishingStrategy to Core proj.
2012-11-12 07:33:22 -01:00
Morten Christensen
4dd5c72659
Ensuring that possible notifications and permissions are removed when deleting a template.
2012-11-12 07:22:09 -01:00
Morten Christensen
8fc942d3b0
Adding internal constructor for testing with predefined IFileSystems.
2012-11-12 07:19:10 -01:00
Morten Christensen
d0c79052e8
Adding SetDefaultTemplate on ContentType.
...
Correcting UOW for FileService, which needs two providers - one for files and one for data.
2012-11-12 07:16:54 -01:00
Shannon Deminick
9e320700e2
Fixes: #U4-1178, adds another strongly typed overload to GetPropertyValue<T> and adds more unit tests.
2012-11-12 10:50:23 +05:00
Shannon Deminick
7f0ff70ca9
Fixes: #U4-1132, this is a bit of a hack fix because the Media should include creatorName/id but it doesn't.
2012-11-12 09:20:54 +05:00
Shannon Deminick
65e3b7f951
Merge
2012-11-12 08:24:36 +05:00
Shannon Deminick
156f145c69
Updated the build manager to find instances based on persisted cache of previous lookups but uses BuildManager to do so, after
...
some benchmark unit tests against loading a type from an assembly this is about 100% faster. Updated the UmbracoModule to write more diagnostics
for benchmark debugging. Have basically reduced the startup time to approx 50% of what it used to be based on the current
benchmarks run. Previously app startup on my machine was about 5 seconds, now after the first startup it is about 2.5 seconds.
2012-11-12 08:10:12 +05:00
Morten Christensen
4be2207f50
Correcting condition for inserting allowed templates. Thank you valuable unit tests.
2012-11-11 19:11:36 -01:00
Morten Christensen
61afe225be
Adding Template to ContentType and Content objects and updating repositories accordingly.
...
Removing templates from the mocks for the time being.
2012-11-11 19:02:45 -01:00
Morten Christensen
13c980c14b
Dedicated to Matt <3
2012-11-11 18:07:52 -01:00
Morten Christensen
689c229846
Adding methods to delete specific versions from content by version id or date.
2012-11-11 14:55:48 -01:00
Morten Christensen
564d370392
Extending PetaPoco's sql builder with strong types plus added a few unit tests to verify output.
2012-11-11 13:52:28 -01:00
Morten Christensen
eb4fc26e1f
Implementing last methods in TemplateRepository plus added a TemplateFactory for mapping dtos-entities.
...
Removing old FileOnly-repo version of the TemplateRepository.
Refactoring FileService to use new repository.
2012-11-11 12:20:14 -01:00
clausjensen
a0c941dac2
Fixes U4-1092 - TinyMce breaks script tags by double wrapping in CDATA on save
2012-11-11 09:50:42 -01:00
Bitmapped
33eb9d40f3
Catches exception thrown by native ActiveDirectoryMembershipProvider when there
...
is no current user.
Fixes U4-709
2012-11-11 09:40:48 -01:00
Sebastiaan Janssen
cf8186653c
Merge
2012-11-11 09:19:02 -01:00
Sebastiaan Janssen
75403d3b94
Fix by Tom Witherington - U4-1167 tags not saving or deleting in Tags data type
...
Also cleaned up the usage of obsolete method calls
2012-11-11 09:17:20 -01:00
Morten Christensen
dffc6ca1a0
Refactoring entities with Users to only add Id to minimize the object graph.
...
Moved getting an IProfile to an extension method, as its not commonly used.
Removing dependencies in ContentService, so the Services and context can be moved to Core proj.
Implementing Template repository to use both filesystem and db.
2012-11-11 06:53:02 -01:00
Shannon Deminick
083bab0528
Added HashCodeCombiner and unit tests to support. Added ability to create a hashed file based on scanned assemblies in the
...
PluginManager and added a cached plugin xml file to the PluginManager. Now we don't actually scan any assemblies on app startup
during plugin finding if none of the DLLs have changed. Added trace statements to the UmbracoModule for better benchmarking for
how long a full request takes to load from start to finish.
2012-11-11 09:09:06 +05:00
leekelleher
ee3e3787a8
PropertyEditorConverters - reusing TryConvertTo<T>, removing duplicate code.
2012-11-10 21:41:40 +00:00
leekelleher
a3895ab149
Added unit tests for PropertyEditorValueConverters.
2012-11-10 21:40:37 +00:00
Matt@MBP13-PC
c590c6a265
Fixes issue #U4-1169 wherby Umbraco.Field always runs in the context of the current page regardless of whether a custom IPublishedContent is passed in
2012-11-10 16:40:00 +00:00
leekelleher
6c1bf4b85f
Added unit test for ObjectExtensions TryConvertTo<DateTime>.
...
Modified CustomBooleanTypeConverter to accept an empty string as a FALSE.
2012-11-10 14:09:27 +00:00
Morten Christensen
e832da5bfc
Refactoring a few repositories to use the UserRepository for getting an IProfile for a Creator/Writer
2012-11-09 20:26:47 -01:00
Morten Christensen
270d75ecd1
Implements User- and UserTypeRepository.
...
Implements User- and UserTypeMapper/Factory.
Update ContentRepository tests to use RepositoryResolver.
2012-11-09 19:54:10 -01:00
Morten Christensen
e3d5fa766d
Starting implementation of the UserRepository.
...
Fixing unit tests.
2012-11-09 14:45:28 -01:00
Morten Christensen
fadac469e9
Adding unit tests for Script- and StylesheetRepository.
2012-11-09 11:56:59 -01:00
Morten Christensen
e93d7d3f5d
Creating unit test
2012-11-09 09:57:46 -01:00
Morten Christensen
c93fcfd482
Correcting two failing unit tests
2012-11-09 09:51:53 -01:00
Morten Christensen
9049b079c8
Adding unit tests for RelationRepository.
...
Correcting delete clauses for Content to ensure relations are also deleted.
2012-11-09 09:40:06 -01:00
Morten Christensen
4dfb4df952
Adding unit tests for RelationTypeRepository.
...
Correcting a few mappers and adding identityseed for RelationType plus adding default data.
2012-11-09 08:49:48 -01:00
Morten Christensen
e35f61b10c
Adding AspNet Mvc dependency in nuspec.
2012-11-09 07:28:29 -01:00
Morten Christensen
21ca6fbc96
Adding content retrieval performance test
2012-11-08 19:23:25 -01:00
Morten Christensen
ac9ab759e9
Adding missing reset of resolver in a two unit tests.
2012-11-08 18:37:40 -01:00
Morten Christensen
c5d86e9525
Merge with 4.10.0
2012-11-08 18:29:07 -01:00
Morten Christensen
54df4855bc
Fixing issue with deserializing macros and adding some more macro related tests.
2012-11-08 18:27:22 -01:00
Morten Christensen
705fed7a5e
Adding unit tests for DictionaryRepository.
2012-11-08 15:55:44 -01:00
Sebastiaan Janssen
3632d6b0c6
Opened branch 4.11.0
2012-11-08 15:31:41 -01:00