From d5ceb3f4299186132b8a7f8138c97352c834d64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 28 May 2024 11:47:46 +0200 Subject: [PATCH 01/30] Update OC preview version. --- .../Lombiq.BaseTheme.Samples.csproj | 4 ++-- Lombiq.BaseTheme/Lombiq.BaseTheme.csproj | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj b/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj index b4159e1..03aa6f6 100644 --- a/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj +++ b/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj @@ -26,8 +26,8 @@ - - + + diff --git a/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj b/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj index 32a07b6..5ebf5bf 100644 --- a/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj +++ b/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj @@ -43,12 +43,12 @@ - - - - - - + + + + + + From 510baa8e35b72124b75bcdc210d3d0ec626faa46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 30 May 2024 13:48:52 +0200 Subject: [PATCH 02/30] Update OC preview version. --- .../Lombiq.BaseTheme.Samples.csproj | 4 ++-- Lombiq.BaseTheme/Lombiq.BaseTheme.csproj | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj b/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj index 03aa6f6..544a89c 100644 --- a/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj +++ b/Lombiq.BaseTheme.Samples/Lombiq.BaseTheme.Samples.csproj @@ -26,8 +26,8 @@ - - + + diff --git a/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj b/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj index 5ebf5bf..3d294e1 100644 --- a/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj +++ b/Lombiq.BaseTheme/Lombiq.BaseTheme.csproj @@ -43,12 +43,12 @@ - - - - - - + + + + + + From f0ea5b070f9b137a76a5752c9f43c7520de8b5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Thu, 30 May 2024 14:57:39 +0200 Subject: [PATCH 03/30] Fix new "Obsolete" warnings. --- Lombiq.BaseTheme.Samples/Views/Widget-LayoutInjection.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.BaseTheme.Samples/Views/Widget-LayoutInjection.cshtml b/Lombiq.BaseTheme.Samples/Views/Widget-LayoutInjection.cshtml index 9f1336c..79397bb 100644 --- a/Lombiq.BaseTheme.Samples/Views/Widget-LayoutInjection.cshtml +++ b/Lombiq.BaseTheme.Samples/Views/Widget-LayoutInjection.cshtml @@ -51,7 +51,7 @@ @* You can even include shapes conditionally. In this case we want a link to the admin dashboard but only for users who are able to access it. Using this approach can be much easier than implementing a custom layer condition. *@ -@if (await AuthorizationService.AuthorizeAsync(User, Permissions.AccessAdminPanel)) +@if (await AuthorizationService.AuthorizeAsync(User, AdminPermissions.AccessAdminPanel)) {