From debbc3fbda7e795068898c0ee6527a5b59f69e60 Mon Sep 17 00:00:00 2001 From: Matt Lyons Date: Thu, 7 Nov 2024 14:23:10 -0600 Subject: [PATCH] Prepare the resource viewer to be able to open resource projects (#1271) --- c-sharp/ParanextDataProvider.csproj | 11 +- c-sharp/ParatextUtils/ParatextGlobals.cs | 3 + .../PlatformScrTextCollection.cs | 66 +++++++++ .../DblResourcePasswordProvider.cs | 39 ++++++ c-sharp/Projects/LocalParatextProjects.cs | 11 +- .../Projects/ParatextProjectDataProvider.cs | 7 + c-sharp/Users/ParatextRegistrationService.cs | 11 ++ .../Users/RegistrationRequiredException.cs | 22 +++ cspell.json | 7 +- .../contributions/localizedStrings.json | 1 + .../src/types/paratext-registration.d.ts | 6 + package-lock.json | 127 +++++++++--------- 12 files changed, 238 insertions(+), 73 deletions(-) create mode 100644 c-sharp/ParatextUtils/PlatformScrTextCollection.cs create mode 100644 c-sharp/Projects/DigitalBibleLibrary/DblResourcePasswordProvider.cs create mode 100644 c-sharp/Users/RegistrationRequiredException.cs diff --git a/c-sharp/ParanextDataProvider.csproj b/c-sharp/ParanextDataProvider.csproj index 117f4a4510..b18087bf86 100644 --- a/c-sharp/ParanextDataProvider.csproj +++ b/c-sharp/ParanextDataProvider.csproj @@ -1,4 +1,4 @@ - + Exe @@ -19,6 +19,7 @@ https://github.com/paranext https://github.com/paranext/paranext-core MIT + 1860f020-31dd-4eb4-81c4-323eb0cb3e48