Shannon
513aa0b95d
Merge remote-tracking branch 'origin/dev-v7' into dev-v7.7
2017-08-28 22:41:14 +10:00
Shannon
300c9aa258
fix test
2017-08-17 12:10:34 +10:00
Shannon
a3cf41284b
fixes test
2017-08-03 01:27:13 +10:00
Shannon
9b50d6d251
Gets a few tests fixed
2017-05-11 20:51:31 +10:00
Shannon
8f69efe331
It builds!
2017-05-04 19:16:52 +10:00
Shannon
378d0f7939
chagnes test params to be slightly less hacky
2017-04-30 19:21:13 +10:00
Shannon
d64fa7f92d
Fixes tests, ensures we null check when generating hashes for items in a collection
2017-04-30 19:14:36 +10:00
Shannon
f6a7b25e87
Updates CacheRefresherEventHandler to have consistent events, adds logic to find the event based on definitions, adds tests to test them all
2017-02-06 17:26:06 +11:00
Stephan
4ab7f768fa
U4-9322 - backport repository cache policy changes from v8
2017-01-18 18:48:13 +01:00
Stephan
1261f6b159
U4-9322 - getting tests to run
2017-01-16 19:54:09 +01:00
Sebastiaan Janssen
de0bb494a5
Improving Build.bat and appveyor build output
...
Moving all Console.Write* to Debug.Print
2016-07-14 14:11:05 +02:00
Shannon
b8c88139e1
fixing build
2016-06-21 21:08:38 +02:00
Shannon
b5411a5402
Initial commit of refactor of better/more efficient in terms of mem and performance properpty selectors for our models, this also yields a much cleaner syntax. I have discovered one issue now which is that the PropertyChanged event now fires before the property value is actually set, this is why the lambda syntax existed before. Instead we can use a ref property for the SetPropertyValueAndDetectChanges methods which will work much nicer - and also potentially have less allocations.
2016-06-21 18:11:03 +02:00
Shannon
e56881abc6
adds unit tests for new ext methods
2016-02-17 11:21:15 +01:00
Shannon
1db635f24c
Updates DeepCloneableList to support behaviors, for the FullDataSetCachePolicy we only want to clone when writing to cache, not when reading, the cloning will then be done on individual items after filtering by the FullDataSetRepositoryCachePolicy
2016-02-02 01:32:36 +01:00
Shannon
6e27b3d6d4
Fixes up the FullDataSetRepositoryCachePolicy to handle individual items, updates and removes correctly, splits up it's logic so it's not overriding the DefaultRepositoryCachePolicy since that is just different. Adds tests.
2016-02-02 00:47:18 +01:00
Shannon
9a830e5de6
fixes tests
2016-01-27 19:44:36 +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
63785ae70f
Adds cache policy tests
2016-01-07 17:54:55 +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
5d7cbd3477
U4-7038 - fix bugs + tests
2015-09-01 16:11:26 +02:00
Stephan
012c3289cd
U4-6675 - in-memory temp media cache
2015-06-22 15:50:22 +02:00
Stephan
6d3377cc6e
Revert "temp - temp media memory cache"
...
This reverts commit 8d1cdf020b .
2015-06-16 12:29:09 +02:00
Stephan
8d1cdf020b
temp - temp media memory cache
2015-06-15 14:38:09 +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
b788a6c642
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunnerAwaiter.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/umbraco.cms/businesslogic/web/StyleSheet.cs
2015-05-21 17:12:30 +10: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
72046a6ab9
removes test - expected behavior
2015-05-21 16:36:09 +10:00
Shannon
ea2303c327
commits cache tests with recursive key lookup
2015-05-21 16:13:58 +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
Stephan
99ff86aefb
DistributedCache - don't serialize payload on local node
2015-05-18 16:35:42 +02:00
Shannon
d6589960f2
re-organizes a bit of cache tests into one folder
2015-04-10 10:36:21 +10:00
Stephan
5baaed19d0
Fix tests
2015-03-06 14:24:08 +01:00
Stephan
46fdd605ae
Refactor distributed cache & merge Shazwazza's DataBaseServerMessenger
2015-03-05 10:49:21 +01:00
Shannon
0d74642e56
fixes U4-5492 Distributed calls won't work if IIS sites between servers have the same HttpRuntime.AppDomainAppId
2014-10-03 09:44:03 +10:00
Shannon
1d4e80904e
updated test proj
2014-09-16 11:51:10 +10:00
Shannon
311639332d
added some tests for cache refresher
2014-09-16 11:19:33 +10: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
perploug
e825c08901
Added events.Service and xmlhelper.service
2013-08-12 15:17:34 +02:00
Shannon
8d4c8ab10e
Adds more tests for caching
2013-08-09 12:24:29 +10:00
Shannon
6522193118
Simplifies the caching interfaces and updates the CacheHelper to expose the different caching levels (obsoletes it's normal methods)
2013-08-09 11:16:10 +10:00
Shannon
8c55946b1b
Worked on the application cache, added request cache, changed some stuff over to be interfaces, added unit tests suite (need mroe) to test all caching providers.
2013-08-08 19:46:58 +10:00
Shannon Deminick
860c8c1002
Fixes: #U4-482, #U4-549. Macro cache streamlining - ensures it is cleared based on event handling instead of inline everywhere
...
in code. Unit tests for CacheHelper, unit tests for umbraco.macro, updates to
ObjectExtensions.TryConvertTo + unit tests, enhanced disposable method of ApplicationContext.
2013-03-12 22:58:21 +04:00