Commit Graph

35042 Commits

Author SHA1 Message Date
Mole
9bd1b06eaf Only create the dicts and hashset when a lock is requested 2021-03-17 13:09:45 +01:00
Nathan Woulfe
e2019777fb Add images in grid - fixes 9982 (#9987)
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2021-03-17 12:54:38 +01:00
Mole
54a4a76efb Use a hashset to keep track of acquired locks
This simplifies disposing/checking for locks greatly.
2021-03-17 11:10:34 +01:00
Michael Latouche
156c1c9416 Revert "The Value() method for IPublishedContent was not working with the defaultValue parameter" (#9989) 2021-03-17 10:29:31 +01:00
Mole
3b83b7409e Clean 2021-03-17 10:08:08 +01:00
Sebastiaan Janssen
cf4c163131 Fixes #9993 - Cannot save empty image in Grid 2021-03-17 09:58:17 +01:00
Mole
aa6d046efe Remove scope from method that calls another method that has a scope 2021-03-17 09:43:36 +01:00
Bjarne Fyrstenborg
1570d49d05 Remove unnecessary aria-hidden attribute from <umb-icon> 2021-03-17 07:21:39 +10:00
Mole
637e85ebbb Autocomplete scopes 2021-03-16 14:23:09 +01:00
Mole
68c4ce2008 Wrap calls to map in scopes 2021-03-16 14:18:17 +01:00
patrickdemooij9
f7c032af65 Add copy logic to Media Picker (#9957)
* Add copy logic to Media Picker

* Add action for copy all

* Fix for selectable media item
2021-03-16 09:28:51 +10:00
Shannon Deminick
653bf52a1c Adds additional error checking and reporting to MainDom/SqlMainDomLock (#9954)
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-15 13:49:37 +01:00
Mole
d1afb6eabc Merge remote-tracking branch 'origin/v8/dev' into v8/feature/10613-distributed-locks 2021-03-15 13:19:36 +01: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
Mole
92fd9ff685 Clean 2021-03-15 11:31:23 +01:00
Mole
ef59829489 Throw error if all scopes hasn't been disposed 2021-03-15 08:54:52 +01:00
Mole
cee33e863e Fix errors shown in unit tests 2021-03-15 08:38:23 +01:00
Shannon
b7c1ad2298 Fix dead lock with TypeLoader 2021-03-15 02:23:55 +01:00
Callum Whyte
5ee0f310c9 Counting Umbraco.ModelsBuilder and ModelsBuilder.Umbraco namespaces as external providers 2021-03-15 07:46:58 +10:00
Mole
ea816e8110 Add more unit tests, showing current issue 2021-03-12 13:30:25 +01:00
Mole
5c7e4f8dde Adjust unit tests and apply fixes to scope 2021-03-12 13:10:17 +01:00
Sebastiaan Janssen
9b39bfbf51 Merge branch 'v8/dev' into v8/contrib 2021-03-12 09:30:30 +01:00
Sebastiaan Janssen
ef60a98fe1 Merge branch 'v8/8.12' into v8/dev 2021-03-12 09:29:44 +01:00
Bjarke Berg
83719f3505 Fix issue with SqlMainDomLock that cannot use implicit lock timeouts … (#9973)
(cherry picked from commit da5351dfcf)
2021-03-12 09:28:45 +01:00
Bjarke Berg
da5351dfcf Fix issue with SqlMainDomLock that cannot use implicit lock timeouts … (#9973) 2021-03-12 09:23:32 +01:00
Justin Shearer
85e6a1149e [Issue 5277-146] accessibility - Close 'X' icon next to language drop… (#9264)
* [Issue 5277-146] accessibility - Close 'X' icon next to language drop down is identified as "link" - screen reader

* add new loacalization key
2021-03-12 09:18:32 +01:00
Shannon
8c7abc60aa inject lazy service just to be safe 2021-03-12 16:50:29 +11:00
Shannon
1ab73b35a4 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf 2021-03-12 16:50:00 +11:00
Shannon
e6b56d9a3c missing null check 2021-03-12 16:33:37 +11:00
Shannon
a62112ab82 Don't call the same method over and over 2021-03-12 16:33:09 +11:00
Shannon
37abae83b3 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/nucache-perf
# Conflicts:
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
2021-03-12 16:32:21 +11:00
Shannon
890972c3b9 Merge branch 'nzdev-v8/feature/nucache-perf-auto-rebuild' into v8/feature/nucache-perf 2021-03-12 14:11:10 +11:00
Shannon
394372d614 Merge branch 'v8/feature/nucache-perf-auto-rebuild' of https://github.com/nzdev/Umbraco-CMS into nzdev-v8/feature/nucache-perf-auto-rebuild 2021-03-12 14:10:18 +11:00
Shannon Deminick
efbfa0ba30 Reverting accidental change 2021-03-12 14:02:48 +11:00
Shannon Deminick
b606b925dd Reverting accidental change 2021-03-12 14:01:51 +11:00
Shannon Deminick
097a46189f Reverting accidental change 2021-03-12 14:01:04 +11:00
Shannon Deminick
92d11845f5 Reverting accidental change 2021-03-12 14:00:25 +11:00
Mole
498a5e0c66 Initial rework of Lock dictionaries 2021-03-11 15:52:14 +01:00
Sebastiaan Janssen
e0604e0a53 Merge branch 'v8/8.11' into v8/8.12 and bump version to 8.12.1
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:55:13 +01:00
Sebastiaan Janssen
e5aaa20863 Merge branch 'v8/8.10' into v8/8.11 and bump version to 8.11.2
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:52:58 +01:00
Sebastiaan Janssen
3a5327a84d Merge branch 'v8/8.9' into v8/8.10 and bump version to 8.10.3
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:50:35 +01:00
Sebastiaan Janssen
e75895ce48 Merge branch 'v8/8.8' into v8/8.9 and bump version to 8.9.3
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:47:33 +01:00
Sebastiaan Janssen
0479ee41dd Merge branch 'v8/8.7' into v8/8.8 and bump version to 8.8.4
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:45:46 +01:00
Sebastiaan Janssen
1c5d95def4 Merge branch 'v8/8.6' into v8/8.7 and bump version to 8.7.3
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:42:10 +01:00
Sebastiaan Janssen
21bee00518 Bump version to 8.6.8 2021-03-11 14:38:19 +01:00
Mole
c69a89baf1 Merge branch 'v8/dev' into v8/feature/10613-distributed-locks 2021-03-11 13:43:07 +01:00
Bjarke Berg
8cd41ab36a Merge pull request #9924 from umbraco/v8/feature/10613-distributed-locks
Change scope to only acquire distributed locks once in a scope chain.
2021-03-10 15:51:04 +01:00
Sebastiaan Janssen
a997f0c1e5 Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2021-03-09 15:02:46 +01:00
Sebastiaan Janssen
44e68543d4 Merge branch 'v8/8.12' into v8/dev 2021-03-09 14:56:26 +01:00
Sebastiaan Janssen
e43ff6cff1 Merge branch 'v8/8.11' into v8/8.12 2021-03-09 14:55:50 +01:00