Commit Graph

61 Commits

Author SHA1 Message Date
Nurfog 024bd6e46d 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.
2026-04-07 13:38:22 -04:00
Nurfog 7f9b9d69ae feat: Implement SAM structure mirroring in PostgreSQL for study plans and courses
- Added functionality to save study plans and courses in SAM format to PostgreSQL.
- Updated SQL queries to reflect SAM-native column names and handle conflicts appropriately.
- Introduced new fields in the Asset model for English level and SAM identifiers.
- Enhanced the TestTemplateForm component to manage linked assets and shared materials.
- Created a new AdminSharedMaterialsPage for uploading ZIP files of shared materials.
- Added migrations to create SAM mirror tables and update the assets table with new columns.
2026-04-06 17:04:36 -04:00
Nurfog e4866c6dee feat: SAM integration, deployment scripts, and audio response enhancements
- Add SAM (Sistema de Administración Académica) integration with sync endpoints
- Add deployment automation (deploy.sh, remote-setup.sh, setup-nginx-ssl.sh)
- Add nginx proxy configuration for SSL with Let's Encrypt
- Add audio response support for student lessons (migrations, handlers)
- Add audio evaluations admin page
- Update CORS to support wildcard subdomains for norteamericano.cl
- Add comprehensive deployment documentation (DESPLIEGUE.md, ManualDeConfiguracion.md)
- Update docker-compose.yml with nginx-proxy and acme-companion services
- Remove outdated documentation files

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-27 09:20:23 -03:00
Nurfog 585e436538 feat: Token limits - Phase 1 (Database + API)
- Add token_limits module with check_ai_token_limit function
- Database: monthly_token_limit, token_limit_reset_day columns
- SQL functions: check_token_limit, get_user_usage_stats
- API endpoints for admin user token management
- Documentation: TOKEN_LIMITS_GUIDE.md

Phase 2 will add automatic enforcement in AI handlers

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-23 16:22:28 -03:00
Nurfog 2ff06ee7ae feat: i18n full support, responsive UI, multi-model AI config, and bug fixes
Major Features:
- Internationalization (i18n) with auto-detection for ES/EN/PT
- Mobile-first responsive design for Studio and Experience
- Multi-model AI configuration (llama3.2:3b, qwen3.5:9b, gpt-oss:latest)
- Course language configuration (auto-detect or fixed per course)

Backend Changes:
- shared/common: ModelType enum for intelligent model selection
- LMS: log_ai_usage function migration (fix chat tutor 500 error)
- LMS/CMS: course language config fields (language_setting, fixed_language)
- LMS: /courses/{id}/language-config endpoint for language detection

Frontend Changes:
- Experience: Enhanced i18n with browser language detection
- Experience: Audio recording with HTTPS check and error handling
- Studio: Memory game with unique pair IDs and debug logging
- Studio: Expanded translations (250+ keys for ES, EN, PT)
- Both: Language selector in headers (mobile responsive)

Documentation:
- AI_MODELS_CONFIG.md: Multi-model configuration guide
- RESPONSIVIDAD_GUIA.md: Mobile-first design patterns
- I18N_RESPONSIVIDAD_IMPLEMENTACION.md: Implementation details
- DEBUG_AUDIO_RECORDING.md: Audio troubleshooting guide
- DEBUG_MEMORY_GAME.md: Memory game debugging steps

Bug Fixes:
- Fix chat tutor 500 error (missing log_ai_usage function)
- Fix audio recording (HTTPS check, browser compatibility)
- Fix memory game pair IDs (unique ID generation)
- Fix HotspotBlock TypeScript errors

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-23 12:24:22 -03:00
Nurfog 64d3d5be91 feat: implementing embedding AI 2026-03-18 17:15:39 -03:00
Nurfog 55f9a3196e feat: fix AI for generation questions with RAG 2026-03-17 17:44:42 -03:00
Nurfog 31939e31ad feat: fix frontend and activate imports 2026-03-17 13:53:12 -03:00
Nurfog be699ad6ab feat: token count implement 2026-03-17 12:07:56 -03:00
Nurfog 41279585f6 feat: creacion de plantillas para pruebas, prototipo 2026-03-16 12:28:29 -03:00
Nurfog 7409f8bfda feat: fix models.rs 2026-03-16 09:58:00 -03:00
Nurfog 3bfff51a69 asdf 2026-03-13 12:07:14 -03:00
Nurfog f9f1238310 feat: Implement health checks, rate limiting, and security headers for services, update Node.js versions, and add Prettier configuration for frontend. 2026-03-12 17:09:05 -03:00
Nurfog bde5be22e7 feat: Introduce AI code hinting, enforce single-tenant organization model, and add a Code Lab block component. 2026-03-09 17:24:15 -03:00
Nurfog bc5b240984 feat: Implement AI-generated Role Playing and Hotspot interactive content blocks with UI and service integration. 2026-03-09 13:46:47 -03:00
Nurfog c292efdc28 refactor: remove obsolete AI image and video generation traces from courses and lessons. 2026-03-09 10:52:57 -03:00
Nurfog 8542655049 refactor: Remove obsolete AI image generation traces and related fields from courses and lessons. 2026-03-09 10:52:03 -03:00
Nurfog bf3f06d831 feat: Update lesson query to filter by course through modules and implement Default for the Lesson struct. 2026-03-06 13:05:41 -03:00
Nurfog 997af5d473 feat: introduce global AI task dashboard, enhance user profiles with new fields, and update database models with default implementations. 2026-03-06 12:37:39 -03:00
Nurfog 01c54429a0 feat: Introduce course marketing features with dedicated metadata, image generation, and UI in both studio and experience apps. 2026-03-04 15:41:34 -03:00
Nurfog 4458decd22 actualizaciones 2026-03-03 17:44:24 -03:00
Nurfog bbef932776 feat: Implement external MySQL integration for LMS enrollments and grade synchronization, including external_id and tipo_nota support. 2026-02-27 09:20:35 -03:00
Nurfog 947abcb0bc feat: Implement organization-based SSO login with an AsyncCombobox and add logo variant branding options. 2026-02-26 11:50:34 -03:00
Nurfog 44b2160590 feat: Implement peer review management, student, and session pages for courses. 2026-02-25 14:06:28 -03:00
Nurfog c76125c96a feat: enhance LMS retention data with completion rates, improve LTI key handling, and refine dev setup scripts 2026-02-24 12:43:58 -03:00
Nurfog 04dbe05704 feat: Implement LTI deep linking, live sessions, predictive analytics, and portfolios with associated UI and database migrations. 2026-02-24 09:37:16 -03:00
Nurfog 7f7ea3d70c feat: Add LTI launch, lesson preview, course progress, bookmarks, and asset management features. 2026-02-23 15:43:45 -03:00
Nurfog f365e585a2 feat: Implement course team management with dedicated UI and API, add course preview token generation, and refactor course settings UI. 2026-02-18 00:01:47 -03:00
Nurfog 89b1d1353d feat: Implement full-stack course announcements management with cohort segmentation. 2026-02-17 23:11:25 -03:00
Nurfog f9e78a265a feat: Implement advanced grading (rubrics) and lesson dependencies across CMS service, API, and Studio UI. 2026-02-17 22:43:19 -03:00
Nurfog 84bbeb12c6 feat: introduce content library management for reusable content blocks with dedicated API endpoints and database schema. 2026-02-16 20:45:48 -03:00
Nurfog 1d7e5a39ce feat: Add comprehensive peer assessment functionality including new data models, API endpoints, database migrations, and dedicated UI components for Studio and Experience applications. 2026-02-16 20:22:02 -03:00
Nurfog cb13b14ee0 feat: Implement course gradebook with cohort filtering, CSV export, and extend analytics with cohort selection. 2026-02-16 04:44:31 -03:00
Nurfog 172b4fa2d5 feat: Implement full-stack cohort management with dedicated API, database schema, and admin UI, alongside updates to the database reset script and documentation. 2026-02-16 04:03:19 -03:00
Nurfog 3ae1ae6fd6 feat: Implement student notes functionality for lessons, including API endpoints, database schema, and frontend UI. 2026-02-16 02:13:50 -03:00
Nurfog 6927ac2d23 feat: Enhance JWT authentication error logging, gate notification fetching by user status, and enable Rust debug logging in Docker Compose. 2026-02-15 15:10:42 -03:00
Nurfog 34e72ae985 feat: Implement core monetization features including course pricing, payment preference creation, and transaction management with Mercado Pago integration. 2026-02-15 13:40:48 -03:00
Nurfog 23d761bada feat: mensajes 2026-01-27 11:13:08 -03:00
Nurfog 26f4283d0e feat: add comprehensive discussion forums with threads, nested replies, voting, and moderation, alongside updates to authentication flows. 2026-01-26 17:51:49 -03:00
Nurfog 3ae67b23c9 feat: add favicon, logo and Update the platform name (only available to the superuser) and company names 2026-01-23 09:32:36 -03:00
Nurfog 57594ce628 feat: Implement and display AI-powered course recommendations with a new API endpoint and frontend UI. 2026-01-18 15:24:56 -03:00
Nurfog 02909ea85a feat: Implement course-level asset management and interactive media markers. 2026-01-17 13:55:04 -03:00
Nurfog 05faa20993 feat: Add i18n support, new content block types, course export, and lesson interaction tracking. 2026-01-17 02:19:39 -03:00
Nurfog b166387a48 feat: Implement user profile management, add multi-language interactive transcripts, and lay groundwork for SSO. 2026-01-17 00:26:42 -03:00
Nurfog 2dffbd8b71 feat: Implement multi-tenancy with default organization, global courses, user profiles, and new UI components like OrganizationSelector and Combobox. 2026-01-16 12:15:15 -03:00
Nurfog 663950aa0e feat: Introduce multi-tenancy support with organization-specific data, add interactive transcript functionality, and enhance lesson/course schemas. 2026-01-15 18:02:04 -03:00
Nurfog daeda7e905 feat: Implement multi-tenancy with organization ID in LMS tables and middleware, refactor web API calls, and update analytics and gamification features." 2026-01-15 11:40:38 -03:00
Nurfog b1eb23926e feat: database-first refactor, unified architecture and visual developer manual
Summary of changes:
- Consolidated Studio+CMS and Experience+LMS into unified services.
- Moved core business logic (enrollment, grading, auth) to PostgreSQL functions.
- Implemented advanced auditing via DB triggers and session context.
- Added gamification (XP/Levels/Leaderboards) and logic encapsulation.
- Updated installation/diagnostic scripts for the new architecture.
- Created a comprehensive Visual Developer Manual in README.md with hardware scaling.
2026-01-11 02:34:23 -03:00
Nurfog a19da8de76 feat: add gamification features for users, including XP and leveling, with corresponding database schema and API response updates. 2026-01-04 21:40:21 -03:00
Nurfog 6326cad39d feat: enhance install script with hardware detection, refactor studio UI, and enable GPU support for whisper service 2025-12-29 23:49:21 -03:00