One Import window for clients, contacts, locations, credentials, networks, assets and products: new agent/modals/import/import.php and agent/post/import.php replace the seven per-list import windows and their handlers; the file's columns are matched to fields by heading and shown with sample values to change or leave out, a record already here can be skipped or updated with the file's non-empty cells, and before importing the window shows what every row will do by running the import in a transaction and rolling it back; rows that do not import download as a CSV with the reason; each kind is an entry in importKinds in new functions/import_kinds.php with its fields, matching and row function, each row behind a savepoint; contacts, locations, credentials and networks now take tags, notes and their other export columns, assets keep history rows and merge details on update, and templates need read access to their module; 26.11.9 changelog entries rewritten for the new window

This commit is contained in:
johnnyq
2026-11-16 13:59:18 -05:00
parent fd360b35b9
commit 71f7c00ab4
29 changed files with 1816 additions and 1353 deletions

View File

@@ -52,6 +52,7 @@ require_once __DIR__ . '/functions/ai_client.php';
require_once __DIR__ . '/functions/ai_billing.php';
require_once __DIR__ . '/functions/export.php';
require_once __DIR__ . '/functions/import.php';
require_once __DIR__ . '/functions/import_kinds.php';
require_once __DIR__ . '/functions/calendar.php';
require_once __DIR__ . '/functions/backup.php';
require_once __DIR__ . '/functions/search.php';