mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #700] [MERGED] [Fix]: Allow SMTP to be configured before Advanced Authentication is enabled #1101
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#1101
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/700
Author: @shrunbr
Created: 3/14/2026
Status: ✅ Merged
Merged: 3/14/2026
Merged by: @maziggy
Base:
dev← Head:fix/smtpEnablement📝 Commits (10+)
58939d1Removes requirement for advanced authentication to be enabled for SMTP configuration block and test smtp configuration block. Adds query to fetch global authentication status, adds global authentication status check while enabling advanced auth.1ed4f42Clears authStatus cache after successfully setting up authentication which resolves a bug where if a user tried to enable advanced authentication right away after enable auth they receive an error telling them auth was not enabled still.f2b9fbaAdds enableAuthFirst error in English2493abcAdds enableAuthFirst error in all other languages using Google Translate380dde2Adds comment above authStatus cache clearb85a05dUpdates comments for Test SMTP and SMTP Configuration sectionsf832319Simplifies, instead of updating then clearing cache, just clear it (invalidate it)899aa91Merge branch 'dev' into fix/smtpEnablement4761afaRefactor auth status handling in EmailSettings71d795eRemove authStatus cache invalidation on setup success📊 Changes
8 files changed (+19 additions, -5 deletions)
View changed files
📝
frontend/src/components/EmailSettings.tsx(+12 -5)📝
frontend/src/i18n/locales/de.ts(+1 -0)📝
frontend/src/i18n/locales/en.ts(+1 -0)📝
frontend/src/i18n/locales/fr.ts(+1 -0)📝
frontend/src/i18n/locales/it.ts(+1 -0)📝
frontend/src/i18n/locales/ja.ts(+1 -0)📝
frontend/src/i18n/locales/pt-BR.ts(+1 -0)📝
frontend/src/i18n/locales/zh-CN.ts(+1 -0)📄 Description
Description
This pull request allows a user to configure and test SMTP settings before enabling Advanced Authentication within the web interface. Prior to this pull request if a user tried to enable Advanced Authentication it would tell them that they needed to send a test email first.
COPILOT GENERATED SUMMARY
This pull request improves the email authentication and SMTP configuration experience in the frontend by adding stricter checks, updating UI behavior, and enhancing internationalization support. The main changes ensure users cannot enable advanced email authentication without first enabling global authentication, and provide clearer, localized error messages. Additionally, the UI logic for disabling SMTP-related sections has been adjusted, and the authentication status cache is now properly updated after setup.
Related Issue
Fixes #697
Type of Change
Changes Made
EmailSettings.tsx
Translations
SetupPage.tsx
Screenshots
Testing
Checklist
Additional Notes
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.