Commit Graph

3023 Commits

Author SHA1 Message Date
7b5cf30baf Generate access codes for envelope receivers
Added `IAuthenticator` dependency to `CreateEnvelopeCommandHandler` to enable access code generation for envelope receivers. Updated the `AccessCode` property of `EnvelopeReceiver` to store a 5-character code generated by `Authenticator.GenerateCode`.

Introduced a new test class `CreateEnvelopeCommandTests` with a test method `CreateEnvelope_ShouldGenerateAccessCode_ForEnvelopeReceiver` to validate the functionality. The test ensures that the access code is generated, not null, not empty, and has the correct length.

Updated test setup to include necessary configurations and dependencies.
2026-11-24 10:07:53 +01:00
43a6837b9e Add support for restoring image signatures
Enhanced ReceiverPage.razor to display and manage the last uploaded image file name. Introduced `_savedImageFileName` to track the selected image file and render it conditionally in the UI. Added methods to restore and clear image signature states (`RestoreImageSignatureIfAvailableAsync` and `ClearSignatureTabStateAsync`).

Updated `receiver-signature.js` to improve image signature handling:
- Added `getSelectedImageFileName` to retrieve the selected file name.
- Added `loadExistingImageSignature` to render saved image signatures.
- Improved `initializeImage` to prevent duplicate event listeners.

Exposed new functions in the public API of `receiver-signature.js` and ensured proper state management for image signatures across tabs.
2026-11-23 16:04:43 +01:00
530bb7055a Add BlazorServerOptions for SignalR message size config
Introduced a new `BlazorServerOptions` class to manage Blazor Server runtime configuration. Added support for configuring the maximum SignalR message size via `appsettings.json` under the `BlazorServer` section. Updated `Program.cs` to apply this configuration to SignalR hub options and register `BlazorServerOptions` with the DI container.
2026-11-23 15:33:08 +01:00
f123d9e785 Center canvas elements in ReceiverPage.razor
Updated the `style` attribute of `<canvas>` elements to include `display: block;` and `margin: 0 auto;`, ensuring horizontal centering. Changes applied to `rp-typed-signature-pad` and `rp-image-signature-pad`.
2026-11-23 15:26:38 +01:00
37c370266e Preserve last active signature tab in popup
Added `_lastSavedSignatureTab` to store the last active signature tab. Updated `OpenSignaturePopup` to restore the last tab if a signature exists. Updated signature submission logic to save the current tab before closing the popup.
2026-11-23 14:58:05 +01:00
262798f256 Adjust z-index value in element style calculation
Reduced the z-index from 40 to 30 in the return statement of a method to modify the stacking order of the element. This change may affect how the element overlaps with others on the page.
2026-11-23 14:55:33 +01:00
7e16f9612b Improve signature restoration and event handling
Added `RestoreDrawSignatureIfAvailableAsync` in `ReceiverPage.razor` to restore previously captured signatures on the "Draw" tab using `JSRuntime`. Updated `OnPopupShownAsync` and `SetSignatureTabAsync` to invoke this method.

In `receiver-signature.js`, fixed comment formatting and added `_detachPad` to cleanly remove event listeners from signature pads. Updated `initialize` to handle reinitialization of canvases by detaching old event listeners and reattaching new ones, preventing redundant listeners and ensuring proper cleanup.

These changes enhance signature restoration functionality and improve event listener management to prevent memory leaks and ensure robust behavior.
2026-11-23 14:42:42 +01:00
97c6190cba Improve DxPopup usability with enhanced close options
The `CloseOnOutsideClick` property was set to `true`, allowing the popup to close when clicking outside of it. The `ShowCloseButton` property was also set to `true`, enabling the display of a close button. Additionally, the `CloseOnEscape` property was set to `true`, allowing the popup to close when the Escape key is pressed.

These changes enhance the user experience by providing multiple intuitive ways to close the popup, making it more user-friendly.
2026-11-23 14:27:02 +01:00
f110772700 Increase signature canvas size and improve styling
Updated the signature popup and canvas dimensions in `ReceiverPage.razor` to enhance usability. Increased the height of all signature canvases to 360px and adjusted styles for better alignment and display.

Refined `envelope-viewer.css` by modifying the `sender-image-editor__signature-image-wrap` class to reduce flex size and padding. Added a new class for signature images to ensure proper scaling and object-fit behavior. Improved spacing and readability in `sender-image-editor__signature-meta` and introduced a new `sender-image-editor__signature-place` class for styling the signature place with italic font and smaller size.
2026-11-23 14:06:24 +01:00
e6ee3098a5 Add signature overlay and submission functionality
Enhanced `SenderPdfImageEditor` to render signature overlays
with dynamic positioning and metadata display. Introduced
`SenderPdfSignatureOverlay` record to represent signature
data. Updated `ReceiverPage` to integrate signature capture
and submission, including a confirmation popup and error
handling. Removed legacy signature caching logic.

Added new state variables and computed properties to manage
signature overlays and submission state. Marked legacy
`ReceiverSignedPage` route as obsolete. Improved styling in
`envelope-viewer.css` for signature overlays.
2026-11-23 12:40:07 +01:00
e43386ef4f Add conditional field removal and overlay improvements
Updated `SenderPdfImageEditor` to conditionally display the "Remove" button using a new `ShowFieldRemoveButton` parameter. Integrated dynamic field overlays in `ReceiverPage` and `ReceiverSignedPage` using `SenderPdfFieldOverlay`. Removed `DrawSignaturePlaceholders` method and simplified `_displayPdfBytes` assignment. Added a guard clause in `OnFieldMouseDownAsync` to prevent unnecessary execution.
2026-11-20 13:38:59 +01:00
d2e8a01068 Refactor PDF rendering: replace DxReportViewer
Replaced DevExpress DxReportViewer and XtraReport with a custom
solution using SenderPdfImageEditor and PdfPageImageRenderer.
PDF handling now uses byte arrays and renders pages as images,
removing dependencies on DevExpress reporting components.

- Removed DxReportViewer and XtraReport usage.
- Introduced SenderPdfImageEditor for PDF rendering.
- Added PdfPageImageRenderer for rendering pages as images.
- Removed BuildReport and DataUrlToBytes methods.
- Updated CSS and JavaScript references.
- Simplified navigation and state management.
- Refactored signature handling logic.
- Removed IDisposable implementation.
2026-11-20 13:02:00 +01:00
712fdb61d3 Improve Blazor WASM error handling and bump version
Enhanced error handling in Blazor WebAssembly startup:
- Added `getErrorText` to extract error messages.
- Introduced `isWasmStartupFailure` for WASM-specific errors.
- Updated `showStartupFallback` to prevent duplicate execution.
- Refined event listeners for `unhandledrejection` and `error`.
- Removed unused `started` variable.

Updated `EnvelopeGenerator.Server.csproj` version numbers:
- `Version` to 1.12.0-beta.
- `FileVersion` to 1.12.0.0.
- `AssemblyVersion` to 1.12.0.0.
2026-11-19 19:56:45 +01:00
ee89a794ea Add fallback UI, HTTP warning, and disable Wasm native builds
Added a fallback UI in `App.razor` to handle startup failures, including a message for unsupported browsers and a reload button. Updated `blazor.web.js` to use `autostart="false"` and added JavaScript for error handling.

Introduced an HTTP warning in `LoginReceiverPage.razor` to alert users when using an unencrypted connection. Added the `IsSecureRequest` property to determine if the request is secure.

Disabled native WebAssembly builds by setting `<WasmBuildNative>` to `false` in `EnvelopeGenerator.Server.Client.csproj` and `publish.bat`.

Incremented version numbers in `EnvelopeGenerator.Server.csproj` to `1.11.0-beta`. Added new CSS classes for styling the fallback UI.
2026-11-18 16:23:40 +01:00
5c0345a810 Update Notification API URL in appsettings.Secrets.json
The `ApiUrl` under the `Notification` section was updated from
`http://172.24.12.39:1414` to `http://172.24.12.39:1415`. This change
likely reflects a new or updated service endpoint.
2026-11-18 13:58:44 +01:00
d9a55ec0eb Bump version to 1.10.0-beta
Updated project version, file version, and assembly version:
- Version updated from 1.9.0-beta to 1.10.0-beta.
- FileVersion updated from 1.9.0.0 to 1.10.0.0.
- AssemblyVersion updated from 1.9.0.0 to 1.10.0.0.

This marks a new release milestone for the project.
2026-11-18 13:58:24 +01:00
2feebf264b Add resizable upload panel to CreateEnvelopeWizardPopup
Introduced a resizable upload panel feature in the
`CreateEnvelopeWizardPopup` component, allowing users to adjust
the panel's width dynamically.

- Added a draggable splitter (`sender-create-wizard__splitter`)
  with mouse event handling for resizing.
- Updated `sender-create-wizard__body-layout` to support dynamic
  grid column definitions using `--sender-upload-panel-width`.
- Added Razor methods (`StartUploadPanelResize`,
  `OnBodyLayoutMouseMove`, `StopUploadPanelResize`) to handle
  resizing logic.
- Defined constants for min/max panel widths.
- Enhanced CSS for resizing behavior, including transitions,
  cursor changes, and visual improvements for the splitter.
- Adjusted layout and padding for better alignment with the
  resizable design.

These changes improve user experience by enabling dynamic
adjustment of the upload panel's width.
2026-11-18 11:37:04 +01:00
5853868de2 Add cancel confirmation popup to wizard process
Added a `DxPopup` to confirm cancellation of the wizard, with
"Yes, cancel" and "No" options. Modified the "Cancel" button
to trigger the new `OpenCancelConfirm` method. Introduced a
private `_cancelConfirmVisible` flag to manage popup visibility.

Implemented `OpenCancelConfirm` and `ConfirmCancelAsync`
methods to handle popup display and cancellation confirmation.
Updated `OnPopupVisibleChangedAsync` and `ResetWizardState`
to reset `_cancelConfirmVisible` appropriately.
2026-11-18 10:11:40 +01:00
03a3d0a116 Add state persistence to SenderPage and refactor logic
Introduced state persistence to `SenderPage.razor` using the
`PersistentComponentState` service, enabling the page to save
and restore its state across sessions. Added `IDisposable`
implementation for resource cleanup and refactored envelope
data handling into reusable methods for improved readability
and maintainability.

Modified `appsettings.Secrets.json` to switch the notification
consumer type from `RabbitMQ` to `API`.
2026-11-18 09:48:18 +01:00
3a21b3ba94 Improve RabbitMQ configuration handling in DI setup
Refactor the `DependencyInjection` class to enhance the
validation and setup process for `RabbitMQ` when used as
the `ConsumerType`. Remove the outdated logic for adding
an HTTP client based on `options.ApiUrl`. Introduce a
check for `options.RabbitMQ` and throw a detailed
`InvalidOperationException` if it is missing. Use
`services.AddMessagingServiceClient` to configure the
messaging service client with the appropriate section name.
2026-11-17 20:22:50 +01:00
224d029c18 Refactor DI and update dependencies
- Enhanced `AddAutoMapper` configuration for flexibility.
- Replaced `IEnvelopeMailService` with `IEnvelopeNotificationService`.
- Migrated from `IUserRepository` to `EGDbContext` for data access.
- Updated RabbitMQ configuration to use `AddMessagingServiceHttpClient`.
- Removed `AddUserManager` and `AddDispatcher` registrations.
- Added conditional `FluentValidation` dependencies for target frameworks.
- Upgraded `MediatR` to 14.2.0 and `AutoMapper` to 16.2.0.
- Added `HtmlSanitizer` dependency.
- Improved error handling and logging in `ReadOnlyController`.
2026-11-17 20:09:23 +01:00
6eb92a31a6 Update .gitignore and add new appsettings configurations
The `.gitignore` file was updated to exclude specific files and directories related to the `EnvelopeGenerator.Server` project, such as `FodyWeavers.xsd`, `TekH - SoftHSM Test.md`, `tekh_softHSM_test.md`, `publish-output`, and `appsettings.Secrets.json`.

Added new configuration sections to `appsettings.Secrets.json`:
- `Crypt` section with `Pkcs11` settings for cryptographic operations.
- `Notification` section with `RabbitMQ` settings for message handling, including host, port, credentials, and queue/exchange details.

These changes improve environment-specific file management and enable integration with external services.
2026-11-17 16:51:54 +01:00
d0ddf00fc2 Use delayed expansion and enhance publish options
Updated the `publish.bat` script to use delayed expansion (`!OUTPUT!`) for the `OUTPUT` variable to ensure correct value handling in block contexts. Updated the "Removed" message to use delayed expansion for consistency.

Added two new parameters to the `dotnet publish` command:
- `-p:WasmBuildNative=true` to enable native WebAssembly builds.
- `-m:4` to set the maximum degree of parallelism to 4 for improved build performance.
2026-11-17 14:45:09 +01:00
e13413c7fc Enhance access code guidance and resend functionality
Added new localized strings for improved user guidance in `Resource.*.resx` files, including instructions and messages for resending access codes. Updated `LoginReceiverPage.razor` to include detailed UI elements for access code guidance, such as step-by-step instructions and a resend button with dynamic feedback.

Introduced new state variables (`IsResending`, `ResendRequestFailed`, `ResendResult`) and implemented the `ResendAccessCodeAsync` method to handle resend logic. Modified `AuthService.RequestEnvelopeReceiverAccessCodeAsync` to support an `autoGenerated` flag, enabling differentiation between automatic and manual access code requests.

These changes improve the user experience by providing clearer instructions and a streamlined process for resending access codes.
2026-11-16 13:41:50 +01:00
6c9b8ad3a8 Limit repeated access code requests via caching
Introduced a mechanism to limit repeated access code requests
within a configurable time period using `IMemoryCache` and a
new `RepeatRequestBlockingPeriod` configuration in
`SendAccessCodeParams`.

Key changes:
- Added `SendAccessCodeParams` configuration to `appsettings.json`.
- Updated DI in `DependencyInjection.cs` to include `SendAccessCodeParams`.
- Enhanced `SendAccessCodeCommand` with `MultipleRequestsAllowed`.
- Updated `SendAccessCodeCommandHandler` to handle caching logic:
  - Added `IsAccessCodeRequestsDisabled` and `DisableAccessCodeRequests`.
- Modified `AuthController` to support `autoGenerated` query parameter.
- Improved error handling and documentation.

These changes ensure better control over access code requests
and prevent abuse by limiting repeated requests within a
configurable time window.
2026-11-16 13:11:31 +01:00
93d9aa0742 Handle already signed envelopes in LoginReceiverPage
Updated the `OnInitializedAsync` method in `LoginReceiverPage.razor` to handle cases where the envelope has already been signed. The method now checks the result of `RequestEnvelopeReceiverAccessCodeAsync` and redirects the user to the `/envelope/signed-result` page if the result is `SendAccessCodeResult.AlreadySigned`.
2026-11-16 11:18:54 +01:00
fd2b21a73c Refactor access code request logic with MediatR
Encapsulated the access code request logic in a new `SendAccessCodeCommand` using MediatR. Introduced a `SendAccessCodeResult` enum to standardize outcomes. Refactored `AuthController` to delegate access code handling to the command, simplifying the controller and reducing dependencies.

Updated `AuthService` to map HTTP responses to `SendAccessCodeResult`. Improved error handling and edge case management in `SendAccessCodeCommandHandler`. Centralized history recording and notification logic in the command handler for better maintainability and separation of concerns.
2026-11-16 11:18:14 +01:00
deae4d2acc refactor(notification): derive shared-document links from origin and read-only id
Update DocumentSharedNotification to mirror DocumentReceivedNotification URL strategy.

Replace externally supplied link strings with init-only Origin and ReadOnlyId inputs and compute LINK_TO_DOCUMENT / LINK_TO_DOCUMENT_TEXT internally via ToEnvelopeKey().
2026-11-16 09:16:27 +01:00
55140846ba feat(notification): add typed payloads for non-link email templates
Add strongly typed notification records for remaining email templates that do not require document URL composition.

Each record maps template placeholders to explicit properties and returns the matching EmailTemplateType.

Also includes XML documentation so placeholder-to-property mapping is self-describing.
2026-11-16 09:16:22 +01:00
9c2de46253 Improve dropdown handling and accessibility
Added `id` and `name` attributes to `<select>` elements in `CreateEnvelopeWizardPopup.razor` and `SenderEditorPage.razor` for better accessibility. Replaced hardcoded dropdown values with `FinalEmailType` enum for maintainability.

Introduced `@bind:after` event handlers to track user overrides for `FinalEmailToCreator` and `FinalEmailToReceivers`. Added flags `_finalEmailToCreatorUserOverridden` and `_finalEmailToReceiversUserOverridden` to ensure user changes are respected.

Refactored default value logic into `ApplyEnvelopeTypeFinalEmailDefaults` and updated `NormalizeSettings` to reset override flags. Improved code readability by replacing magic numbers with named constants.
2026-11-13 13:56:04 +01:00
fa56f2059a Refactor enum initialization for type safety
Updated `_finalEmailToCreator` and `_finalEmailToReceivers` in `SenderEditorPage.razor` to use `FinalEmailType.No` directly instead of casting to `(int)`. This improves code readability and ensures type safety by eliminating unnecessary type casting.
2026-11-13 13:39:28 +01:00
bb5175347c Refactor: Use FinalEmailType enum for email settings
Replaced raw `int` values with the strongly-typed `FinalEmailType`
enum for `FinalEmailToCreator` and `FinalEmailToReceivers` across
the codebase. Updated DTOs, entities, commands, handlers, Razor
components, and test controllers to reflect this change.

This improves type safety, code readability, and maintainability.
Default values now use `FinalEmailType.No` instead of integer
casting. Adjusted database mappings and added necessary imports
to support the new enum type.
2026-11-13 13:14:52 +01:00
85033ce667 Remove 20250701151754_InitialCreate migration
This commit removes all code related to the `20250701151754_InitialCreate` migration, including:
- The designer file (`20250701151754_InitialCreate.Designer.cs`)
- The migration implementation file (`20250701151754_InitialCreate.cs`)
- The snapshot file (`EGDbContextModelSnapshot.cs`)

These files contained schema definitions and logic for creating database tables, relationships, and constraints for entities such as `EmailOut`, `ClientUser`, `Group`, `User`, `Envelope`, `Receiver`, and others.

The removal indicates that the migration and its schema definitions are no longer needed or have been deprecated in favor of a different approach to managing the database schema.
2026-11-13 13:00:57 +01:00
c8bd2a348d Refactor envelope type selection logic
Simplified the `<select>` element by replacing `value` and `@onchange` with `@bind` for two-way data binding. Updated `OnEnvelopeTypeChanged` to remove the `ChangeEventArgs` parameter and directly use `_selectedEnvelopeType`. Removed redundant parsing logic and ensured defaults are applied only when `_selectedEnvelopeType` is not null. Cleaned up unnecessary code for better readability and maintainability.
2026-11-13 13:00:40 +01:00
b5c9c8da6c Add framework-specific handling for Id property
Introduce conditional compilation to differentiate `Id` property
behavior between `NET` and `NETFRAMEWORK` environments. For `NET`,
the `Id` property is of type `EnvelopeType` with `[Key]` and
`[Column("GUID")]` attributes. For `NETFRAMEWORK`, the `Id` property
is of type `int` with a default value of `0`, retaining `[Key]`,
`[DatabaseGenerated(DatabaseGeneratedOption.Identity)]`, and
`[Column("GUID")]` attributes. These changes ensure compatibility
and proper configuration across frameworks.
2026-11-13 13:00:10 +01:00
abd3c23f8c Refactor EnvelopeType handling and introduce caching
Updated `EnvelopeDto` to use `EnvelopeTypeDefaultsDto` for the `Defaults` property, decoupling domain entities from external layers.

Refactored `IEnvelopeTypeRepository`, `IEnvelopeTypeService`, and `EnvelopeTypeService` to use `EnvelopeType` as the identifier type instead of `int`, improving domain specificity and consistency.

Introduced caching in `EnvelopeTypeService` with a static `CacheKey` and `IMemoryCache` dependency for performance optimization.

Aligned `EnvelopeTypeRepository` with the updated identifier type and repository interface.
2026-11-13 12:59:48 +01:00
9d4806bef7 Add new properties and remove unused LinkToDocument
Updated ReplacePlaceholderExtensionsTests to include new
properties `EnvelopeUuid`, `Origin`, and `ReceiverSignature`
to enhance functionality. Removed the unused `LinkToDocument`
property. Adjusted `NamePortal` formatting for consistency.
2026-11-13 12:00:46 +01:00
48b2fc0eca Refactor: Replace EnvelopeTypeId with EnvelopeType enum
Replaced all instances of `EnvelopeTypeId` (int/int?) with `Type`
(EnvelopeType/EnvelopeType?) across the codebase to improve type
safety and readability. Updated affected properties, methods, and
logic in DTOs, commands, handlers, and Razor components.

Introduced conditional compilation to handle differences between
.NET and .NET Framework where necessary. Removed obsolete helper
methods for `EnvelopeTypeId`. This refactor ensures consistent use
of the strongly-typed `EnvelopeType` enum, reducing the risk of
invalid values and aligning with best practices.
2026-11-13 11:46:56 +01:00
18fbc2100f Remove ContractType and CertificationType properties
Removed the `ContractType` and `CertificationType` properties
from the `EnvelopeClientDto` class in `EnvelopeReceiverDto.cs`
as they are no longer needed. Updated the `Extensions` class
in `Fake.cs` to remove references to these properties,
including their initialization logic.
2026-11-13 11:09:25 +01:00
13784cd595 Refactor: Remove CertificationType and ContractType
Removed `CertificationType` and `ContractType` properties and logic across the codebase as they were redundant. Updated `EnvelopeType` to include a validation extension method for improved data integrity. Refactored `CreateEnvelopeWizardPopup.razor` and other UI components to simplify handling of `EnvelopeType`.

Conditionally included `CertificationType` and `ContractType` for `NETFRAMEWORK` targets using `#if NETFRAMEWORK` directives to ensure compatibility. Removed unused enums, imports, and methods. Updated `CreateEnvelopeCommandHandler` and related classes to reflect these changes.
2026-11-13 11:06:12 +01:00
67e435c3fa Add envelope type handling and validation methods
Introduced new extension methods for the `IEnvelope` interface:
- Added `Type` method to retrieve and validate `EnvelopeTypeId`, throwing a `DataIntegrityException` for invalid values.
- Added `SetType` method to set the `EnvelopeTypeId` based on a given `EnvelopeType`.
- Added `WithType` method to enable setting `EnvelopeTypeId` with method chaining.

Included conditional compilation for .NET Framework compatibility and added necessary `using` directives for constants and exceptions.
2026-11-13 09:53:21 +01:00
3c80bc4d26 Add EnvelopeType enum to define envelope types
A new namespace `EnvelopeGenerator.Domain.Constants` was added, containing the `EnvelopeType` enumeration. This enum introduces three values: `SimpleSignature` (1), `ReadAndConfirm` (2), and `AdvancedSignature` (3), to represent different envelope types.
2026-11-12 17:05:18 +01:00
22895e259a Rename EnvelopeType to Defaults in EnvelopeDto
Updated the `EnvelopeDto` class to rename the `EnvelopeType` property to `Defaults` for better clarity. Updated all references to `EnvelopeType` in `SenderEditorPage.razor` to use the new `Defaults` property. This includes updates to properties such as `_sendReminderEmails`, `_firstReminderDays`, `_reminderIntervalDays`, `_expiresWhenDays`, and `_expiresWarningWhenDays`. Ensured consistent usage of the renamed property across the application.
2026-11-12 17:04:07 +01:00
f4d2b65943 Refactor Envelope.Type to Envelope.Defaults
Replaced all references to `Envelope.Type` with `Envelope.Defaults` across the application for consistency and clarity.

- Updated `MappingProfile` to map `Defaults.Title` instead of `Type.Title` for `EnvelopeTypeTitle`.
- Modified `ReadEnvelopeQueryHandler` to use `Defaults` in place of `Type` and updated query includes.
- Renamed `Type` to `Defaults` in the `Envelope` entity while preserving its foreign key relationship.
- Updated `EnvelopeModel` to retrieve `Defaults` using `EnvelopeTypeModel.GetById`.
- Refactored `frmEnvelopeMainData` to replace all `Type` references with `Defaults` and adjusted logic for `ContractType` and `EnvelopeType`.

These changes ensure consistent naming and improve code readability.
2026-11-12 16:57:50 +01:00
17da3ea91e Refactor EnvelopeTypeDto to EnvelopeTypeDefaultsDto
Renamed `EnvelopeTypeDto` to `EnvelopeTypeDefaultsDto` to better reflect its purpose as a DTO for default envelope type configurations.

Updated all references to `EnvelopeTypeDto` across the application, including:
- Service interfaces (`IEnvelopeTypeService`) and implementations.
- AutoMapper mappings in `MappingProfile.cs`.
- Query handlers (`ReadEnvelopeTypesQuery` and `ReadEnvelopeTypesQueryHandler`).
- Razor components (`CreateEnvelopeWizardPopup.razor`, `SenderEditorPage.razor`, `SenderPage.razor`).
- Client-side services (`EnvelopeTypeService`).
- Controller (`TestEnvelopeTypeController`).

These changes ensure consistency and clarity in naming conventions while maintaining functionality.
2026-11-12 16:51:34 +01:00
621f9333a4 Refactor: Replace EnvelopeType with EnvelopeTypeDefaults
Replaced the `EnvelopeType` class with `EnvelopeTypeDefaults` across the codebase to standardize the data model. Updated DTOs, repositories, services, mappings, and database contexts to reflect this change.

Key updates include:
- Updated `EnvelopeDto` to use `EnvelopeTypeDefaults`.
- Modified `IEnvelopeTypeRepository` and `IEnvelopeTypeService` interfaces.
- Adjusted mappings in `MappingProfile.cs` for `EnvelopeTypeDefaults`.
- Updated `ReadEnvelopeTypesQueryHandler` and `CreateEnvelopeCommandHandler` to use `EnvelopeTypeDefaults`.
- Replaced `EnvelopeType` with `EnvelopeTypeDefaults` in `EnvelopeTypeModel.vb`, `frmEnvelopeMainData.vb`, and `EGDbContextBase`.
- Introduced the `EnvelopeTypeDefaults` class with updated schema mappings.
- Updated `EnvelopeTypeRepository` and `TestEnvelopeTypeController` to use `EnvelopeTypeDefaults`.

These changes ensure consistency and improve maintainability across the application.
2026-11-12 16:42:27 +01:00
34b184b057 Remove "Certification Type" field from envelope wizard
The "Certification Type" field, including its label, tooltip, and dropdown options, has been removed from the form grid in `CreateEnvelopeWizardPopup.razor`. The associated `OnCertificationTypeChanged` method, which handled changes to this field, was also removed. The form layout was adjusted to reflect the removal of this field, simplifying the structure.
2026-11-12 14:16:55 +01:00
c77beb88df Simplify password input field styling
Refactored the styling of the password input field and its
associated elements:
- Removed `border-end-0` class from the `<span>` element.
- Updated `<input>` to rely on `@GetPasswordInputClass()`
  and removed `border-start-0 border-end-0` classes.
- Adjusted `<button>` styling by removing `border-start-0`
  and using `margin-left: 0;` instead of `border-left: none`.

These changes improve maintainability and ensure consistent
UI styling.
2026-11-12 13:44:28 +01:00
35b6093169 Update footer to dynamically display current year
Replaced the hardcoded copyright year range "2023-2024" in the
footer of `MainLayout.razor` with `@DateTime.Now.Year`. This
ensures the displayed year is always current without requiring
manual updates.
2026-11-12 12:24:01 +01:00
23f2056421 Redesign login page with improved UX and branding
Refactored `LoginSenderPage.razor` to introduce a modern layout, dynamic branding support, and enhanced validation. Updated localization files (`de-DE`, `en-US`, `fr-FR`) with new keys for improved messaging. Added client-side validation for required fields and error handling for invalid credentials.

Enabled anonymous access to `CustomImagesController` for displaying branding before authentication. Updated CSS for consistent theming and responsive design. Cleaned up redundant code and improved maintainability. Footer now dynamically displays the current year and company name.
2026-11-12 11:57:00 +01:00