Commit Graph

39048 Commits

Author SHA1 Message Date
Shannon
37269a1ac7 Fixes tests 2021-06-16 13:25:52 -06:00
Shannon
9f02b14a5d Fixes Dictionary packaging to ensure an xml hierarchy 2021-06-16 13:14:28 -06:00
Shannon
095576352b Fixes up Key vs Id, moves tests to correct namespace, fix tests 2021-06-16 11:17:41 -06:00
Bjarke Berg
c783da68ca Fix one more test 2021-06-16 11:40:18 +02:00
Bjarke Berg
64233466b7 Added guids to embedded test packages (Some tests are still failing) 2021-06-16 11:23:12 +02:00
Warren Buckley
dc334c1015 Automated install user with Environment Variables & unattended.user.json (#9930)
* Try to update admin user unattended

This will fail because we're not in install runtime state

* Create a new user instead of trying to update the default admin

* Create a new user instead of trying to update the default admin

* Use same logic from NewInstallStep to modify the SuperUser aka -1

* Add back stuff after merge conflict from v8/dev

* Add event to be raised

* Trying to wire up events

* Remove commented out code - just need to figure out why event is not hit/triggered

* Read Appsettings as opposed to ENV variables

* Use a JSON file that deletes itself as storing secrets in web.config will be accidently committed

* Remove component based event - Component were only initialized after DB creation

* Move UnattendedInstall down after _factory

* Remove commented out code

* Fixed issue where upgrader UI would show up - needed to recheck the Runtimelevel after UnattenedInstall

* Apply suggestions from code review - Thanks Marc :)

Co-authored-by: Marc Goodson <marc@moriyama.co.uk>

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
Co-authored-by: Marc Goodson <marc@moriyama.co.uk>
2021-06-16 10:00:29 +01:00
Bjarke Berg
c7af87d075 Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-06-16 08:32:46 +02:00
Bjarke Berg
355ee2e450 Merge remote-tracking branch 'origin/v8/dev' into v9/dev
# Conflicts:
#	src/Umbraco.Tests/Cache/DistributedCacheBinderTests.cs
#	src/Umbraco.Web/Cache/DistributedCacheBinder.cs
2021-06-16 08:30:37 +02:00
Shannon
566a3ab993 Merge remote-tracking branch 'origin/v9/task/package-refactor' into v9/task/package-data-with-guids
# Conflicts:
#	src/Umbraco.Core/Packaging/InstallationSummary.cs
#	src/Umbraco.Infrastructure/Install/UnattendedUpgrader.cs
#	src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
2021-06-15 13:55:32 -06:00
Shannon
52ce0c8f60 fix automatic migrations to not validate initial state, fixes packaging GUIDs for multiple entities. 2021-06-15 13:49:03 -06:00
Shannon
a187a4ae18 Ensures the GUID for doc types and media types remains consistent for package installation based on what is in the xml. 2021-06-15 11:59:34 -06:00
Shannon
0e5f0304e2 Ensures macros are packaged and used with their GUID 2021-06-15 11:38:24 -06:00
Andy Butland
0f6732f03c Made the AppendQueryStringToUrl method public to allow use from packages. (#10476)
* Made the AppendQueryStringToUrl method public to allow use from packages.

* Removed AssemblyInfo.cs file.
2021-06-15 19:33:34 +02:00
Bjarke Berg
575e66b8eb Merge remote-tracking branch 'origin/v9/dev' into netcore/feature/get_rid_of_ICoreComposer
# Conflicts:
#	src/Umbraco.Examine.Lucene/ExamineLuceneComposer.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneConfigureIndexes.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneFinalComposer.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneStarting.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
#	src/Umbraco.PublishedCache.NuCache/Compose/NotificationsComposer.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
2021-06-15 19:13:06 +02:00
Andy Butland
348d1676cd Handle only single content type event to avoid reloading the content and media cache multiple times after a deployment containing more than one changed document type. 2021-06-15 16:06:11 +02:00
Warren Buckley
067395b0ff Fix for #10401 to allow you to chaneg your own password if using user section & fixes notification errors to be displayed in the UI (#10422) 2021-06-15 13:57:14 +02:00
Elitsa Marinovska
0c3db013d5 Approve member when created with built-in macros (#10428)
* Allow members created with built-in macros to be approved

* Cleanup

* Newly created members are always approved like in v8.

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-15 13:51:39 +02:00
Warren Buckley
c63b14a52e Merge pull request #10475 from umbraco/v9/bugfix/10438_missing_datacontract_on_FileExtensionConfigItem
V9 - Adds missing DataContract to FileExtensionConfigItem
2021-06-15 12:03:01 +01:00
Andy Butland
22de16a691 Added two further notifications to the boot process for custom functionality that may need to run at different stages. (#10471) 2021-06-15 12:43:03 +02:00
Bjarke Berg
6403d29b4e Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/10438_missing_datacontract_on_FileExtensionConfigItem 2021-06-15 12:08:01 +02:00
Bjarke Berg
e75656b9a9 Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-06-15 12:07:28 +02:00
Bjarke Berg
f2c1c30e76 Remove zips from azure build 2021-06-15 12:07:11 +02:00
Bjarke Berg
0c34770695 https://github.com/umbraco/Umbraco-CMS/issues/10438 - Adds missing DataContract to FileExtensionConfigItem 2021-06-15 11:06:07 +02:00
Bjarke Berg
e0a9397d92 V9: Fix issue with recurring services that executes too often (#10473)
* Fix exception in ReportSiteTask.cs, when running multiple times..
Also fixes issue with how often the tasks are executed

* Fix timeout
2021-06-15 11:02:55 +02:00
Bjarke Berg
418ba569f1 remove comments as build script cannot use these in json 2021-06-15 10:47:04 +02:00
Warren Buckley
ceb4db4f45 Adds dotnetRunMessages flag to launch settings for Kestrel (#10472)
https://github.com/dotnet/sdk/issues/12227
https://github.com/dotnet/sdk/pull/12581
https://github.com/dotnet/aspnetcore/blob/v6.0.0-preview.5.21301.17/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/Properties/launchSettings.json#L22
2021-06-15 09:54:46 +02:00
Warren Buckley
8d3434d7d8 dotnet new template - Escape JSON special characters for password & connection string (#10467)
* Fix sourceName to match UmbracoProject and use a generated symbol to replace the Umbraco.Cms.Web.UI.NetCore in Program and Startup files

* Update template.json

* Run `npm update caniuse-lite`

* Regex replacement for Password & Connection strings that gets placed into AppSettings.Development.json So escaping \ and " for JSON strings

* Escaping input and handle namespace replacing. + Updated to beta004

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-15 09:42:52 +02:00
Shannon Deminick
6f3a83c507 Fix interface inheritance (#10470) 2021-06-15 07:12:39 +02:00
Shannon Deminick
de2fb47b78 Implements unattended package migrations for both explicit and implicit migrations (#10418)
* Clean up and changes to backoffice for the nuget only packages

* temp commit of package logic removal

* Lots of package code cleanup and removal

* Removes old package data from the test package xml

* Updates packaging code to take in XDocument instead of a file since we'll not be dealing with files, starts creating expressions for the package migrations scripting.

* fixing tests

* Fixes runtime state and boot failed middleware so that it actually runs. Separates out unattended install/upgrade into notification handlers.

* Gets unattended package migrations working and running

* Gets embedded package.xml resources able to install from package migration.

* Implements automatic package migrations for package that just declare an xml data manifest.

* fix build

* small cleanups

* fix build

* adds some tests

* Fix export test

* Fix newlines in test for linux

* Typo

* removes old todos and updates AutomaticPackgeMigrationPlan to use getter with backing field.

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-15 07:05:57 +02:00
patrickdemooij9
efeda47e30 10430: Fix typo (#10440)
* 10430: Fix typo

* 10430: ng-disabled instead of disabled
2021-06-15 09:22:18 +10:00
Lucas Michaelsen
b97f6dcb2f HTML Symantic error UL > LI >LI changes to UL > LI > UL > LI (#10455)
* HTML Symantic error UL > LI >LI changes to UL > LI > UL > LI - ScreenReader reads propperly

* ensurce render if condition is meet. If any child render a subset of unorder list withs is list-items
2021-06-15 09:09:26 +10:00
Shannon
b8ac0b7471 Update dictionary package data to use GUID 2021-06-14 15:31:12 -06:00
Shannon
6db0a2e27d Merge branch 'v9/task/package-refactor-startup-checks' of https://github.com/umbraco/Umbraco-CMS into v9/task/package-refactor-startup-checks
# Conflicts:
#	src/Umbraco.Infrastructure/Packaging/AutomaticPackageMigrationPlan.cs
2021-06-14 14:23:42 -06:00
Shannon
10016c74f9 removes old todos and updates AutomaticPackgeMigrationPlan to use getter with backing field. 2021-06-14 14:22:11 -06:00
Sebastiaan Janssen
2b71951889 Merge branch 'v8/dev' into v9/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
2021-06-14 14:15:07 +02:00
Warren Buckley
e70c362851 Run npm update caniuse-lite 2021-06-14 14:06:34 +02:00
Bjarke Berg
d7b04cd819 Typo 2021-06-14 12:47:09 +02:00
Bjarke Berg
9480c8a9c5 Fix newlines in test for linux 2021-06-14 09:54:47 +02:00
Bjarke Berg
3faf0957a9 Fix export test 2021-06-14 09:04:03 +02:00
Shannon
0268793b2d adds some tests 2021-06-11 13:07:41 -06:00
Shannon
50fd7b1460 fix build 2021-06-11 12:49:18 -06:00
Shannon
1297254cc3 small cleanups 2021-06-11 12:47:35 -06:00
Shannon
e8201a09ef fix build 2021-06-11 12:08:09 -06:00
Shannon
6b167b30ce Merge remote-tracking branch 'origin/v9/task/package-refactor' into v9/task/package-refactor-startup-checks 2021-06-11 11:55:39 -06:00
Shannon Deminick
dc6f1a6086 Merge pull request #10449 from umbraco/v9/task/package-refactor-startup-checks-PR1
Implements package migration startup checks
2021-06-12 03:54:52 +10:00
Shannon
76b59bc4f1 Merge branch 'v9/task/package-refactor-startup-checks-PR1' into v9/task/package-refactor-startup-checks 2021-06-11 11:50:25 -06:00
Shannon
436fe29bf8 fixing build 2021-06-11 11:14:43 -06:00
Shannon
daceca54a3 Implements automatic package migrations for package that just declare an xml data manifest. 2021-06-11 10:50:35 -06:00
Jose Marcenaro
20f3b223c5 Use default( ) instead of null for model value (#10435) 2021-06-11 14:17:12 +02:00
Jason Elkin
0b3eeafb47 fixed a typo in the UmbracoProject template (#10432)
* fixed a typo in the UmbracoProject template

* Update build/templates/UmbracoProject/UmbracoProject.csproj

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-11 14:09:41 +02:00