Shannon
e2ac82abca
Gets most of the User and UserType legacy objects wrapping the new services, yay! Now just need to sort out all the caching stuff which I have tasks for.
2014-01-23 18:44:41 +11:00
Shannon
1b7dc76df2
Updated much more of the UserService + some unit tests
2014-01-06 11:56:53 +11:00
Jeremy Pyne
7cd6882f28
Removed dependence in Stylesheet repository on Entity Service.
2013-10-29 09:24:05 -04:00
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
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
Morten Christensen
c5945789f0
Refactoring the MemberRepository to use the new Member class
2013-09-03 17:02:15 +02:00
Morten Christensen
186d5157ec
Implementing the read only side of the MemberType/MemberTypeRepository.
...
PropertyTypes and PropertyGroups are loaded as part of the MemberType in one go.
MemberTypeRepository uses the same approach as the ContentTypeRepository and MediaTypeRepository for saving/updating.
Refactoring how the 9-PropertyType convention is handled.
2013-09-02 15:53:09 +02:00
Morten Christensen
37d190c97d
Implementing read-only DTOs for improved reading of Members from db.
...
Started implementation of Member, MemberType and MemberGroup repositories.
2013-08-26 16:59:41 +02:00
Morten Christensen
67a2a9cfe4
Refactoring the optimized Recycle Bin, so that the Recycle Bin's repository is more independent and easier to use with the new events added to the Content- and MediaService.
2013-08-14 16:12:13 +02:00
Shannon
8be54ba0cc
Fixes: U4-1970 v6 API - need to implement caching for templates since we're doing a db lookup on a front-end request. This is a temporary fix until we implement the ApplicationCache properly but it still works by utilizing the existing RuntimeCacheProvider singleton. I've tweaked this provider as well to ensure we use the HttpRuntime.Cache when it is available (during a web session). We don't want to have a seperate caching bucket so that IIS can manage cache memory properly. Have ensured that the template cache is cleared when templates are updated/removed.
2013-07-23 11:46:18 +10:00
Morten Christensen
e34c857f6c
A bit of refactoring around unique naming, and implementing it for media as well
2013-07-04 11:22:59 +02:00
Morten Christensen
b0f4cb7d02
Merge branch '6.0.7' into 6.1.2
2013-06-28 13:30:04 +02:00
Morten Christensen
f809dec874
Updating repository factory to inject unique name setting into ContentRepository
2013-06-28 13:28:03 +02:00
Morten Christensen
efbc461da9
Code cleanup - removing all internal code related to Macros, which was created for v6 but left out for backwards compatibility.
2013-04-07 17:47:10 -02:00
Morten Christensen
381157ac5d
Initial implementation of the EntityRepository and Service, which will be used to retrieve a basic object with a minimum set of propreties for the models that have their base in the umbracoNode table.
...
The intention is to use this for loading trees in the backoffice for faster loading.
2013-03-17 16:25:21 -01:00
Shannon Deminick
0230bedeb6
Reinstated server registration repositories and db table
2013-03-07 21:40:00 +06:00
Shannon Deminick
7509724e35
Comments out Server registration and db classes for now, we'll revisit this again soon for automatic
...
distributed cache without the need for xml. This code is nearly there to work in most classic implementations
of a load balanced site where each node has an internal DNS/Hostname entry. Needs some fine tuning but we'll release
this in a later version.
2013-02-20 21:55:02 +06:00
Shannon Deminick
6423914f01
Creates ServerRegistrationService
2013-02-13 04:22:46 +06:00
Morten Christensen
029824c8bc
Reverting internal methods to public methods in RepositoryFactory
2012-12-12 17:37:13 -01:00
Morten Christensen
877c38b8bc
Moving RepositoryFactory to constructor to avoid hard dependency on the RepositoryResolver in the services.
2012-12-12 10:47:14 -01:00
Shannon Deminick
feff68ada8
Refactor new Services for thread safety, plus unit tests. Not all services are updated to be correct, only the
...
ContentService, the rest need to be updated as well.
2012-12-11 12:03:36 +05:00
Morten Christensen
4f5c5cfc7c
Making minor correct to ServiceContext as per Shannons recommendation.
...
Adding resolver reset to publishing test tear down.
2012-12-10 08:44:17 -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