Skip to content

Add Autodiscover XML inspection and file export - #1045

Merged
Stephen Griffin (stephenegriffin) merged 3 commits into
mainfrom
feature/43-autodiscover-xml
Oct 26, 2026
Merged

Stephen Griffin (stephenegriffin) merged 3 commits into
mainfrom
feature/43-autodiscover-xml

Conversation

@stephenegriffin

Copy link
Copy Markdown
Member

Summary

Add Autodiscover XML inspection and file export using HrGetAutoDiscoverXML.

  • Prompt for an email address, retrieve the response, and display its UTF-8 XML in a read-only editor.
  • Save the original response bytes to an XML file without re-encoding.
  • Preserve service/stream errors, release returned streams, and report failures at the UI boundary.
  • Add mocked tests for import forwarding, stream ownership, read/seek failures, and UTF-8 validation.

Fixes #43.

Validation

  • Debug x64 and Win32 solution builds passed.
  • 7/7 focused Autodiscover tests passed on each architecture.
  • clang-format 17 and git diff --check passed.
  • mapistub checked against its current default branch: 8e4d4bffacab68dc34425a4cf5888e926b21d2c0 (already recorded by main).
  • Live Autodiscover service/account behavior has not been verified.

Expose HrGetAutoDiscoverXML through a read-only viewer with exact-byte XML saving and mocked stream and UTF-8 regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Test Results

    8 files  ± 0      8 suites  ±0   58s ⏱️ -2s
  501 tests + 7    501 ✅ + 7  0 💤 ±0  0 ❌ ±0 
4 008 runs  +56  4 008 ✅ +56  0 💤 ±0  0 ❌ ±0 

Results for commit 93b9b87. ± Comparison against base commit 9938a83.

♻️ This comment has been updated with latest results.

bwittgen
bwittgen previously approved these changes Oct 25, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@stephenegriffin
Stephen Griffin (stephenegriffin) merged commit 571738a into main Oct 26, 2026
21 checks passed
@stephenegriffin
Stephen Griffin (stephenegriffin) deleted the feature/43-autodiscover-xml branch October 26, 2026 13:21
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.

Do HrGetAutoDiscoverXML

3 participants