Commit Graph

32030 Commits

Author SHA1 Message Date
Shannon
6e08a0396e Umbraco to re-index data on background thread
Fixes issue with scopes being disposed or referenced incorrectly due to yield returns as this can capture a scope in the enumerator which will get passed to a background thread in Examine and cause some issues. We saw this issue in netcore but the issue must still exist in v8 but we don't visibly see it for some reason. The other issue is that the ValueSet lookup for content was done 3x when an IContent is saved and it should only be done 2x, one for published, one for unpublished. The other issue is that the data lookups to build a ValueSet are intended to be done on a background thread. This is the case in v7 because the IEnumerable is lazy and passed all the way down to Examine's background thread but this doesn't occur in v8 because we need to iterate/split that value set before it's sent to Examine so the ValueSet is eagerly built within the request. We can easily resolve this by using the background task manager and just pushing a task when IContent/IMedia/IMember is saved. This will return the execution to the UI quicker.
2020-08-31 23:41:19 +10:00
Sebastiaan Janssen
425d0ba544 Remove dependency on the testdata project in Web.UI #8616 2020-08-11 16:17:58 +02:00
Shannon Deminick
892e3a43fc Merge pull request #8398 from umbraco/v8/bugfix/sqlmaindom-updates
Adjustments for SqlMainDomLock and others to make azure operations more resilient
2020-07-09 17:13:05 +10:00
Shannon
191060f930 Merge branch 'v8/8.6' into v8/bugfix/sqlmaindom-updates 2020-07-09 16:33:44 +10:00
Shannon
0196e55c19 Cherry picks fix #7994 for #5151 2020-07-09 16:33:01 +10:00
Shannon
15b903129e comments 2020-07-09 14:32:48 +10:00
Shannon
6dfb31f42b revert ssl port 2020-07-09 13:40:35 +10:00
Shannon
df61f30393 refactors scheduled publishing logic - splits into 2x scopes/2x trans, only take a write lock when necessary 2020-07-08 18:16:12 +10:00
Shannon
e1757178b9 Fixes our sql azure transient fault detection to be inline with current standards, adds a scope for the health check schedule tasks 2020-07-08 17:26:31 +10:00
Shannon
384531ea68 removes comments and no need for private method 2020-07-08 15:59:35 +10:00
Shannon
f0dea44b4d Adds Load Test controller to test data project (instead of just being stored in my personal repo) 2020-07-08 15:47:26 +10:00
Shannon
b80dc8f34b readability 2020-07-08 15:07:12 +10:00
Shannon
7590161858 comments 2020-07-08 14:54:26 +10:00
Shannon
7819d1acf5 comments 2020-07-08 14:53:53 +10:00
Shannon
a947fa3121 comments 2020-07-08 14:51:35 +10:00
Shannon
651756d96a Ensure we don't shutdown MainDom if there is an error while listening, only shutdown if the appdomain is triggered to shutdown, else we'll keep listening/logging 2020-07-08 13:43:20 +10:00
Shannon
53db2df390 Fix for PerformScheduledPublishInternal, don't use yield returns within a using! this will not work and transactions/connections will be lost 2020-07-08 13:43:20 +10:00
Shannon
65101beaf6 transactions for sqlmaindom 2020-07-08 13:43:20 +10:00
Shannon
6aa49242f2 Don't try to reuse db instances, thsi can result in potential zombie transactions 2020-07-08 13:43:20 +10:00
Shannon
a233264c8e Ensure index rebuilding doesn't short circuit if one of the populators fails 2020-07-08 13:43:20 +10:00
Shannon
8814875b95 fixes error logging 2020-07-08 13:43:20 +10:00
Sebastiaan Janssen
1f29778a23 Bump version to 8.6.4 2020-07-02 14:16:04 +02:00
Shannon
b8d6ef64c7 Remove the usage of Parallel to run the populators
(cherry picked from commit b078f856b9)
2020-07-02 13:49:59 +02:00
Sebastiaan Janssen
a88a5a0cae Merge pull request #7984 from umbraco/v8/bugfix/7967-sqlmaindom
Fixes #7967 - cannot start site with SqlMainDomLock  when db isn't configured

(cherry picked from commit cbfe643a79)
2020-07-02 10:38:10 +02:00
Sebastiaan Janssen
de3d0e9f11 Merge pull request #7021 from stevemegson/v8/pr/member-cmsContentNu
OnMemberRefreshedEntity stores data as published rather than edited

(cherry picked from commit a9bb1ff49e)
2020-07-02 10:36:45 +02:00
Warren Buckley
c99798ac1b Allows unpublished content to render a macro HTML in the RTE
(cherry picked from commit 3680f22321)
2020-06-18 09:17:00 +02:00
Warren Buckley
f716754253 Remove duplicate comment 2020-06-17 12:50:31 +01:00
Warren Buckley
ac394619fc Fix SkipStep in tour directive was looking at wrong DOM selector it needs to be skipStepIfVisible 2020-06-17 12:46:11 +01:00
Warren Buckley
950d64ff17 Revert changes made to tour from 8.7 due to UX changes 2020-06-17 11:49:20 +01:00
Warren Buckley
6a8ceb7af9 Set Version to 8.6.3
.\build SetUmbracoVersion 8.6.3
2020-06-17 09:07:17 +01:00
Warren Buckley
addd56f30d Adds skipStepIfVisible property to JSON Tour Steps to allow skipping if DOM item is present (#8235)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
2020-06-17 08:53:58 +01:00
Claus
03d1b7445e Fix radio button checked appearance
(cherry picked from commit ae993519ce)
2020-06-11 15:08:17 +02:00
Claus
32a30aad97 Fix glitch in umb-checkbox background 2020-06-09 14:29:56 +02:00
Claus
5a6462f197 Merge pull request #8226 from umbraco/v8/bug/8223
Fix nested content clipboard
2020-06-09 14:12:08 +02:00
Sebastiaan Janssen
18157aea32 Fixes #8233
Nested content clipboard broken after upgrade to Umbraco 8.6.2
2020-06-03 08:47:46 +02:00
Warren Buckley
1fe7de0b5f Merge pull request #7166 from umbraco/v8/feature/7133-do-not-paste-keys-in-nested-content
Cherry picked from SHA 49c438b55f

NC keys: Do not copy keys for Nested Content (Fix for #7133)
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-05-29 17:03:39 +01:00
Sebastiaan Janssen
b90ed4c362 Bump version to 8.6.2 2020-05-27 15:50:46 +02:00
Enkel Media
2b4968119e Fixes #8004 umbnodepreview setting contentType alias to null (#8109)
(cherry picked from commit f2ad7bb631)
2020-05-27 14:40:53 +02:00
Shannon
9f2c1cd3e6 when we rebuild indexes in the back office we are actually calling index.CreateIndex() 2 times before populating
(cherry picked from commit d7469e6576)
2020-05-27 10:14:03 +02:00
Jeavon Leopold
b2c2e86971 Add GetMainDom method to UmbracoApplication so GetRuntime can be overridden
(cherry picked from commit c3f59602c2)
2020-05-27 10:11:44 +02:00
Shannon
0b1e1e6dfe Cherry pick: Adding section value check in the query string #8061 2020-05-07 15:48:38 +10:00
Shannon
af29b8da68 Cherry pick #8058 to fix #8038 2020-05-04 20:59:22 +10:00
Shannon
ee6d3e0478 Removes the alpha builds of examine from nuget.config 2020-04-17 00:14:05 +10:00
Shannon
52ecd59c11 fixes test 2020-04-17 00:01:26 +10:00
Shannon
94bd9f4a9f Merge branch 'v8/8.6' of https://github.com/umbraco/Umbraco-CMS into v8/8.6 2020-04-16 23:54:09 +10:00
Shannon
3310ef9d8d fix tests 2020-04-16 23:53:52 +10:00
Sebastiaan Janssen
271669581a Merge pull request #7847 from umbraco/v8/bugfix/7773-memory-leak
Fixes Memory Leak in GetCacheItem cache dependency #7773

(cherry picked from commit b8abc04417)
2020-04-16 15:21:54 +02:00
Sebastiaan Janssen
41f98a41fb Added fix from #7832 since the test was somehow cherry picked into 8.6.1 already 2020-04-16 14:58:56 +02:00
Shannon
eabc9583f0 adds more named params 2020-04-16 22:39:32 +10:00
Shannon
153daa9fc5 fixes nameof 2020-04-16 22:35:53 +10:00