Shannon
|
9a830e5de6
|
fixes tests
|
2016-01-27 19:44:36 +01:00 |
|
Shannon
|
6c5e09fd84
|
Ensures that the main content type repositories are returning the correct result from their GetAll methods. Fixes the FullDataSetRepositoryCachePolicy to ensure that any request with Ids actually returns the result of GetAll and then filters to ensure caching is correct.
|
2016-01-27 19:26:08 +01:00 |
|
Shannon
|
7a25cb52b2
|
updates the repository cache policies so that we aren't keeping everything in cache unnecessarily
|
2016-01-26 19:13:42 +01:00 |
|
Shannon
|
3ecb9d0f86
|
U4-7807 Domain, language, public access cache (GetAll) caches not working when there are no items
|
2016-01-22 17:05:27 +01:00 |
|
Shannon
|
f78a425985
|
U4-7816 The IsolatedCache instance in the RepositoryFactory differs from the ApplicationContext singleton instance
|
2016-01-22 16:37:47 +01:00 |
|
Shannon
|
b5abbc7c30
|
Adds some null checks
|
2016-01-14 18:11:48 +01:00 |
|
Shannon
|
bfa12856db
|
Fixes issue with DefaultRepositoryCachePolicy when creating new items - we were generating the cache key before actually calling the method to create the item therefore there was no id assigned yet (it would be zero).
|
2016-01-14 16:36:03 +01:00 |
|
Shannon
|
2b13297c36
|
Changes method name to be shorter and makes internal instead of protected.
|
2016-01-07 19:27:59 +01:00 |
|
Shannon
|
d7a142e724
|
Refactors DictionaryItem and DictionaryTranslation so that the attached ILanguage entity is not cached nor cloned. This will save on lots of memory and cloning cycles especially if there are quire a few dictioanry items. Unfortunatley to achieve this requires a not so pretty hack where we need to assign an internal callback to the model so it knows how to retrieve the language when it needs it. In v8, the ILanguage entity will not be attached at all. This also fixes a cache refresher issue for when a language is deleted -> all dictionary cache must be removed. This commit also changes a method name: ClearAllIsolatedCacheByRepositoryEntityType
|
2016-01-07 18:44:04 +01:00 |
|
Shannon
|
63785ae70f
|
Adds cache policy tests
|
2016-01-07 17:54:55 +01:00 |
|
Shannon
|
68aa6ff093
|
Moves repository caching logic into new CachePolicies.
|
2016-01-07 16:31:20 +01:00 |
|
Shannon
|
ff829d49a3
|
Updates all cache refreshers to reference the IsolatedRuntimeCache where required, refactors how IsolatedRuntimeCache is exposed on the CacheHelper, ensures that IsolatedRuntimeCache is used in all repositories instead of the global RuntimeCache, changes all obsolete usages of CacheHelper to the non obsolete equivalent, obsoletes many of the cache keys, obsoletes a couple cache refreshers that aren't used anymore in 7.3, simplifies CacheHelper with regards to it's 'disabled' cache state.
|
2016-01-06 18:08:14 +01:00 |
|
Shannon
|
4f40fff5ee
|
Moves DeepCloneRuntimeCacheProvider to Cache namespace. Creates DeepCloneableList + tests. Updates RepositoryBase to use DeepCloneableList when GetAllCacheAsCollection is used (so that all entries that get cached are deep cloned into and out-of the cache). Adds test for DeepCloneRuntimeCacheProvider for dealing with this list type.
|
2016-01-06 14:17:51 +01:00 |
|
Stephan
|
d83fdb48c9
|
Merge branch 7.2.7 into dev-v7
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/AsyncLock.cs
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Logging/LogHelper.cs
src/Umbraco.Core/PluginManager.cs
src/Umbraco.Core/Sync/ServerEnvironmentHelper.cs
src/Umbraco.Core/TypeFinder.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/ServerEnvironmentHelperTests.cs
src/Umbraco.Web.UI.Client/bower.json
src/Umbraco.Web.UI.Client/gruntFile.js
src/Umbraco.Web.UI.Client/src/less/grid.less
src/Umbraco.Web.UI.Client/src/less/panel.less
src/Umbraco.Web.UI.Client/src/less/property-editors.less
src/Umbraco.Web.UI.Client/src/loader.js
src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/config/ClientDependency.config
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/KeepAlive.cs
src/Umbraco.Web/Scheduling/LatchedBackgroundTaskBase.cs
src/Umbraco.Web/Scheduling/LogScrubber.cs
src/Umbraco.Web/Scheduling/RecurringTaskBase.cs
src/Umbraco.Web/Scheduling/ScheduledPublishing.cs
src/Umbraco.Web/Scheduling/ScheduledTasks.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/UI/JavaScript/JsInitialize.js
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/content.cs
src/umbraco.cms/Actions/Action.cs
|
2015-07-13 22:45:37 +02:00 |
|
Shannon
|
e69422c8d8
|
Fixes tests (backports cache fix by name)
|
2015-07-08 18:14:31 +02:00 |
|
Shannon
|
04976f8063
|
U4-6202 - cache clearing by object type
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
|
2015-07-08 11:08:19 +02:00 |
|
Shannon
|
3e7c9fc81e
|
Fixes: U4-6202 Cache not clearing by object type properly
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
|
2015-07-08 11:07:53 +02:00 |
|
Stephan
|
115ba8dcb8
|
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
Conflicts:
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunnerAwaiter.cs
src/Umbraco.Web/Umbraco.Web.csproj
|
2015-05-21 20:49:18 +02:00 |
|
Stephan
|
b804ff6107
|
Explicit exception on cache reentry
|
2015-05-21 16:09:20 +02:00 |
|
Shannon
|
a94f7e6ec0
|
Fixes RepositoryBase.Get to not use a GetOrAdd with the IRuntimeCache and instead just use a linear lookup, set cache, return - this causes less confusion and also prevents any inner recursive key lookups within our cache which was causing YSODs. Added tests for the RepositoryBase's DeepCloneRuntimeCacheProvider (see code comment about what this does), updates other repo's to use the RuntimeCache property instead of accessing it via the RepositoryCache.RuntimeCache property.
|
2015-05-21 17:04:14 +10:00 |
|
Shannon
|
9e223eb891
|
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/umbraco.presentation/content.cs
|
2015-05-20 16:24:17 +10:00 |
|
Stephan
|
dbaf7c0190
|
U4-6597 - fix issue with caches that would cache exceptions
|
2015-05-19 09:24:38 +02:00 |
|
Stephan
|
16e06b6d4d
|
Revert 444a028, 0e5a469 and 9d8f33e
|
2015-05-19 09:24:25 +02:00 |
|
Shannon
|
444a028e30
|
adds tests for caching exceptions and only caching one time and fixes HttpRequestCacheProvider to work with them.
|
2015-05-19 15:57:11 +10:00 |
|
Shannon
|
0e5a469577
|
Fixes: U4-6597 Umbraco fails to reconnect to a SQL Server if it started up when SQL server was offline - however this requires some review.
|
2015-05-19 14:29:25 +10:00 |
|
Shannon
|
9d8f33e98e
|
Fixes: U4-6597 Umbraco fails to reconnect to a SQL Server if it started up when SQL server was offline - however this requires some review.
|
2015-05-19 14:25:31 +10:00 |
|
Stephan
|
99ff86aefb
|
DistributedCache - don't serialize payload on local node
|
2015-05-18 16:35:42 +02:00 |
|
Shannon
|
64cbeb4c9d
|
Merge branch 'dev-v7' into 7.3.0
Conflicts:
src/Umbraco.Core/Services/EntityService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
src/Umbraco.Web/Cache/TemplateCacheRefresher.cs
src/umbraco.cms/businesslogic/template/Template.cs
|
2015-05-13 12:20:43 +10:00 |
|
Shannon
|
ad8926668e
|
Fixes: U4-6588 UmbracoSettings Error404 support Guids and Xpath - To achieve this, had to create an Id -> Key and Key -> Id method on EntityService including a cache for it which means updating all relavent cache refreshers to clear this cache when things are removed. Moved the logic for parsing an Umbraco XPath query (with tokens) to a stand-alone testable class (though haven't written tests), move the logic for looking up a not found page to the NotFoundHandlerHelper (instead of legacy 'library'). Fixes the $root query, since I don't think that ever worked. I've tested $root now for both MNTP and for the not found handler and it works.
|
2015-05-12 12:39:46 +10:00 |
|
Shannon
|
d3eff734aa
|
Merge branch 'dev-v7' into 7.3.0
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Repositories/ContentTypeBaseRepository.cs
src/Umbraco.Core/PropertyEditors/ParameterEditorResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs
src/Umbraco.Core/Services/LocalizedTextService.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Plugins/TypeFinderTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/PublishedContentExtensions.cs
src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/Umbraco.Web.csproj
|
2015-03-19 17:37:00 +11:00 |
|
Shannon
|
21c70462c9
|
publicizes cache extensions
|
2015-03-02 16:59:05 +11:00 |
|
Stephan
|
6b0292db64
|
cache clearing by object type (fix)
|
2015-02-02 09:39:58 +01:00 |
|
Stephan
|
010e4edc83
|
U4-6202 - cache clearing by object type
|
2015-01-30 10:51:50 +01:00 |
|
Shannon
|
0e2e47d4ee
|
Fixes: U4-6202 Cache not clearing by object type properly
|
2015-01-29 16:40:52 +11:00 |
|
Shannon
|
47ec2572f5
|
IMplements RepositoryCacheOptions to be able to have a more granular approach to how the base repository caches entities. Allows for a zero count caching as well which by default currently will be false since that's how it's inadvertently been until now, however have enabled a zero count cache for public access since this is queried very heavily on GetAll. Going to look at what other repositories do the same - Templates definitely does.
|
2015-01-29 15:39:41 +11:00 |
|
Shannon
|
2cd92353ec
|
Removes listening on legacy events for the CacheRefresherEventHandler
|
2015-01-22 12:17:36 +11:00 |
|
Shannon
|
c41c727e06
|
WIP - working on getting the legacy StyleSheet business logic class wrapping the new services.
|
2015-01-13 20:18:02 +11:00 |
|
Shannon
|
f32a46c546
|
Working on U4-1979 - language service
|
2014-11-20 13:41:34 +11:00 |
|
Stephan
|
e515b716f0
|
U4-4931 - also for ObjectCacheRuntime provider
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
|
2014-07-10 10:40:20 +02:00 |
|
Stephan
|
fd49c81940
|
U4-4931 - fixing & refactoring
Conflicts:
src/Umbraco.Core/Cache/HttpRequestCacheProvider.cs
|
2014-07-10 10:39:52 +02:00 |
|
Stephan
|
cc6099c953
|
U4-4931 - fixing & refactoring
Conflicts:
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/HttpRequestCacheProvider.cs
src/Umbraco.Core/CacheHelper.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Cache/HttpRequestCacheProviderTests.cs
|
2014-07-10 10:39:28 +02:00 |
|
Stephan
|
fdadd80414
|
U4-4931 - do not cache exceptions
Conflicts:
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/HttpRequestCacheProvider.cs
|
2014-07-10 10:37:46 +02:00 |
|
Stephan
|
fcd7e9517d
|
U4-4931 - fixing & refactoring
Conflicts:
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/DictionaryCacheWrapper.cs
src/Umbraco.Core/Cache/DictionaryItemWrapper.cs
src/Umbraco.Core/Cache/HttpRequestCacheProvider.cs
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
|
2014-07-10 10:37:15 +02:00 |
|
Stephan
|
72f53e4645
|
U4-4931 - fixing & refactoring
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
|
2014-07-10 10:36:10 +02:00 |
|
Stephan
|
2c9a287bda
|
U4-4931 - fixing & refactoring
|
2014-07-10 10:35:40 +02:00 |
|
Stephan
|
e2f4cfaf82
|
U4-4931 - fixing & refactoring
Conflicts:
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/HttpRuntimeCacheProvider.cs
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
|
2014-07-10 10:35:12 +02:00 |
|
Stephan
|
8729156fbf
|
U4-4931 - lock contention & potential application lockdown
Conflicts:
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/umbraco.cms/Actions/Action.cs
|
2014-07-10 10:34:17 +02:00 |
|
Shannon
|
7d556a0318
|
Merge remote-tracking branch 'origin/6.2.0' into 7.1.2
Conflicts:
src/Umbraco.Core/Cache/CacheProviderExtensions.cs
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/ICacheProvider.cs
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/Umbraco.Core/Models/Member.cs
src/Umbraco.Core/Models/PreValue.cs
src/Umbraco.Core/Models/PropertyType.cs
src/Umbraco.Core/Services/DataTypeService.cs
src/Umbraco.Tests/Models/Collections/PropertyCollectionTests.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web/Models/PublishedProperty.cs
src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs
|
2014-04-17 18:10:42 +10:00 |
|
Shannon
|
bf65bf5bab
|
Got pre-values caching properly and data types using the runtime cache provider correctly + unit tests.
|
2014-04-17 14:23:37 +10:00 |
|
Shannon
|
c4acbf0dbc
|
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
Conflicts:
src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs
src/Umbraco.Core/Constants-Conventions.cs
src/Umbraco.Core/Models/Member.cs
src/Umbraco.Core/Models/Membership/IUser.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Factories/MemberReadOnlyFactory.cs
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IUserRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberGroupRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/PermissionRepository.cs
src/Umbraco.Core/Persistence/RepositoryFactory.cs
src/Umbraco.Core/Services/ContentService.cs
src/Umbraco.Core/Services/IMemberTypeService.cs
src/Umbraco.Core/Services/IMembershipUserService.cs
src/Umbraco.Core/Services/IUserService.cs
src/Umbraco.Core/Services/MemberService.cs
src/Umbraco.Core/Services/MemberTypeService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Core/Services/UserService.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/MockTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Login.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/LoginStatus.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/RegisterMember.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/Breadcrumb.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/EditProfile.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListAncestorsFromCurrentPage.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesFromCurrentPage.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesOrderedByDate.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesOrderedByName.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListChildPagesWithDoctype.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/ListDescendantsFromCurrentPage.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/Login.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/LoginStatus.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/MultinodeTree-picker.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/Navigation.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/RegisterMember.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViews/Templates/SiteMap.cshtml
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx.cs
src/Umbraco.Web.UI/config/umbracoSettings.config
src/Umbraco.Web/Cache/CacheRefresherEventHandler.cs
src/Umbraco.Web/Controllers/UmbLoginController.cs
src/Umbraco.Web/Controllers/UmbLoginStatusController.cs
src/Umbraco.Web/Controllers/UmbProfileController.cs
src/Umbraco.Web/Controllers/UmbRegisterController.cs
src/Umbraco.Web/Models/LoginModel.cs
src/Umbraco.Web/Models/LoginStatusModel.cs
src/Umbraco.Web/Models/ProfileModel.cs
src/Umbraco.Web/Models/RegisterModel.cs
src/Umbraco.Web/Models/UmbracoProperty.cs
src/Umbraco.Web/Mvc/UmbracoViewPageOfTModel.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
src/Umbraco.Web/Security/WebSecurity.cs
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoModule.cs
src/Umbraco.Web/WebApi/UmbracoApiController.cs
src/Umbraco.Web/umbraco.presentation/library.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewMacrosTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/editContent.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/login.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/members/EditMember.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/users/EditUser.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbracobase/baseLibrary.cs
src/Umbraco.Web/umbraco.presentation/umbracobase/restExtension.cs
src/umbraco.businesslogic/User.cs
src/umbraco.providers/UsersMembershipProvider.cs
src/umbraco.providers/members/UmbracoMembershipProvider.cs
|
2014-02-13 16:22:51 +11:00 |
|