Skip to content

feat(admin): add SMTP fixes, account drilldown, admin password resets - #51

Merged
compgeniuses merged 1 commit into
mainfrom
dev
Aug 3, 2026
Merged

feat(admin): add SMTP fixes, account drilldown, admin password resets#51
compgeniuses merged 1 commit into
mainfrom
dev

Conversation

@compgeniuses

Copy link
Copy Markdown
Contributor

Implement full admin page improvements including:

  • Fix EACCES permission errors in Docker/non-root environments by storing SMTP config in the database with best-effort env sync and warnings for write failures
  • Add database-backed SMTP configuration with env fallback, async resolution, and transporter cache reset
  • Add account detail drilldown to view per-account businesses and user memberships
  • Add admin-initiated password reset with token generation and proper error handling
  • Update email logging to include error details in logs and API responses
  • Refactor local auth to use async SMTP checks and shared password reset helpers
  • Add comprehensive test suite for new admin procedures
  • Update test config to use a deterministic super-admin account for testing
  • Add opencode tracking files for mission progress, work logs, and task tracking

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes #(issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • Unit tests
  • Integration tests
  • End-to-end tests
  • Manual testing

Test Configuration:

  • Node.js version:
  • PostgreSQL version:
  • OS:

Checklist:

  • My code follows the project's code style
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if appropriate):

Additional context:

Add any other context about the pull request here.

Implement full admin page improvements including:
- Fix EACCES permission errors in Docker/non-root environments by storing SMTP config in the database with best-effort env sync and warnings for write failures
- Add database-backed SMTP configuration with env fallback, async resolution, and transporter cache reset
- Add account detail drilldown to view per-account businesses and user memberships
- Add admin-initiated password reset with token generation and proper error handling
- Update email logging to include error details in logs and API responses
- Refactor local auth to use async SMTP checks and shared password reset helpers
- Add comprehensive test suite for new admin procedures
- Update test config to use a deterministic super-admin account for testing
- Add opencode tracking files for mission progress, work logs, and task tracking
@compgeniuses
compgeniuses merged commit 768d4c3 into main Aug 3, 2026
1 of 2 checks passed
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.

1 participant