Merge pull request 'Auto-commit local changes before build (2026-01-12 13:46:37)' (#98) from v20260112-11-show-vspc-company-mapping-popup into main

Reviewed-on: #98
This commit is contained in:
Ivo Oskamp 2026-01-13 11:43:43 +01:00
commit 09e19a72d0
3 changed files with 13 additions and 5 deletions

View File

@ -1 +1 @@
v20260112-10-fix-vspc-approve-endpoint-duplicate
v20260112-11-show-vspc-company-mapping-popup

View File

@ -510,11 +510,12 @@ function findCustomerIdByName(name) {
mapBtn.classList.add("d-none");
if (approveBtn) approveBtn.classList.remove("d-none");
var bsw = String(meta.backup_software || "").trim();
var btype = String(meta.backup_type || "").trim();
var jname = String(meta.job_name || "").trim();
var bsw = String(meta.backup_software || "").trim().toLowerCase();
var btype = String(meta.backup_type || "").trim().toLowerCase();
if (bsw !== "Veeam" || btype !== "Service Provider Console" || jname !== "Active alarms summary") {
// Show the dedicated mapping popup for VSPC multi-company summary emails.
// Do not rely on an exact job name match (it can vary between mail variants / legacy data).
if (bsw !== "veeam" || btype !== "service provider console") {
return;
}

View File

@ -192,6 +192,13 @@
- Corrected misplaced route decorators that caused the approve handler to be mapped to the delete endpoint.
- Restored proper route separation between inbox message delete and VSPC company approve actions.
- Added missing authentication requirement to the VSPC approve endpoint to align with other inbox actions.
---
## v20260112-11-show-vspc-company-mapping-popup
- Fixed VSPC company-mapping popup visibility by removing strict job name matching in the Inbox modal logic.
- Made VSPC detection case-insensitive for backup software/type to improve robustness across mail variants and legacy data.
================================================================================================================================================
## v0.1.19
This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs.