From 4a60f3507587965ad0170ac5278676cc41dcf433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kan=20Edling?= Date: Wed, 10 Nov 2021 20:54:01 +0100 Subject: [PATCH] Updated to v10.0 --- .github/workflows/dotnet_linux.yml | 2 +- .github/workflows/dotnet_win.yml | 2 +- .github/workflows/publish_to_nuget.yml | 1 + nuspec/Piranha.Templates.nuspec | 2 +- src/empty/Empty.csproj | 34 ++++++++++---------- src/module/TemplateModule.csproj | 6 ++-- src/web/mvc/Controllers/SetupController.cs | 8 +++-- src/web/mvc/MvcWeb.csproj | 34 ++++++++++---------- src/web/razor/Controllers/SetupController.cs | 8 +++-- src/web/razor/RazorWeb.csproj | 34 ++++++++++---------- 10 files changed, 68 insertions(+), 63 deletions(-) diff --git a/.github/workflows/dotnet_linux.yml b/.github/workflows/dotnet_linux.yml index 054febe..c06602e 100644 --- a/.github/workflows/dotnet_linux.yml +++ b/.github/workflows/dotnet_linux.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.100-rc.2.21505.57 + dotnet-version: '6.0.x' - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/dotnet_win.yml b/.github/workflows/dotnet_win.yml index 6758099..dc56404 100644 --- a/.github/workflows/dotnet_win.yml +++ b/.github/workflows/dotnet_win.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.100-rc.2.21505.57 + dotnet-version: '6.0.x' - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/publish_to_nuget.yml b/.github/workflows/publish_to_nuget.yml index 2e05687..4a8d48c 100644 --- a/.github/workflows/publish_to_nuget.yml +++ b/.github/workflows/publish_to_nuget.yml @@ -16,6 +16,7 @@ jobs: - name: Setup .NET Core @ Latest uses: actions/setup-dotnet@v1 with: + dotnet-version: '6.0.x' source-url: https://api.nuget.org/v3/index.json env: NUGET_AUTH_TOKEN: ${{secrets.NugetAuthToken}} diff --git a/nuspec/Piranha.Templates.nuspec b/nuspec/Piranha.Templates.nuspec index 0343cb7..56b085a 100644 --- a/nuspec/Piranha.Templates.nuspec +++ b/nuspec/Piranha.Templates.nuspec @@ -2,7 +2,7 @@ Piranha.Templates - 10.0.0-alpha1 + 10.0.0 Piranha CMS Templates Piranha CMS Piranha CMS diff --git a/src/empty/Empty.csproj b/src/empty/Empty.csproj index 409073c..6303ef6 100644 --- a/src/empty/Empty.csproj +++ b/src/empty/Empty.csproj @@ -5,23 +5,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/src/module/TemplateModule.csproj b/src/module/TemplateModule.csproj index f226387..14754e8 100644 --- a/src/module/TemplateModule.csproj +++ b/src/module/TemplateModule.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/src/web/mvc/Controllers/SetupController.cs b/src/web/mvc/Controllers/SetupController.cs index 0da38f0..a64cd09 100644 --- a/src/web/mvc/Controllers/SetupController.cs +++ b/src/web/mvc/Controllers/SetupController.cs @@ -234,7 +234,7 @@ await _api.Media.SaveAsync(new Piranha.Models.StreamMediaContent() post3.Blocks.Add(new HtmlBlock { Body = - "

Please note that this is a preview version of Piranha CMS.

" + "

Big thanks to [@aatmmr](https://github.com/aatmmr), [@brianpopow](https://github.com/brianpopow) and [@tedvanderveen](https://github.com/tedvanderveen) for their contributions and all of the people who has helped with translating the manager.

" }); post3.Blocks.Add(new ColumnBlock { @@ -252,11 +252,13 @@ await _api.Media.SaveAsync(new Piranha.Models.StreamMediaContent() "* Update to .NET 6 [#1733](https://github.com/piranhacms/piranha.core/issues/1733)\n" + "* Use Identify to get image width and height [#1734](https://github.com/piranhacms/piranha.core/pull/1734)\n" + "* Clean up application startup [#1738](https://github.com/piranhacms/piranha.core/issues/1738)\n" + - "* Add markdown block [#1744](https://github.com/piranhacms/piranha.core/issues/1744)\n\n" + + "* Add markdown block [#1744](https://github.com/piranhacms/piranha.core/issues/1744)\n" + + "* Remove description attributes [#1747](https://github.com/piranhacms/piranha.core/issues/1747)\n\n" + "#### Manager\n\n" + "* Add content settings (with region support) [#1524](https://github.com/piranhacms/piranha.core/issues/1524)\n" + "* Update Summernote package [#1730](https://github.com/piranhacms/piranha.core/issues/1730)\n" + - "* Manager security update [#1741](https://github.com/piranhacms/piranha.core/issues/1741)\n\n" + + "* Manager security update [#1741](https://github.com/piranhacms/piranha.core/issues/1741)\n" + + "* Redesign Add page button in manager [#1748](https://github.com/piranhacms/piranha.core/issues/1748)\n\n" + "#### Bugfixes\n\n" + "* Cannot access disposed object [#1701](https://github.com/piranhacms/piranha.core/issues/1701)\n" + "* Invalid PageField URL in Manager [#1705](https://github.com/piranhacms/piranha.core/issues/1705)\n" diff --git a/src/web/mvc/MvcWeb.csproj b/src/web/mvc/MvcWeb.csproj index 409073c..6303ef6 100644 --- a/src/web/mvc/MvcWeb.csproj +++ b/src/web/mvc/MvcWeb.csproj @@ -5,23 +5,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/src/web/razor/Controllers/SetupController.cs b/src/web/razor/Controllers/SetupController.cs index 6fed279..1a62c4c 100644 --- a/src/web/razor/Controllers/SetupController.cs +++ b/src/web/razor/Controllers/SetupController.cs @@ -234,7 +234,7 @@ await _api.Media.SaveAsync(new Piranha.Models.StreamMediaContent() post3.Blocks.Add(new HtmlBlock { Body = - "

Please note that this is a preview version of Piranha CMS.

" + "

Big thanks to [@aatmmr](https://github.com/aatmmr), [@brianpopow](https://github.com/brianpopow) and [@tedvanderveen](https://github.com/tedvanderveen) for their contributions and all of the people who has helped with translating the manager.

" }); post3.Blocks.Add(new ColumnBlock { @@ -252,11 +252,13 @@ await _api.Media.SaveAsync(new Piranha.Models.StreamMediaContent() "* Update to .NET 6 [#1733](https://github.com/piranhacms/piranha.core/issues/1733)\n" + "* Use Identify to get image width and height [#1734](https://github.com/piranhacms/piranha.core/pull/1734)\n" + "* Clean up application startup [#1738](https://github.com/piranhacms/piranha.core/issues/1738)\n" + - "* Add markdown block [#1744](https://github.com/piranhacms/piranha.core/issues/1744)\n\n" + + "* Add markdown block [#1744](https://github.com/piranhacms/piranha.core/issues/1744)\n" + + "* Remove description attributes [#1747](https://github.com/piranhacms/piranha.core/issues/1747)\n\n" + "#### Manager\n\n" + "* Add content settings (with region support) [#1524](https://github.com/piranhacms/piranha.core/issues/1524)\n" + "* Update Summernote package [#1730](https://github.com/piranhacms/piranha.core/issues/1730)\n" + - "* Manager security update [#1741](https://github.com/piranhacms/piranha.core/issues/1741)\n\n" + + "* Manager security update [#1741](https://github.com/piranhacms/piranha.core/issues/1741)\n" + + "* Redesign Add page button in manager [#1748](https://github.com/piranhacms/piranha.core/issues/1748)\n\n" + "#### Bugfixes\n\n" + "* Cannot access disposed object [#1701](https://github.com/piranhacms/piranha.core/issues/1701)\n" + "* Invalid PageField URL in Manager [#1705](https://github.com/piranhacms/piranha.core/issues/1705)\n" diff --git a/src/web/razor/RazorWeb.csproj b/src/web/razor/RazorWeb.csproj index 409073c..6303ef6 100644 --- a/src/web/razor/RazorWeb.csproj +++ b/src/web/razor/RazorWeb.csproj @@ -5,23 +5,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +