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

+8 -7
View File
@@ -91,6 +91,7 @@
data-storage-key="software-jobs"
data-server-filters="1"
data-server-filter-url="/software"
data-value-list-url="/software/job-filter-values"
data-server-filter-total="{{ jobs_filtered_total if jobs_filters_active else jobs|length }}"
data-restart-label="↻ {{ t('jobs.restart')|e }}"
data-restart-confirm="{{ t('jobs.restart.confirm')|e }}"
@@ -99,13 +100,13 @@
<th class="selection-column" data-no-sort="1" data-no-filter="1"><input type="checkbox" id="select-all-restartable-jobs" aria-label="{{ t('jobs.select_all_restartable')|e }}"></th>
<th data-server-filter-name="job_id" data-filter-type="integer" data-server-filter-value="{{ job_filters.job_id|e }}">{{ t('software.job_id') }}</th>
<th data-server-filter-name="created_at" data-filter-type="datetime" data-server-filter-value="{{ job_filters.created_at|e }}">{{ t('software.time') }}</th>
<th data-server-filter-name="asset" data-server-filter-value="{{ job_filters.asset|e }}">{{ t('common.assets') }}</th>
<th data-server-filter-name="job_type" data-server-filter-value="{{ job_filters.job_type|e }}">{{ t('jobs.type') }}</th>
<th data-server-filter-name="package" data-server-filter-value="{{ job_filters.package|e }}">{{ t('software.package') }}</th>
<th data-server-filter-name="action" data-server-filter-value="{{ job_filters.action|e }}">{{ t('jobs.action') }}</th>
<th data-server-filter-name="priority" data-filter-type="integer" data-server-filter-value="{{ job_filters.priority|e }}">{{ t('jobs.priority') }}</th>
<th data-server-filter-name="platform" data-server-filter-value="{{ job_filters.platform|e }}">{{ t('software.platform') }}</th>
<th data-server-filter-name="status" data-server-filter-value="{{ job_filters.status|e }}">{{ t('software.status') }}</th>
<th data-server-filter-name="asset" data-value-list="server" data-server-filter-value="{{ job_filters.asset|e }}">{{ t('common.assets') }}</th>
<th data-server-filter-name="job_type" data-value-list="server" data-server-filter-value="{{ job_filters.job_type|e }}">{{ t('jobs.type') }}</th>
<th data-server-filter-name="package" data-value-list="server" data-server-filter-value="{{ job_filters.package|e }}">{{ t('software.package') }}</th>
<th data-server-filter-name="action" data-value-list="server" data-server-filter-value="{{ job_filters.action|e }}">{{ t('jobs.action') }}</th>
<th data-server-filter-name="priority" data-value-list="server" data-filter-type="integer" data-server-filter-value="{{ job_filters.priority|e }}">{{ t('jobs.priority') }}</th>
<th data-server-filter-name="platform" data-value-list="server" data-server-filter-value="{{ job_filters.platform|e }}">{{ t('software.platform') }}</th>
<th data-server-filter-name="status" data-value-list="server" data-server-filter-value="{{ job_filters.status|e }}">{{ t('software.status') }}</th>
<th>{{ t('software.details') }}</th>
<th>{{ t('jobs.actions') }}</th>
</tr></thead>