Commit Graph

243 Commits

Author SHA1 Message Date
Nurfog 77eceee2f3 feat: add progress tracking for course completion metrics
- Introduced a new module for progress tracking in the LMS service.
- Implemented `calculate_course_completion` function to compute total lessons, completed lessons, and progress percentage for a user in a specific course.
- Updated the main.rs file to include the new progress tracking module.
- Enhanced the Excel import functionality in the Question Bank to support various question types and improved error handling.
- Added a new dependency on the `xlsx` library for handling Excel files in the frontend.
- Modified the course settings page to include a branded certificate template with additional organization details.
- Updated the package.json and package-lock.json files to include the new `xlsx` dependency.
- Changed the default state for ingestRag in the Admin Shared Materials page to true.
2026-04-22 10:08:27 -04:00
Nurfog 1c67d0dac2 feat: agregar historial de importación de ZIP y metadatos a los activos 2026-04-21 11:43:09 -04:00
Nurfog 254900746d feat: agregar configuración para almacenamiento remoto de ZIP en modo DEV y mejorar la gestión de límites de tamaño de archivos en la importación de ZIP 2026-04-17 17:05:46 -04:00
Nurfog a3467d22d3 feat: Implement ZIP RAG import functionality with background processing
- Added support for ZIP RAG import in the asset management system.
- Introduced a new background task type for ZIP RAG imports.
- Enhanced the asset import process to allow for optional development processing.
- Updated the UI to reflect the new RAG processing status and options.
- Created database migration for background tasks related to ZIP RAG imports.
- Refactored asset handling to support FLV normalization and improved error handling.
- Added new API endpoints and updated existing ones to accommodate changes.
2026-04-17 12:51:50 -04:00
Nurfog ccea101a5e prueba 2026-04-16 17:59:47 -04:00
Nurfog 8c16584114 feat: agregar archivo de configuración .env.dev.example y actualizar .gitignore para incluirlo 2026-04-16 15:47:59 -04:00
Nurfog ee4be6bb31 feat: eliminar archivo de configuración .env.dev para simplificar el entorno de desarrollo 2026-04-16 15:47:40 -04:00
Nurfog 65f62281bb feat: mejorar la gestión de niveles de inglés en la selección de cursos 2026-04-16 15:37:32 -04:00
Nurfog 59a4ca5d52 feat: agregar gestión de URL de API CMS para comunicación entre LMS y CMS 2026-04-16 14:53:35 -04:00
Nurfog 387d473a7c feat: update environment configuration for local development and enhance deployment scripts 2026-04-16 10:11:19 -04:00
Nurfog 6aa0b235c3 Remove unused SQL queries and update email template handling
- Deleted multiple unused SQL query files from the cms-service.
- Refactored email template handling in the cms-service to improve clarity and maintainability.
- Updated environment variable loading in both cms-service and lms-service to use dotenvy for better configuration management.
- Added a new .env.dev file for local development with database and SMTP configurations.
- Set default value for `certificates_enabled` in the shared common models.
2026-04-15 14:26:44 -04:00
Nurfog d550babd8a refactor: reorganize documentation by migrating manual files to docx format and adding automation scripts 2026-04-15 11:47:25 -04:00
Nurfog 6f8b723d64 feat: add organization email templates management
- Created a new SQL migration to establish the organization_email_templates table with necessary fields and default templates for common events.
- Implemented CRUD operations for email templates in Rust, including listing, creating, updating, and deleting templates.
- Developed a React component for managing email templates, allowing users to create, edit, and delete templates with a user-friendly interface.
2026-04-15 10:26:44 -04:00
Nurfog e1d5975e57 feat: add email settings management
- Introduced EmailSettings component for managing SMTP services.
- Added API endpoints for organization email services including CRUD operations.
- Created database migrations for organization_email_settings and organization_email_services tables.
- Updated the settings page to include EmailSettings component.
- Implemented validation and error handling for email service operations.
2026-04-15 09:33:50 -04:00
Nurfog 44facf7f4a Refactor code structure for improved readability and maintainability 2026-04-14 16:20:02 -04:00
Nurfog caa578a280 refactor: migrate sqlx macro queries to query_as and standard query methods for improved type flexibility in certificate handlers 2026-04-14 14:09:37 -04:00
Nurfog c21942983a feat: add organization-level certificate toggle and update tower-governor imports 2026-04-14 13:58:58 -04:00
Nurfog 169a0a18a2 feat: fixing certificate and block 2026-04-14 13:07:45 -04:00
Nurfog e0e6655b91 feat: implement course certificate generation system with organization-level toggles 2026-04-14 11:30:00 -04:00
Nurfog c750ad0423 feat: add organization exercise settings management
- Created a new SQL migration to define the organization_exercise_settings table with relevant fields and an index.
- Implemented handlers for loading and updating organization exercise settings in Rust, including default values and upsert functionality.
- Developed a React component for managing exercise feature settings, allowing toggling of features and saving updates to the backend.
2026-04-13 16:55:09 -04:00
Nurfog 7f3e1ce9b1 feat(faq): implement FAQ moderation workflow with import, review, and publish functionalities 2026-04-10 15:46:04 -04:00
Nurfog 0c039ebfbc refactor: Remove unused variables and add dead code allowances for better clarity 2026-04-10 10:50:14 -04:00
Nurfog 53e5ef4d0b feat: Translate various strings and comments to Spanish for better localization
- Updated error messages and comments in main.rs, openapi.rs, portfolio.rs, predictive.rs, ai.rs, health.rs, middleware.rs, models.rs, token_limits.rs, and webhooks.rs to Spanish.
- Enhanced user experience by providing localized content for Spanish-speaking users.
2026-04-10 10:26:26 -04:00
Nurfog 7c48b3b1a9 fix(recommendations): adjust AI request timeouts to prevent proxy errors 2026-04-09 18:00:25 -04:00
Nurfog f74f94d005 feat(question-bank): extend source options to include 'rag-ai' for AI-generated questions 2026-04-09 17:20:43 -04:00
Nurfog f2f9cef0e7 Refactor code structure for improved readability and maintainability 2026-04-09 16:27:31 -04:00
Nurfog 5e80949269 fix(auth-ui): hide private navigation links until user logs in 2026-04-09 13:00:33 -04:00
Nurfog f2cae88a3b fix(learning): persist AI feedback, improve rubric typing UX, and prevent lesson action overlap 2026-04-09 12:02:53 -04:00
Nurfog 9929ff38fb feat(config): disable code-lab options and hide transcripts for graded audio responses 2026-04-09 11:46:12 -04:00
Nurfog c7018e3daf chore(ui): remove branding debug logs from frontend contexts 2026-04-09 10:54:58 -04:00
Nurfog 1ed5f4a511 fix(feedback): improve light-mode contrast and add resilient AI feedback fallback 2026-04-09 10:43:08 -04:00
Nurfog bdac55bbc7 fix(learning): prioritize lesson content on small screens 2026-04-09 10:29:32 -04:00
Nurfog 3fcb5696a1 fix(ui): move mobile overlays outside backdrop-filter elements to fix stacking context 2026-04-09 10:19:21 -04:00
Nurfog 96c68e189b chore: stop tracking .env.production (already in .gitignore) 2026-04-09 10:09:57 -04:00
Nurfog ac3434454b fix(ui): mobile nav menus, light-mode contrast for Combobox, AppHeader and globals
- Studio Navbar: add hamburger button + slide-out sidebar for mobile
- Studio Combobox: replace dark-hardcoded colors with light/dark variants
- Experience AppHeader: fix low-contrast borders/text/icons in light mode;
  mobile sidebar now uses bg-white/bg-gray-900 instead of glass-only
- Experience globals.css: glass-card hover visible in light mode;
  scrollbar thumb visible in light mode (rgba black instead of white)
2026-04-09 09:54:38 -04:00
Nurfog 64a9fd6ca2 feat(badges): add GitHub and LinkedIn badge SVGs 2026-04-09 09:36:28 -04:00
Nurfog 2aa927ab16 fix(lms-profile): avoid 500 on public profile endpoint 2026-04-09 09:36:28 -04:00
Nurfog c07ca05572 feat(users): add delete user functionality and confirmation modal
feat(assets): implement S3 proxy for private asset access
2026-04-09 09:36:28 -04:00
Nurfog 6ba9a5a024 Add production environment configuration file with database and service URLs 2026-04-09 09:36:28 -04:00
Nurfog 6f340f14df Fix AI question parsing and expose token admin 2026-04-08 14:50:42 -04:00
Nurfog 95d5dc9e3e feat(question-bank): refactor SQL queries to use a constant for selected columns 2026-04-08 09:37:02 -04:00
Nurfog 82ac2f09fc Add docker-compose.local.yml for local development setup
- Introduced a new docker-compose.local.yml file to facilitate local development.
- Disabled nginx-proxy and acme-companion services for local use.
- Exposed database and application ports directly to the host for easier access.
- Configured PostgreSQL to be accessible on localhost:5433.
- Mapped application ports for studio and experience services.
2026-04-07 17:36:19 -04:00
Nurfog 66bfb34d34 feat(deploy): export domain variables for docker-compose and improve database initialization logic 2026-04-07 14:40:58 -04:00
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 eea456cd95 ux(course-templates): aclarar flujo pruebas -> plantilla de curso -> curso 2026-04-06 15:50:37 -04:00
Nurfog 1c67a0c2a9 Refactor code structure for improved readability and maintainability 2026-04-06 15:35:36 -04:00
Nurfog 92b4e4a3ac feat(cms/studio): agregar plantillas de curso reutilizables
- backend: CRUD básico de course templates y endpoint para crear curso desde plantilla
- migration: tabla course_templates con datos JSON del curso base
- frontend: nueva pantalla /course-templates para guardar y aplicar plantillas
- navegación: acceso desde menú Cursos
2026-04-06 15:34:57 -04:00
Nurfog 5226da644c fix(deploy): resolver 502 CMS remoto y estandarizar buildx/s3
- corrige host remoto de deploy y automatiza buildx en servidor
- agrega configuracion S3 (bucket openccb-802726101181-us-east-2-an)
- actualiza Dockerfile de studio a rust:1-bookworm para evitar error GLIBC
- activa cache mounts de buildkit para cargo/npm en studio
2026-04-06 15:08:36 -04:00
Nurfog adb1cbc323 feat: Agregar soporte para Docker Buildx en el script de despliegue 2026-04-06 13:17:39 -04:00