Compare commits
2 Commits
6b4b33ff64
...
ea264cb3e4
| Author | SHA1 | Date | |
|---|---|---|---|
| ea264cb3e4 | |||
| 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)
|
||||
"""
|
||||
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:
|
||||
continue
|
||||
object_type = (item.get("type") or item.get("object_type") or None)
|
||||
object_type = _sanitize_text(object_type)
|
||||
if isinstance(object_type, str):
|
||||
object_type = object_type.strip() 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 = _sanitize_text(error_message)
|
||||
if isinstance(error_message, str):
|
||||
error_message = error_message.strip() or None
|
||||
db.session.add(
|
||||
MailObject(
|
||||
mail_message_id=msg.id,
|
||||
|
||||
@ -16,6 +16,12 @@
|
||||
- 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.
|
||||
|
||||
---
|
||||
|
||||
## 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
|
||||
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