From 2bc837a893008402653af29976bacab4a75062ff Mon Sep 17 00:00:00 2001 From: Shawn Sesna Date: Wed, 30 Nov 2022 15:26:03 -0800 Subject: [PATCH 1/4] Update libman.json Updating Javascript references. --- src/Web/libman.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Web/libman.json b/src/Web/libman.json index ac8c0f952..1bb5452db 100644 --- a/src/Web/libman.json +++ b/src/Web/libman.json @@ -3,11 +3,11 @@ "defaultProvider": "cdnjs", "libraries": [ { - "library": "jquery@3.3.1", + "library": "jquery@3.6.1", "destination": "wwwroot/lib/jquery/" }, { - "library": "twitter-bootstrap@3.3.7", + "library": "twitter-bootstrap@5.2.3", "files": [ "css/bootstrap.css", "css/bootstrap.css.map", @@ -19,11 +19,11 @@ "destination": "wwwroot/lib/bootstrap/dist/" }, { - "library": "jquery-validation-unobtrusive@3.2.10", + "library": "jquery-validation-unobtrusive@4.0.0", "destination": "wwwroot/lib/jquery-validation-unobtrusive/" }, { - "library": "jquery-validate@1.17.0", + "library": "jquery-validate@1.19.5", "destination": "wwwroot/lib/jquery-validate/", "files": [ "jquery.validate.min.js", @@ -35,7 +35,7 @@ "destination": "wwwroot/lib/toastr/" }, { - "library": "aspnet-signalr@1.0.3", + "library": "aspnet-signalr@1.0.27", "files": [ "signalr.js", "signalr.min.js" @@ -43,4 +43,4 @@ "destination": "wwwroot/lib/@aspnet/signalr/dist/browser/" } ] -} \ No newline at end of file +} From 6f4ae358126a02c1abb458bda2207d2c850310aa Mon Sep 17 00:00:00 2001 From: Shawn Sesna Date: Wed, 30 Nov 2022 15:29:03 -0800 Subject: [PATCH 2/4] Adding ability to pass in environment variables This allows the passing of an environment variable to override ConnectionStrings and AppSettings values. --- src/PublicApi/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PublicApi/Program.cs b/src/PublicApi/Program.cs index 7356a62c3..3cb91f89d 100644 --- a/src/PublicApi/Program.cs +++ b/src/PublicApi/Program.cs @@ -86,6 +86,7 @@ builder.Services.AddMediatR(typeof(CatalogItem).Assembly); builder.Services.AddAutoMapper(typeof(MappingProfile).Assembly); +builder.Configuration.AddEnvironmentVariables(); builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(c => From a965822f4096d8baa04b7b86f5f82ad63dc3ba94 Mon Sep 17 00:00:00 2001 From: Shawn Sesna Date: Wed, 30 Nov 2022 15:30:46 -0800 Subject: [PATCH 3/4] Updating web app Adding ability to pass in environment variables to override ConnectionStrings and AppSettings values. Mostly used for when it's running in Docker. --- src/Web/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web/Program.cs b/src/Web/Program.cs index e1181e2cc..dd9a4ad47 100644 --- a/src/Web/Program.cs +++ b/src/Web/Program.cs @@ -39,7 +39,7 @@ .AddDefaultTokenProviders(); builder.Services.AddScoped(); - +builder.Configuration.AddEnvironmentVariables(); builder.Services.AddCoreServices(builder.Configuration); builder.Services.AddWebServices(builder.Configuration); From 4b691494823bf83cdbfdb5db717367446b88c040 Mon Sep 17 00:00:00 2001 From: Shawn Sesna Date: Tue, 3 Jan 2023 13:49:40 -0800 Subject: [PATCH 4/4] Update libman.json --- src/Web/libman.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web/libman.json b/src/Web/libman.json index 1bb5452db..d841fcf58 100644 --- a/src/Web/libman.json +++ b/src/Web/libman.json @@ -3,7 +3,7 @@ "defaultProvider": "cdnjs", "libraries": [ { - "library": "jquery@3.6.1", + "library": "jquery@3.6.3", "destination": "wwwroot/lib/jquery/" }, {