Compare commits
6 Commits
61ff2f8cde
...
608d79d35b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
608d79d35b | ||
|
|
62d396932d | ||
|
|
62dcb41526 | ||
|
|
360bb9b3d8 | ||
|
|
1f57914f9e | ||
|
|
9c431ddf56 |
@@ -1,4 +1,5 @@
|
|||||||
using DigitalData.Core.Abstractions;
|
using DigitalData.Core.Abstractions;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace EnvelopeGenerator.Application.DTOs
|
namespace EnvelopeGenerator.Application.DTOs
|
||||||
@@ -8,11 +9,9 @@ namespace EnvelopeGenerator.Application.DTOs
|
|||||||
int SendingProfile,
|
int SendingProfile,
|
||||||
string SignatureHost,
|
string SignatureHost,
|
||||||
string ExternalProgramName,
|
string ExternalProgramName,
|
||||||
string ExportPath,
|
string ExportPath) : IUnique<int>
|
||||||
string DocumentPathDmz,
|
|
||||||
string ExportPathDmz,
|
|
||||||
string DocumentPathMoveAftsend) : IUnique<int>
|
|
||||||
{
|
{
|
||||||
|
[NotMapped]
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[Obsolete("Configuration does not have an ID; it represents a single table in the database.")]
|
[Obsolete("Configuration does not have an ID; it represents a single table in the database.")]
|
||||||
public int Id => throw new InvalidOperationException("This configuration does not support an ID as it represents a single row in the database.");
|
public int Id => throw new InvalidOperationException("This configuration does not support an ID as it represents a single row in the database.");
|
||||||
|
|||||||
@@ -180,6 +180,9 @@
|
|||||||
<data name="LockedTitle" xml:space="preserve">
|
<data name="LockedTitle" xml:space="preserve">
|
||||||
<value>Dokument erfordert einen Zugriffscode</value>
|
<value>Dokument erfordert einen Zugriffscode</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Privacy" xml:space="preserve">
|
||||||
|
<value>Datenschutz</value>
|
||||||
|
</data>
|
||||||
<data name="ReadOnlyMessage" xml:space="preserve">
|
<data name="ReadOnlyMessage" xml:space="preserve">
|
||||||
<value>Weitergeleitet von {0}. Gültig bis {1}.</value>
|
<value>Weitergeleitet von {0}. Gültig bis {1}.</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -180,6 +180,9 @@
|
|||||||
<data name="LockedTitle" xml:space="preserve">
|
<data name="LockedTitle" xml:space="preserve">
|
||||||
<value>Document requires an access code</value>
|
<value>Document requires an access code</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Privacy" xml:space="preserve">
|
||||||
|
<value>Privacy</value>
|
||||||
|
</data>
|
||||||
<data name="ReadOnlyMessage" xml:space="preserve">
|
<data name="ReadOnlyMessage" xml:space="preserve">
|
||||||
<value>Forwarded by {0}. Valid until {1}.</value>
|
<value>Forwarded by {0}. Valid until {1}.</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using DigitalData.Core.Abstractions;
|
using DigitalData.Core.Abstractions;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace EnvelopeGenerator.Domain.Entities
|
namespace EnvelopeGenerator.Domain.Entities
|
||||||
{
|
{
|
||||||
@@ -23,19 +24,9 @@ namespace EnvelopeGenerator.Domain.Entities
|
|||||||
[Column("EXPORT_PATH", TypeName = "nvarchar(256)")]
|
[Column("EXPORT_PATH", TypeName = "nvarchar(256)")]
|
||||||
public string? ExportPath { get; init; }
|
public string? ExportPath { get; init; }
|
||||||
|
|
||||||
[Column("DOCUMENT_PATH_DMZ", TypeName = "nvarchar(512)")]
|
|
||||||
[Required]
|
|
||||||
public string? DocumentPathDmz { get; init; }
|
|
||||||
|
|
||||||
[Column("EXPORT_PATH_DMZ", TypeName = "nvarchar(512)")]
|
|
||||||
[Required]
|
|
||||||
public required string ExportPathDmz { get; init; }
|
|
||||||
|
|
||||||
[Column("DOCUMENT_PATH_MOVE_AFTSEND", TypeName = "nvarchar(512)")]
|
|
||||||
[Required]
|
|
||||||
public required string DocumentPathMoveAftsend { get; init; }
|
|
||||||
|
|
||||||
[Obsolete("Configuration does not have an ID; it represents a single table in the database.")]
|
[Obsolete("Configuration does not have an ID; it represents a single table in the database.")]
|
||||||
|
[NotMapped]
|
||||||
|
[JsonIgnore]
|
||||||
public int Id => throw new InvalidOperationException("This configuration does not support an ID as it represents a single table in the database.");
|
public int Id => throw new InvalidOperationException("This configuration does not support an ID as it represents a single table in the database.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -16,21 +16,10 @@ namespace EnvelopeGenerator.Domain.Entities
|
|||||||
[Column("ENVELOPE_ID")]
|
[Column("ENVELOPE_ID")]
|
||||||
public int EnvelopeId { get; set; }
|
public int EnvelopeId { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
[Column("FILENAME", TypeName = "nvarchar(256)")]
|
|
||||||
public required string Filename { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
|
||||||
[Column("FILEPATH", TypeName = "nvarchar(256)")]
|
|
||||||
public required string Filepath { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
[Column("ADDED_WHEN", TypeName = "datetime")]
|
[Column("ADDED_WHEN", TypeName = "datetime")]
|
||||||
public required DateTime AddedWhen { get; set; }
|
public required DateTime AddedWhen { get; set; }
|
||||||
|
|
||||||
[Column("FILENAME_ORIGINAL", TypeName = "nvarchar(256)")]
|
|
||||||
public required string FilenameOriginal { get; set; }
|
|
||||||
|
|
||||||
[Column("BYTE_DATA", TypeName = "varbinary(max)")]
|
[Column("BYTE_DATA", TypeName = "varbinary(max)")]
|
||||||
public byte[]? ByteData { get; init; }
|
public byte[]? ByteData { get; init; }
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<PackageId>EnvelopeGenerator.Web</PackageId>
|
<PackageId>EnvelopeGenerator.Web</PackageId>
|
||||||
<Version>2.5.0.0</Version>
|
<Version>2.6.0</Version>
|
||||||
<Authors>Digital Data GmbH</Authors>
|
<Authors>Digital Data GmbH</Authors>
|
||||||
<Company>Digital Data GmbH</Company>
|
<Company>Digital Data GmbH</Company>
|
||||||
<Product>EnvelopeGenerator.Web</Product>
|
<Product>EnvelopeGenerator.Web</Product>
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
<PackageTags>digital data envelope generator web</PackageTags>
|
<PackageTags>digital data envelope generator web</PackageTags>
|
||||||
<Description>EnvelopeGenerator.Web is an ASP.NET MVC application developed to manage signing processes. It uses Entity Framework Core (EF Core) for database operations. The user interface for signing processes is developed with Razor View Engine (.cshtml files) and JavaScript under wwwroot, integrated with PSPDFKit. This integration allows users to view and sign documents seamlessly.</Description>
|
<Description>EnvelopeGenerator.Web is an ASP.NET MVC application developed to manage signing processes. It uses Entity Framework Core (EF Core) for database operations. The user interface for signing processes is developed with Razor View Engine (.cshtml files) and JavaScript under wwwroot, integrated with PSPDFKit. This integration allows users to view and sign documents seamlessly.</Description>
|
||||||
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
||||||
<AssemblyVersion>2.5.0.0</AssemblyVersion>
|
<AssemblyVersion>2.6.0</AssemblyVersion>
|
||||||
<FileVersion>2.5.0.0</FileVersion>
|
<FileVersion>2.6.0</FileVersion>
|
||||||
<Copyright>Copyright © 2024 Digital Data GmbH. All rights reserved.</Copyright>
|
<Copyright>Copyright © 2024 Digital Data GmbH. All rights reserved.</Copyright>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -98,13 +98,6 @@ namespace EnvelopeGenerator.Web.Services
|
|||||||
//if documenet_path_dmz is existing in config, replace the path with it
|
//if documenet_path_dmz is existing in config, replace the path with it
|
||||||
var config = await _configService.ReadDefaultAsync();
|
var config = await _configService.ReadDefaultAsync();
|
||||||
|
|
||||||
if (config.DocumentPathDmz is not null && config.DocumentPathDmz != string.Empty)
|
|
||||||
foreach (var doc in envelope.Documents)
|
|
||||||
{
|
|
||||||
doc.Filepath = doc.Filepath.Replace(config.DocumentPath, config.DocumentPathDmz);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
return new()
|
return new()
|
||||||
{
|
{
|
||||||
Receiver = receiver,
|
Receiver = receiver,
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
<p>Der Zeitraum für die gemeinsame Nutzung von Dokumenten ist abgelaufen.</p>
|
<p>Der Zeitraum für die gemeinsame Nutzung von Dokumenten ist abgelaufen.</p>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<footer class="container" id="page-footer">© SignFlow 2023-2024 <a href="https://digitaldata.works">Digital Data GmbH</a></footer>
|
|
||||||
@@ -69,4 +69,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<footer class="container" id="page-footer">© SignFlow 2023-2024 <a href="https://digitaldata.works">Digital Data GmbH</a></footer>
|
|
||||||
@@ -15,4 +15,3 @@
|
|||||||
<p>Sie haben das Dokument signiert. Im Anschluss erhalten Sie eine schriftliche Bestätigung.</p>
|
<p>Sie haben das Dokument signiert. Im Anschluss erhalten Sie eine schriftliche Bestätigung.</p>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<footer class="container" id="page-footer">© SignFlow 2023-2024 <a href="https://digitaldata.works">Digital Data GmbH</a></footer>
|
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
<script src="~/js/event-binder.min.js" asp-append-version="true"></script>
|
<script src="~/js/event-binder.min.js" asp-append-version="true"></script>
|
||||||
@Html.AntiForgeryToken()
|
@Html.AntiForgeryToken()
|
||||||
<footer>
|
<footer>
|
||||||
<span>© SignFlow 2023-2024 <a href="https://digitaldata.works">Digital Data GmbH</a></span>
|
<span>© SignFlow 2023-2024 <a href="https://digitaldata.works" target="_blank">Digital Data GmbH</a></span>
|
||||||
<div class="dropup flag-dropdown">
|
<div class="dropup flag-dropdown">
|
||||||
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="langDropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
|
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="langDropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
<span class="fi @userCulture?.FIClass.TrySanitize(_sanitizer) me-2" id="selectedFlag"></span><span id="selectedLanguage"></span>
|
<span class="fi @userCulture?.FIClass.TrySanitize(_sanitizer) me-2" id="selectedFlag"></span><span id="selectedLanguage"></span>
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<a href="/privacy-policy.de-DE.html">Datenschutz</a>
|
<a href="/privacy-policy.@(userCulture?.Language).html" target="_blank">@_localizer[WebKey.Privacy]</a>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -36,5 +36,6 @@
|
|||||||
public static readonly string WelcomeToTheESignPortal = nameof(WelcomeToTheESignPortal);
|
public static readonly string WelcomeToTheESignPortal = nameof(WelcomeToTheESignPortal);
|
||||||
public static readonly string ViewDoc = nameof(ViewDoc);
|
public static readonly string ViewDoc = nameof(ViewDoc);
|
||||||
public static readonly string HomePageDescription = nameof(HomePageDescription);
|
public static readonly string HomePageDescription = nameof(HomePageDescription);
|
||||||
|
public static readonly string Privacy = nameof(Privacy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user