Morten Christensen
6dd63aa0b3
Adding comment
2012-12-12 15:26:28 -01:00
Morten Christensen
3f35f1df00
Refactoring Document class to use new public api.
...
Adding Obsolete attributes to methods in Document class that has been updated.
Updating the PublishingStrategy to fire final event after content and xml has been properly updated in the db.
Adding a few new methods to the ContentService.
2012-12-12 15:17:48 -01:00
Morten Christensen
29762e227a
Refactoring the usage of Copy in the ContentService, so that it could be implemented in the Document class.
2012-12-12 10:22:58 -01:00
Morten Christensen
6516041617
Merge with 6.0.0
2012-12-11 08:55:45 -01:00
Morten Christensen
fc188b6c8a
Adding events and audit trail to ContentTypeService
2012-12-10 12:47:36 -01:00
Shannon Deminick
c9f40a74de
Changed all data services to create one repository type in the constructor instead of resolving
...
them in each method since they are only supposed to be using their single unit of work anyways (resolving
will return the same repository anyways, but in some cases it might have been with a different UOW)
Removed SetUnitOfWork method on IRepository as this is not needed.
Removed the old implementation of RepositoryResolver and replaces it with the RepositoryInstanceResolver (but
maintained the name of RepositoryResolver)
2012-12-10 02:58:23 +05:00
Shannon Deminick
f55d639514
Simplifies the ResolveByType so that it only requires the one interface, this is done by adding a new non-generic
...
IRepository interface.
2012-12-09 09:21:26 +05:00
Shannon Deminick
44ccfc0262
Adds 'Url', 'ItemType' and the Indexed property alias to IPublishedContent.
...
Changes Properties to ICollection instead of Collection for IPublishedContent.
Creates PublishedContentBase object which handles the Url and Indexed property on IPublishedContent automatically so implementors should use this base
class instead. Moves GetPropertyValue extensions to the Umbraco.Web project instead of the
Umbraco.Core project because this method needs to parse internal links if the value is a string. We require the UmbracoContext
to do this so they must exist in the Web project.
2012-12-09 03:22:11 +05:00
Morten Christensen
e1896319ec
Initial refactoring of the Document class to use the new public api.
...
And some experiments with medium trust and dynamic method.
2012-12-07 08:48:46 -01:00
Morten Christensen
89bcbdb0f3
Moving db transaction up one level to improve installation, which failed for sql azure.
2012-12-05 12:37:00 -01:00
Morten Christensen
602e3260fa
Fixing foreignkey issues
2012-12-05 08:39:31 -01:00
Morten Christensen
fc43247a9e
Adding clustered index to the UserLoginDto
2012-12-05 07:50:05 -01:00
Morten Christensen
28d9784c1b
Reverting changes to DTOs to re-enable foreign key constraints.
...
Adding temporary condition to executing database schema creation code to skip foreign key constraints for sql ce.
2012-12-04 08:16:10 -01:00
Sebastiaan Janssen
b02ad9e698
Remove foreign keys that never used to be in 4.x.
...
Fix the datacreation of CmsTaskTypeData
2012-12-03 13:22:23 -01:00
Sebastiaan Janssen
40e7b9bc0a
Fix the DB creation and population (tested only on SQL CE so far)
2012-12-03 11:49:09 -01:00
Morten Christensen
152c8e810d
Working with unit tests and making a few corrections around ContentTypes.
2012-11-30 09:34:09 -01:00
Morten Christensen
6edea4a8ee
Adding some of the database changes that is part of v6 - just renaming a few columns so far.
...
Refactoring the installer, which is not working 100% yet.
2012-11-27 15:07:53 -01:00
Morten Christensen
e07fc8c2ba
Adding language column to cmsContentVersion
2012-11-26 09:02:49 -01:00
Morten Christensen
4d351ad8ae
Making all Macro related classes internal, as the new macro stuff won't be utilized in 6.0.
2012-11-26 07:06:18 -01:00
Morten Christensen
ff89383386
Removing usage of IProfile on DataTypeDefinition.
...
Giving the Code First POC an extra kick in the conventions, so the default PropertyType convention can be overridden.
If a Definition doesn't exist for the selected DataType one will be created - with backing unit test.
2012-11-24 19:07:06 -01:00
Morten Christensen
1053492a29
Freedom Friday POC of native code first - limited to test project.
...
Making a few corrections to the serialization attributes after having tested ContentType Serialization.
Enabling bulk saving of new ContentTypes with Parent/Composition dependencies.
2012-11-23 19:58:19 -01:00
Morten Christensen
f11dc7f3cd
Correcting a few methods in the DataTypeService.
...
Adding publish = false in save methods, to ensure that Published isn't set to true.
2012-11-21 17:38:54 -01:00
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
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
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
00e3f16d30
A few corrections after running the unit tests
2012-11-12 08:00:51 -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
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
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
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
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
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
705fed7a5e
Adding unit tests for DictionaryRepository.
2012-11-08 15:55:44 -01:00
Morten Christensen
4afbd1c38e
Adding unit tests for DataTypeDefinitionRepository
2012-11-08 11:55:36 -01:00
sitereactor
372f7a7725
Refactoring UpdateContentCache strategy for generating xml cache upon publishing indepedent of the legacy umbraco.content.Instance class.
2012-11-06 20:03:36 -01:00
sitereactor
9b77eefb4c
Adding stragies plus tests for publishing and updating the xml cache.
2012-11-06 15:17:58 -01:00
sitereactor
0b29a08d1d
Adding proper identity check to File entity.
2012-11-06 13:12:33 -01:00
sitereactor
fba2ce8a7a
Refactoring the FileRepository to implement IUnitOfWorkRepository, so the files use the same transaction approach as database entities.
2012-11-06 13:07:18 -01:00
sitereactor
ec9880968f
Moving interfaces for services to Umbraco.Core.
...
Adding xml extensions for Content to generate xml for the xml cache.
Adding test for xml generation.
2012-11-06 10:47:14 -01:00
sitereactor
5f6c4cdf92
Renaming User to Creator on Content - makes more sense.
2012-11-05 14:43:51 -01:00
sitereactor
de9c373626
Adding some initial work for Membership related classes and interfaces, but only using IProfile and Profile as the rest are not part of the roadmap.
...
Adding a UserService, which should be fully implemented in a later release.
Refactoring usage of the ServiceContext, which is now loosely tied to the HttpContext as its used by the UserService.
Refactoring User/Writer on the Content class and interface.
Simplifying events and delegates in the publishing strategy.
2012-11-05 14:42:21 -01:00
sitereactor
fe6bbdf005
Refactoring usage of UOW in File-, Localization- and MediaService.
2012-11-05 10:12:17 -01:00
sitereactor
480801e10b
Refactoring usage of UOW in the DataTypeService.
...
Adding an internal extension method to get an IDataType for a PropertyType.
2012-11-05 09:47:07 -01:00
sitereactor
98ef3f96f8
Correcting issue with RepositoryResolver not setting the unit of work when resolving.
2012-11-02 11:54:42 -01:00
sitereactor
ccb1734a04
Removing dependency on DbProviderFactories in DatabaseFactory.
...
Refactoring mocked content used by ContentTests.
Refactoring dirty-usage.
2012-11-02 09:11:23 -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