Commit graph

11 commits

Author SHA1 Message Date
JakkrapartXD
bb38c0f3c9 feat: Add token-based authorization to category deletion and enhance user registration with error handling and audit logging.
All checks were successful
Build and Deploy Backend / Build Backend Docker Image (push) Successful in 29s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Successful in 4s
Build and Deploy Backend / Notify Deployment Status (push) Successful in 2s
2026-02-12 17:55:45 +07:00
JakkrapartXD
623f797763 feat: add is_recommended to Course and allow_multiple_attempts to Quiz
- Add is_recommended field to Course model (default: false)
- Add allow_multiple_attempts field to Quiz model (default: true)
- Create migration: add_recommended_and_quiz_attempts
2026-02-11 15:01:58 +07:00
JakkrapartXD
7465af1cb9 feat: add audit log system with comprehensive action tracking and user activity monitoring
Introduce AuditLog model to track system-wide user actions including authentication, course management, file operations, and user account changes. Add AuditAction enum with 17 action types (CREATE, UPDATE, DELETE, LOGIN, LOGOUT, ENROLL, UNENROLL, SUBMIT_QUIZ, APPROVE_COURSE, REJECT_COURSE, UPLOAD_FILE, DELETE_FILE, CHANGE_PASSWORD, RESET_PASSWORD, VERIFY_EMAIL, DEACTIVATE_USER, ACTIVATE_USER). Include fields
2026-02-05 15:07:07 +07:00
JakkrapartXD
18b8f4501f feat: add is_skippable field to Quiz model with default value true
Add is_skippable boolean field to Quiz schema, update quiz creation and update logic to handle the new field, and include it in student course content responses. Update seed data and type definitions accordingly.
2026-02-02 11:17:20 +07:00
JakkrapartXD
16322454b1 feat: change default is_published value to true for chapters and lessons 2026-01-30 17:16:21 +07:00
JakkrapartXD
000de75dd1 feat: Implement instructor-specific course management and refactor course creation into dedicated modules. 2026-01-16 11:12:12 +07:00
JakkrapartXD
bb80b8a419 add is_deactivated 2026-01-15 10:17:15 +07:00
JakkrapartXD
3ab76e7a43 remove phone from user 2026-01-14 17:51:21 +07:00
JakkrapartXD
646a10f45c update phone schema 2026-01-09 10:59:26 +00:00
JakkrapartXD
9fde77468a migration to typescript 2026-01-09 06:28:15 +00:00
JakkrapartXD
924000b084 init Backend 2026-01-08 06:51:33 +00:00