Commit Graph

40304 Commits

Author SHA1 Message Date
Nikolaj Geisle
6aaa13b385 Merge pull request #11200 from umbraco/v9/feature/implement-IOptionsMonitor-instead-of-IOptions
v9: Implement IOptionsMonitor or IOptionsSnapshot instead of IOptions
2021-10-04 14:01:28 +02:00
Nikolaj Geisle
7e14205996 Fixed unit test
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 13:31:00 +02:00
Nikolaj Geisle
02475695f7 Updated InMemoryModelFactory.cs
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 13:28:57 +02:00
Nikolaj Geisle
009549a433 Updated HealthCheckNotifier.cs to use IOptionsMonitor
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 13:26:32 +02:00
nikolajlauridsen
c9b43ba48c Allow the period to change in Recurring host base 2021-10-04 13:22:49 +02:00
Bjarke Berg
fed6eaa03d Avoid breaking changes from merge. 2021-10-04 11:48:24 +02:00
Bjarke Berg
779f3b7b36 Merge remote-tracking branch 'origin/v8/8.17' into v9/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Composing/CompositionExtensions/Services.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2021-10-04 11:23:05 +02:00
Nikolaj Geisle
e383f51b65 Updated AuditNotificationsHandler.cs
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 11:14:04 +02:00
Nikolaj Geisle
89d357d00a Merge remote-tracking branch 'origin/v9/feature/implement-IOptionsMonitor-instead-of-IOptions' into v9/feature/implement-IOptionsMonitor-instead-of-IOptions 2021-10-04 11:03:56 +02:00
Nikolaj Geisle
44a7c0ce88 Updated IdentityMapDefinition.cs
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 11:03:31 +02:00
Nikolaj Geisle
33b55093de Updated IdentityMapDefinition.cs
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 10:44:23 +02:00
Nikolaj Geisle
c42356ef65 Updated UmbracoRequestLocalizationOptions.cs to not use IOptionsSnapshot
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 10:41:35 +02:00
Nikolaj Geisle
20b95de2d1 Changed some classes back to use IOptionsMonitor as they are singleton services
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 10:28:59 +02:00
Ronald Barendse
213d8c00aa Remove inherited property group id/key when local properties are added (#11231)
* Remove inherited property group id/key when local properties are added

* Rebind saved content type values

* Remove inherited from save group

(cherry picked from commit 20b9db87d0)
2021-10-04 10:05:19 +02:00
Nikolaj Geisle
4d35600288 updates tests to use IOptionsSnapshot
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 09:59:48 +02:00
Nikolaj Geisle
125247fddb Updated classes according to review
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-04 09:40:57 +02:00
Nikolaj Geisle
ba463cddc1 Updated classes according to review 2021-10-01 14:31:59 +02:00
Nikolaj Geisle
6b5d5b4e4c Delete Root.cshtml 2021-10-01 14:23:30 +02:00
Bjarke Berg
82959816d8 Bump to 9.1.0 2021-10-01 09:17:45 +02:00
Bjarke Berg
a3e687026f fix js projects in sln 2021-10-01 09:15:49 +02:00
Sebastiaan Janssen
11ad3fc082 Bump version to 8.17.0 2021-09-30 10:16:33 +02:00
Sebastiaan Janssen
97ecb07be7 Fixes #11206 (#11225) 2021-09-30 10:07:05 +02:00
Shannon
5c0e42e1cb Allows replacing MainDom with alternate DB
There are some cases where there is a complex hosting strategy and folks want a readonly database and are hosting on Azure. In that case, it is not entirely possible to have a readonly Umbraco database because SqlMainDom is required and part of that requirement is to have read/write access to the umbraco key value table.
This PR allows for the default MainDom to be replaced and to allow for an SqlMainDomLock to use an alternate connection string so that a separate read/write database can be used.

(cherry picked from commit 9f48a9f940)
2021-09-30 09:20:08 +02:00
Paul Johnson
9c0de1970b Merge pull request #11216 from OzoneNZ/v9/bugfix/static-assets-copy
Copy static assets during BeforeBuild target to fix Visual Studio "rebuild" failures
2021-09-30 07:20:43 +01:00
Paul Johnson
bceebea158 V9 Move sln files to root (#11212)
* Move sln files to root

* Fix tests

* Misc cleanup - remove unused helper

* Document the esoteric nature of UmbracoWebApplicationFactory

* Avoid unnecessary change to TestHelper WorkingDirectory
2021-09-29 11:51:28 +01:00
Blake Irwin
74a232d989 Execute CopyUmbracoAssets @ BeforeBuild to prevent Rebuild failures 2021-09-29 23:44:40 +13:00
Nikolaj Geisle
5d47ce7daf Fixed UnitTest 2021-09-27 10:54:47 +02:00
Nikolaj Geisle
e11d6ac280 Updated classes to use IOptionsMonitor or IOptionsSnapshot instead of IOptions 2021-09-27 10:32:21 +02:00
Shannon Deminick
5bfab13dc5 Fixes #11189 - protected content not working (#11193)
* Fixes #11189

* Fixes #11183

* Fix test Null_When_No_Content_On_PublishedRequest.

Believe this is reasonable.

* Update src/Umbraco.Web.Website/Routing/PublicAccessRequestHandler.cs

Co-authored-by: Paul Johnson <pmj@umbraco.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-09-26 12:42:27 +02:00
Paul Johnson
cf52b4648d Misc translation improvements for #11191 2021-09-24 16:58:16 +01:00
Bjarke Berg
452097d975 Fixed issue with Paths-integers being converted using local culture. (#11180)
* Fixed issue with Paths-integers being converted using local culture.

* Align with the old implementation

* Use int.TryParse insteaad of TryConvertTo when we do not want culture specific parsing

* More fixes for cultures and fixed wrong test. Users should be part of all groups to have access

* Fix casing for requested file

* Force tests to not use NLS

* try force tests to not use NLS

* try force tests to not use NLS

* Force tests on windows to run ICU

* More fixes for invariant int parsing

* Change key on actions/emptyRecycleBin, so the casing aligns with the view file, that is named emptyrecyclebin.html

* Fixed casing issue

* use Attempt to align with other code
2021-09-24 16:42:31 +01:00
Elitsa Marinovska
936757297e Reintroducing removed lang keys (#11178) 2021-09-24 14:03:25 +02:00
Nikolaj Geisle
8ce66277ce Updated classes to use IOptionsMonitor or IOptionsSnapshot 2021-09-24 12:45:34 +02:00
Nikolaj Geisle
8c26a86a55 Updated classes to use IOptionsMonitor and IOptionsSnapshot instead of IOptions 2021-09-24 09:45:00 +02:00
Nikolaj Geisle
10c2561d0a Updated Classes to use IOptionsMonitor or IOptionsSnapshot instead of IOptions 2021-09-23 15:31:46 +02:00
Nikolaj Geisle
eb01984763 Created TestOptionsMonitor.cs and updated tests to use this new class 2021-09-23 11:49:47 +02:00
Nikolaj Geisle
3596d527b2 Updated logscrubber to use IOptionsMonitor 2021-09-23 10:53:59 +02:00
Nikolaj Geisle
7e304cbf56 updated KeepAlive to use IOptionsMonitor 2021-09-23 10:49:24 +02:00
Nikolaj Geisle
689f022dea Updated BackOfficeServerVariables to use IOptionsMonitor 2021-09-23 10:38:53 +02:00
Nikolaj Geisle
03ccd29831 Updated BackOfficeServerVariables to use IOptionsMonitor instead of IOptions 2021-09-23 10:30:22 +02:00
Zeegaan
9e685813cd Updated BackOfficeSessionIdValidator 2021-09-23 09:42:04 +02:00
Zeegaan
6631839a6a Updated BackOfficeAssetsController to use IOptionsSnapshot 2021-09-23 09:41:00 +02:00
Zeegaan
0bb086c53d Changed AuditNotificationHandler to use IOptionsMonitor, but not the cached value, as this is a transient service 2021-09-23 09:28:56 +02:00
Zeegaan
7541648e24 Updated BackOfficeController 2021-09-23 09:20:13 +02:00
Zeegaan
8218ba0c97 Updated BackOfficeController to use IOptionsSnapshot 2021-09-23 09:19:56 +02:00
Zeegaan
2aa7f3d130 Updated AutoModelsNotificationHandler to use IOptionsMonitor 2021-09-23 08:50:50 +02:00
Zeegaan
e345a8c27f updated AutoModelsNotificationHandler 2021-09-23 08:43:08 +02:00
Zeegaan
e8df59d32a UpdatedBackOfficeAntiforgery 2021-09-23 08:40:15 +02:00
Zeegaan
cefed26563 Use IOptionsSnapshot in transient services 2021-09-23 08:33:16 +02:00
Bjarke Berg
9194eb9bd0 Merge branch 'v9/9.0-rc004' into v9/dev 2021-09-22 23:58:00 +02:00