Commit Graph

756 Commits

Author SHA1 Message Date
nikolajlauridsen
8e7fb897d1 Use proper notifications instead of event messages 2021-10-08 11:24:10 +02:00
nikolajlauridsen
f0f8874727 Add integration test 2021-10-07 16:34:38 +02: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
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
Bjarke Berg
10625b6aad Merge pull request #11167 from Jeavon/task/migrateIsMaster
Add migration for isMaster column to isSchedulingPublisher in UmbracoServer table
2021-09-22 20:34:55 +02:00
Jeavon Leopold
a3ca09c82e Update SQL that contains isMaster 2021-09-22 17:41:18 +01:00
Andy Butland
fee3d0778a Serializes key for templates in package definition and imports if ava… (#11163) 2021-09-22 18:21:53 +02:00
Bjarke Berg
8d2c1acb75 Merge pull request #11153 from umbraco/v9/bugfix/persist-isapproved
Fixes persisting the IsApproved for users
2021-09-21 18:37:19 +02:00
Shannon
cbafef2f03 Adds user store test 2021-09-21 09:21:28 -06:00
Bjarke Berg
ee132afa42 Merge pull request #11102 from umbraco/v9/bugfix/packagedatainstallation-macropartialviews
Use IFileService to save macro partial views in package migration
2021-09-21 14:18:36 +02:00
Sebastiaan Janssen
43a33cc1c4 Update Examine dependencies to 2.0.0 2021-09-21 13:27:36 +02:00
Bjarke Berg
e95a759181 Updated nuget package dependencies 2021-09-20 12:59:14 +02:00
Jeavon
981e096a19 Rename server roles, master = SchedulingPublisher and replica = Subscriber (#10480) 2021-09-20 10:37:58 +02:00
Ronald Barendse
7e7e28f7c7 Use IFileService to save macro partial views 2021-09-14 23:48:24 +02:00
Bjarke Berg
f3096c99da Merge remote-tracking branch 'origin/v8/8.17' into v9/feature/merge_v8_14092021
# Conflicts:
#	src/Umbraco.Core/ConfigsExtensions.cs
#	src/Umbraco.Core/Configuration/CoreDebug.cs
#	src/Umbraco.Core/Scoping/ScopeProvider.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.PublishedCache.NuCache/ContentStore.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/UnitOfWorkTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Scoping/ScopeUnitTests.cs
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web/HealthCheck/Checks/Security/BaseHttpHeaderCheck.cs
2021-09-14 11:32:43 +02:00
Shannon
769f24aaae Fixes reading connection strings after install
The issue was discovered when testing Umbraco Id. If you have an existing install and there is a pending Umbraco migration (upgrade), but you clear out the connection string to force a new install screen, fill out the existing connection string details, it all works and redirects to the back office. This will throw exceptions because the runtime state is in an upgrade state (which is fixed in #11064) but if you then logout and try to log in with an active OAuth provider, it means there is a redirect outside of Umbraco and back again and you'll end up back on the installer screen - but it will not show you the upgrade screen, instead it shows you the normal install screen. This is because we are not using IOptionsMonitor for connection string settings which means it's already read the original empty connection string setting fom the very beginning and isn't reading the current/updated value.

We need to review all IOptions usages. Most of them should be IOptionsMonitor unless its impossible to change the app behavior at runtime with a particular config option.
2021-09-09 13:15:11 -06:00
Bjarke Berg
1d55d50809 Merge pull request #11046 from umbraco/v9/feature/merge_v8.17-rc
Merge 8.17 RC into V9, cleanup/refactor property groups/tabs API
2021-09-08 19:17:02 +02:00
Bjarke Berg
e5ab0fc084 Merge pull request #10962 from umbraco/v9/task/examine-update
Updates to latest Examine version
2021-09-08 17:45:27 +02:00
Ronald Barendse
e2497d66a8 Refactor IContentTypeBase API to use property group aliases 2021-09-07 20:48:45 +02:00
Ronald Barendse
8ce4993cdc Fix failing tests because of missing property group alias 2021-09-07 14:40:45 +02:00
Ronald Barendse
ee2da5b8ca Merge branch 'v8/8.17' into v9/feature/merge_v8.17-rc 2021-09-07 12:10:58 +02:00
Bjarke Berg
9a9f61e4c4 Merge pull request #10968 from umbraco/v9/feature/composers-cleanup
Obsolete IUserComposer and rename Composers
2021-09-06 14:00:59 +02:00
Shannon
b17f28f3bf Another examine update 2021-09-01 16:51:33 -06:00
Nikolaj
3d2dae075d Remove notification registration for ValueEditorCacheRefresher 2021-08-30 10:57:32 +02:00
Shannon
c2fd3a1f7e Another Examine update 2021-08-27 12:03:08 -06:00
Paul Johnson
d6f1e7a1da Mark IUserComposer obsolete. 2021-08-27 10:42:36 +01:00
Shannon
e34b593b79 Updates to latest Examine version
The latest Examine version has some API breaking changes - namely it shouldn't have been relying on IOptionsSnapshot and instead IOptionsMonitor.
2021-08-26 11:36:24 -06:00
Nikolaj
1c4893d3c8 Fix Tests 2021-08-24 11:02:51 +02:00
Paul Johnson
8dd645f36e Merge pull request #10880 from umbraco/v9/bugfix/suppress-notifications-migrations
Suppress scope notifications during migrations
2021-08-23 13:25:47 +01:00
Bjarke Berg
7d0b26b25c Merge pull request #10884 from umbraco/v9/feature/imagesharp-cachefolder
V9: Move default ImageSharp cache folder to TEMP and map configured value to content root
2021-08-23 08:06:01 +02:00
Paul Johnson
41a51df724 Shutdown (localdb)\UmbracoTests when we're done with it 2021-08-20 16:35:49 +01:00
Ronald Barendse
33108a7e05 Merge branch 'v9/dev' into v9/feature/imagesharp-cachefolder 2021-08-19 23:42:08 +02:00
Zeegaan
466434feda Merge remote-tracking branch 'origin/v9/dev' into v9/feature/AB13286-rename-ui-project-back-to-its-original-name 2021-08-19 09:37:23 +02:00
Ronald Barendse
7ccc434bd6 Inject IHostingEnvironment to UmbracoBuilder to fix integration tests 2021-08-19 09:08:12 +02:00
Bjarke Berg
7b68083aff Merge pull request #10889 from umbraco/v9/task/fixed_todo_implement_new_asserts
v9: Implemented new asserts
2021-08-19 08:36:20 +02:00
Shannon
8ede33f6ba Updates how package migrations are run. Only publish a single notification. 2021-08-18 12:01:56 -06:00
Zeegaan
7239c2c942 Fixed tests with review comments 2021-08-18 15:45:33 +02:00
Nikolaj Geisle
7247a3759f Update src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Packaging/PackageInstallationTest.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-08-18 15:35:48 +02:00
Zeegaan
3063ed182c Implemented new Asserts 2021-08-18 14:20:56 +02:00
Warren Buckley
9671a08be2 Ensure Nuget dependencies are upto date excpet NPoco as breaking changes in major 2021-08-18 11:38:23 +01:00
Elitsa Marinovska
f3115a8b05 More renaming 2021-08-18 11:50:48 +02:00
Elitsa Marinovska
50f6b230a9 Further renaming 2021-08-18 11:23:19 +02:00
Shannon
4b57366ca0 Suppress scope notifications during migrations 2021-08-17 11:13:46 -06:00
Bjarke Berg
e19b3718e4 Merge pull request #10873 from umbraco/v9/task/fixed_todo_make_backoffice_url_absolute
v9: Making backoffice path absolute
2021-08-17 12:45:56 +02:00
Nikolaj Geisle
efac943e11 Update src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-08-17 11:09:49 +02:00
Zeegaan
45bbaafde9 fixed todo in AspNetCore Backoffice 2021-08-17 09:55:57 +02:00
Elitsa Marinovska
5518867590 Merge remote-tracking branch 'v9/dev' into v9/bugfix/AB12681-unique-constraints-to-dictionary-tables 2021-08-16 14:21:13 +02:00
Elitsa Marinovska
600319cf93 Added missing key value for a test dictionary item 2021-08-16 14:14:41 +02:00
Warren Buckley
558352e3ac Merge pull request #10823 from umbraco/v9/feature/package_export_and_import_both_xml_and_zip
V9: Package export and import both xml and zip
2021-08-11 11:10:28 +01:00
Shannon
01dd9e6f2e Merge branch 'v9/dev' into v9/task/more-flexible-startup
# Conflicts:
#	src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2021-08-10 13:55:55 -06:00