Commit Graph

9 Commits

Author SHA1 Message Date
yangy 1564c8766d Update environment variable loading to allow overrides
- Modified load_dotenv() calls in multiple files to include override=True, ensuring that .env variables can replace existing environment variables.
- Updated ota_storage.py to use default values for OTA upload directories, improving clarity and maintainability.
- Enhanced get_ota_upload_dir() function to read environment variables dynamically, ensuring accurate directory paths based on the current environment.
2026-05-18 09:56:58 +08:00
yangy 1a6c96da8c Add OTA package upload functionality and UI enhancements
- Introduced a new endpoint for uploading OTA packages in backend/routes/ota.py.
- Implemented file handling and MD5 checksum calculation for OTA packages.
- Updated frontend API to support OTA package uploads with a new uploadOtaPackage function.
- Enhanced the OTA management UI to include file upload options and improved layout.
- Updated requirements.txt to include boto3 for S3 interactions.
- Made various UI adjustments for better user experience and consistency.
2026-05-15 17:34:54 +08:00
yangy 661b85ce62 Enhance backend functionality and frontend UI
- Updated main.py to include authentication for brand, model, and OTA routers.
- Added new OTA schemas in schemas.py for version management.
- Enhanced model retrieval with sorting options in models.py.
- Improved model update functionality to support multipart/form-data uploads.
- Updated frontend layout and styles for a more modern look, including new font integration.
- Implemented login route and authentication checks in router/index.js.
- Added sorting capabilities in model table and improved file handling in model view.
- Updated requirements.txt to include PyJWT for token management.
2026-05-14 17:54:36 +08:00
yangy b1d088a755 Update health check endpoint documentation 2026-03-26 14:00:47 +08:00
yangy 32e47ce621 Merge branch 'main' of 8.163.11.238:audio/dashboard 2026-03-20 11:02:45 +08:00
杨奕锋 5dde4066e3 Initial commit 2026-03-20 10:52:11 +08:00
yangy abd44fe467 Refactor Docker setup and remove unused files
- Updated docker-compose.yml to rename backend and frontend container names for clarity.
- Added volume mappings for frontend and backend services to persist data.
- Removed obsolete files related to frequency response extraction, including Python scripts and output data files.
- Adjusted backend port configuration in main.py to align with new service architecture.
- Enhanced logging for file upload paths in models.py for better traceability.
2026-03-20 09:31:24 +08:00
yangy 90aec37461 Add initial files for Audio Dashboard Management System
- Created .env.example for environment variable configuration.
- Added docker-compose.yml for service orchestration.
- Implemented frequency response extraction in extract_frequency_response.py and convert_to_frequency_db.py.
- Generated output files: frequency_response_detailed.json, frequency_response_points.json, frequency_response.csv, and frequency_response_curve.png.
- Included sample measurement data for FiiO FA19 in CSV format.
2026-03-17 14:20:08 +08:00
yangy 75b1d16453 Initial commit: Audio Dashboard Management System
Made-with: Cursor
2026-03-04 18:17:34 +08:00