fix: test connection always showed success; add per-account test endpoint

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/6268035d-325f-422a-886f-8b2919127261

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-28 18:57:25 +00:00
parent c09019d333
commit 441e8b54e9
5 changed files with 83 additions and 17 deletions
+12
View File
@@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## v0.2.2 (2026-03-28)
### Bug Fixes
- **Test Connection always showed "success"**: frontend never checked the `success` field
returned by the backend — any HTTP 200 response (including `{success: false}`) was
displayed as "Connection successful!". Now the actual `success` value is checked and
authentication failures are shown as errors with the server's message.
- **Test Connection in edit mode required password re-entry**: added backend endpoint
`POST /mail-accounts/{account_id}/test` that decrypts and uses the stored credentials
so existing accounts can be tested without re-typing the password.
### Bug Fixes
- Resolve semantic-release CHANGELOG.md not updating properly