\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/ChoiceAnyOf.svelte b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/ChoiceAnyOf.svelte
new file mode 100644
index 000000000..64eb708f8
--- /dev/null
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/ChoiceAnyOf.svelte
@@ -0,0 +1,117 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/MetadataFunctions.svelte b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/MetadataFunctions.svelte
new file mode 100644
index 000000000..d130fd3bc
--- /dev/null
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/MetadataFunctions.svelte
@@ -0,0 +1,173 @@
+
+
+
+
+
+{/if}
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/simpleComponentWrapper.svelte b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/simpleComponentWrapper.svelte
new file mode 100644
index 000000000..5175b6e53
--- /dev/null
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/routes/m/view/simpleComponentWrapper.svelte
@@ -0,0 +1,23 @@
+
+
+{#if path && simpleComponent.properties}
+
+{/if}
+
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/BExIS.Modules.Dcm.UI.csproj b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/BExIS.Modules.Dcm.UI.csproj
index 66505e1b5..b09edc2a5 100644
--- a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/BExIS.Modules.Dcm.UI.csproj
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/BExIS.Modules.Dcm.UI.csproj
@@ -473,6 +473,7 @@
+ Web.config
@@ -499,6 +500,9 @@
..\..\..\..\..\packages\EPPlus.5.0.3\lib\net45\EPPlus.dll
+
+ ..\..\..\..\..\packages\SharpZipLib.1.4.2\lib\netstandard2.0\ICSharpCode.SharpZipLib.dll
+ ..\..\..\..\..\packages\Iesi.Collections.4.0.4\lib\net461\Iesi.Collections.dllTrue
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/Legacy/ManageMetadataStructureController.cs b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/Legacy/ManageMetadataStructureController.cs
index 7c0e1eb3f..17f00848e 100644
--- a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/Legacy/ManageMetadataStructureController.cs
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/Legacy/ManageMetadataStructureController.cs
@@ -9,6 +9,7 @@
using BExIS.Utils.Models;
using BExIS.Xml.Helpers;
using BExIS.Xml.Helpers.Mapping;
+using ICSharpCode.SharpZipLib.Zip;
using System;
using System.Collections.Generic;
using System.IO;
@@ -76,7 +77,7 @@ public ActionResult DownloadSchema(long id)
var memoryStream = new MemoryStream();
- using (var archive = new ZipArchive(memoryStream, ZipArchiveMode.Create, true))
+ using (var archive = new ZipOutputStream(memoryStream))
{
// Add each file from the folder to the archive
archive.AddAllFilesFromDirectory(path);
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/MController.cs b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/MController.cs
index eafc60039..856e5a05d 100644
--- a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/MController.cs
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/MController.cs
@@ -44,6 +44,20 @@ public ActionResult Edit(long id, int version = 0)
+ return View();
+ }
+
+ [BExISEntityAuthorize(typeof(Dataset), "id", RightType.Read)]
+ public ActionResult View(long id, int version = 0)
+ {
+
+ string module = "DCM";
+
+ ViewData["id"] = id;
+ ViewData["version"] = version;
+ ViewData["app"] = SvelteHelper.GetApp(module);
+ ViewData["start"] = SvelteHelper.GetStart(module);
+
return View();
}
}
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Views/M/View.cshtml b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Views/M/View.cshtml
new file mode 100644
index 000000000..beb224288
--- /dev/null
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Views/M/View.cshtml
@@ -0,0 +1,17 @@
+@{
+ ViewBag.Title = "Metadata";
+ Layout = "~/Themes/Default/Layouts/_svelteLayout.cshtml";
+
+ long id = 0;
+ string saveWithErrors = "";
+
+ if (ViewData["id"] != null) { id = Convert.ToInt64(ViewData["id"]); }
+
+
+}
+
+
+
+
+ @Html.Partial("_sveltePage")
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Web.config b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Web.config
index bee55f094..516721e87 100644
--- a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Web.config
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Web.config
@@ -94,6 +94,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/packages.config b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/packages.config
index 17a3f6437..ba8366ced 100644
--- a/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/packages.config
+++ b/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/packages.config
@@ -28,6 +28,7 @@
+
diff --git a/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/BExIS.Modules.Ddm.UI.csproj b/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/BExIS.Modules.Ddm.UI.csproj
index 4017bc856..88511846c 100644
--- a/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/BExIS.Modules.Ddm.UI.csproj
+++ b/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/BExIS.Modules.Ddm.UI.csproj
@@ -49,6 +49,9 @@
..\..\..\..\..\packages\Antlr3.Runtime.3.5.1\lib\net40-client\Antlr3.Runtime.dll
+
+ ..\..\..\..\..\packages\SharpZipLib.1.4.2\lib\netstandard2.0\ICSharpCode.SharpZipLib.dll
+ ..\..\..\..\..\packages\Iesi.Collections.4.0.4\lib\net461\Iesi.Collections.dll
diff --git a/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Controllers/DataController.cs b/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Controllers/DataController.cs
index dbfc78b09..e2a86a1ad 100644
--- a/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Controllers/DataController.cs
+++ b/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Controllers/DataController.cs
@@ -34,6 +34,7 @@
using BExIS.Utils.Extensions;
using BExIS.Utils.NH.Querying;
using BExIS.Xml.Helpers;
+using ICSharpCode.SharpZipLib.Zip;
using System;
using System.CodeDom;
using System.Collections.Generic;
@@ -1564,7 +1565,7 @@ public ActionResult DownloadAllFiles(long id)
var memoryStream = new MemoryStream();
- using (var archive = new ZipArchive(memoryStream, ZipArchiveMode.Create, true))
+ using (var archive = new ZipOutputStream(memoryStream))
{
foreach (ContentDescriptor cd in datasetVersion.ContentDescriptors)
{
diff --git a/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/packages.config b/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/packages.config
index fd066ded6..f3913469d 100644
--- a/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/packages.config
+++ b/Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/packages.config
@@ -22,6 +22,7 @@
+
diff --git a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/BExIS.Modules.Dim.UI.csproj b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/BExIS.Modules.Dim.UI.csproj
index 088c19986..6b0707ef4 100644
--- a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/BExIS.Modules.Dim.UI.csproj
+++ b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/BExIS.Modules.Dim.UI.csproj
@@ -52,6 +52,9 @@
..\..\..\..\..\packages\DataAnnotationsValidatorNetStandard.1.0.3\lib\netstandard2.0\DataAnnotationsValidatorNetStandard.dll
+
+ ..\..\..\..\..\packages\SharpZipLib.1.4.2\lib\netstandard2.0\ICSharpCode.SharpZipLib.dll
+ ..\..\..\..\..\packages\LiteDB.5.0.21\lib\net45\LiteDB.dll
diff --git a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Controllers/ExportController.cs b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Controllers/ExportController.cs
index 240f2dde0..5344a3f30 100644
--- a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Controllers/ExportController.cs
+++ b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Controllers/ExportController.cs
@@ -25,6 +25,7 @@
using BExIS.Utils.Models;
using BExIS.Utils.NH.Querying;
using BExIS.Xml.Helpers;
+using ICSharpCode.SharpZipLib.Zip;
using Newtonsoft.Json;
using System;
using System.Data;
@@ -314,7 +315,8 @@ public ActionResult GenerateZip(long id, long versionid, string format, bool wit
FileHelper.CreateDicrectoriesIfNotExist(Path.GetDirectoryName(zipPath));
using (var zipFileStream = new FileStream(zipPath, FileMode.Create))
- using (var archive = new ZipArchive(zipFileStream, ZipArchiveMode.Update))
+ using (var archive = new ZipOutputStream(zipFileStream))
+
{
// stored contentdescriptior key name in db for the format and the dataname
string dataName = getCDTypeName(format);
@@ -330,8 +332,8 @@ public ActionResult GenerateZip(long id, long versionid, string format, bool wit
if (FileHelper.FileExist(path))
{
- if (!archive.Entries.Any(entry => entry.Name.EndsWith(name)))
- {
+ //if (!archive.Entries.Any(entry => entry.Name.EndsWith(name)))
+ //{
if (cd.Name.Equals("metadata"))
{
name = IOHelper.GetFileName(FileType.Metadata, id, datasetVersionNumber, dataStructureId,"", tagNr, useTags, useMinor) + ext;
@@ -355,7 +357,7 @@ public ActionResult GenerateZip(long id, long versionid, string format, bool wit
// if data is filtered, do not add full data file
if (cd.Name.Contains("generated") == false || (cd.Name.Contains("generated") && withFilter == false))
archive.AddFileToArchive(path, name);
- }
+ //}
}
}
diff --git a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Web.config b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Web.config
index dd00183b8..a5ec163a9 100644
--- a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Web.config
+++ b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/Web.config
@@ -90,6 +90,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/packages.config b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/packages.config
index 60f4dee50..2f73e7dc1 100644
--- a/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/packages.config
+++ b/Console/BExIS.Web.Shell/Areas/DIM/BExIS.Modules.Dim.UI/packages.config
@@ -33,6 +33,7 @@
+
diff --git a/Console/BExIS.Web.Shell/Areas/MMM/IDIV.Modules.Mmm.UI.csproj b/Console/BExIS.Web.Shell/Areas/MMM/IDIV.Modules.Mmm.UI.csproj
index 166d7dc7f..2443e057a 100644
--- a/Console/BExIS.Web.Shell/Areas/MMM/IDIV.Modules.Mmm.UI.csproj
+++ b/Console/BExIS.Web.Shell/Areas/MMM/IDIV.Modules.Mmm.UI.csproj
@@ -49,7 +49,8 @@
..\..\..\..\packages\Portable.BouncyCastle.1.9.0\lib\net40\BouncyCastle.Crypto.dll
- ..\..\..\..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll
+ ..\..\..\..\packages\SharpZipLib.1.4.2\lib\netstandard2.0\ICSharpCode.SharpZipLib.dll
+ True..\..\..\..\packages\MediaInfoDotNet.0.7.79.40925\lib\net45\MediaInfoDotNet.dll
@@ -74,11 +75,27 @@
..\..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll
+
+ ..\..\..\..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
+
+
+ ..\..\..\..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
+ ..\..\..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll
+
+
+ ..\..\..\..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
+
+
+ ..\..\..\..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll
+
+
+ ..\..\..\..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
+ ..\..\..\..\packages\Microsoft.AspNet.WebPages.3.2.9\lib\net45\System.Web.Helpers.dll
diff --git a/Console/BExIS.Web.Shell/Areas/MMM/packages.config b/Console/BExIS.Web.Shell/Areas/MMM/packages.config
index 5365d9c14..ab76e712f 100644
--- a/Console/BExIS.Web.Shell/Areas/MMM/packages.config
+++ b/Console/BExIS.Web.Shell/Areas/MMM/packages.config
@@ -7,5 +7,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/MMM/web.config b/Console/BExIS.Web.Shell/Areas/MMM/web.config
index 6b3296c92..bbe38ea9b 100644
--- a/Console/BExIS.Web.Shell/Areas/MMM/web.config
+++ b/Console/BExIS.Web.Shell/Areas/MMM/web.config
@@ -40,15 +40,15 @@
-
+
-
+
-
+
@@ -98,6 +98,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/PUM/BExIS.Modules.PUM.UI/web.config b/Console/BExIS.Web.Shell/Areas/PUM/BExIS.Modules.PUM.UI/web.config
index 5b65f6e79..1d7a8bc91 100644
--- a/Console/BExIS.Web.Shell/Areas/PUM/BExIS.Modules.PUM.UI/web.config
+++ b/Console/BExIS.Web.Shell/Areas/PUM/BExIS.Modules.PUM.UI/web.config
@@ -74,6 +74,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/BExIS.Modules.Rpm.UI.csproj b/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/BExIS.Modules.Rpm.UI.csproj
index 38abcc9f2..33c154a21 100644
--- a/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/BExIS.Modules.Rpm.UI.csproj
+++ b/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/BExIS.Modules.Rpm.UI.csproj
@@ -69,10 +69,23 @@
+
+ ..\..\..\..\..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
+ ..\..\..\..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll
+
+
+ ..\..\..\..\..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
+
+
+ ..\..\..\..\..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll
+
+
+ ..\..\..\..\..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
+ ..\..\..\..\..\packages\Microsoft.AspNet.WebPages.3.2.9\lib\net45\System.Web.Helpers.dll
diff --git a/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/packages.config b/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/packages.config
index b7538951f..36fefbe50 100644
--- a/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/packages.config
+++ b/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/packages.config
@@ -19,5 +19,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/web.config b/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/web.config
index e8220c9f9..993c15fe0 100644
--- a/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/web.config
+++ b/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/web.config
@@ -40,15 +40,15 @@
-
+
-
+
-
+
@@ -86,6 +86,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/SAM/BExIS.Modules.Sam.UI/Web.config b/Console/BExIS.Web.Shell/Areas/SAM/BExIS.Modules.Sam.UI/Web.config
index df5f5a8fa..ba5506285 100644
--- a/Console/BExIS.Web.Shell/Areas/SAM/BExIS.Modules.Sam.UI/Web.config
+++ b/Console/BExIS.Web.Shell/Areas/SAM/BExIS.Modules.Sam.UI/Web.config
@@ -79,6 +79,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/SMM/BExIS.Modules.SMM.UI/web.config b/Console/BExIS.Web.Shell/Areas/SMM/BExIS.Modules.SMM.UI/web.config
index 5b65f6e79..1d7a8bc91 100644
--- a/Console/BExIS.Web.Shell/Areas/SMM/BExIS.Modules.SMM.UI/web.config
+++ b/Console/BExIS.Web.Shell/Areas/SMM/BExIS.Modules.SMM.UI/web.config
@@ -74,6 +74,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Areas/VIM/Web.config b/Console/BExIS.Web.Shell/Areas/VIM/Web.config
index 4df28ddb5..6c8d72170 100644
--- a/Console/BExIS.Web.Shell/Areas/VIM/Web.config
+++ b/Console/BExIS.Web.Shell/Areas/VIM/Web.config
@@ -79,6 +79,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Console/BExIS.Web.Shell/Web.config.sample b/Console/BExIS.Web.Shell/Web.config.sample
index f782c18d5..59404dceb 100644
--- a/Console/BExIS.Web.Shell/Web.config.sample
+++ b/Console/BExIS.Web.Shell/Web.config.sample
@@ -22,7 +22,7 @@
-
+
diff --git a/Modules/DDM/BExIS.Ddm.Api/app.config b/Modules/DDM/BExIS.Ddm.Api/app.config
index 3e814f6e0..15182a653 100644
--- a/Modules/DDM/BExIS.Ddm.Api/app.config
+++ b/Modules/DDM/BExIS.Ddm.Api/app.config
@@ -52,7 +52,7 @@
-
+
@@ -62,6 +62,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/Modules/DIM/BExIS.Dim.Helper/BExIS.Dim.Helpers.csproj b/Modules/DIM/BExIS.Dim.Helper/BExIS.Dim.Helpers.csproj
index 3a2a57eb4..743f736ce 100644
--- a/Modules/DIM/BExIS.Dim.Helper/BExIS.Dim.Helpers.csproj
+++ b/Modules/DIM/BExIS.Dim.Helper/BExIS.Dim.Helpers.csproj
@@ -47,6 +47,9 @@
..\..\..\packages\DataAnnotationsValidatorNetStandard.1.0.3\lib\netstandard2.0\DataAnnotationsValidatorNetStandard.dll
+
+ ..\..\..\packages\SharpZipLib.1.4.2\lib\netstandard2.0\ICSharpCode.SharpZipLib.dll
+ ..\..\..\Libraries\Ionic.Zip.dll
diff --git a/Modules/DIM/BExIS.Dim.Helper/Export/GBIFDataRepoConverter.cs b/Modules/DIM/BExIS.Dim.Helper/Export/GBIFDataRepoConverter.cs
index 9fcb96dbb..76ce81caa 100644
--- a/Modules/DIM/BExIS.Dim.Helper/Export/GBIFDataRepoConverter.cs
+++ b/Modules/DIM/BExIS.Dim.Helper/Export/GBIFDataRepoConverter.cs
@@ -12,12 +12,12 @@
using BExIS.Security.Entities.Objects;
using BExIS.Security.Services.Objects;
using BExIS.Utils.Extensions;
+using ICSharpCode.SharpZipLib.Zip;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.IO;
-using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
@@ -95,7 +95,7 @@ public string Convert(long datasetVersionId)
string xsdPath = Path.Combine(AppConfiguration.WorkspaceRootPath, concept.XSD);
using (var zipFileStream = new FileStream(zipfilepath, FileMode.Create))
- using (var archive = new ZipArchive(zipFileStream, ZipArchiveMode.Update))
+ using (var archive = new ZipOutputStream(zipFileStream))
{
// generate metadata
string metadataFilePath = helper.GenerateResourceMetadata(concept.Id, metadatastructureId, datasetversion.Metadata, folder, xsdPath);
diff --git a/Modules/DIM/BExIS.Dim.Helper/Export/GenericDataRepoConverter.cs b/Modules/DIM/BExIS.Dim.Helper/Export/GenericDataRepoConverter.cs
index e8c4b032d..660d4705b 100644
--- a/Modules/DIM/BExIS.Dim.Helper/Export/GenericDataRepoConverter.cs
+++ b/Modules/DIM/BExIS.Dim.Helper/Export/GenericDataRepoConverter.cs
@@ -9,6 +9,7 @@
using BExIS.IO.Transform.Output;
using BExIS.Utils.Extensions;
using BExIS.Xml.Helpers;
+using ICSharpCode.SharpZipLib.Zip;
using System;
using System.Collections.Generic;
using System.IO;
@@ -58,7 +59,7 @@ public string Convert(long datasetVersionId)
if (broker != null)
{
OutputMetadataManager.GetConvertedMetadata(datasetId, TransmissionType.mappingFileExport,
- broker.MetadataFormat);
+ metadataStructureName);
// get primary data
// check the data sturcture type ...
@@ -114,7 +115,7 @@ public string Convert(long datasetVersionId)
#endregion datatructure
using (var zipFileStream = new FileStream(zipFilePath, FileMode.Create))
- using (var archive = new ZipArchive(zipFileStream, ZipArchiveMode.Update))
+ using (var archive = new ZipOutputStream(zipFileStream))
{
datasetVersion = datasetManager.GetDatasetVersion(datasetVersionId);
@@ -127,8 +128,8 @@ public string Convert(long datasetVersionId)
if (FileHelper.FileExist(path))
{
- if (!archive.Entries.Any(entry => entry.Name.EndsWith(name)))
- archive.AddFileToArchive(path, name);
+ //if (!archive.Entries.Any(entry => entry.Name.EndsWith(name)))
+ archive.AddFileToArchive(path, name);
}
}
diff --git a/Modules/DIM/BExIS.Dim.Helper/packages.config b/Modules/DIM/BExIS.Dim.Helper/packages.config
index 8e3a7e3d8..b708ae50e 100644
--- a/Modules/DIM/BExIS.Dim.Helper/packages.config
+++ b/Modules/DIM/BExIS.Dim.Helper/packages.config
@@ -10,6 +10,7 @@
+
diff --git a/README.md b/README.md
index bd29f823d..c98e8a779 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,13 @@ BEXIS2 is published under a GNU LESSER GENERAL PUBLIC LICENSE Version 3
> In the release notes, you will find a list of all changes to the current version and updated scripts.
-[RELEASE NOTES](https://github.com/BEXIS2/Core/blob/4.3.0/Release%20Notes/Release_Notes.md)
+[RELEASE NOTES](https://github.com/BEXIS2/Core/blob/4.3.1/Release%20Notes/Release_Notes.md)
# Installation
A guide for the preparation of BEXIS2 on a server is available here.
-[Installation Manual](https://github.com/BEXIS2/Documents/blob/4.3.0/Guides/Installation/installation.md)
+[Installation Manual](https://github.com/BEXIS2/Documents/blob/4.3.1/Guides/Installation/installation.md)
# Help for Users/Admins/Developers
@@ -36,9 +36,9 @@ The page is divided into:
The initial version of the workspace can be found here:
-- [Workspace 4.3.0 Repo](https://github.com/BEXIS2/Workspace/tree/4.3.0)
-- [Workspace 4.3.0 Release](https://github.com/BEXIS2/Workspace/releases/tag/4.3.0)
+- [Workspace 4.3.1 Repo](https://github.com/BEXIS2/Workspace/tree/4.3.1)
+- [Workspace 4.3.1 Release](https://github.com/BEXIS2/Workspace/releases/tag/4.3.1)
# List of Modules
-- [Modules Overview](https://github.com/BEXIS2/Core/blob/4.3.0/MODULES.md)
+- [Modules Overview](https://github.com/BEXIS2/Core/blob/4.3.1/MODULES.md)
diff --git a/Release Notes/Release_Notes.md b/Release Notes/Release_Notes.md
index 99887523e..3d9a4283d 100644
--- a/Release Notes/Release_Notes.md
+++ b/Release Notes/Release_Notes.md
@@ -1,78 +1,30 @@
-# BEXIS2 Release Notes - Version 4.3.0
-> This release contains security updates and a very long list of enhancements and bugfixes across BEXIS2.
+# BEXIS2 Release Notes - Version 4.3.1
+> This release includes minor bug fixes related to dataset copying, downloading, and settings.
### Workspace changes:
-- Workspace changes: [4.2.1..4.3.0](https://github.com/BEXIS2/Workspace/compare/4.2.1..4.3.0)
+- Workspace changes: [4.3.0..4.3.1](https://github.com/BEXIS2/Workspace/compare/4.3.0..4.3.1)
### Database Update(s):
-- Update script from version 4.2.1 to 4.3.0: [Update_Script_4.2.1_4.3.0.sql](https://github.com/BEXIS2/Core/blob/rc/database%20update%20scripts/4.2.1-4.3.0.sql)
+- Update script from version 4.3.0 to 4.3.1: [Update_Script_4.3.0_4.3.1.sql](https://github.com/BEXIS2/Core/blob/rc/database%20update%20scripts/4.3.0-4.3.1.sql)
### Web.config changes
- ...
### Configuration
-- General Settings: Additional Help Links
- General Settings: Security Settings
# Bugfixes and enhancements
-
-
-### Maintenance
-#### DOI
-- **Vaelastrasz.Library**: Update from 6.1.7 to 6.2.2 ([#2429](https://github.com/BEXIS2/Core/issues/2429))
-- **DOI Service**: Update doi.bexis2.uni-jena.de to run v6.2.2 ([#2430](https://github.com/BEXIS2/Core/issues/2430))
-#### Security
-- **Identity Framework**: Modify usage to follow best practice and prepare display name retrieval ([#2411](https://github.com/BEXIS2/Core/issues/2411))
-- **Identity Framework**: Dependency injection of identity-related classes (user manager, group manager, sign-in manager, etc.) ([#2412](https://github.com/BEXIS2/Core/issues/2412))
-
### Bugfixes and Enhancements
-#### Access and navigation
-- **Help Menu**: Refactor and move to general settings ([#2299](https://github.com/BEXIS2/Core/issues/2299))
-- **Help Menu Entries**: Not visible on non-svelte pages ([#2397](https://github.com/BEXIS2/Core/issues/2397))
-- **Main Menu**: Show display name instead of user name ([#2267](https://github.com/BEXIS2/Core/issues/2267))
-
-#### Settings and versions
-- **Settings**: Lists show key instead of title ([#2169](https://github.com/BEXIS2/Core/issues/2169))
-- **Settings Button**: Add ID ([#2375](https://github.com/BEXIS2/Core/issues/2375))
-- **Versions**: Release note is not editable ([#2396](https://github.com/BEXIS2/Core/issues/2396))
-
-#### Accounts and identity
-- **Parties**: When a user updates their account information (party), the start and end dates are overwritten ([#2384](https://github.com/BEXIS2/Core/issues/2384))
-- **Reset Password**: Revise text ([#2152](https://github.com/BEXIS2/Core/issues/2152))
-- **IControllerFactory**: Castle.Proxies.IControllerFactoryProxy did not return a controller for the name '' ([#2416](https://github.com/BEXIS2/Core/issues/2416))
-
-#### Metadata and data structures
-- **PUM - CSV Import**: Insert id into metadata (@comment) ([#2376](https://github.com/BEXIS2/Core/issues/2376))
-- **Data Structure**: Identical column name currently not checked during creation ([#2336](https://github.com/BEXIS2/Core/issues/2336))
-- **Data structure**: Select linked datasets ends in Not Found Exception ([#2423](https://github.com/BEXIS2/Core/issues/2423))
-- **Data structure**: Missing values are carried over when the data structure is copied.([#2444](https://github.com/BEXIS2/Core/issues/2444))
-- **JsonMaxLimit**: Reached by generation of a data structure ([#2417](https://github.com/BEXIS2/Core/issues/2417))
-- **Darwin Core Check**: Setting is false, but it is shown ([#2372](https://github.com/BEXIS2/Core/issues/2372))
-- **Primary key**: Combination of two keys does not work ([#2419](https://github.com/BEXIS2/Core/issues/2419))
-- **Entity Template Order**: Enable an actively defined order instead of magic by last edit ([#2379](https://github.com/BEXIS2/Core/issues/2379))
-- **Entity Template**: If the entity template supports many file formats, the icons are not right-aligned ([#2380](https://github.com/BEXIS2/Core/issues/2380))
-- **RPM Seed data**: Description improvements and boolean exists twice ([#2403](https://github.com/BEXIS2/Core/issues/2403))
-- **Citation API**: Remove check if a valid token is provided for non-public entities ([#2382](https://github.com/BEXIS2/Core/issues/2382))
-- **Citation API**: Expanding the API to include the ability to call tags. ([#2394](https://github.com/BEXIS2/Core/issues/2394))
+#### Settings
+- **Enable JWT and SMTP configurations**: Added 'isActive' property to JWT and SMTP configurations.
#### Data
-- **Data**: Data count always count of latest version ([#2441](https://github.com/BEXIS2/Core/issues/2441))
-- **Display Pattern**: Add "yyyy-MM-dd hh:mm:ss" ([#2400](https://github.com/BEXIS2/Core/issues/2400))
-- **Missing Values**: String values are no longer replaced by numbers and remain constant. ([#2452](https://github.com/BEXIS2/Core/issues/2452))
+- **Dataset Download**: Package with big files are not possible. ([#2460](https://github.com/BEXIS2/Core/issues/2460))
+- **Dataset Copy**: Mapped system keys in the metadata are overwritten in the original dataset. ([#2462](https://github.com/BEXIS2/Core/issues/2462))
-#### Download and upload
-- **Upload Attachement**: Error shown twice ([#2191](https://github.com/BEXIS2/Core/issues/2191))
-- **Download Dataset**: Add metadata as plain text ([#2243](https://github.com/BEXIS2/Core/issues/2243))
-- **Download Unstructured**: Dataset contains only one file ([#2404](https://github.com/BEXIS2/Core/issues/2404))
-- **Download**: Possible even without check policy by datasets with files ([#2406](https://github.com/BEXIS2/Core/issues/2406))
-- **Download package**: Use tags instead of version in tag mode ([#2424](https://github.com/BEXIS2/Core/issues/2424))
-#### Search and documentation
-- **Documentation**: Add copy and tag icon ([#2371](https://github.com/BEXIS2/Core/issues/2371))
-- **Search**: Not updated on metadata edit (old and new form) ([#2434](https://github.com/BEXIS2/Core/issues/2434))
-- **Search**: Publication not added to search ([#2435](https://github.com/BEXIS2/Core/issues/2435))
diff --git a/database update scripts/4.3.0-4.3.1.sql b/database update scripts/4.3.0-4.3.1.sql
new file mode 100644
index 000000000..7d1fae8ba
--- /dev/null
+++ b/database update scripts/4.3.0-4.3.1.sql
@@ -0,0 +1,8 @@
+BEGIN TRANSACTION;
+
+-- BEXIS2 Version Update
+INSERT INTO public.versions(
+ versionno, extra, module, value, date)
+ VALUES (1, null, 'Shell', '4.3.1',NOW());
+
+commit;