Version 0.5.5.94: field type conversion, exclusion filters and value lists

- Change the data type of custom fields with stored values via a preview:
  values that cannot be converted need an explicit decision, the
  conversion runs in one transaction with row locks and a stale-preview
  check, old values are saved to data/backups and recorded in history.
- Table filters: "!value" excludes rows, "=value" compares exactly;
  Excel-like value list (▾) per column in all tables. The software job
  list computes its value list on the server over the full job history.
- Bulk edit offers custom fields with type-specific input and validation.
- MeshCentral mappings: optional "value if empty" with a guard path;
  fallbacks are skipped when only basic data was delivered.
- Deleting a field removes its translations (same name can be reused);
  one confirmation with the value count replaces the checkbox.
- Job list filters recognize the "reinstall" action and the
  "software deployment" job type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
RolandandClaude Opus 5.5 committed 2026-11-18 21:14:21 +01:00
1 parent 261b4f2029
commit 40cd88871f
20 files changed
+1400 -187

No files matched your search

+4
View File
@@ -170,6 +170,10 @@ class MeshFieldMapping(Base):
priority: Mapped[int] = mapped_column(Integer, default=0)
description: Mapped[str | None] = mapped_column(Text, nullable=True)
update_rule: Mapped[str] = mapped_column(String(30), default="fill_empty")
# Value written when the MeshCentral source is missing or empty (None = skip the field).
empty_value: Mapped[str | None] = mapped_column(String(255), nullable=True)
# Path that must exist in the device JSON before empty_value is used (None = parent of source_path).
empty_value_guard: Mapped[str | None] = mapped_column(String(255), nullable=True)
is_system: Mapped[bool] = mapped_column(Boolean, default=False)