From ab4198cb69f0d72fd63633c5073714c1e9004e60 Mon Sep 17 00:00:00 2001 From: Si Carter Date: Sat, 2 Sep 2023 09:28:06 +0200 Subject: [PATCH] Upgrade nugets and add code signing to nuget libraries (#276) * Upgrade nugets and add code signing to nuget libraries * Upgrade nugets and add code signing to nuget libraries --- .../PluginManager.DAL.TextFiles.csproj | 4 ++++ Database/PluginManager.SimpleDB/SimpleDB.csproj | 4 ++++ Directory.Build.props | 8 +++++--- Languages/Languages.csproj | 4 ++++ NetCorePluginManager/AspNetCore.PluginManager.csproj | 4 ++++ PluginManager/src/PluginManager.csproj | 4 ++++ .../ApiAuthorization.Plugin.csproj | 4 ++++ Plugins/BadEgg.Plugin/BadEgg.Plugin.csproj | 4 ++++ Plugins/Blog.Plugin/Blog.Plugin.csproj | 4 ++++ Plugins/Breadcrumb.Plugin/Breadcrumb.Plugin.csproj | 4 ++++ .../Breadcrumb.Plugin/Classes/BreadcrumbMiddleware.cs | 11 ++++++----- .../CacheControl.Plugin/CacheControl.Plugin.csproj | 4 ++++ Plugins/Company.Plugin/CompanyPlugin.csproj | 4 ++++ .../Documentation.Plugin/Documentation.Plugin.csproj | 4 ++++ Plugins/Download.Plugin/DownloadPlugin.csproj | 4 ++++ .../DynamicContent.Plugin.csproj | 4 ++++ .../ErrorManager.Plugin/ErrorManager.Plugin.csproj | 4 ++++ Plugins/GeoIpPlugin/GeoIpPlugin.csproj | 4 ++++ Plugins/HelpDesk.Plugin/HelpDeskPlugin.csproj | 4 ++++ .../ImageManager.Plugin/ImageManager.Plugin.csproj | 4 ++++ Plugins/LocalizationPlugin/Localization.Plugin.csproj | 4 ++++ Plugins/Login.Plugin/Login.Plugin.csproj | 4 ++++ Plugins/MemoryCachePlugin/MemoryCachePlugin.csproj | 4 ++++ Plugins/PluginMiddleware/PluginMiddleware.csproj | 4 ++++ Plugins/Products.Plugin/ProductsPlugin.csproj | 4 ++++ Plugins/Resources.Plugin/Resources.Plugin.csproj | 4 ++++ Plugins/RestrictIp.Plugin/RestrictIp.Plugin.csproj | 4 ++++ Plugins/SDGeoIpPlugin/SieraDeltaGeoIpPlugin.csproj | 4 ++++ Plugins/Search.Plugin/Search.Plugin.csproj | 4 ++++ Plugins/SeoPlugin/SeoPlugin.csproj | 4 ++++ .../ShoppingCart.Plugin/ShoppingCart.Plugin.csproj | 4 ++++ Plugins/Sitemap.Plugin/Sitemap.Plugin.csproj | 4 ++++ Plugins/Spider.Plugin/Spider.Plugin.csproj | 4 ++++ Plugins/Subdomain.Plugin/Subdomain.Plugin.csproj | 4 ++++ Plugins/SystemAdmin.Plugin/SystemAdmin.Plugin.csproj | 4 ++++ Plugins/UserAccount.Plugin/UserAccount.Plugin.csproj | 4 ++++ .../UserSessionMiddleware.Plugin.csproj | 4 ++++ .../WebSmokeTest.Plugin/WebSmokeTest.Plugin.csproj | 4 ++++ SharedPluginFeatures/SharedPluginFeatures.csproj | 4 ++++ 39 files changed, 159 insertions(+), 8 deletions(-) diff --git a/DAL/PluginManager.DAL.TextFiles/PluginManager.DAL.TextFiles.csproj b/DAL/PluginManager.DAL.TextFiles/PluginManager.DAL.TextFiles.csproj index dd60c7ae5..f43ba0248 100644 --- a/DAL/PluginManager.DAL.TextFiles/PluginManager.DAL.TextFiles.csproj +++ b/DAL/PluginManager.DAL.TextFiles/PluginManager.DAL.TextFiles.csproj @@ -27,5 +27,9 @@ <_Parameter1>PluginManager.DAL.TextFiles.Tests + + + + diff --git a/Database/PluginManager.SimpleDB/SimpleDB.csproj b/Database/PluginManager.SimpleDB/SimpleDB.csproj index 42091d424..7c489b6ee 100644 --- a/Database/PluginManager.SimpleDB/SimpleDB.csproj +++ b/Database/PluginManager.SimpleDB/SimpleDB.csproj @@ -37,5 +37,9 @@ \ + + + + diff --git a/Directory.Build.props b/Directory.Build.props index cb8649cf9..52960febc 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,7 @@ + + false 1701;1702;8032;8981 @@ -32,12 +34,12 @@ - 3.9.1 - 1.1.0 + 3.10.0 + 1.2.0 - 5.3.0 + 5.4.0 latest Simon Carter (s1cart3r@gmail.com) Simon Carter diff --git a/Languages/Languages.csproj b/Languages/Languages.csproj index 1dde4a6b9..0d06daad2 100644 --- a/Languages/Languages.csproj +++ b/Languages/Languages.csproj @@ -61,5 +61,9 @@ + + + + diff --git a/NetCorePluginManager/AspNetCore.PluginManager.csproj b/NetCorePluginManager/AspNetCore.PluginManager.csproj index 0f5c19872..f9e07a993 100644 --- a/NetCorePluginManager/AspNetCore.PluginManager.csproj +++ b/NetCorePluginManager/AspNetCore.PluginManager.csproj @@ -50,5 +50,9 @@ <_Parameter1>AspNetCore.PluginManager.Tests + + + + diff --git a/PluginManager/src/PluginManager.csproj b/PluginManager/src/PluginManager.csproj index d2332f459..426ae07bd 100644 --- a/PluginManager/src/PluginManager.csproj +++ b/PluginManager/src/PluginManager.csproj @@ -55,5 +55,9 @@ <_Parameter1>AspNetCore.PluginManager.Tests + + + + diff --git a/Plugins/ApiAuthorization.Plugin/ApiAuthorization.Plugin.csproj b/Plugins/ApiAuthorization.Plugin/ApiAuthorization.Plugin.csproj index df6d0b1db..2f4221c2f 100644 --- a/Plugins/ApiAuthorization.Plugin/ApiAuthorization.Plugin.csproj +++ b/Plugins/ApiAuthorization.Plugin/ApiAuthorization.Plugin.csproj @@ -69,5 +69,9 @@ + + + + diff --git a/Plugins/BadEgg.Plugin/BadEgg.Plugin.csproj b/Plugins/BadEgg.Plugin/BadEgg.Plugin.csproj index d1db65c86..7816ab3ae 100644 --- a/Plugins/BadEgg.Plugin/BadEgg.Plugin.csproj +++ b/Plugins/BadEgg.Plugin/BadEgg.Plugin.csproj @@ -60,5 +60,9 @@ + + + + diff --git a/Plugins/Blog.Plugin/Blog.Plugin.csproj b/Plugins/Blog.Plugin/Blog.Plugin.csproj index 190461663..8752a9bf3 100644 --- a/Plugins/Blog.Plugin/Blog.Plugin.csproj +++ b/Plugins/Blog.Plugin/Blog.Plugin.csproj @@ -116,5 +116,9 @@ Never + + + + diff --git a/Plugins/Breadcrumb.Plugin/Breadcrumb.Plugin.csproj b/Plugins/Breadcrumb.Plugin/Breadcrumb.Plugin.csproj index 7a473cbb2..a41c50161 100644 --- a/Plugins/Breadcrumb.Plugin/Breadcrumb.Plugin.csproj +++ b/Plugins/Breadcrumb.Plugin/Breadcrumb.Plugin.csproj @@ -64,5 +64,9 @@ + + + + diff --git a/Plugins/Breadcrumb.Plugin/Classes/BreadcrumbMiddleware.cs b/Plugins/Breadcrumb.Plugin/Classes/BreadcrumbMiddleware.cs index eb23f05f0..ec1346348 100644 --- a/Plugins/Breadcrumb.Plugin/Classes/BreadcrumbMiddleware.cs +++ b/Plugins/Breadcrumb.Plugin/Classes/BreadcrumbMiddleware.cs @@ -143,8 +143,8 @@ public async Task Invoke(HttpContext context) if (_breadcrumbRoutes.TryGetValue(route, out BreadcrumbRoute value)) { - context.Items.Add(Constants.Breadcrumbs, - GetBreadCrumbs(route, value.Breadcrumbs, String.Empty)); + context.Items[Constants.Breadcrumbs] = + GetBreadCrumbs(route, value.Breadcrumbs, String.Empty); found = true; } else @@ -153,8 +153,8 @@ public async Task Invoke(HttpContext context) { if (route.StartsWith(kvp.Value.PartialRoute) && kvp.Value.HasParameters) { - context.Items.Add(Constants.Breadcrumbs, - GetBreadCrumbs(route, kvp.Value.Breadcrumbs, Route(context).Substring(kvp.Value.PartialRoute.Length - 1))); + context.Items[Constants.Breadcrumbs] = + GetBreadCrumbs(route, kvp.Value.Breadcrumbs, Route(context).Substring(kvp.Value.PartialRoute.Length - 1)); found = true; break; } @@ -170,12 +170,13 @@ public async Task Invoke(HttpContext context) else homeBreadCrumb = _homeBreadCrumb; - context.Items.Add(Constants.Breadcrumbs, new List() { homeBreadCrumb }); + context.Items[Constants.Breadcrumbs] = new List() { homeBreadCrumb }; } } catch (Exception err) { _logger.AddToLog(LogLevel.Error, nameof(BreadcrumbMiddleware), err, MethodBase.GetCurrentMethod().Name); + throw; } } diff --git a/Plugins/CacheControl.Plugin/CacheControl.Plugin.csproj b/Plugins/CacheControl.Plugin/CacheControl.Plugin.csproj index aa3e86731..e06d48970 100644 --- a/Plugins/CacheControl.Plugin/CacheControl.Plugin.csproj +++ b/Plugins/CacheControl.Plugin/CacheControl.Plugin.csproj @@ -63,5 +63,9 @@ + + + + diff --git a/Plugins/Company.Plugin/CompanyPlugin.csproj b/Plugins/Company.Plugin/CompanyPlugin.csproj index cd7fab4fc..1897af7e1 100644 --- a/Plugins/Company.Plugin/CompanyPlugin.csproj +++ b/Plugins/Company.Plugin/CompanyPlugin.csproj @@ -111,5 +111,9 @@ Never + + + + diff --git a/Plugins/Documentation.Plugin/Documentation.Plugin.csproj b/Plugins/Documentation.Plugin/Documentation.Plugin.csproj index a70bb7811..683e6f1d0 100644 --- a/Plugins/Documentation.Plugin/Documentation.Plugin.csproj +++ b/Plugins/Documentation.Plugin/Documentation.Plugin.csproj @@ -134,5 +134,9 @@ Never + + + + diff --git a/Plugins/Download.Plugin/DownloadPlugin.csproj b/Plugins/Download.Plugin/DownloadPlugin.csproj index d45f5f625..2926aafe2 100644 --- a/Plugins/Download.Plugin/DownloadPlugin.csproj +++ b/Plugins/Download.Plugin/DownloadPlugin.csproj @@ -118,5 +118,9 @@ Never + + + + diff --git a/Plugins/DynamicContent.Plugin/DynamicContent.Plugin.csproj b/Plugins/DynamicContent.Plugin/DynamicContent.Plugin.csproj index e335806b1..5c752aa8a 100644 --- a/Plugins/DynamicContent.Plugin/DynamicContent.Plugin.csproj +++ b/Plugins/DynamicContent.Plugin/DynamicContent.Plugin.csproj @@ -157,5 +157,9 @@ + + + + diff --git a/Plugins/ErrorManager.Plugin/ErrorManager.Plugin.csproj b/Plugins/ErrorManager.Plugin/ErrorManager.Plugin.csproj index 8f027a10e..7ca7910b3 100644 --- a/Plugins/ErrorManager.Plugin/ErrorManager.Plugin.csproj +++ b/Plugins/ErrorManager.Plugin/ErrorManager.Plugin.csproj @@ -78,5 +78,9 @@ Never + + + + diff --git a/Plugins/GeoIpPlugin/GeoIpPlugin.csproj b/Plugins/GeoIpPlugin/GeoIpPlugin.csproj index d3dd2e69b..8d03b8b86 100644 --- a/Plugins/GeoIpPlugin/GeoIpPlugin.csproj +++ b/Plugins/GeoIpPlugin/GeoIpPlugin.csproj @@ -54,5 +54,9 @@ + + + + diff --git a/Plugins/HelpDesk.Plugin/HelpDeskPlugin.csproj b/Plugins/HelpDesk.Plugin/HelpDeskPlugin.csproj index 6f2452871..d98301edc 100644 --- a/Plugins/HelpDesk.Plugin/HelpDeskPlugin.csproj +++ b/Plugins/HelpDesk.Plugin/HelpDeskPlugin.csproj @@ -153,5 +153,9 @@ Never + + + + diff --git a/Plugins/ImageManager.Plugin/ImageManager.Plugin.csproj b/Plugins/ImageManager.Plugin/ImageManager.Plugin.csproj index de303c69c..681b2ee9b 100644 --- a/Plugins/ImageManager.Plugin/ImageManager.Plugin.csproj +++ b/Plugins/ImageManager.Plugin/ImageManager.Plugin.csproj @@ -120,5 +120,9 @@ Never + + + + diff --git a/Plugins/LocalizationPlugin/Localization.Plugin.csproj b/Plugins/LocalizationPlugin/Localization.Plugin.csproj index 613322a3c..23960ec46 100644 --- a/Plugins/LocalizationPlugin/Localization.Plugin.csproj +++ b/Plugins/LocalizationPlugin/Localization.Plugin.csproj @@ -56,5 +56,9 @@ + + + + diff --git a/Plugins/Login.Plugin/Login.Plugin.csproj b/Plugins/Login.Plugin/Login.Plugin.csproj index 4410df1d6..ccfe78303 100644 --- a/Plugins/Login.Plugin/Login.Plugin.csproj +++ b/Plugins/Login.Plugin/Login.Plugin.csproj @@ -114,5 +114,9 @@ Never + + + + diff --git a/Plugins/MemoryCachePlugin/MemoryCachePlugin.csproj b/Plugins/MemoryCachePlugin/MemoryCachePlugin.csproj index 8922a7f61..a778f46e7 100644 --- a/Plugins/MemoryCachePlugin/MemoryCachePlugin.csproj +++ b/Plugins/MemoryCachePlugin/MemoryCachePlugin.csproj @@ -59,5 +59,9 @@ + + + + diff --git a/Plugins/PluginMiddleware/PluginMiddleware.csproj b/Plugins/PluginMiddleware/PluginMiddleware.csproj index 7572ff10d..976487035 100644 --- a/Plugins/PluginMiddleware/PluginMiddleware.csproj +++ b/Plugins/PluginMiddleware/PluginMiddleware.csproj @@ -56,5 +56,9 @@ + + + + diff --git a/Plugins/Products.Plugin/ProductsPlugin.csproj b/Plugins/Products.Plugin/ProductsPlugin.csproj index 4ebd5f771..bfc0b2bee 100644 --- a/Plugins/Products.Plugin/ProductsPlugin.csproj +++ b/Plugins/Products.Plugin/ProductsPlugin.csproj @@ -162,5 +162,9 @@ Never + + + + diff --git a/Plugins/Resources.Plugin/Resources.Plugin.csproj b/Plugins/Resources.Plugin/Resources.Plugin.csproj index 3cad55ce6..2dbb49adf 100644 --- a/Plugins/Resources.Plugin/Resources.Plugin.csproj +++ b/Plugins/Resources.Plugin/Resources.Plugin.csproj @@ -126,5 +126,9 @@ + + + + diff --git a/Plugins/RestrictIp.Plugin/RestrictIp.Plugin.csproj b/Plugins/RestrictIp.Plugin/RestrictIp.Plugin.csproj index 00d55be02..4927853ef 100644 --- a/Plugins/RestrictIp.Plugin/RestrictIp.Plugin.csproj +++ b/Plugins/RestrictIp.Plugin/RestrictIp.Plugin.csproj @@ -54,5 +54,9 @@ + + + + diff --git a/Plugins/SDGeoIpPlugin/SieraDeltaGeoIpPlugin.csproj b/Plugins/SDGeoIpPlugin/SieraDeltaGeoIpPlugin.csproj index 43d2287c1..5ec657912 100644 --- a/Plugins/SDGeoIpPlugin/SieraDeltaGeoIpPlugin.csproj +++ b/Plugins/SDGeoIpPlugin/SieraDeltaGeoIpPlugin.csproj @@ -57,5 +57,9 @@ + + + + diff --git a/Plugins/Search.Plugin/Search.Plugin.csproj b/Plugins/Search.Plugin/Search.Plugin.csproj index 3bcf698eb..a7d2fc032 100644 --- a/Plugins/Search.Plugin/Search.Plugin.csproj +++ b/Plugins/Search.Plugin/Search.Plugin.csproj @@ -118,5 +118,9 @@ Never + + + + diff --git a/Plugins/SeoPlugin/SeoPlugin.csproj b/Plugins/SeoPlugin/SeoPlugin.csproj index 37d51e449..f10b630aa 100644 --- a/Plugins/SeoPlugin/SeoPlugin.csproj +++ b/Plugins/SeoPlugin/SeoPlugin.csproj @@ -55,5 +55,9 @@ + + + + diff --git a/Plugins/ShoppingCart.Plugin/ShoppingCart.Plugin.csproj b/Plugins/ShoppingCart.Plugin/ShoppingCart.Plugin.csproj index aec32c62a..2358c7970 100644 --- a/Plugins/ShoppingCart.Plugin/ShoppingCart.Plugin.csproj +++ b/Plugins/ShoppingCart.Plugin/ShoppingCart.Plugin.csproj @@ -141,5 +141,9 @@ Never + + + + diff --git a/Plugins/Sitemap.Plugin/Sitemap.Plugin.csproj b/Plugins/Sitemap.Plugin/Sitemap.Plugin.csproj index 41ce99000..5e7386b0c 100644 --- a/Plugins/Sitemap.Plugin/Sitemap.Plugin.csproj +++ b/Plugins/Sitemap.Plugin/Sitemap.Plugin.csproj @@ -51,5 +51,9 @@ + + + + diff --git a/Plugins/Spider.Plugin/Spider.Plugin.csproj b/Plugins/Spider.Plugin/Spider.Plugin.csproj index 76dfc85c9..144be40e3 100644 --- a/Plugins/Spider.Plugin/Spider.Plugin.csproj +++ b/Plugins/Spider.Plugin/Spider.Plugin.csproj @@ -66,5 +66,9 @@ <_Parameter1>AspNetCore.PluginManager.Tests + + + + diff --git a/Plugins/Subdomain.Plugin/Subdomain.Plugin.csproj b/Plugins/Subdomain.Plugin/Subdomain.Plugin.csproj index 76262a6e6..40c61eadf 100644 --- a/Plugins/Subdomain.Plugin/Subdomain.Plugin.csproj +++ b/Plugins/Subdomain.Plugin/Subdomain.Plugin.csproj @@ -60,5 +60,9 @@ <_Parameter1>AspNetCore.PluginManager.Tests + + + + diff --git a/Plugins/SystemAdmin.Plugin/SystemAdmin.Plugin.csproj b/Plugins/SystemAdmin.Plugin/SystemAdmin.Plugin.csproj index 9a8a13613..1162331b8 100644 --- a/Plugins/SystemAdmin.Plugin/SystemAdmin.Plugin.csproj +++ b/Plugins/SystemAdmin.Plugin/SystemAdmin.Plugin.csproj @@ -160,5 +160,9 @@ Never + + + + diff --git a/Plugins/UserAccount.Plugin/UserAccount.Plugin.csproj b/Plugins/UserAccount.Plugin/UserAccount.Plugin.csproj index a09c2a86b..242aa08dd 100644 --- a/Plugins/UserAccount.Plugin/UserAccount.Plugin.csproj +++ b/Plugins/UserAccount.Plugin/UserAccount.Plugin.csproj @@ -177,5 +177,9 @@ Never + + + + diff --git a/Plugins/UserSessionMiddlewarePlugin/UserSessionMiddleware.Plugin.csproj b/Plugins/UserSessionMiddlewarePlugin/UserSessionMiddleware.Plugin.csproj index 65b817b1f..b3b2525a7 100644 --- a/Plugins/UserSessionMiddlewarePlugin/UserSessionMiddleware.Plugin.csproj +++ b/Plugins/UserSessionMiddlewarePlugin/UserSessionMiddleware.Plugin.csproj @@ -56,5 +56,9 @@ + + + + diff --git a/Plugins/WebSmokeTest.Plugin/WebSmokeTest.Plugin.csproj b/Plugins/WebSmokeTest.Plugin/WebSmokeTest.Plugin.csproj index 736733e5f..53c680702 100644 --- a/Plugins/WebSmokeTest.Plugin/WebSmokeTest.Plugin.csproj +++ b/Plugins/WebSmokeTest.Plugin/WebSmokeTest.Plugin.csproj @@ -59,5 +59,9 @@ <_Parameter1>AspNetCore.PluginManager.Tests + + + + diff --git a/SharedPluginFeatures/SharedPluginFeatures.csproj b/SharedPluginFeatures/SharedPluginFeatures.csproj index 4e076f9d8..f4219d882 100644 --- a/SharedPluginFeatures/SharedPluginFeatures.csproj +++ b/SharedPluginFeatures/SharedPluginFeatures.csproj @@ -58,5 +58,9 @@ <_Parameter1>AspNetCore.PluginManager.Tests + + + +