From db5deed37dd38ed34b6d2e9e2cf1680e3a1e6df0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 21 Feb 2021 02:19:48 +0000 Subject: [PATCH 1/9] fix: update packages --- .../Aguacongas.AspNetCore.Authentication.Sample.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj b/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj index 2a4d383..1f79230 100644 --- a/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj +++ b/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj @@ -19,7 +19,7 @@ - - + + From a745dd587ab964c775f3e9e97ce1d621dbfeef09 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 22 Feb 2021 02:20:06 +0000 Subject: [PATCH 2/9] fix: update packages --- ...congas.AspNetCore.Authentication.EntityFramework.Test.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.Redis.Test.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.Test.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj index 0bc2095..391a797 100644 --- a/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj @@ -7,7 +7,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj index 6df1326..a520ec5 100644 --- a/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj @@ -7,7 +7,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj index 8413190..d87849b 100644 --- a/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj @@ -7,7 +7,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj index 27a9dbd..9407a32 100644 --- a/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj @@ -7,7 +7,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 74780fcc73c162d6e8893cbc556545b89565c9e4 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 24 Feb 2021 02:20:44 +0000 Subject: [PATCH 3/9] fix: update packages --- .../Aguacongas.AspNetCore.Authentication.TestBase.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.Redis.Test.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.Test.csproj | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj b/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj index 6c5c0ff..757a4ba 100644 --- a/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj +++ b/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj @@ -38,7 +38,7 @@ - + diff --git a/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj index a520ec5..5610538 100644 --- a/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj @@ -11,7 +11,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + all diff --git a/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj index d87849b..4d0bb1c 100644 --- a/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.Redis.Test/Aguacongas.AspNetCore.Authentication.Redis.Test.csproj @@ -11,7 +11,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers diff --git a/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj index 9407a32..4884251 100644 --- a/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj @@ -12,8 +12,8 @@ all - - + + all From d8399b910fc93c23e6b2014db17f3e194e810300 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 2 Mar 2021 02:12:59 +0000 Subject: [PATCH 4/9] fix: update packages --- .../Aguacongas.AspNetCore.Authentication.RavenDb.csproj | 2 +- .../Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Aguacongas.AspNetCore.Authentication.RavenDb/Aguacongas.AspNetCore.Authentication.RavenDb.csproj b/src/Aguacongas.AspNetCore.Authentication.RavenDb/Aguacongas.AspNetCore.Authentication.RavenDb.csproj index 8539052..3171bcd 100644 --- a/src/Aguacongas.AspNetCore.Authentication.RavenDb/Aguacongas.AspNetCore.Authentication.RavenDb.csproj +++ b/src/Aguacongas.AspNetCore.Authentication.RavenDb/Aguacongas.AspNetCore.Authentication.RavenDb.csproj @@ -28,7 +28,7 @@ - + diff --git a/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj index 5610538..71a3617 100644 --- a/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.RavenDb.Test/Aguacongas.AspNetCore.Authentication.RavenDb.Test.csproj @@ -12,7 +12,7 @@ all - + all runtime; build; native; contentfiles; analyzers From 06772aaf718539d60e1730a48ca5b192228caa55 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 3 Mar 2021 10:30:29 +0100 Subject: [PATCH 5/9] ci: install sdk 5.0.103 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 76b6a0b..74ca420 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ image: environment: GH_TOKEN: secure: 0NJdORJRFjpB0dwUYv7bVNsbkldkoBhnvWik/CTOwAF/k9kP+/uTWMFnDcpEpt8E - donetsdk: 5.0.102 + donetsdk: 5.0.103 JAVA_HOME: C:\Program Files\Java\jdk14 init: - cmd: git config --global core.autocrlf true From 1fbaf23ef072aa329397fc4a9e95252305f79491 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 3 Mar 2021 10:37:52 +0100 Subject: [PATCH 6/9] ci: update linux ms pakages url --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 74ca420..afb2d92 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,7 +20,7 @@ init: - cmd: git config --global core.autocrlf true install: - ps: if ($isWindows) { Install-Product node '' } - - sh: wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb + - sh: wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb - sh: sudo dpkg -i packages-microsoft-prod.deb - sh: sudo apt-get update - sh: sudo apt-get -y install apt-transport-https From cde464011f3fa564730ac50308636ff4fbfe38a7 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 10 Mar 2021 02:27:27 +0000 Subject: [PATCH 7/9] fix: update packages --- ...acongas.AspNetCore.Authentication.Sample.csproj | 10 +++++----- ...spNetCore.Authentication.EntityFramework.csproj | 2 +- ...ongas.AspNetCore.Authentication.TestBase.csproj | 14 +++++++------- ...Core.Authentication.EntityFramework.Test.csproj | 2 +- ...guacongas.AspNetCore.Authentication.Test.csproj | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj b/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj index 1f79230..c61a43d 100644 --- a/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj +++ b/sample/Aguacongas.AspNetCore.Authentication.Sample/Aguacongas.AspNetCore.Authentication.Sample.csproj @@ -14,11 +14,11 @@ - - - - - + + + + + diff --git a/src/Aguacongas.AspNetCore.Authentication.EntityFramework/Aguacongas.AspNetCore.Authentication.EntityFramework.csproj b/src/Aguacongas.AspNetCore.Authentication.EntityFramework/Aguacongas.AspNetCore.Authentication.EntityFramework.csproj index d5a5589..0f5dcc4 100644 --- a/src/Aguacongas.AspNetCore.Authentication.EntityFramework/Aguacongas.AspNetCore.Authentication.EntityFramework.csproj +++ b/src/Aguacongas.AspNetCore.Authentication.EntityFramework/Aguacongas.AspNetCore.Authentication.EntityFramework.csproj @@ -28,7 +28,7 @@ - + diff --git a/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj b/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj index 757a4ba..9bb8961 100644 --- a/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj +++ b/src/Aguacongas.AspNetCore.Authentication.TestBase/Aguacongas.AspNetCore.Authentication.TestBase.csproj @@ -26,14 +26,14 @@ - - - - + + + + - - - + + + diff --git a/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj index 391a797..abea785 100644 --- a/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test/Aguacongas.AspNetCore.Authentication.EntityFramework.Test.csproj @@ -11,7 +11,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers diff --git a/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj b/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj index 4884251..5498a16 100644 --- a/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj +++ b/test/Aguacongas.AspNetCore.Authentication.Test/Aguacongas.AspNetCore.Authentication.Test.csproj @@ -11,7 +11,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + From 116617c2c6eb2db24ab6a48819fae62b9e4cb2f9 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 23 Mar 2021 02:31:28 +0000 Subject: [PATCH 8/9] fix: update packages --- .../Aguacongas.AspNetCore.Authentication.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Aguacongas.AspNetCore.Authentication/Aguacongas.AspNetCore.Authentication.csproj b/src/Aguacongas.AspNetCore.Authentication/Aguacongas.AspNetCore.Authentication.csproj index 9fcbbc0..7877262 100644 --- a/src/Aguacongas.AspNetCore.Authentication/Aguacongas.AspNetCore.Authentication.csproj +++ b/src/Aguacongas.AspNetCore.Authentication/Aguacongas.AspNetCore.Authentication.csproj @@ -30,7 +30,7 @@ - + From a18f632b6368124fc93428dd4ce06ba7082ee8eb Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 29 Mar 2021 17:06:50 +0200 Subject: [PATCH 9/9] fix: ravendb update fail with serialization issue --- .../DynamicProviderStore.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Aguacongas.AspNetCore.Authentication.RavenDb/DynamicProviderStore.cs b/src/Aguacongas.AspNetCore.Authentication.RavenDb/DynamicProviderStore.cs index af98d9a..cb80759 100644 --- a/src/Aguacongas.AspNetCore.Authentication.RavenDb/DynamicProviderStore.cs +++ b/src/Aguacongas.AspNetCore.Authentication.RavenDb/DynamicProviderStore.cs @@ -130,10 +130,17 @@ public virtual async Task UpdateAsync(TSchemeDefinition definition, Cancellation data.SerializedOptions = serialized.SerializedOptions; data.SerializedHandlerType = serialized.SerializedHandlerType; + var handlerType = definition.HandlerType; + var options = definition.Options; + + data.HandlerType = null; + data.Options = null; - await _session.StoreAsync(data).ConfigureAwait(false); await _session.SaveChangesAsync(cancellationToken).ConfigureAwait(false); + definition.HandlerType = handlerType; + definition.Options = options; + _logger.LogInformation("Scheme {scheme} updated for {handlerType} with options: {options}", definition.Scheme, definition.HandlerType, data.SerializedOptions); }