Commit Graph

10695 Commits

Author SHA1 Message Date
Shannon
88ef1e081f merges v8 healthcheck changes from #5557 into netcore branch. 2021-06-22 15:02:34 -06:00
Bjarke Berg
1775b21591 Updated nuget dependencies 2021-06-22 15:41:24 +02:00
Sebastiaan Janssen
d8b7e24b7f Merge branch 'v8/8.14' into v8/dev 2021-06-22 12:24:18 +02:00
Mole
1d0a1cb7a9 Merge branch 'v8/dev' into v8/bugfix/AB10622-be-property-editor-caching 2021-06-22 10:43:58 +02:00
Warren Buckley
ee348be8a5 Merge pull request #10496 from umbraco/v8/fix/10483
Fixes clashing aliases when new mediatypes had been installed

(cherry picked from commit f69cee87f9)
2021-06-21 19:27:31 +02:00
Warren Buckley
79fc804a9b Merge pull request #10500 from umbraco/v8/fix/10423
Don't obsolete the v2 pickers, renamed them and they're able to be created again, without config changes

(cherry picked from commit 69383d3dea)
2021-06-21 19:27:13 +02:00
Warren Buckley
f69cee87f9 Merge pull request #10496 from umbraco/v8/fix/10483
Fixes clashing aliases when new mediatypes had been installed
2021-06-21 17:59:01 +01:00
Shannon
060e78f8e1 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf 2021-06-21 10:15:09 -06:00
Shannon
99362bbca0 resolve package name from folder name 2021-06-21 09:24:32 -06:00
Shannon Deminick
330a8e082e Update src/Umbraco.Core/Manifest/PackageManifest.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-22 01:03:33 +10:00
Sebastiaan Janssen
809bb3b5d3 Fixes #10423
Don't obsolete the v2 pickers, renamed them and they're able to be created again, without config changes
2021-06-21 14:01:50 +02:00
Shannon
7c6eb461ca fix build after merge 2021-06-18 13:32:04 -06:00
Shannon
21228943be Cleanup 2021-06-18 13:27:26 -06:00
Shannon
b1c6b02dd7 Merge remote-tracking branch 'origin/v9/task/package-refactor' into v9/task/package-migrations-backoffice
# Conflicts:
#	src/Umbraco.Core/Extensions/XmlExtensions.cs
#	src/Umbraco.Core/Packaging/PackageMigrationPlan.cs
#	src/Umbraco.Infrastructure/Runtime/RuntimeState.cs
2021-06-18 12:48:44 -06:00
Shannon
8b7f7b9e13 Gets package options working. 2021-06-18 12:45:22 -06:00
Shannon
c503a16dae Updates back office to run pending migrations 2021-06-18 11:28:21 -06:00
Bjarke Berg
fb15205f5f Merge remote-tracking branch 'origin/v9/task/package-refactor' into v9/task/package-refactor 2021-06-18 13:36:18 +02:00
Bjarke Berg
1ef72d2522 Merge remote-tracking branch 'origin/v9/dev' into v9/task/package-refactor
# Conflicts:
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.CoreServices.cs
#	src/Umbraco.Infrastructure/Runtime/CoreRuntime.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
2021-06-18 13:19:48 +02:00
Sebastiaan Janssen
e95b57ca1f Fixed friendly name of Vector graphics 2021-06-18 11:44:26 +02:00
Sebastiaan Janssen
70590ce993 Invert the previous change so querying with these constants will give the same results as in 8.14.0 2021-06-18 11:42:09 +02:00
Sebastiaan Janssen
64ebbae5b8 Keep the old constants as they were and add new "Name" constants, in case people were already using the old constants to query by alias 2021-06-18 11:37:32 +02:00
Sebastiaan Janssen
2c7413693b Prefix the new media types to stop them from clashing when people make document types with that alias (#10483) 2021-06-18 11:03:21 +02:00
Bjarke Berg
43af29f139 Merge pull request #10393 from umbraco/v9/feature/email-display-name-in-notifiaction
V9: Add new email Model for notifications
2021-06-17 15:39:14 +02:00
Shannon Deminick
d7c0c6a932 Adjust the runtime state and keep disabling unattended package migrations simple (#10486)
* 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.

* Update dictionary package data to use GUID

* Ensures macros are packaged and used with their GUID

* Ensures the GUID for doc types and media types remains consistent for package installation based on what is in the xml.

* fix automatic migrations to not validate initial state, fixes packaging GUIDs for multiple entities.

* Added guids to embedded test packages (Some tests are still failing)

* Fix one more test

* Fixes up Key vs Id, moves tests to correct namespace, fix tests

* Fixes Dictionary packaging to ensure an xml hierarchy

* Fixes tests

* fixes package xml

* Removes the runtime PackageMigrations state, the state is just run if unattended migrations are disabled.

* change log level

* Small clean up and reuse of attribute

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-17 10:00:49 +02:00
Shannon Deminick
ca72fb01ec Fixes packager to ensure the GUIDs are used for all entities where possible (#10477)
* 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.

* Update dictionary package data to use GUID

* Ensures macros are packaged and used with their GUID

* Ensures the GUID for doc types and media types remains consistent for package installation based on what is in the xml.

* fix automatic migrations to not validate initial state, fixes packaging GUIDs for multiple entities.

* Added guids to embedded test packages (Some tests are still failing)

* Fix one more test

* Fixes up Key vs Id, moves tests to correct namespace, fix tests

* Fixes Dictionary packaging to ensure an xml hierarchy

* Fixes tests

* fixes package xml

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-17 08:15:38 +02:00
Shannon
ad84c1591e Starts implementing ability to manually run pending migrations from the back office 2021-06-16 15:34:20 -06:00
Shannon
7ec01f232f Removes the runtime PackageMigrations state, the state is just run if unattended migrations are disabled. 2021-06-16 13:53:01 -06:00
Shannon Deminick
53728d652d Merge pull request #10185 from umbraco/netcore/feature/get_rid_of_ICoreComposer
Get rid of ICoreComposer
2021-06-17 05:41:10 +10: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
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
Shannon
52ce0c8f60 fix automatic migrations to not validate initial state, fixes packaging GUIDs for multiple entities. 2021-06-15 13:49:03 -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
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
0c34770695 https://github.com/umbraco/Umbraco-CMS/issues/10438 - Adds missing DataContract to FileExtensionConfigItem 2021-06-15 11:06:07 +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
Shannon
1297254cc3 small cleanups 2021-06-11 12:47:35 -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
Shannon
13583514ae Gets embedded package.xml resources able to install from package migration. 2021-06-10 13:06:38 -06:00
Shannon
2114667e65 Gets unattended package migrations working and running 2021-06-10 10:21:58 -06:00
Shannon
144014dc73 Fixes runtime state and boot failed middleware so that it actually runs. Separates out unattended install/upgrade into notification handlers. 2021-06-10 08:06:17 -06:00
Elitsa Marinovska
990fc118cb Optimization by returning the same instance 2021-06-10 15:36:39 +02:00
Shannon
7a0134fc74 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. 2021-06-09 16:56:42 -06:00
Shannon
607775a5a1 Merge branch 'v9/task/package-refactor-startup-checks-temp' into v9/task/package-refactor-startup-checks 2021-06-09 15:24:43 -06:00
Shannon
14806bc293 Lots of package code cleanup and removal 2021-06-09 15:18:47 -06:00
Shannon
1737052eb3 Merge remote-tracking branch 'origin/v9/task/package-refactor-backoffice-updates' into v9/task/package-refactor-startup-checks-temp
# Conflicts:
#	src/Umbraco.Core/Migrations/MigrationPlan.cs
#	src/Umbraco.Core/Models/Packaging/CompiledPackage.cs
#	src/Umbraco.Core/Models/Packaging/IPackageInfo.cs
#	src/Umbraco.Core/Packaging/CompiledPackageXmlParser.cs
#	src/Umbraco.Core/Packaging/IPackageInstallation.cs
#	src/Umbraco.Core/Packaging/PackageDefinition.cs
#	src/Umbraco.Core/Packaging/PackageFileInstallation.cs
#	src/Umbraco.Core/Packaging/PackageMigrationPlan.cs
#	src/Umbraco.Core/Packaging/PackagesRepository.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/Upgrader.cs
#	src/Umbraco.Infrastructure/Packaging/PackageInstallation.cs
#	src/Umbraco.Infrastructure/RuntimeState.cs
2021-06-09 10:55:04 -06:00
Shannon
0f1e7bd647 temp commit of package logic removal 2021-06-09 10:43:57 -06:00
Shannon Deminick
c7c2b1dfd4 Update src/Umbraco.Core/Services/IKeyValueService.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-10 00:53:17 +10:00