From 7a431a7184142503f7a61b4ea01b7d3f97e1f148 Mon Sep 17 00:00:00 2001 From: Zeegaan <70372949+Zeegaan@users.noreply.github.com> Date: Mon, 16 Aug 2021 14:57:27 +0200 Subject: [PATCH] Renamed appsettings to appsettings.template --- .../Umbraco.Web.UI.NetCore.csproj | 15 ++++ .../appsettings.Development.template.json | 59 ++++++++++++++ .../appsettings.template.json | 76 +++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 src/Umbraco.Web.UI.NetCore/appsettings.Development.template.json create mode 100644 src/Umbraco.Web.UI.NetCore/appsettings.template.json diff --git a/src/Umbraco.Web.UI.NetCore/Umbraco.Web.UI.NetCore.csproj b/src/Umbraco.Web.UI.NetCore/Umbraco.Web.UI.NetCore.csproj index b14848bae5..7979338f47 100644 --- a/src/Umbraco.Web.UI.NetCore/Umbraco.Web.UI.NetCore.csproj +++ b/src/Umbraco.Web.UI.NetCore/Umbraco.Web.UI.NetCore.csproj @@ -84,6 +84,7 @@ $(ProjectDir)wwwroot/umbraco $(ProjectDir)umbraco/config/appsettings-schema.json + @@ -100,6 +101,11 @@ + + + + + @@ -107,6 +113,15 @@ + + + + + + + + + diff --git a/src/Umbraco.Web.UI.NetCore/appsettings.Development.template.json b/src/Umbraco.Web.UI.NetCore/appsettings.Development.template.json new file mode 100644 index 0000000000..9cac2c3dd9 --- /dev/null +++ b/src/Umbraco.Web.UI.NetCore/appsettings.Development.template.json @@ -0,0 +1,59 @@ +{ + "$schema" : "./umbraco/config/appsettings-schema.json", + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Examine.Lucene.Providers.LuceneIndex": "Debug", + "Examine.BaseIndexProvider": "Debug", + "Examine.Lucene.LoggingReplicationClient": "Debug", + "Examine.Lucene.ExamineReplicator": "Debug" + } + }, + "WriteTo": [ + { + "Name": "Async", + "Args": { + "configure": [ + { + "Name": "Console" + } + ] + } + } + ] + }, + "Umbraco": { + "CMS": { + "Examine": { + "LuceneDirectoryFactory": "TempFileSystemDirectoryFactory" + }, + "Global": { + "Smtp": { + //"From": "your@email.here", + //"Host": "localhost", + // "Port": "25" + } + }, + "Hosting": { + "Debug": true + }, + "RuntimeMinification": { + "useInMemoryCache": true, + "cacheBuster": "Timestamp" + }, + "RichTextEditor": { + "Commands": [ + { + "Alias": "fullscreen", + "Name": "Full Screen", + "Mode": "All" + } + ], + "Plugins": [ + "fullscreen" + ] + } + } + } +} diff --git a/src/Umbraco.Web.UI.NetCore/appsettings.template.json b/src/Umbraco.Web.UI.NetCore/appsettings.template.json new file mode 100644 index 0000000000..cef926fad2 --- /dev/null +++ b/src/Umbraco.Web.UI.NetCore/appsettings.template.json @@ -0,0 +1,76 @@ +{ + "$schema": "./umbraco/config/appsettings-schema.json", + "ConnectionStrings": { + "umbracoDbDSN": "" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information", + "System": "Warning" + } + } + }, + "Umbraco": { + "CMS": { + "Content": { + "Notifications": { + "Email": "your@email.here" + }, + "MacroErrors": "Throw" + }, + "Global": { + "DefaultUILanguage": "en-us", + "HideTopLevelNodeFromPath": true, + "UmbracoPath": "~/umbraco", + "TimeOutInMinutes": 20, + "UseHttps": false + }, + "Hosting": { + "Debug": false + }, + "KeepAlive": { + "DisableKeepAliveTask": false, + "KeepAlivePingUrl": "{umbracoApplicationUrl}/api/keepalive/ping" + }, + "RequestHandler": { + "ConvertUrlsToAscii": "try" + }, + "RuntimeMinification": { + "dataFolder": "umbraco/Data/TEMP/Smidge", + "version": "637642136775050602" + }, + "Security": { + "KeepUserLoggedIn": false, + "UsernameIsEmail": true, + "HideDisabledUsersInBackoffice": false, + "AllowedUserNameCharacters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+\\", + "UserPassword": { + "RequiredLength": 10, + "RequireNonLetterOrDigit": false, + "RequireDigit": false, + "RequireLowercase": false, + "RequireUppercase": false, + "MaxFailedAccessAttemptsBeforeLockout": 5 + }, + "MemberPassword": { + "RequiredLength": 10, + "RequireNonLetterOrDigit": false, + "RequireDigit": false, + "RequireLowercase": false, + "RequireUppercase": false, + "MaxFailedAccessAttemptsBeforeLockout": 5 + } + }, + "Tours": { + "EnableTours": true + }, + "ModelsBuilder": { + "ModelsMode": "InMemoryAuto", + "Enable": true + } + } + } +}