Commit graph

290 commits

Author SHA1 Message Date
supalerk-ar66
f689894de5 feat: Add Docker Compose configuration for local development environment. 2026-02-05 14:10:33 +07:00
Missez
3c351b2f56 feat: Add Docker Compose configuration for the frontend management service. 2026-02-05 14:05:46 +07:00
Missez
b24988d8bc feat: Add a multi-stage Dockerfile for building and running the frontend application. 2026-02-05 14:00:57 +07:00
JakkrapartXD
7fcebadb7c Update Docker Compose configuration for the frontend learner application. 2026-02-05 06:52:21 +00:00
supalerk-ar66
04470cd926 feat: introduce Docker Compose setup and example environment variables for frontend configuration. 2026-02-05 13:50:25 +07:00
Missez
dfcabe306c feat: initialize Nuxt.js frontend application with Docker setup, global styling, and authentication pages. 2026-02-05 13:43:16 +07:00
supalerk-ar66
cf37d7371c เผลอทำการแก้ไขไฟล์ตอนนี้แก้กลับแล้ว 2026-02-05 11:06:31 +07:00
supalerk-ar66
ca65dbff4c feat: Add initial Docker setup and development environment documentation. 2026-02-05 11:01:17 +07:00
supalerk-ar66
42b7399868 feat: implement e-learning classroom page with video player, lesson navigation, progress tracking, and announcements. 2026-02-05 09:56:16 +07:00
Missez
be5b9756be feat: Implement instructor course management, including student progress tracking and course content views, alongside admin user management. 2026-02-05 09:31:28 +07:00
supalerk-ar66
c9381b9385 feat: Add message and conversation validation to the message feedback endpoint. 2026-02-04 17:05:19 +07:00
supalerk-ar66
a201c4285b feat: Initialize e-learning frontend with course browsing, landing, and authentication pages, along with core layouts and composables. 2026-02-04 16:57:31 +07:00
JakkrapartXD
a0b93978a7 feat: add presigned URL generation for user avatar URLs in user management service
Convert formatUserResponse to async method to support presigned URL generation for avatar_url field. Add getAvatarPresignedUrl helper method to generate 1-hour expiry presigned URLs for user avatars. Update listUsers and getUserById to await formatUserResponse calls.
2026-02-04 16:54:44 +07:00
JakkrapartXD
2728af9efe feat: increase video auto-completion threshold from 90% to 99% progress 2026-02-04 16:48:05 +07:00
supalerk-ar66
6b1abf630f feat: add AnnouncementModal component to display course announcements 2026-02-04 16:27:27 +07:00
supalerk-ar66
754f211a08 feat: Implement core course management, enrollment, and classroom learning functionalities with new composables and components. 2026-02-04 16:22:48 +07:00
JakkrapartXD
05755992a7 feat: add published_at field support to announcements with scheduled publishing and student visibility filtering
Add published_at field to announcement creation and updates, allowing instructors to schedule announcement publishing. Update student announcement filtering to only show PUBLISHED announcements where published_at <= now. Modify announcement creation to set published_at to provided value or current time for PUBLISHED status. Update announcement updates to handle published_at changes while
2026-02-04 16:15:38 +07:00
supalerk-ar66
67f10c4287 feat: Implement quiz runner functionality with dedicated pages, composable logic, and i18n support. 2026-02-04 14:22:38 +07:00
JakkrapartXD
7e8c8e2532 feat: fix quiz scoring to use Choice model correctness, add YouTube video support to lesson content, and include show_answers_after_completion in quiz data
Update quiz attempt detail scoring to determine correctness from Choice.is_correct instead of StudentAnswer.is_correct and calculate earned score based on correctness. Add YouTube video support to getLessonContent endpoint by checking LessonAttachment for YouTube videos (mime_type 'video/youtube') and building YouTube URLs from video IDs. Ad
2026-02-04 14:19:17 +07:00
supalerk-ar66
827b016114 feat: add curriculum sidebar component for course navigation and announcements 2026-02-04 11:56:20 +07:00
JakkrapartXD
ff841c7638 feat: add search and filter capabilities to student and quiz endpoints, implement YouTube video support for lessons
Add search and status filter parameters to getEnrolledStudents endpoint to filter students by name/email/username and enrollment status. Add search and isPassed filter parameters to getQuizScores endpoint to filter quiz results by student details and pass status. Remove separate searchStudents endpoint as its functionality is now integrated into getEnrolledStudents. Add setYouTubeVideo endpoint to
2026-02-03 17:23:47 +07:00
Missez
e8a10e5024 feat: student page and create email verification page. 2026-02-03 17:13:30 +07:00
JakkrapartXD
52d86400b3 feat: add prerequisite_lesson_ids field to UpdateLessonBody interface
Add prerequisite_lesson_ids optional field to UpdateLessonBody interface to support lesson prerequisite management during lesson updates.
2026-02-03 14:52:35 +07:00
JakkrapartXD
7749a39be7 feat: add enrolled student detail endpoint and reorder student endpoints
Add getEnrolledStudentDetail endpoint to retrieve individual student's lesson progress across all course chapters. Move searchStudents endpoint before getEnrolledStudentDetail to prevent route conflicts. Remove correct_choice_id and correct_choice_text from quiz attempt detail answers review. Fix selected_choice_id mapping to use choice_id from student answers.
2026-02-03 14:42:45 +07:00
supalerk-ar66
12e71c48b4 feat: add dashboard page displaying a welcome message and dynamically loaded recommended courses. 2026-02-03 14:17:42 +07:00
JakkrapartXD
c07d847955 feat: add sort_order field to quiz attempt detail answers review
Add sort_order field to answers_review in QuizAttemptDetailData interface and include it in getQuizAttemptDetail response to maintain question ordering in quiz attempt reviews.
2026-02-03 11:59:18 +07:00
Missez
278bc17fa0 feat: del mock , crud add instructor , VerifyEmail 2026-02-03 11:55:31 +07:00
supalerk-ar66
b2365a4c6a feat: implement user authentication, profile management, and email verification with i18n support 2026-02-03 11:01:39 +07:00
JakkrapartXD
06db182c46 feat: add email_verified_at field to auth controller mock responses and user management service
Add email_verified_at field to mock user responses in login, registerInstructor, and registerStudent endpoints. Include email_verified_at in UserManagementService user response mapping to ensure consistency across all user-related endpoints.
2026-02-03 10:41:06 +07:00
JakkrapartXD
48e8f56e22 feat: update instructor search to exclude self and existing course instructors, add email_verified_at to user responses
Update searchInstructors endpoint to accept courseId parameter and filter out the requesting instructor and instructors already assigned to the course. Add email_verified_at field to UserResponse type and include it in auth and user service responses.
2026-02-03 10:38:59 +07:00
JakkrapartXD
80d7372dfa feat: add instructor endpoints for student progress tracking and quiz score management
Add four new instructor endpoints: getEnrolledStudents to view all enrolled students with progress, getQuizScores to view quiz scores for all students in a lesson, getQuizAttemptDetail to view detailed quiz attempt for a specific student, and searchStudents to search enrolled students by name/email/username. Add getQuizAttempts endpoint for students to retrieve their own quiz attempt history. All endpoints include
2026-02-02 18:02:19 +07:00
supalerk-ar66
a648c41b72 feat: Implement core e-learning features including video playback, user profile management, and course discovery. 2026-02-02 17:13:58 +07:00
supalerk-ar66
2cd1d481aa feat: add learning classroom interface with video playback and a new dashboard index page. 2026-02-02 16:42:30 +07:00
supalerk-ar66
0ec99b140a feat: add user dashboard, profile management, and password reset pages. 2026-02-02 16:33:57 +07:00
JakkrapartXD
ec67c7c6b6 feat: normalize chapter sort_order to prevent gaps and duplicates in course chapters
Add normalizeChapterSortOrder method to ensure sequential 1-based sort_order values. Update reorderChapter to normalize before reordering and validate new position against chapter count. Call normalization after chapter deletion to fill gaps in remaining chapters.
2026-02-02 16:27:27 +07:00
JakkrapartXD
2b248cad10 feat: normalize lesson sort_order to prevent gaps and duplicates in chapter lessons
Add normalizeLessonSortOrder method to ensure sequential 1-based sort_order values. Update reorderLesson to normalize before reordering and validate new position against lesson count. Call normalization after lesson deletion to fill gaps in remaining lessons.
2026-02-02 16:16:28 +07:00
JakkrapartXD
69e4806831 feat: normalize question sort_order to prevent gaps and duplicates in quiz questions
Add normalizeQuestionSortOrder method to ensure sequential 1-based sort_order values. Update reorderQuestion to normalize before reordering and validate new position against question count. Call normalization after question deletion to fill gaps in remaining questions.
2026-02-02 15:50:23 +07:00
supalerk-ar66
4461c1d119 No changes were provided to summarize. 2026-02-02 15:45:09 +07:00
supalerk-ar66
2e0675f1c9 feat: add core user pages for my courses, profile settings, course discovery, and learning classroom. 2026-02-02 15:34:40 +07:00
supalerk-ar66
4c9b6b0f3f feat: add new pages for course discovery, course details, classroom activities, user dashboard, password reset, and internationalization support. 2026-02-02 14:37:33 +07:00
JakkrapartXD
7ac1a5af0a feat: remove published status check when deleting lessons
Remove validation that prevented deletion of published lessons. Lessons can now be deleted regardless of their published status without requiring unpublishing first.
2026-02-02 14:34:17 +07:00
JakkrapartXD
b7e4f45942 feat: add student endpoint for listing course announcements
Add new AnnouncementsStudentController with GET endpoint for students to retrieve course announcements with pagination support. Endpoint requires JWT authentication and validates course enrollment.
2026-02-02 11:49:23 +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
supalerk-ar66
b60a3853cd feat: Implement initial landing pages, authentication flows, and course browsing functionality with i18n. 2026-02-02 11:11:33 +07:00
Missez
7de5457170 edit: response.message 2026-02-02 09:31:37 +07:00
JakkrapartXD
d7f824f353 feat: standardize login response format with code, message, and data wrapper
Update login endpoint to return consistent API response structure with code, message, and data fields. Wrap token, refreshToken, and user data inside a data object to match the standardized response format used across other endpoints.
2026-01-30 17:54:43 +07:00
JakkrapartXD
4ff57555a2 feat: conditionally hide correct_answers count based on show_answers_after_completion setting
Update quiz submission response to respect the show_answers_after_completion setting by conditionally including the correct_answers count. When show_answers_after_completion is false, correct_answers is now undefined instead of being exposed.
2026-01-30 17:51:33 +07:00
JakkrapartXD
bf5d939910 feat: add role-based frontend URL routing for password reset and email verification
Add separate frontend URL environment variables for student and instructor portals. Update password reset and email verification services to route users to the appropriate frontend based on their role (INSTRUCTOR vs STUDENT).
2026-01-30 17:29:08 +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
10a71c9a15 feat: standardize category update response format with code, message, and data wrapper 2026-01-30 15:23:29 +07:00