mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #710] [MERGED] [Fix]: Changes SMTP testing to use saved settings in the database #1103
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#1103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/710
Author: @shrunbr
Created: 3/15/2026
Status: ✅ Merged
Merged: 3/15/2026
Merged by: @maziggy
Base:
dev← Head:fix/smtpTesting📝 Commits (6)
836175cRemoves the need for authentication from TestSMTPRequest schema7a986d7Removes authentication pieces from TestSMTPRequest interface0876b53Changes test_smtp_connection to use saved SMTP settings in database720ccfcChanges test_test_smtp_connection to use SMTP settings in request8a1b1c1Removes unneeded validation checks now that we're using saved SMTP settings from the database5fec22fMerge branch 'dev' into fix/smtpTesting📊 Changes
5 files changed (+11 additions, -44 deletions)
View changed files
📝
backend/app/api/routes/auth.py(+4 -10)📝
backend/app/schemas/auth.py(+0 -9)📝
backend/tests/integration/test_advanced_auth_api.py(+6 -1)📝
frontend/src/api/client.ts(+0 -7)📝
frontend/src/components/EmailSettings.tsx(+1 -17)📄 Description
Description
This updates the test SMTP functionality to use the saved settings within the database. Now this requires SMTP settings to be saved first before testing.
COPILOT GENERATED SUMMARY
This pull request updates the SMTP test email functionality to use only the saved SMTP settings from the backend, removing the ability to send arbitrary SMTP configuration via the test endpoint. As a result, the frontend, backend API, and tests have been updated to reflect this streamlined approach.
Related Issue
Fixes #697
Type of Change
Changes Made
Backend API changes:
/auth/smtp/testendpoint now uses only the saved SMTP settings from the database, and no longer accepts SMTP configuration in the request body. If SMTP settings are not configured, it returns an error message.TestSMTPRequestschema has been simplified to only require thetest_recipientfield, removing all SMTP configuration fields.Frontend changes:
TestSMTPRequestinterface inclient.tshas been updated to only includetest_recipient, matching the backend changes.EmailSettingscomponent no longer validates or sends SMTP configuration fields when testing the SMTP connection; it only sends the test recipient.Testing changes:
Screenshots
Testing
Checklist
Additional Notes
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.