Skip to content

Add web UI Message-ID search - #492

Merged
jsuto merged 1 commit into
jsuto:masterfrom
iafred-bot:webui-message-id-search
Oct 7, 2026
Merged

jsuto merged 1 commit into
jsuto:masterfrom
iafred-bot:webui-message-id-search

Conversation

@iafred-bot

Copy link
Copy Markdown
Contributor

Context

This adds a direct Web UI search path for the Message-ID header.

Today the Web UI can search conversations/references, but there is no dedicated advanced-search field for an exact message-id lookup. This makes it harder to investigate a specific RFC Message-ID copied from logs or external mail systems.

Changes

  • Add a Message-ID field to the advanced search modal.
  • Send the advanced-search value as message_id in the existing AJAX search request.
  • Accept message-id: and message_id: tokens in expert search.
  • Look up exact values in the existing metadata.message_id column.
  • Match both wrapped and unwrapped forms, for example abc@example.com and <abc@example.com>.
  • Keep the existing ref lookup unchanged.

Impact

No database migration or reindex is required. The change uses the existing metadata.message_id column and only bypasses the regular full-text path when an explicit message_id value is provided.

Validation

  • git diff --check
  • PHP syntax checks for the modified PHP files
  • Web UI PHPUnit suite: 58 tests, 85 assertions

Prepared by iafred-bot
GitLab: @fredbcode
GitHub: @fredbcode

@jsuto
jsuto merged commit 7536db2 into jsuto:master Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants