Spaces:
Runtime error
Runtime error
Commit History
-
implemented resend api
116dc2c
-
resend API implemented
6b6a264
-
fixed bb upload
fd9b2eb -
db connection fix
767ed6d -
optimized backend
1d3038b -
feat(invitation): add role choices and enhance invitation validation and logging
- Define ROLE_CHOICES for Invitation model and enforce role field constraints - Add validate_role and validate_email methods to InvitationSerializer - Normalize and validate email input for invitations - Improve invite_user view with detailed logging and validation error handling - Detect and log attempts to invite existing users - Log creation and update of invitations and success of email sending - Set default FRONTEND_URL in settings with fallback for local development85ff68e -
fixed email invite
a2bc5f2 -
refactor(debug_ssl): simplify and enhance SSL connection debugging script
- Remove redundant certificate format tests and temporary file creation functions - Consolidate SSL connection tests into a single function testing multiple SSL configurations - Add dynamic loading of PyMySQL and handle import failures - Support SSL configurations including no SSL, basic SSL, SSL disabled verification, minimal SSL, and SSL with CA certificate - Improve environment variable validation and error reporting - Provide detailed output on successful configurations and Django SSL options - Update PMS server settings to use no SSL by default based on debug results - Enhance database connection error handling with clearer SSL parameter diagnostics - Recommend running debug_ssl.py for troubleshooting SSL connection issuesf559cc3 -
fix(database): improve SSL handling and error messages for MySQL connection
- Simplify SSL options to enable basic SSL without strict verification - Remove temporary certificate file writing in settings.py - Add detailed messages for SSL certificate validation errors in test_db.py - Handle SSL errors gracefully to inform about updated configuration - Ensure fallback SSL configuration is compatible with production and testing environments598ed33 -
fixed db config
4e819c6 -
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 -
chore(docker): update Dockerfile to support MySQL client and improve layer caching
- Added system dependencies for MySQL client to Dockerfile - Reordered COPY commands to leverage Docker layer caching with requirements.txt - Added permission setting for /app directory - Changed CMD to run Django app using Python instead of Uvicorn - Installed PyMySQL and configured it in Django settings to replace mysqlclient - Updated requirements.txt to replace mysqlclient with PyMySQL and add resend package2d2d664 -
implemented Aiven(MySQL) and BackBlaze B2.
implemented mail api using SendGrid5528998
-
resend api implementation
ffedc01 -
resend api implemented
4927596 -
email invite implemented
c34f45e -
email invite implemented
25039bc
-
init
97f32ec