Auto-commit local changes before build (2026-01-09 10:13:07)
This commit is contained in:
parent
17e36b8633
commit
443c7a4c71
@ -1 +1 @@
|
|||||||
v20260109-02-object-list-sorting
|
v20260109-03-preserve-ampersand-errors
|
||||||
|
|||||||
@ -43,14 +43,25 @@ def _store_mail_objects(msg: MailMessage, objects: List[Dict]) -> None:
|
|||||||
- error_message (optional)
|
- error_message (optional)
|
||||||
"""
|
"""
|
||||||
for item in objects or []:
|
for item in objects or []:
|
||||||
name = (item.get("name") or "").strip()
|
name = _sanitize_text(item.get("name") or "")
|
||||||
|
if isinstance(name, str):
|
||||||
|
name = name.strip()
|
||||||
if not name:
|
if not name:
|
||||||
continue
|
continue
|
||||||
object_type = (item.get("type") or item.get("object_type") or None)
|
object_type = (item.get("type") or item.get("object_type") or None)
|
||||||
|
object_type = _sanitize_text(object_type)
|
||||||
if isinstance(object_type, str):
|
if isinstance(object_type, str):
|
||||||
object_type = object_type.strip() or None
|
object_type = object_type.strip() or None
|
||||||
|
|
||||||
status = (item.get("status") or None) or None
|
status = (item.get("status") or None) or None
|
||||||
|
status = _sanitize_text(status)
|
||||||
|
if isinstance(status, str):
|
||||||
|
status = status.strip() or None
|
||||||
|
|
||||||
error_message = item.get("error_message") or None
|
error_message = item.get("error_message") or None
|
||||||
|
error_message = _sanitize_text(error_message)
|
||||||
|
if isinstance(error_message, str):
|
||||||
|
error_message = error_message.strip() or None
|
||||||
db.session.add(
|
db.session.add(
|
||||||
MailObject(
|
MailObject(
|
||||||
mail_message_id=msg.id,
|
mail_message_id=msg.id,
|
||||||
|
|||||||
@ -16,6 +16,12 @@
|
|||||||
- Within each severity group, objects are sorted alphabetically (A–Z).
|
- Within each severity group, objects are sorted alphabetically (A–Z).
|
||||||
- Applied consistent sorting across all relevant views, including Inbox, Job Details, Run Checks, Daily Jobs, and Admin All Mail.
|
- Applied consistent sorting across all relevant views, including Inbox, Job Details, Run Checks, Daily Jobs, and Admin All Mail.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## v20260109-03-preserve-ampersand-errors
|
||||||
|
- Decode HTML entities (e.g. &) in parsed object fields (name/type/status/error_message) before storing them.
|
||||||
|
- Ensures ampersands and other entities are displayed correctly in the UI error messages.
|
||||||
|
|
||||||
================================================================================================================================================
|
================================================================================================================================================
|
||||||
## v0.1.19
|
## 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.
|
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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user