Mole
8f50bdbef4
Apply suggestions from review
2021-03-18 11:24:14 +01:00
Mole
c504e3ab7e
Clean
2021-03-17 13:40:14 +01:00
Mole
9bd1b06eaf
Only create the dicts and hashset when a lock is requested
2021-03-17 13:09:45 +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
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
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
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
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
e43ff6cff1
Merge branch 'v8/8.11' into v8/8.12
2021-03-09 14:55:50 +01:00
Sebastiaan Janssen
5582b09614
Merge branch 'v8/8.10' into v8/8.11
2021-03-09 14:55:25 +01:00
Sebastiaan Janssen
8f59bbc3b3
Merge branch 'v8/8.9' into v8/8.10
2021-03-09 14:55:05 +01:00
Sebastiaan Janssen
c474f41b86
Merge branch 'v8/8.8' into v8/8.9
2021-03-09 14:54:31 +01:00
Sebastiaan Janssen
41283aead9
Fix wrong version reference
2021-03-09 14:54:13 +01:00
Sebastiaan Janssen
7dc95b55d3
Merge branch 'v8/8.11' into v8/8.12
...
# Conflicts:
# src/Umbraco.Web/Services/IconService.cs
2021-03-09 14:51:54 +01:00
Sebastiaan Janssen
edab3507ec
Merge branch 'v8/8.10' into v8/8.11
2021-03-09 14:49:08 +01:00
Sebastiaan Janssen
1d3d83466c
Merge branch 'v8/8.9' into v8/8.10
2021-03-09 14:48:22 +01:00
Sebastiaan Janssen
4481e90f10
Merge branch 'v8/8.8' into v8/8.9
...
# Conflicts:
# src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2021-03-09 14:33:01 +01:00
Kenn Jacobsen
b7553e311a
Cache the SVG icons serverside to boost performance ( #9200 )
...
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
(cherry picked from commit 8e01ac30d6 )
# Conflicts:
# src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
# src/Umbraco.Web/Services/IconService.cs
2021-03-09 14:22:22 +01:00
Chad
16573446db
Fixes #9615 - Upgrade to Htmlsanitizer v5 ( #9856 )
2021-03-09 13:54:45 +01:00
Mole
adf504c20c
Fix IncrementRequestedWriteLock
2021-03-09 09:33:34 +01:00
Mole
b554aa9484
Apply suggestions from code review
...
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2021-03-09 08:22:16 +01:00
Mole
6898fd2784
Only lock once when decrementing
2021-03-09 08:19:40 +01:00
Bjarke Berg
745014a4c3
User manager related updates ( #9935 )
...
* Only allow not-admins to assign groups they have themselves
* Only admins is allowed to change password of other admins
* Fixed issue with deep clone of UserGroup. The Allowed sections was not cloned. This resulted in the allowed sections of the object stored in cache was updated, everytime we changed the allowed sections on an object cloned from the cache. Even if we did not save it.
* Only Admins are allowed to add sections to a user group, that they don't have access to themselves
* Align backend code with UI. User managers that is are not admin, can only assign the same groups new users, that they have themselves.
* Make existingGroupAliases and empty array when creating a new user
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2021-03-08 13:26:52 +01:00
Sebastiaan Janssen
4a8a73f03d
Merge branch 'v8/8.12' into v8/dev
2021-03-08 12:28:55 +01:00
Sebastiaan Janssen
49435708a5
Merge branch 'v8/8.11' into v8/8.12
2021-03-08 12:28:21 +01:00
Sebastiaan Janssen
8b04c32dff
Merge branch 'v8/8.10' into v8/8.11
2021-03-08 12:27:42 +01:00
Lars-Erik Aabech
fc447bb101
Should allow grid editors to use hash based settings ( #9837 )
...
* Should allow grid editors to use hash based settings
* Swap to using vm in grid config controller, as well as showing button when there's map settings
* Included keys for styles in empty state check for grid settings
* converted the code into more AngularJS performant code
* Remove rogue change to grid.editors.config
* use watchCollection instead
Co-authored-by: Niels Lyngsø <nsl@umbraco.com >
(cherry picked from commit 008827f785 )
2021-03-08 12:27:06 +01:00
Sebastiaan Janssen
b59026ae5c
Merge branch 'v8/8.12' into v8/dev
2021-03-08 10:08:36 +01:00
Sebastiaan Janssen
c36a2bced6
Merge branch 'v8/8.11' into v8/8.12
2021-03-08 10:08:01 +01:00
Sebastiaan Janssen
0386a311d7
Merge branch 'v8/8.10' into v8/8.11
2021-03-08 10:07:40 +01:00
Sebastiaan Janssen
5825aa5dee
Merge branch 'v8/8.9' into v8/8.10
2021-03-08 10:07:08 +01:00
Sebastiaan Janssen
ac41c5451e
Merge branch 'v8/8.8' into v8/8.9
2021-03-08 10:06:37 +01:00
Niels Lyngsø
cef1a73a2e
no need to prevent or stop propagation on this. ( #9933 )
...
Co-authored-by: Niels Lyngsø <nsl@umbraco.com >
(cherry picked from commit af65810048 )
2021-03-08 10:05:46 +01:00
Niels Lyngsø
af65810048
no need to prevent or stop propagation on this. ( #9933 )
...
Co-authored-by: Niels Lyngsø <nsl@umbraco.com >
2021-03-08 09:44:33 +01:00