Commit Graph

549 Commits

Author SHA1 Message Date
Shannon
4c775822c0 fixes null ref issues since the field values were not copied on clone 2019-09-16 16:22:05 +10:00
Shannon
fc821000f3 Adds ext methods for creating a flag to indicate model recompilation should occur 2019-09-16 14:50:05 +10:00
Shannon
bc42adb2ce removes notifying all content/media of content type changes since nucache model creation is lazy now 2019-09-16 14:31:27 +10:00
Shannon
a85d8f3e21 ensure that we don't CreateModel during cache notification 2019-09-16 14:25:02 +10:00
Stephan
e5634d13f1 Lazily create content and models in NuCache 2019-09-13 09:55:53 +02:00
Shannon
fb38d9afe1 Merges - double linked list for children performance + updates 2019-08-19 23:22:27 +10:00
Shannon
e18f73e74c removes todo 2019-08-19 22:07:46 +10:00
Shannon
f2a22e9843 Ensure we throw an exception when a fatal Exception is caught instead of swallowing 2019-08-19 22:07:22 +10:00
Shannon
890309bc11 Fixes SetAllFastSorted and sort orders 2019-08-19 17:18:45 +10:00
Shannon
e9717ee86a changes to PanicException 2019-08-16 16:18:58 +10:00
Shannon
bbd6e1150e Changes loading from DB to use SetAllFastSorted since it's already sorted by level + sort order 2019-08-15 23:59:46 +10:00
Shannon
3d56e45266 Adds notes, cleans up other code 2019-08-15 19:25:28 +10:00
Shannon
e9d4b607bb Adds POC for fast building of in-memory nucache from persisted files 2019-08-15 19:05:43 +10:00
Shannon
16d8f8846e Adds PanicException with details instead of throwing "panic" strings 2019-07-30 22:40:15 +10:00
Warren Buckley
bb8356d7db Merge pull request #5924 from umbraco/v/bugfix/5035-slot-swap2
Fixes race condition in PublishedSnapshotService and more...
2019-07-23 09:18:44 +01:00
Shannon
02f49a0039 Cherry picks fix for 5894 and makes adjustments 2019-07-19 16:00:42 +10:00
Shannon
3603090421 Fixes race condition in PublishedSnapshotService and more... 2019-07-17 22:51:14 +10:00
Shannon Deminick
31716e574c Update src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
good catch!

Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-07-03 18:34:11 +10:00
Shannon
126c4cbd46 ensures media is rebuild and adds more notes 2019-07-03 18:25:19 +10:00
Shannon
7cc91f71c2 Fixes pure live mode when changing doc types 2019-07-03 18:11:00 +10:00
Shannon
7c52b9602c Reduce some allocations and in advertent SQL calls along with inadvertent enumeration of the entire cache, adds some notes 2019-07-03 17:43:30 +10:00
Stephan
7a178be031 Fix getting content AtRoot 2019-06-27 13:29:35 +02:00
Stephan
b306e41560 NuCache - failover to database when local db fails to load 2019-06-25 13:26:50 +02:00
Stephan
e8d6daf59a NuCache - be more tolerant when cache is weird 2019-06-25 12:54:16 +02:00
Shannon
da1e2680cb Fixes ContentStore when it's building the cache from sources, adds TODO notes, questions, concerns, etc.... 2019-06-21 15:47:47 +10:00
Stephan
62e6168e03 Revert ContentStore changes - have to find the bug now 2019-06-18 11:36:53 +02:00
Stephan
067af64dff Cleanup ChildrenForAllCultures 2019-06-18 09:46:29 +02:00
Shannon
fecadeec51 Fixes issue with nucache and rebuilding and fixes ChildrenForAllCultures to deal with unpublished children 2019-06-18 11:57:36 +10:00
Stephan
94d2a5cbad Bugfix published cache and children 2019-06-17 13:03:01 +02:00
Stephan
9c252131f7 Better exception message in NuCache 2019-06-12 08:55:03 +02:00
Shannon
8eafadc29b adds some more info to panic exceptions 2019-06-12 14:00:28 +10:00
Stephan
14a056f4f4 Fix and cleanup 2019-06-07 11:15:58 +02:00
Stephan
7fd6bfa163 Make IPublishedContent changes less breaking and more friendly 2019-06-06 16:54:00 +02:00
Stephan
983144c3f9 Unit-test published content linked-list children 2019-05-29 17:01:12 +02:00
Stephan
bb0331e9cc Move IPublishedContent.Url() to ext method 2019-04-24 14:25:41 +02:00
Stephan
be93773399 Merge branch v8/dev into v8/feature/5170-IPublishedContent 2019-04-24 08:51:25 +02:00
Stephan
5d0010a993 Fix paging error in NuCache 2019-04-23 11:11:53 +02:00
Stephan
6f0baa4a8e Merge branch v8/dev into v8/feature/5170-IPublishedContent 2019-04-23 10:47:40 +02:00
Stephan
a56f3b23d1 Cleanup PublishedMember 2019-04-23 08:29:43 +02:00
Stephan
4feb766cc6 Fix IPublishedContent.Children() and NuCache 2019-04-23 08:29:43 +02:00
Stephan
05c85bbce5 NuCache: children as linked lists 2019-04-23 08:28:26 +02:00
Stephan
2270188668 Refactor IPublishedContent.Children() 2019-04-23 08:28:23 +02:00
Stephan
41e14a62c0 Refactor IPublishedContent.Parent() 2019-04-23 08:27:50 +02:00
Stephan
a996d46b6f Refactor IPublishedContent.GetCultureFromDomains() 2019-04-23 08:27:50 +02:00
Stephan
e062ea8d31 Refactor IPublishedContent.CultureDate(), .Cultures 2019-04-23 08:27:50 +02:00
Stephan
7cf13cbf94 Fix IPublishedContent.Name(), .Segment() for invariant 2019-04-23 08:27:49 +02:00
Stephan
afda7a5661 Refactor IPublishedContent.ItemType 2019-04-23 08:27:49 +02:00
Stephan
2b54cc50ab Refactor IPublishedContent.UrlSegment() 2019-04-23 08:27:49 +02:00
Stephan
890d7d8ce3 Refactor IPublishedContent.Name() 2019-04-23 08:27:48 +02:00
Stephan
f039b00a44 Introduce IPublishedPropertyType 2019-04-23 08:27:48 +02:00