Commit Graph

179 Commits

Author SHA1 Message Date
Nurfog d0a8e13fb6 feat: Añadir soporte para múltiples tipos de preguntas en la generación de plantillas de prueba y actualizar la interfaz correspondiente 2026-04-02 11:24:33 -03:00
Nurfog 1f01a4a36b feat: Actualizar configuraciones de API y mejorar tiempos de espera en nginx 2026-04-01 16:12:03 -03:00
Nurfog c2fc6bc499 Refactor code structure for improved readability and maintainability 2026-04-01 11:03:07 -03:00
Nurfog abc6d59276 Refactor code structure for improved readability and maintainability 2026-03-31 16:26:38 -03:00
Nurfog 4c293a54b4 Refactor code structure for improved readability and maintainability 2026-03-31 14:55:37 -03:00
Nurfog 0bea4173f5 Refactor code structure for improved readability and maintainability 2026-03-31 14:39:04 -03:00
Nurfog 212832fdda feat: Añadir lógica condicional para la URL de la API CMS y mejorar la configuración de Nginx 2026-03-31 12:55:12 -03:00
Nurfog 2d2ea216e0 feat: Añadir configuración de Nginx para el API de LMS y ajustar las rutas en el frontend de OpenCCB 2026-03-31 12:32:55 -03:00
Nurfog d331381efd feat: Mejorar configuración de Nginx para manejar rutas de API y autenticación, y ajustar la lógica de URLs en el cliente 2026-03-31 11:32:16 -03:00
Nurfog 2d54d6abfc feat: Añadir scripts para generar y sincronizar archivos .env, actualizar configuraciones de Docker y mejorar el despliegue en producción 2026-03-31 10:10:44 -03:00
Nurfog f6b6f84427 feat: Añadir configuración de Nginx para API de OpenCCB y corregir URLs de producción 2026-03-30 13:32:51 -03:00
Nurfog 8b74ebafa5 fix: Update permissions and API routing for CMS integration 2026-03-28 08:55:35 -03:00
Nurfog 3ef1a73b95 fix: Update student portal link to use HTTPS
- Change hardcoded URL from http to https in login page footer

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-27 10:47:43 -03: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 995065df4f fix: Use correct token key (studio_token) in admin pages
- Fix localStorage token key from 'token' to 'studio_token'
- Add debug logging for token authentication
- Add automatic redirect to login on 401
- Add error messages for missing/expired tokens

Affected pages:
- /admin/token-usage
- /admin/users
- /admin

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-23 17:32:08 -03:00
Nurfog 8d82685cb4 feat: Token Limits UI - Phase 2 (Dashboard + User Management)
Token Usage Dashboard (/admin/token-usage):
- Add Monthly Limit column with edit functionality
- Add % Used column with progress bars
- Color-coded alerts (green/yellow/orange/red)
- Real-time limit updates via API
- Alert banners for users >80% and >100%

User Management (/admin/users):
- Add Token Limit column
- Show percentage used with progress indicator
- Color-coded badges for usage levels

Admin Dashboard (/admin):
- Add AI Token Usage card
- Display total tokens, requests, and cost
- Link to detailed token usage page

All changes are fully responsive and dark-mode compatible.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-23 16:44:34 -03:00
Nurfog ef213a61a0 fix: Quiz score submission - use correct submitScore method
- QuizPlayer: Fixed method name from submitLessonScore to submitScore
- Lesson page: Fixed method name and parameter order
- submitScore signature: submitScore(userId, courseId, lessonId, score, metadata)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-23 13:29:46 -03:00
Nurfog 5185c07092 fix: Experience lesson blocks rendering from content_blocks field
- Changed from lesson.metadata.blocks to lesson.content_blocks
- Backend stores blocks in content_blocks column, not metadata
- Fixes issue where only first block was showing in lessons with multiple exercises

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-23 13:16:18 -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 0598fc4865 feat: Fix tokens Revenue stream 2026-03-19 14:54:31 -03:00
Nurfog 686eb377f0 feat: activate AI usage 2026-03-19 11:21:59 -03:00
Nurfog 64d3d5be91 feat: implementing embedding AI 2026-03-18 17:15:39 -03:00
Nurfog e8cdf61468 feath: save questions generated with AI 2026-03-17 17:59:55 -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 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 5e3db5f2a2 feat: Add "library" and "settings" translations to English, Spanish, and Portuguese locale files. 2026-03-10 10:11:34 -03:00
Nurfog 2fe6dcea59 feat: Implement default branding synchronization and improve API header handling. 2026-03-09 17:55:10 -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 b9c17ce67b feat: Add Mermaid diagram block with AI generation capabilities to lessons. 2026-03-09 14:45:52 -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 ebd20b5b54 feat: Add AI-powered memory match game generation and remove AI image generation from the lesson editor. 2026-03-09 10:43:59 -03:00
Nurfog 7406de9a1b Remove AI image generation functionality from CMS and expand Docker ignore rules. 2026-03-09 10:06:26 -03:00
Nurfog c034f7223d feat: Unify background task representation and display by introducing generic status, progress, and task type fields across frontend and backend. 2026-03-05 16:58:23 -03:00
Nurfog 935e6b9675 feat: Add generation status to courses, implement cancellation, and enhance AI bridge call with retry logic. 2026-03-04 16:55:31 -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 15f2649777 refactor: update UI components and pages with a refreshed visual design and improved styling. 2026-03-03 12:42:37 -03:00
Nurfog 9123337200 feat: Enhance UI with improved dark mode styling and color palette adjustments across course pages. 2026-03-03 11:11:06 -03:00
Nurfog 1987acd734 feat: Refactor course editor layout to support dynamic page headers and standardize styling with new utility classes, including some localization. 2026-03-02 17:32:48 -03:00
Nurfog 2f76ba2f87 feat: Introduce PageLayout component to standardize page headers and overall structure across various application pages. 2026-03-02 15:35:34 -03:00
Nurfog fe730998a9 Update TypeScript build information. 2026-03-02 14:46:19 -03:00
Nurfog 420003f2d5 feat: Allow super-admins to retrieve courses across organizations and update navigation link styles to text-sm and text-slate-600. 2026-03-02 11:59:38 -03:00
Nurfog 9abe631782 refactor: apply nav-link-standard utility class to standardize navigation link styling across components. 2026-03-02 11:37:31 -03:00
Nurfog 81e1830563 feat: Implement dark mode styling across UI components and update README with roadmap and system requirements. 2026-03-02 11:29:55 -03:00
Nurfog 8c6cba6d2e feat: Implement dark mode styling for profile and login pages across studio and experience applications. 2026-02-27 17:00:37 -03:00
Nurfog e5373919c9 feat: Implement dark mode support by adjusting background and text colors across various pages and components. 2026-02-26 16:57:28 -03:00