Skip to content

Commit d12b562

Browse files
authored
Merge branch 'develop' into task/RDMP-365-better-load-metadata-logging
2 parents b5002a7 + 402be8c commit d12b562

File tree

80 files changed

+468
-321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+468
-321
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@ jobs:
179179
- name: Temporary Bundle of ddls for auto-updater
180180
shell: bash
181181
run: |
182-
cp -r Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/runtimes ./PublishWinForms
183-
cp -r Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/x64 ./PublishWinForms
184-
cp Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/D3DCompiler_47_cor3.dll ./PublishWinForms
185-
cp Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/PenImc_cor3.dll ./PublishWinForms
186-
cp Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/PresentationNative_cor3.dll ./PublishWinForms
187-
cp Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/vcruntime140_cor3.dll ./PublishWinForms
188-
cp Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/WebView2Loader.dll ./PublishWinForms
189-
cp Application/ResearchDataManagementPlatform/bin/Release/net9.0-windows/win-x64/wpfgfx_cor3.dll ./PublishWinForms
182+
cp -r Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/runtimes ./PublishWinForms
183+
cp -r Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/x64 ./PublishWinForms
184+
cp Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/D3DCompiler_47_cor3.dll ./PublishWinForms
185+
cp Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/PenImc_cor3.dll ./PublishWinForms
186+
cp Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/PresentationNative_cor3.dll ./PublishWinForms
187+
cp Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/vcruntime140_cor3.dll ./PublishWinForms
188+
cp Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/WebView2Loader.dll ./PublishWinForms
189+
cp Application/ResearchDataManagementPlatform/bin/Release/net10.0-windows/win-x64/wpfgfx_cor3.dll ./PublishWinForms
190190
- name: Install Plugins
191191
shell: bash
192192
run: |

Application/ResearchDataManagementPlatform/ResearchDataManagementPlatform.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<PackageReference Include="ConsoleControl" />
3333
<PackageReference Include="Autoupdater.NET.Official" />
3434
<PackageReference Include="DockPanelSuite.ThemeVS2015" />
35-
<PackageReference Include="System.Resources.Extensions" />
3635
</ItemGroup>
3736
<ItemGroup>
3837
<Compile Include="..\..\SharedAssemblyInfo.cs" Link="SharedAssemblyInfo.cs" />

Application/ResearchDataManagementPlatform/WindowManagement/ContentWindowTracking/Persistence/PersistableSingleDatabaseObjectDockContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public PersistableSingleDatabaseObjectDockContent(IRDMPSingleDatabaseObjectContr
4343
TabText = "Loading...";
4444

4545
control.UnSavedChanges += OnUnSavedChanges;
46-
Closing += (s, e) => control.UnSavedChanges -= OnUnSavedChanges;
46+
FormClosing += (s, e) => control.UnSavedChanges -= OnUnSavedChanges;
4747
}
4848

4949
private void OnUnSavedChanges(object sender, bool unsavedChanges)

Application/ResearchDataManagementPlatform/WindowManagement/WindowManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private PersistableToolboxDockContent Show(RDMPCollection collection, RDMPCollec
179179
var content =
180180
_windowFactory.Create(ActivateItems, control, label, image,
181181
collection); //these are collections so are not tracked with a window tracker.
182-
content.Closed += (s, e) => content_Closed(collection);
182+
content.FormClosed += (s, e) => content_Closed(collection);
183183

184184
_visibleToolboxes.Add(collection, content);
185185
content.Show(_mainDockPanel, DockState.DockLeft);
@@ -301,7 +301,7 @@ public void PopHome()
301301

302302
_homeContent = _windowFactory.Create(ActivateItems, _home, "Home",
303303
Image.Load<Rgba32>(FamFamFamIcons.application_home));
304-
_homeContent.Closed += (s, e) => _home = null;
304+
_homeContent.FormClosed += (s, e) => _home = null;
305305
_homeContent.Show(_mainDockPanel, DockState.Document);
306306
}
307307
else

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [9.3.0] - Unreleased
88
- Update Load Metadata logging linkage to Catalogue
9+
- Update Sql Merge component to force destination column types
910

10-
## [9.2.0] - Unreleased
11+
## [9.2.0] - 2026-03-10
1112
- Add Internal Note to Catalogue
1213
- Fix issue where project associations were not copied when a CIC was cloned
1314
- Fix issue with using Internal Catalogues in Cohort Identification Configurations
15+
- Fix issue with using Project Specific Catalogues in Cohort Identification Configurations when not associated to project
16+
- Fix bug with copying project specific Catalogues between Projects when committing a Cohort
17+
- Remove Tree filters from UI
18+
1419
- Simplify Project Cohorts tree
1520
- Fix bug with copying project specific Catalogues between Projects when committing a Cohort
1621
- Remove Tree filters from UI
@@ -21,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2126
- Simplify use of Extraction Progress
2227
- Update CHI validation to allow mod10 CHIs
2328
- Hardened Confluence export functionality
29+
- Fix issue with using Internal Catalogues in Cohort Identification Configurations
2430
- Add new SQL merge extraction component
2531

2632
## [9.1.1] - 2025-12-02

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<LangVersion>latest</LangVersion>
55
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
66
<NoWarn>NU1902;NU1903;NU1904;1701;1702;CS1591;NU1701;CA1416</NoWarn>

Documentation/CodeTutorials/Packages.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
| YamlDotNet | [GitHub](https://github.com/aaubry/YamlDotNet) | [MIT](https://opensource.org/licenses/MIT) |Loading configuration files|
3030
| SixLabors.ImageSharp | [GitHub](https://github.com/SixLabors/ImageSharp) | [Apache 2.0](https://github.com/SixLabors/ImageSharp/blob/main/LICENSE) | Platform-independent replacement for legacy Windows-only System.Drawing.Common | |
3131
| SixLabors.ImageSharp.Drawing | [GitHub](https://github.com/SixLabors/ImageSharp.Drawing) | [Apache 2.0](https://github.com/SixLabors/ImageSharp/blob/main/LICENSE) | Font handling for ImageSharp | |
32-
| System.Private.Uri | Part of .Net, referenced to override vulnerable transitive dependency | .Net SDK | |
33-
| System.Threading.ThreadPool | [GitHub](https://github.com/dotnet/corefx) |[MIT](https://opensource.org/licenses/MIT) | Required to compile native linux binaries | |
34-
| [AutoComplete Console](https://www.codeproject.com/Articles/1182358/Using-Autocomplete-in-Windows-Console-Applications) by Jasper Lammers | Embedded | [CPOL](https://www.codeproject.com/info/cpol10.aspx) | Provides interactive autocomplete in console input | |
35-
| System.Resources.Extensions | [GitHub](https://github.com/dotnet/corefx) | [MIT](https://opensource.org/licenses/MIT) | Allows [publishing with dotnet publish on machines with netcoreapp3.0 SDK installed](https://github.com/microsoft/msbuild/issues/4704#issuecomment-530034240) | |
32+
| [AutoComplete Console] by Jasper Lammers | Embedded | [CPOL]() | Provides interactive autocomplete in console input | |
3633
| Spectre.Console | [GitHub](https://github.com/spectreconsole/spectre.console) | [MIT](https://opensource.org/licenses/MIT) | Allows richer command line interactions| |
3734
| HIC.System.Windows.Forms.DataVisualization | [GitHub](https://github.com/HicServices/winforms-datavisualization) |[MIT](https://opensource.org/licenses/MIT) | Dotnet core support for DQE charts | |
3835
| Autoupdater.NET.Official | [GitHub](https://github.com/ravibpatel/AutoUpdater.NET) | MIT | Manages updating of the RDMP windows client directly from the RDMP GitHub Releases|

Rdmp.Core.Tests/Caching/Integration/CustomDateCachingTests.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@
44
// RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
55
// You should have received a copy of the GNU General Public License along with RDMP. If not, see <https://www.gnu.org/licenses/>.
66

7-
using System;
8-
using System.Collections.Generic;
9-
using System.IO;
10-
using System.Linq;
11-
using System.Threading.Tasks;
127
using NSubstitute;
138
using NUnit.Framework;
149
using Rdmp.Core.Caching;
1510
using Rdmp.Core.Caching.Layouts;
1611
using Rdmp.Core.Caching.Pipeline.Destinations;
1712
using Rdmp.Core.Caching.Pipeline.Sources;
1813
using Rdmp.Core.Caching.Requests;
14+
using Rdmp.Core.CommandExecution;
1915
using Rdmp.Core.Curation;
2016
using Rdmp.Core.Curation.Data;
2117
using Rdmp.Core.Curation.Data.Cache;
@@ -25,6 +21,11 @@
2521
using Rdmp.Core.Repositories;
2622
using Rdmp.Core.ReusableLibraryCode.Checks;
2723
using Rdmp.Core.ReusableLibraryCode.Progress;
24+
using System;
25+
using System.Collections.Generic;
26+
using System.IO;
27+
using System.Linq;
28+
using System.Threading.Tasks;
2829
using Tests.Common;
2930

3031
namespace Rdmp.Core.Tests.Caching.Integration;
@@ -182,7 +183,7 @@ public void Check(ICheckNotifier notifier)
182183

183184
private ILoadDirectory project;
184185

185-
public void PreInitialize(ILoadDirectory value, IDataLoadEventListener listener)
186+
public void PreInitialize(IBasicActivateItems activator, ILoadDirectory value, IDataLoadEventListener listener)
186187
{
187188
project = value;
188189
}

Rdmp.Core.Tests/Caching/Unit/TestIFileDataFlowComponents.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.IO;
1010
using System.Linq;
1111
using Rdmp.Core.Caching.Layouts;
12+
using Rdmp.Core.CommandExecution;
1213
using Rdmp.Core.Curation.Data.Cache;
1314
using Rdmp.Core.DataFlowPipeline.Requirements;
1415
using Rdmp.Core.ReusableLibraryCode.Progress;
@@ -83,12 +84,12 @@ public void Dispose(IDataLoadEventListener listener)
8384
throw new NotImplementedException();
8485
}
8586

86-
public void PreInitialize(CacheProgress cacheProgress, IDataLoadEventListener listener)
87+
public void PreInitialize(IBasicActivateItems activator, CacheProgress cacheProgress, IDataLoadEventListener listener)
8788
{
8889
CacheProgress = cacheProgress;
8990
}
9091

91-
public void PreInitialize(DirectoryInfo cacheDirectory, IDataLoadEventListener listener)
92+
public void PreInitialize(IBasicActivateItems activator, DirectoryInfo cacheDirectory, IDataLoadEventListener listener)
9293
{
9394
CacheDirectory = cacheDirectory;
9495
}

Rdmp.Core.Tests/CohortCommitting/CommitCohortExample.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@
44
// RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
55
// You should have received a copy of the GNU General Public License along with RDMP. If not, see <https://www.gnu.org/licenses/>.
66

7-
using System.Data;
8-
using System.Linq;
97
using FAnsi;
108
using NUnit.Framework;
119
using Rdmp.Core.CohortCommitting;
1210
using Rdmp.Core.CohortCommitting.Pipeline;
1311
using Rdmp.Core.CohortCommitting.Pipeline.Destinations;
1412
using Rdmp.Core.CohortCommitting.Pipeline.Destinations.IdentifierAllocation;
13+
using Rdmp.Core.CommandExecution;
1514
using Rdmp.Core.DataExport.Data;
1615
using Rdmp.Core.DataFlowPipeline;
1716
using Rdmp.Core.ReusableLibraryCode.Checks;
1817
using Rdmp.Core.ReusableLibraryCode.Progress;
18+
using System.Data;
19+
using System.Linq;
1920
using Tests.Common;
2021

2122
namespace Rdmp.Core.Tests.CohortCommitting;
@@ -63,7 +64,7 @@ public void CommitCohortExampleTest(DatabaseType dbType, string privateDataType)
6364
};
6465

6566
//initialize the destination
66-
pipelineDestination.PreInitialize(
67+
pipelineDestination.PreInitialize(new ThrowImmediatelyActivator(RepositoryLocator, null),
6768
new CohortCreationRequest(project, definition, DataExportRepository,
6869
"A cohort created in an example unit test"),
6970
ThrowImmediatelyDataLoadEventListener.Quiet);

0 commit comments

Comments
 (0)