From c2bd127b64a8a34e1a27dcd0997df941eb49168a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 1 Aug 2023 08:48:06 +0200 Subject: [PATCH 1/3] Update gestione redisChannel con patterna aggiornati --- WebDoorCreator.Data/MessagePipe.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebDoorCreator.Data/MessagePipe.cs b/WebDoorCreator.Data/MessagePipe.cs index d5e0c22..10de30f 100644 --- a/WebDoorCreator.Data/MessagePipe.cs +++ b/WebDoorCreator.Data/MessagePipe.cs @@ -10,7 +10,7 @@ namespace WebDoorCreator.Data public MessagePipe(IConnectionMultiplexer redisConn, string channelName, bool enableLog = false) { - _channel = channelName; + _channel = new RedisChannel(channelName, RedisChannel.PatternMode.Literal); ; redis = redisConn; redisDb = redis.GetDatabase(); this.enableLog = enableLog; @@ -94,7 +94,7 @@ namespace WebDoorCreator.Data /// /// Canale associato al gestore pipeline messaggi /// - private string _channel { get; set; } = ""; + private RedisChannel _channel { get; set; } = new RedisChannel("Default", RedisChannel.PatternMode.Literal); #endregion Private Properties @@ -108,7 +108,7 @@ namespace WebDoorCreator.Data { Log.Trace($"ch {channel} | {message}"); // messaggio - PubSubEventArgs mea = new PubSubEventArgs(message); + PubSubEventArgs mea = new PubSubEventArgs($"{message}"); // se qualcuno ascolta sollevo evento nuovo valore... if (EA_NewMessage != null) { From 632e2005ee8ea541ee8013a9a2bcc4a32348b801 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 1 Aug 2023 09:47:34 +0200 Subject: [PATCH 2/3] Fix gestione deserializzazione claims --- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- .../Controllers/DoorImageController.cs | 1 + WebDoorCreator.Data/User/ClaimConverter.cs | 20 +++++++++---------- WebDoorCreator.UI/WebDoorCreator.UI.csproj | 2 +- 6 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index d306ec0..acb057b 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ WebDoorCreator - Egalware -

Version: 0.9.2308.0108

+

Version: 0.9.2308.0109


Release note: