Commit Graph

29 Commits

Author SHA1 Message Date
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 516a903497 Refactor audio handling and S3 integration in LMS service
- Removed company-specific template rules from template application logic.
- Enhanced question generation queries to support both 'imported-mysql' and 'imported-material' sources.
- Introduced S3 audio storage functionality, including client setup and audio key generation.
- Updated audio response evaluation to store audio files in S3 or fallback to DB.
- Added new API routes for asset ingestion and ZIP import in CMS service.
- Implemented role-based access control for audio responses in LMS service.
- Created a smoke test script for validating audio roles and permissions.
- Updated frontend to support course selection in audio evaluations.
2026-04-06 09:11:56 -04: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 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 0598fc4865 feat: Fix tokens Revenue stream 2026-03-19 14:54:31 -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 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 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 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 fe730998a9 Update TypeScript build information. 2026-03-02 14:46:19 -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 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
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 470c7f0172 feat: Implement AI tutor functionality, add branding fields, and improve API URL handling. 2026-01-23 14:48:41 -03:00
Nurfog 60e2af72f0 feat: ad interface to upload logo and favicon 2026-01-23 11:43:17 -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 2cfd1f204b feat: Implement admin background task management and configurable media block transcript visibility. 2026-01-16 17:02:00 -03:00
Nurfog 42976236b3 feat: Implement video play count tracking, refactor user update API, add missing CMS delete functions, and update database transaction handling. 2026-01-16 13:43:58 -03:00
Nurfog 942780db1c feat: implement structured grading system with predefined assessment types
- Add structured grading policy with predefined types (Continuous Assessment, Midterm, Final Test, Exam)
- Replace free-text category input with combobox selection in Grading Policy page
- Update Lesson Editor to use dropdown selector for grading category assignment
- Fix create_grading_category handler to capture organization context
- Fix update_course handler to set audit context in database transaction
- Implement getImageUrl helper for proper asset path resolution
- Add unoptimized prop to organization logo images to bypass Next.js optimization
- Add database migrations for organization_id in content tables
- Seed default tutorial courses for Admin, Instructor, and Student roles
- Fix audit log constraints and content schema issues
2026-01-12 00:52:26 -03:00
Nurfog ad56d8a81c feat: introduce CourseEditorLayout and AppHeader, add organization domain migration, and update Docker configurations and auth scripts 2025-12-29 18:00:34 -03:00
Nurfog 3a02ecb757 refactor: Clean up unused imports, improve type safety, and fix UI text and navigation links. 2025-12-29 01:33:53 -03:00
Nurfog 158aa5b315 feat: Implement organization branding, course pacing, and display upcoming deadlines in the experience portal. 2025-12-29 01:30:48 -03:00
Nurfog 2005545633 feat: Add admin UI for organizations and users management
- Add Organizations page with create/edit functionality
- Add Users page with role and organization assignment
- Add modular Navbar component with role-based visibility
- Implement admin-only access controls
- Support multi-tenancy UI workflows
2025-12-28 21:49:09 -03:00
Nurfog e98a16d860 feat: Implement AI-driven lesson summaries, automate quiz generation, add gamification base, and introduce Studio organization management. 2025-12-26 14:58:58 -03:00
Nurfog f695ed7213 feat: implement audit logging and add certificate template field to courses 2025-12-23 11:04:36 -03:00