Mole
859505e751
Models builder: Move InMemoryAuto models builder and razor runtime compilation into its own package to enable hot reload ( #20187 )
...
* Move in memory models builder out of core
* Move runtime validations into backoffice development project
* Obsolete ModelsMode enum
* Move the InMemoryModelsbuilder/RRC novel into the Backoffice development umbraco builder extension
* Add runtime validator to warn if InMemoryAuto is selected but the package isn't installed
* Add backoffice development to template
* Remove propertyGroup
* Remove oopsie
* Check for modelsbuilder in notification handler instead of runtime validator
* Update src/Umbraco.Cms.Api.Management/Controllers/ModelsBuilder/BuildModelsBuilderController.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/Umbraco.Infrastructure/Runtime/RuntimeModeValidators/ModelsBuilderModeValidator.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove ModelsMode enum and ModelsModeExtensions
* Apply suggestions from code review
Co-authored-by: Kenn Jacobsen <kja@umbraco.dk >
* Move project to source folder
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Kenn Jacobsen <kja@umbraco.dk >
2025-09-23 11:58:09 +02:00
Nikolaj Geisle
459d664531
V12: Map |DataDirectory| to path in connectionString ( #14278 )
...
* Add Data directory as constants
* Use new constants instead of internal ones
* Replace data directory in connection string if its there
* Update src/Umbraco.Cms.Persistence.EFCore/Extensions/UmbracoEFCoreServiceCollectionExtensions.cs
---------
Co-authored-by: Zeegaan <nge@umbraco.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2023-05-22 12:44:52 +02:00
Bjarke Berg
e006f7cd7d
Fixed issue when no models mode was specified in app settings
2022-10-17 15:43:17 +02:00
Mole
f7a26f5b58
Only replace the MS services when the site is actually set to InMemoryAuto ( #13201 )
2022-10-14 20:04:19 +02:00
Ronald Barendse
dca4d0f167
Add runtime mode (BackofficeDevelopment, Development and Production) ( #12631 )
...
* Add runtime mode setting
* Only enable Razor runtime compilation in development modes
* Only enable ModelsBuilder generation in development modes
* Fix disabling ModelsBuilder controllers
* Add IRuntimeModeValidationService and IRuntimeModeValidator
* Add JITOptimizerValidator
* Add UmbracoApplicationUrlValidator
* Add UseHttpsValidator
* Add RuntimeMinificationValidator
* Add ModelsBuilderModeValidator
* Remove .NET 6 preview 1 fix for Razor runtime compilation
* Only allow InMemoryAuto in backoffice development mode
* Make runtime mode validators public, so they can be easily removed if required
* Add comment to highlight removing RazorCompileOnBuild, RazorCompileOnPublish and CopyRazorGenerateFilesToPublishDirectory when using ModelsMode InMemoryAuto
* Add documentation
* Update src/Umbraco.Web.Common/ModelsBuilder/NoopModelsBuilderDashboardProvider.cs
Co-authored-by: Ronald Barendse <ronald@barend.se >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-07-01 08:48:05 +02:00
Paul Johnson
8c7905a354
merge release/10.0.0 into v10/dev
...
commit 9ff06eec6e
Author: Ronald Barendse <ronald@barend.se >
Date: Wed May 25 11:16:39 2022 +0200
v10: Instantly reload ConnectionStrings after saving configuration (#12475 )
* Do not replace DataDirectory placeholder when setting connection string
* Ensure ConnectionStrings options are updated when configuration is reloaded
* Use CurrentValue to get default Umbraco connection string
commit fcee6dc06a
Author: Paul Johnson <pmj@umbraco.com >
Date: Wed May 25 10:08:43 2022 +0100
Fix legacy scope provider no longer implementing ICoreScopeProvider (#12480 )
commit 88f3628d0a
Author: Paul Johnson <pmj@umbraco.com >
Date: Wed May 25 09:49:33 2022 +0100
Fix options monitor setup for connectionstrings (#12472 )
commit 4eeb03e7fb
Author: Johan Runsten <jrunestone@users.noreply.github.com >
Date: Wed May 25 10:13:25 2022 +0200
Fixed null check typo in CacheInstructionService. Fixes #12473 . (#12474 )
* Fixed null check typo. Fixes #12473 .
* Removed unneccessary null forgiving operator
Co-authored-by: Johan Runsten <johan.runsten@toxic.se >
commit d810d66e9a
Author: Asbjørn Riis-Knudsen <ar@jf-data.com >
Date: Tue May 24 17:41:10 2022 +0200
Fix #12454 by having Coalesce handle null values (#12456 )
* Fix #12454 by having Coalesce handle null values
* Allow null values in Html.Coalesce #12454
commit 963d4c5051
Author: Paul Johnson <pmj@umbraco.com >
Date: Tue May 24 13:55:39 2022 +0100
Ensure unique buildnumber for devops UI
2022-05-25 10:48:45 +01:00
Ronald Barendse
8e6e262c7f
v10: Use ForceCreateDatabase during unattended install and extend GetUmbracoConnectionString extension methods ( #12397 )
...
* Add extension methods to get the Umbraco connection string/provider name from configuration
* Added tests for configuration extension methods.
* Fix issue with InstallMissingDatabase and ForceCreateDatabase
* Fix comments
* Revert casing change in GenerateConnectionString
* Re-add AddOptions (without config binding) to fix test
* Update src/Umbraco.Core/Configuration/Models/ConnectionStrings.cs
Co-authored-by: Ronald Barendse <ronald@barend.se >
* Update src/Umbraco.Core/Configuration/Models/ConnectionStrings.cs
* Update src/Umbraco.Infrastructure/Runtime/RuntimeState.cs
* Whitespace and documentation updates
* Add DatabaseProviderMetadataExtensions
* Filter before ordering
* Replace DataDirectory placeholder when setting connection string
Co-authored-by: Andy Butland <abutland73@gmail.com >
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2022-05-17 12:59:01 +02:00