Shannon
d0cc93d6a2
Fixes: U4-3937 Ensure media is indexed across all servers in LB environment with Distributed Cache calls
...
This fix is for media indexes to be distributed properly and for unpublished content to be distributed properly, now to get members to do the same.
2014-03-06 17:50:08 +11:00
Shannon
8728e2f918
Fixes: U4-4260 When changing sort order on member type and saving, this doesn't get reflected on the member
2014-02-19 20:17:21 +11:00
Shannon
feefb052fd
Updates the BulkInsertRecords method to optionally close the trans - shouldn't by default. Updates how permissions are handled in the new services and exposes another method, ensures it's all wrapped in trans and ensures that cache is cleared properly. Fixes: U4-4213 "Replace child node permissions" does not work if all permissions cleared
2014-02-17 17:45:59 +11:00
Shannon
92235128f1
Got new MemberGroupService done, completed the MemberService for role based stuff, created a member group cache refresher since we are caching member groups by name (probably should cache others too). Public access stuff changes if a name of a member group is changed which is now done with an event instead of coded into the biz logic.
2014-02-12 17:14:16 +11:00
Shannon
a7298e2e5a
Completes: U4-4148 Anytime RuntimeCacheProvider or InMemoryCacheProvider is used, a cache refresher will need to handle it's distribution!
2014-01-28 12:20:10 +11:00
Shannon
15d7443c61
Streamlines the content type cache refreshing, leaving some of the legacy cache clearing but that shouldn't really have an effect, with these new changes it should be guaranteed that the distributed cache is executed always for Doc, media and member types.
2014-01-28 12:13:27 +11:00
Shannon
f2b7e27b34
Fixes: U4-2721 RuntimeCacheProvider is not cleared when data type changes and updates the repo factory to not use the InMemory cache provider since we should only ever use that for very very specific reasons since the memory can never auto-clear with that provider.
2014-01-28 11:30:02 +11:00
Shannon
690d08aa8c
Completes wrapping the new IUserService from the legacy User object. Ensures User cache is handled correctly and distributed cache is updated for Users.
2014-01-28 10:46:59 +11:00
Shannon
6719d70cc0
Updates UserTypeCacheRefresher to clear the runtime cache accordingly.
2014-01-28 09:22:01 +11:00
Shannon
4735f27a66
Fixes more naming conventions with CreateMemberWithIdentity, fixes memberTasks to ensure the name is set, fixes new membership providers which had the name/email call reversed. Updates the cache refresher event handler to listen to MemberService events instead of the old legacy API events.
2014-01-23 14:55:41 +11:00
Shannon
6377b9aa50
Fixes some underlying type conversions, fixes more of the member type wrapping, updates contenttypecontrolnew to work with member types properly, ensures the property type cache is cleared when member types change.
2014-01-23 13:33:58 +11:00
Shannon
e74e8f9d73
Fixes: U4-4005 Member custom properties not saving from code, only from backend, wraps more of the getter functions in legacy member class with new member service methods, fixes paged result method when there are no results.
2014-01-13 18:36:08 +11:00
Shannon
d20ea58467
Fixes: U4-3193 Partial view cache needs to invalidate based on cache refreshers
2013-10-18 16:13:41 +11:00
Stephan
ac2d010df3
PublishedContent - refactor PublishedContentType cache
2013-09-23 16:18:39 +02:00
Stephan
1e786ac311
PublishedContent - proper PublishedContentType cache management
2013-09-18 10:09:11 +02:00
Stephan
0415a31d0e
PublishedContent - the big refactoring
2013-09-16 17:17:45 +02:00
Morten Christensen
757283a3ff
Making explicit references to the legacy member class to avoid ambiguous references to the new member classes
2013-08-31 19:09:29 +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
Shannon
868edee5e6
Fixes: #U4-2161 - permissions inheritance. Fixes up how user permissions cache is invalidated and looked up (it is now lazy and not forced). User permissions are also cached as a low priority for now and only for 20 mins based on #U4-2474.
2013-07-09 11:47:46 +10:00
david.pendray
773500332b
Fix U4-2320 - Error on saving User Permissions
...
Nodes can be null but NodeIds property always returns a collection and this will return Ids from Nodes if _nodeIds are null and Nodes is not.
2013-06-13 02:50:25 +01:00
Shannon Deminick
0cda994538
Fixes DataTypeCacheRefresher to be a Json cache refresher since it needs to refresh both by GUID and by Int Ids
2013-05-07 19:37:57 -10:00
Shannon Deminick
294c2f4fba
Fixes: #U4-2183 - null check on UmbracoContext and fixes bad merge issue, the UserTypeCacheRefresher got removed from the proj file.
2013-05-02 14:24:27 -10:00
Shannon Deminick
60481e7e02
Fixes: #U4-2093 stylehsheet property cache refresher had wrong id assigned.
2013-04-20 00:18:45 +06:00
Shannon Deminick
7f5457316a
Fixed: #U4-2129 - using new api didn't use the CompositionPropertyTypes instead of just PropertyTypes and fixed up cache invalidation for PublishedContentHelper
2013-04-19 23:47:51 +06:00
Stephan
7a1e3b96b8
Web.PublishedCache - IPublishedCaches doesn't return !contextual caches anymore
2013-04-04 05:10:53 -02:00
Stephan
9982a09826
Web.PublishedCache - merge resolvers so caches can be related
2013-03-31 18:40:55 -02:00
Shannon Deminick
425fcf36eb
un-reverted changes to UserType cache refresher
2013-04-04 23:36:31 +06:00
Shannon Deminick
31fd05ebca
Merge
2013-04-04 23:30:36 +06:00
Shannon Deminick
495b4ed9e0
Refactors the WebSecurity class to not be static and be part of the UmbracoContext. Makes a few methods internal on it so that
...
it's not relying on the legacy User class. Cleans up the new BasePage and EnsuredUmbracoPage
2013-04-04 23:30:17 +06:00
Shannon Deminick
87c904cc96
Fixes: #U4-2044, #U4-2048
2013-04-04 21:57:41 +06:00
Sebastiaan Janssen
9edcc0c903
Revert UserType caching changes until Shannon can commit UserTypeCacheRefresher
2013-04-04 09:46:20 -02:00
Shannon Deminick
b56f8c8fb3
Fixes: #U4-2043 - User Type cache is not invalidated in LB scenarios
2013-04-04 03:43:05 +06:00
Shannon Deminick
296c24f829
Fixes: #U4-2042 - ensures users cannot continue to user the back office after they've been disabled and
...
ensures that the user context cache is cleared when users are saved which will work in LB environments.
Changes more HttpRuntime.Cache dependencies to ApplicationContext.Current.ApplicationCache.
2013-04-04 02:11:31 +06:00
Shannon Deminick
c5e88ef69f
Fixes: #U4-2041, #U4-2040 - user cache is not invalidated when permissions change across LB environments, also streamlined how caching is handled in
...
these classes which now use the standardized events way to do things. Fixes a performance issue and ensures that the cache is not invalidated for 'micro'
operations during permission changes.
2013-04-04 00:30:28 +06:00
Shannon Deminick
2a7e493c74
Changes all instances of the legacy Cache class to be using ApplicationContext.Current.ApplicationCache.
...
Fixes: #U4-2039 - ensures macro xslt cache is invalidated in LB scenarios.
2013-04-03 23:39:51 +06:00
Stephan
99a63a3cdb
fix build
2013-04-01 16:35:03 -02:00
Stephan
ad52c0f033
Web.Cache - add notes to cache refreshers re. dependencies
2013-03-31 18:40:55 -02:00
Shannon Deminick
e97a01c75c
Fixes: #U4-1992 - Creates DictionaryCacheRefresher to ensure that all cache associated with the dictionary is updated amongst all
...
servers when it is changed/removed. Removes RemoveByJson as we only actually require RefreshByJson since we can put any sort of parameters
in a custom json string including whether it is a remove operation (if required)
2013-03-23 01:59:25 +06:00
Shannon Deminick
00de509478
Merge
2013-03-22 22:11:08 +06:00
Shannon Deminick
1b5139889c
Changed event handler to AfterDelete for DataTypeDefinition, fixes merge issue with Entity and changes WasCancelled to be tracked.
2013-03-22 22:10:24 +06:00
Stephan
47474d31d6
Web.PublishedCache - rename LegacyXmlCache into XmlPublishedCache
2013-03-22 15:02:26 -01:00
Shannon Deminick
8cdfba42d5
Moves clearing of the routes cache for when domains are changed to the DomainCacheRefresher.
2013-03-22 05:15:58 +06:00
Shannon Deminick
e8dd56786b
Fixes: #U4-1986 - data type cache is not refreshed in load balanced environments.
2013-03-22 05:04:32 +06:00
Shannon Deminick
2a9309ea38
un-obsoletes a bunch of the Member api since it shouldn't be obsoleted. Ensures that members cache is cleared when a member is updated or deleted using
...
the API and that this cache is also refreshed on other servers.
2013-03-22 04:34:57 +06:00
Shannon Deminick
ee2f2dfda0
Fixes: #U4-1981 - ensures template cache is properly refreshed amonsgst all servers
2013-03-22 02:08:55 +06:00
Shannon Deminick
9d6b38a1c1
Fixes: #U4-1980 - stylesheet and stylesheet property cache is not refreshed in load balanced environments.
2013-03-22 01:49:34 +06:00
Shannon Deminick
f6490a897a
Fixes: #U4-1978 - Creates DomainCacheRefresher - domain cache is now refreshed across all servers
2013-03-22 00:49:07 +06:00
Shannon Deminick
ce8f5c167c
Fixes: #U4-1933 - Adds LanguageCacheRefresher, removes the invalidate cache calls from within the legacy language object.
2013-03-22 00:35:15 +06:00
Shannon Deminick
5f242aa3f6
Converts the media cache refresher to be a json cache refresher since it was impossible before to have media cache
...
cleared when media was deleted. Created base classes for cache refreshers, we now have a new event - CacheUpdated
which can now be used by code to execute on each individual server when any cache refresher is updated. Listening to events
normally only fire on the individual server so if people are wanting to refresh their own cache there was previously no way
to do that.
2013-03-21 22:53:58 +06:00
Shannon Deminick
f5a1e41569
missing checkin file
2013-03-21 20:30:32 +06:00