Spaces:
Runtime error
Runtime error
Commit History
-
fix(env): support FROM_MAIL as alternative for FROM_EMAIL
- Update email sender environment variable to accept FROM_MAIL if FROM_EMAIL is unset - Modify send invite email function to fallback to FROM_MAIL if FROM_EMAIL is missing - Adjust environment validation to check for either FROM_EMAIL or FROM_MAIL - Improve warning message to indicate either variable is acceptable refactor(settings): remove resend email service configuration - Delete Resend SMTP email backend setup and related environment variables - Clean up unused imports and obsolete email configuration in settings.py fix(test_db): handle import errors more explicitly in test_database_connection - Add import of OperationalError at the top of test function - Enhance ImportError handling with additional diagnostic message - Improve code clarity and error information during database connection tests76bf02c -
feat(env): validate configuration and add MySQL connection test with SQLite fallback
- Add environment variable validation and configuration summary display on startup - Test MySQL database connection if all required variables are set, exit on failure - Print warning and fallback to SQLite development database if MySQL config is incomplete - Enhance SSL options for MySQL connection, including certificate handling and verification - Add runtime warnings when database variables are missing or fallback to SQLite is used - Reorder and clarify startup steps: validate env, test DB, run migrations, then start server - Remove unused 'resend' package from requirements.txt to clean dependencies6069ba8