Shannon
37685e3b77
Merge branch 'v8/feature/examine-select' of https://github.com/nzdev/Umbraco-CMS into nzdev-v8/feature/examine-select
2021-06-23 11:23:58 -06:00
Shannon
f5406b9b2f
Updates to Examine 1.2.0
...
and removes ExecutionContext workaround since it's part of Examine now.
2021-05-11 14:42:29 +10:00
Chad Currie
5d05b12f11
merge
2021-04-30 23:20:37 +12:00
Sebastiaan Janssen
e8a9c4da2e
Merge branch 'v8/dev' into v8/contrib
2021-03-31 13:01:25 +02:00
Shannon Deminick
d0f047e729
Fixes and Updates for DB Scope and Ambient Context leaks ( #9953 )
...
* Adds some scope tests (ported back from netcore) and provides a much better error message, ensure execution context is not flowed to child tasks that shouldn't leak any current ambient context
* updates comment
* Ensure SqlMainDomLock suppresses execution context too
* Since we're awaiting a task in a library method, ConfigureAwait(false)
* missing null check
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2021-03-15 12:56:38 +01:00
Sebastiaan Janssen
ece7008ce7
Merge branch 'v8/dev' into v8/contrib
2021-03-01 16:06:12 +01:00
Bjarke Berg
3e7f912fcd
Merge pull request #9441 from umbraco/v8/bugfix/explicit-scope-examine
...
Ensure there's explicit scopes used for all service access in the Examine indexing logic
2021-02-24 08:17:49 +01:00
Chad
b8540ca128
Improve speed and reduce allocations by implementing logger overloads to avoid params [] allocation ( #8917 )
...
* Implement logger overloads to avoid params [] allocation
* Implement console logger ILogger
* Call correct signature
* Fix exceptions
* Introduce ILogger2
* fix logger reference
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2021-02-22 08:22:49 +10:00
Sebastiaan Janssen
81f1c2e7d6
Update to latest Examine
2021-02-18 22:08:12 +01:00
nzdev
bfa6bc43d8
Implement selectfields for examine
2021-02-16 20:56:44 +13:00
Sebastiaan Janssen
e62cef6151
Revert "Fixes wrong dependency in nuspec file"
...
This reverts commit 8642b61449 .
2021-01-28 12:05:19 +01:00
Sebastiaan Janssen
abb469a404
Revert "Updated NPoco from 3.9.4 -> 4.0.2 ( #9061 )"
...
This reverts commit d9c6584d90 .
2021-01-28 11:47:10 +01:00
Sebastiaan Janssen
8642b61449
Fixes wrong dependency in nuspec file
...
Updates NPoco to the latest v4 version
2021-01-11 13:19:18 +01:00
Martin Humlund Clausen
d9c6584d90
Updated NPoco from 3.9.4 -> 4.0.2 ( #9061 )
2021-01-08 15:32:09 +01:00
Shannon
7eee09758e
Ensure there's explicit scopes used for all service access in the Examine indexing logic
2020-11-24 09:49:58 +11:00
Sebastiaan Janssen
f88144ae48
Merge branch 'v8/dev' into v8/contrib
...
# Conflicts:
# src/Umbraco.Examine/ContentIndexPopulator.cs
2020-11-04 11:34:27 +01:00
Sebastiaan Janssen
9202550537
Remove unused usings
2020-10-22 14:25:57 +02:00
Shannon
22a7f94921
Merge branch 'temp_8879' of https://github.com/dawoe/Umbraco-CMS into v8/contrib
...
(cherry picked from commit 069529e9e2 )
2020-10-22 13:52:45 +02:00
Shannon
a6101ce499
Merge branch 'dawoe-temp_8879' into v8/contrib
...
(cherry picked from commit 35bf59dee4 )
2020-10-22 13:52:10 +02:00
Dave Woestenborghs
323cdd1441
Optimized so valuesets are build once instead of per index
2020-10-22 08:12:03 +02:00
Dave Woestenborghs
29e2b21789
Refactored to a single loop to avoid multiple enumerations on the results list
2020-10-14 08:37:49 +02:00
Dave Woestenborghs
165f99c920
Order by path instead of level
2020-10-14 08:25:42 +02:00
Dave Woestenborghs
4db30c24c8
Added some more comments
2020-10-12 16:17:38 +02:00
Dave Woestenborghs
a9f83711a7
Merge branch 'pr9137' into temp_8879
2020-10-12 16:14:11 +02:00
Dave Woestenborghs
3da74b74e5
Optimized query for getting published pages only
2020-10-12 16:13:51 +02:00
Shannon
257392dd28
Non-published content indexed in ExternalIndex
...
Fixes issue that the non-published content index populator is executing for the ExternalIndex
2020-10-12 16:49:45 +11:00
Dave Woestenborghs
df2c90e488
For published content index items by getting children recursively
2020-10-01 10:16:08 +02:00
Dave Woestenborghs
6f30029a49
#8879 split indexing in 2 seperate methods so we are able to have different logic for all and published only content
2020-10-01 09:57:18 +02:00
Shannon
664504833b
Move scope management outside of iterator method
2020-08-31 23:57:26 +10:00
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
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
a233264c8e
Ensure index rebuilding doesn't short circuit if one of the populators fails
2020-07-08 13:43:20 +10: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
Shannon
6f420b9577
Merge branch 'v8/bugfix/contentquery-search' of https://github.com/ronaldbarendse/Umbraco-CMS into ronaldbarendse-v8/bugfix/contentquery-search
2020-01-15 12:18:52 +11:00
abi
71cfbcc787
MediaIndexPopulator should use IUmbracoContentIndex instead of UmbracoContentIndex
2019-11-29 15:13:11 +00:00
Ronald Barendse
b9e749152f
Merge branch 'v8/dev' into v8/bugfix/contentquery-search
2019-11-15 09:49:50 +01:00
Bjarke Berg
7c72fb57f2
Merge remote-tracking branch 'origin/v8/8.3' into v8/dev
...
# Conflicts:
# src/SolutionInfo.cs
# src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js
# src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
# src/Umbraco.Web/Cache/LanguageCacheRefresher.cs
2019-11-14 13:40:32 +01:00
Ronald Barendse
634f648517
Require Examine 1.0.2
2019-11-14 09:20:18 +01:00
Jeavon
88f6ddeae4
Code tweaks from PR review - also led to adding logging for Deserialization issues and therefore needing to mock the logger for the tests
2019-11-13 12:07:11 +00:00
Jeavon
10622cc430
Switched to using a dummy Uri so that runtimeState isn't needed as per review
2019-11-12 10:26:25 +00:00
Jeavon
b30f7b6a48
Merge branch 'v8/dev' into v8/feature/search-media-files
2019-11-12 10:12:03 +00:00
Bjarke Berg
7eef6b4037
https://github.com/umbraco/Umbraco-CMS/issues/7125 - Updates the projects to use the same versions as required by our nuspec
2019-11-12 08:50:31 +01:00
Shannon Deminick
1dc3a023c4
Merge pull request #6824 from bielu/v8/feature/InterfaceForContentPopulators
...
Create Interface for Member and Content Index to use in Populators
2019-10-31 14:16:41 +11:00
Ronald Barendse
7f0a077f58
Add SecurityCodeScan static code analyzer ( #6636 )
...
* Added SecurityCodeScan to all projects
* Enable analysing of content items
2019-10-29 19:37:15 +01:00
Jeavon
04004876b1
Merge branch 'v8/dev' into v8/feature/search-media-files
2019-10-29 12:13:09 +00:00
arkadiuszbiel
ffaf12c548
Create Interface for Member and Content Index to use in Populators
2019-10-24 09:55:41 +01:00
Shannon Deminick
1a593a8ef4
Merge pull request #6582 from bielu/feature/split_indexcreator_and_config
...
V8: Split IndexCreator and Index config methods
2019-10-14 15:55:11 +11:00
Harmen Kooiker
79e6c106d3
Fix ContetIndexPopulator publishedQuery
2019-10-11 09:38:43 +02:00
arkadiuszbiel
511751d147
refactor based on shannon comments
2019-10-10 15:50:00 +02:00