feat: enhance asset import functionality and unit tracking
- Added WHISPER_URL environment variable to docker-compose for audio transcription service. - Updated Nginx configuration to increase timeout settings for API requests. - Enhanced asset ingestion process to extract unit numbers from ZIP entry paths, supporting various naming conventions. - Implemented logic to split intensive courses into two regular courses during asset import. - Added new fields to the Asset and QuestionBank models to track unit numbers and source asset links. - Introduced backward-compatible fallbacks for fetching study plans and courses from legacy MySQL database. - Improved error handling and progress tracking during ZIP file uploads in the frontend. - Created a new SQL migration to add unit_number and source_asset_id columns to the assets and question_bank tables, along with necessary indexes for performance.
This commit is contained in:
@@ -88,6 +88,7 @@ services:
|
||||
- DATABASE_URL=${CMS_DATABASE_URL}
|
||||
- MYSQL_DATABASE_URL=${MYSQL_DATABASE_URL}
|
||||
- SAM_DIAGNOSTICO_DATABASE_URL=${SAM_DIAGNOSTICO_DATABASE_URL}
|
||||
- WHISPER_URL=${PROD_WHISPER_URL:-https://whisper.t-800.norteamericano.cl}
|
||||
- LMS_INTERNAL_URL=http://experience:3002
|
||||
- NEXT_PUBLIC_LMS_API_URL=${NEXT_PUBLIC_LMS_API_URL}
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user