From 6eadc1860495d994178102a7eaf7a27d2de9796c Mon Sep 17 00:00:00 2001 From: Paul Fresquet Date: Fri, 15 Aug 2025 23:07:09 +0200 Subject: [PATCH 1/6] chore: improve StatusItemDataTemplate textblock min width --- .../Sessions/Comparisons/Results/ContentRepartitionView.axaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml b/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml index f580f1e34..5c2d9e8b4 100644 --- a/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml +++ b/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml @@ -19,7 +19,7 @@ - From c5befd7d1e098c7d13b8209db2da2c862673bd10 Mon Sep 17 00:00:00 2001 From: Paul Fresquet Date: Sat, 16 Aug 2025 09:29:56 +0200 Subject: [PATCH 2/6] build: update nugets --- src/ByteSync.Client/ByteSync.Client.csproj | 18 +++++++++--------- src/ByteSync.Common/ByteSync.Common.csproj | 4 ++-- .../ByteSync.Functions.csproj | 12 ++++++------ .../ByteSync.ServerCommon.csproj | 16 ++++++++-------- .../ByteSync.Client.IntegrationTests.csproj | 10 +++++----- .../ByteSync.Client.Tests.csproj | 8 ++++---- .../ByteSync.Common.Tests.csproj | 6 +++--- .../ByteSync.Functions.IntegrationTests.csproj | 10 +++++----- .../ByteSync.Functions.UnitTests.csproj | 11 ++++++----- .../ByteSync.ServerCommon.Tests.csproj | 12 ++++++------ .../ByteSync.TestsCommon.csproj | 6 +++--- 11 files changed, 57 insertions(+), 56 deletions(-) diff --git a/src/ByteSync.Client/ByteSync.Client.csproj b/src/ByteSync.Client/ByteSync.Client.csproj index 1c7d7608c..60db244b5 100644 --- a/src/ByteSync.Client/ByteSync.Client.csproj +++ b/src/ByteSync.Client/ByteSync.Client.csproj @@ -51,7 +51,7 @@ - + @@ -62,35 +62,35 @@ - + - + - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + - - + + diff --git a/src/ByteSync.Common/ByteSync.Common.csproj b/src/ByteSync.Common/ByteSync.Common.csproj index 9b4cadfea..02fb299a9 100644 --- a/src/ByteSync.Common/ByteSync.Common.csproj +++ b/src/ByteSync.Common/ByteSync.Common.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/src/ByteSync.Functions/ByteSync.Functions.csproj b/src/ByteSync.Functions/ByteSync.Functions.csproj index c2308f17b..785c155dc 100644 --- a/src/ByteSync.Functions/ByteSync.Functions.csproj +++ b/src/ByteSync.Functions/ByteSync.Functions.csproj @@ -8,9 +8,9 @@ fad123b6-a5bb-4773-8a56-3af68f41292c - + - + @@ -20,14 +20,14 @@ - - - + + + - + diff --git a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj index dc3f806b2..bd084c5c8 100644 --- a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj +++ b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj @@ -8,20 +8,20 @@ - - - + + + - - - + + + - + - + diff --git a/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj b/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj index 6b6f1bd75..5b7f69769 100644 --- a/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj +++ b/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj @@ -10,20 +10,20 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj b/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj index b8a52ccf2..0f7b89e6c 100644 --- a/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj +++ b/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj @@ -15,15 +15,15 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj b/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj index ed5bce725..745759f35 100644 --- a/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj +++ b/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj @@ -9,10 +9,10 @@ - + - - + + diff --git a/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj b/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj index ae29d60d6..98b25442d 100644 --- a/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj +++ b/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj @@ -11,17 +11,17 @@ - + - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj b/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj index b0cb84e2d..e3e52bf00 100644 --- a/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj +++ b/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj @@ -11,16 +11,17 @@ - + + - + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj b/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj index 7420e4204..90100f74a 100644 --- a/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj +++ b/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj @@ -11,17 +11,17 @@ - - + + - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj b/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj index 2e5d94de2..58e9c7341 100644 --- a/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj +++ b/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj @@ -11,10 +11,10 @@ - - + + - + From 03dd4629908d0560b5f77d8faab981e00c6c9e0b Mon Sep 17 00:00:00 2001 From: Paul Fresquet Date: Sat, 16 Aug 2025 11:51:58 +0200 Subject: [PATCH 3/6] build: update nugets --- src/ByteSync.Client/ByteSync.Client.csproj | 16 ++++++++-------- src/ByteSync.Functions/ByteSync.Functions.csproj | 2 +- .../ByteSync.ServerCommon.csproj | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/ByteSync.Client/ByteSync.Client.csproj b/src/ByteSync.Client/ByteSync.Client.csproj index 60db244b5..df882e8c2 100644 --- a/src/ByteSync.Client/ByteSync.Client.csproj +++ b/src/ByteSync.Client/ByteSync.Client.csproj @@ -53,15 +53,14 @@ - - - - - + + + + + - - - + + @@ -95,6 +94,7 @@ + diff --git a/src/ByteSync.Functions/ByteSync.Functions.csproj b/src/ByteSync.Functions/ByteSync.Functions.csproj index 785c155dc..d0a6d6924 100644 --- a/src/ByteSync.Functions/ByteSync.Functions.csproj +++ b/src/ByteSync.Functions/ByteSync.Functions.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj index bd084c5c8..253cc266f 100644 --- a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj +++ b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj @@ -11,7 +11,7 @@ - + From ad00d0a1d79286b808c6a4e6b3b24cc21a34bedb Mon Sep 17 00:00:00 2001 From: Paul Fresquet Date: Sat, 16 Aug 2025 11:52:14 +0200 Subject: [PATCH 4/6] refactor: cleanup --- .../Repositories/SharedActionsGroupRepository.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs b/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs index 3aa7ee5ae..afc507fc6 100644 --- a/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs +++ b/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs @@ -17,7 +17,7 @@ public SharedActionsGroupRepository(ISessionInvalidationCachePolicy(); + OrganizedSharedActionsGroups = []; _sessionInvalidationCachePolicy = sessionInvalidationCachePolicy; _sessionInvalidationCachePolicy.Initialize(SourceCache, true, true); @@ -25,17 +25,13 @@ public SharedActionsGroupRepository(ISessionInvalidationCachePolicy sharedAtomicAction.ActionsGroupId; - public IObservableCache SharedActionsGroups => ObservableCache; - - public IEnumerable SharedActionsGroupsList => SourceCache.Items; - public List OrganizedSharedActionsGroups { get; private set; } public List GetActionsGroupsDefinitions() { - List result = new List(); + List result = []; - foreach (var sharedActionsGroup in SharedActionsGroupsList) + foreach (var sharedActionsGroup in SourceCache.Items) { result.Add(sharedActionsGroup.GetDefinition()); } From 291fd2b8340ba9755b5274f75a95781ca041879e Mon Sep 17 00:00:00 2001 From: Paul Fresquet Date: Sat, 16 Aug 2025 11:52:58 +0200 Subject: [PATCH 5/6] refactor: cleanup --- .../Repositories/SharedActionsGroupRepository.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs b/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs index afc507fc6..d6c87a97f 100644 --- a/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs +++ b/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs @@ -1,5 +1,4 @@ -using System.Threading.Tasks; -using ByteSync.Business.Actions.Shared; +using ByteSync.Business.Actions.Shared; using ByteSync.Common.Business.Actions; using ByteSync.Common.Business.Synchronizations; using ByteSync.Interfaces.Repositories; From 8d5647962f5342fc01d447c7aa00c833479f904f Mon Sep 17 00:00:00 2001 From: Paul Fresquet Date: Sun, 17 Aug 2025 08:44:38 +0200 Subject: [PATCH 6/6] build: restore mediatr 12.5.0 --- src/ByteSync.Functions/ByteSync.Functions.csproj | 2 +- src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ByteSync.Functions/ByteSync.Functions.csproj b/src/ByteSync.Functions/ByteSync.Functions.csproj index d0a6d6924..785c155dc 100644 --- a/src/ByteSync.Functions/ByteSync.Functions.csproj +++ b/src/ByteSync.Functions/ByteSync.Functions.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj index 253cc266f..bd084c5c8 100644 --- a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj +++ b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj @@ -11,7 +11,7 @@ - +