Commit Graph

605 Commits

Author SHA1 Message Date
Daniël Knippers
3eb4c642c3 Added GetSegment() method to VariationContext and uses it when contentId is available 2020-03-09 17:07:56 +01:00
Poornima Nayar
a9bb1ff49e Merge pull request #7021 from stevemegson/v8/pr/member-cmsContentNu
OnMemberRefreshedEntity stores data as published rather than edited
2020-02-17 15:26:48 +00:00
Steve Temple
b95d674092 Tidy up formatting 2020-01-31 09:50:37 +00:00
Steve Temple
377f1925ea Obsolete CreatorName and WriterName on IPublishedContent 2020-01-31 09:34:08 +00:00
Lars-Erik Aabech
af7f03e1f7 Don't downcast IPublishedSnapshot unnecessarily in PublishedContent 2020-01-28 22:28:54 +01:00
Bjarke Berg
fd11ef6ed1 Merge pull request #7306 from umbraco/v8/bugfix/AB3323-SqlMainDom
Introduce a new IMainDomLock and both default and sql implementations
2020-01-23 12:44:11 +01:00
Bjarke Berg
db27090ac0 Merge pull request #7233 from umbraco/v8/bugfix/6758-nucache-fix
When nucache updates are made the previous Gen root node is cleared
2020-01-22 11:13:43 +01:00
Bjarke Berg
b84961bcbc Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2020-01-22 07:06:43 +01:00
Bjarke Berg
6d92f5915a Merge remote-tracking branch 'origin/v8/8.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-15 13:44:42 +01:00
Shannon
3e71de4698 ensure locks the data types 2020-01-13 22:28:25 +11:00
Shannon
d26334ad39 Fixes the issue of manipulating data for an existing Gen, adds notes, makes the Gen comparison operator consistent. 2020-01-13 17:16:55 +11:00
Shannon
95337d5a70 Cleans up old notes 2020-01-06 21:39:26 +11:00
Shannon
94d05b1768 Fixes #7404 - Deadlock issue 2020-01-06 21:14:46 +11:00
Shannon
c2ac5e8531 Fixes a couple more issues with recursive locks 2020-01-06 18:34:04 +11:00
Shannon
243e76b3cc Removes ability to have recursive locks in SnapDictionary, changes logic to require locking around the methods just like ContentStore, updates tests 2020-01-03 15:04:39 +11:00
Shannon
8e3b3c8326 Changes methods that should already be locked to check that they are and changes their names/adds docs 2020-01-03 13:21:49 +11:00
Shannon
e6b333a3ec Changes readlocks to normal locks, no need to have extra objects allocated and complex code. 2020-01-03 12:39:56 +11:00
Shannon
3d8e9a78e3 Fixes deadlock 2020-01-03 12:39:17 +11:00
Shannon
a46e9124d2 First commit in fixing deadlock - committing my notes, etc... 2020-01-03 10:38:48 +11:00
Malthe Petersen
0e9594ca2d fix: url segment null in preview content 2019-12-18 12:23:53 +01:00
Shannon
6bba032325 re-merges 2019-12-04 16:09:39 +11:00
Shannon
8218467e04 Merge branch 'v8/dev' into v8/bugfix/6546-MainDom-Cleanup
# Conflicts:
#	src/Umbraco.Core/MainDom.cs
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2019-12-04 16:09:22 +11:00
Steve Megson
486dd0b8ea PublishedSnapshotService.OnMemberRefreshedEntity stores data as published rather than edited 2019-10-31 11:39:52 +00:00
Bjarke Berg
ad6343719b Merge branch 'v8/8.2' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-10-31 11:48:53 +01:00
Shannon
68db41fe93 Ensures that when there is no cache file, or if a cache file is empty, on startup any call to SetAllFastSorted was not ensuring the local db cache file was updated if the data was loaded from the database. 2019-10-31 18:58:07 +11:00
Shannon
bf37bbf4fe oops fixes the log output 2019-10-31 16:34:30 +11:00
Shannon
40e656de46 notes 2019-10-31 16:27:34 +11:00
Shannon
aff4814e0b Ensures that PublishedSnapshotService cannot close the local cache files after they are created but before they are populated 2019-10-31 16:06:43 +11:00
Shannon
c682bbcaf1 Adds notes and better logging to PublishedSnapshotService, fixes log output from HealthCheckNotifier, changes initial delay time of scheduled task to be longer. 2019-10-31 15:45:57 +11:00
Shannon
296e1ee80f removes test code 2019-10-22 15:55:43 +02:00
Shannon
652591d1c8 removes TODO 2019-10-22 15:55:36 +02:00
Shannon
4641e61743 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-22 15:55:28 +02:00
Shannon
b04f9c17ae Makes some updates based on code reviews 2019-10-22 11:55:05 +11:00
JohnBlair
478bc708b9 Defensive programming around disposal of local content and media dbs. 2019-10-22 11:45:03 +11:00
JohnBlair
d774ff8bc1 Undoing a bad previous change where logic in a catch should have been in a finally. Also dispose could throw an error so catch it and complete the clean up. 2019-10-22 11:45:03 +11:00
JohnBlair
ee098e0194 Make sure the local dbs are disposed of if the content store was not created. 2019-10-22 11:44:07 +11:00
JohnBlair
e998fce5d1 Trying to lock could throw exceptions so always make sure to properly clean up the local DB. 2019-10-22 11:44:07 +11:00
JohnBlair
7ace5baf9b Allow nucache content and/or media db files to be reused if they already exist. 2019-10-22 11:44:07 +11:00
Shannon
beb16a2f79 Ensures MainDom.Register absolutely does not call install logic if it's not MainDom, adds logging 2019-10-21 15:47:37 +11:00
Claus
1d39a25240 Merge pull request #6734 from umbraco/v8/bugfix/6698-nucache-panic
Fixes nucache #6698
2019-10-18 10:36:19 +02:00
Shannon
c91680e4c7 removes test code 2019-10-17 18:43:54 +11:00
Shannon
ea642b3c51 removes TODO 2019-10-17 18:43:09 +11:00
Shannon
439bacff07 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-17 18:41:05 +11:00
Shannon
6d38f946a4 ensures nucache table isn't rebuilt when adding a new lang 2019-10-16 15:00:13 +11:00
Shannon
9008641965 ensures the domain cache is totally refreshed when changing langs 2019-10-14 22:02:42 +11:00
Shannon
35a7283952 Fixes #2997 - ContentService returns outdated result 2019-09-27 10:59:29 +02:00
Shannon
1caf7f4587 Fixes regression issue in nucache causing a panic exception 2019-09-25 13:51:19 +02:00
Shannon
cc1e46ae05 Simplifies ContentStore for all the instances it's trying to find a linked node by a gen 2019-09-18 00:36:12 +10:00
Shannon
e6805b23e3 Oops! didn't complete the scope, ok now package install works within a trans, fixes nucache changes to not pass around _liveGen since sometimes we want the latest that is not _liveGen 2019-09-18 00:10:02 +10:00
Shannon
7fdbb84c04 Fixes bug with nucache - it wasn't using gen/snapshots the way it was supposed to 2019-09-17 22:38:43 +10:00