Merged
Conversation
* [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com>
…into FLearning # Conflicts: # BackEnd/models/lectureModel.js
* [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule)
* [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format
* [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025]
* [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025]
* [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025]
* [Dat][API] Mobile Forgot Password * fix
* [Dat][API] Mobile Forgot Password * fix * Refractor code
Lấy courseCount dựa trên CategoryIds từ collection courses
* [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025]
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
Nomsociuu
added a commit
that referenced
this pull request
Oct 9, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com>
hofang42
added a commit
that referenced
this pull request
Oct 19, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com>
hofang42
added a commit
that referenced
this pull request
Oct 19, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com>
hofang42
added a commit
that referenced
this pull request
Oct 19, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com>
hofang42
added a commit
that referenced
this pull request
Oct 19, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) * fix deploy 19/10 --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com>
hofang42
added a commit
that referenced
this pull request
Oct 19, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) * fix deploy 19/10 * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] (#119) * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] * Populate instructor info in course queries Added population of the 'createdBy' field with instructor's first name, last name, and user image in course detail and course list queries to provide more instructor information in API responses. --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com>
hofang42
added a commit
that referenced
this pull request
Nov 18, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) * fix deploy 19/10 * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] (#119) * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] * Populate instructor info in course queries Added population of the 'createdBy' field with instructor's first name, last name, and user image in course detail and course list queries to provide more instructor information in API responses. * [FLN-129][Hoang][BE] Add modal for AI explain [25.10.2025] (#121) * [FLN-129][Hoang][UI] AI explain quiz [25.10.2025] * [FLN-129][Hoang][BE] Cập nhật thêm logic [25.10.2025] * [FLN-172][Duc][BE] Update Quiz Upload [30.10.2025] (#122) * [FLN-171][Duc][BE] Add AI summaries Video&Article [30.10.2025] (#123) * [FLN-176][Hoang][BE] Tạo Learning Path cho BE [01.11.2025] (#124) * [FLN-170][Thien][API] Auto creating cerficate [01.11.2025] (#125) * [FLN-177][Thien][API] Fix bug real-time receiving certificate [02.11.2025] (#126) * [FLN-179][Thien][API] Sync data in course detail page [02.11.2025] (#127) * [FLN-181][Hoang][BE] Update instructor dashboard [02.11.2025] (#128) * [FLN-182][Thien][API] Fix API sending mail when enroll and finish course [02.11.2025] (#129) * [FLN-184][Hoang][BE] Fix bug learning path [02.11.2025] (#130) * [FLN-185][Duc][BE] Sửa lỗi không fetch được data trên nhiều màn [02.11.2025] (#131) * [FLN-174][BE] ai quiz generation (#134) * [FLN-174][Dat][BE] Add AI Quiz Generation Feature [30.10.2025] * Add essay grading and proctoring features to backend Implemented AI-powered essay grading with new endpoints and model fields. Added proctoring session management, violation logging, and reporting, including new models, controllers, routes, and service logic for anti-cheating during quizzes. Updated quiz submission to support essay questions and integrated proctoring session lifecycle. * [FLN-186][Duc][BE] Update Instructor my course chart [03.11.2025] (#136) * [FLN-187] [BE] AI for instructor's application (#137) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-175] [FE] Update ban/unban user (#138) * banned update * chore: xóa các file test không cần thiết (test-ban-user.js, test-email.js) --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-188][Duc][BE] Fix bug rating sai [03.11.2025] (#139) * [FLN-189][BE] Fix backend email templates and chatbot updates (#140) Updated email templates and chatbot controller improvements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com> * [FLN-189] Fix AI Chat box (#141) * [FLN-189][BE] Fix backend email templates and chatbot updates * [FLN-190][Thien][API] Format Card detail attribute in Home Screen [03.11.2025] (#142) * [FLN-192][Thien][API] Add Withdraw function for instructor [03.11.2025] (#144) * [FLN-175] [BE] AI for instructor's application (#145) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết * feat: Add AI auto-review system for instructor applications - Added autoAIReviewService with 3 trigger points (server start, after apply, after verify) - Implemented data protection with backup and audit logging - Added AI review using OpenRouter/Gemini API - Set 1-second delay for near-instant review - Added utility scripts for manual review and data management - Auto-approve (score 70), Auto-reject (score <40), Manual review (40-69) - Email notifications for approval/rejection * feat: [FLN-187] [BE] Two-tier instructor email verification with AI review - Split verification flows: /verify-instructor-email vs /verify-instructor-application - AI review triggers only after email verification - Enhanced email templates for different user types - Removed unused scripts and backups --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [Fix][BE] Sửa GeminiAPI thành Openrouter để khỏi bị overload (#146) * Switch quiz explanation AI to OpenRouter and randomize answers (#147) Replaced Gemini API calls with OpenRouter for quiz explanations in aiController.js, updating configuration and response parsing. In openRouterService.js, added answer shuffling for multiple-choice questions and updated prompt instructions to randomize correct answer positions, improving quiz integrity and variety. * [FLN-195][Thien][API] Add logic handle for Notification function[18.11.2025] (#149) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] (#148) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] * update deploy node version * [FLN-196][Duc][BE] Fix Student my course card, allow download summaries [18.11.2025] (#150) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com> Co-authored-by: Nguyễn Lam Giang <133856538+gianglamnguyen@users.noreply.github.com> Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> Co-authored-by: Claude <noreply@anthropic.com>
hofang42
added a commit
that referenced
this pull request
Nov 18, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) * fix deploy 19/10 * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] (#119) * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] * Populate instructor info in course queries Added population of the 'createdBy' field with instructor's first name, last name, and user image in course detail and course list queries to provide more instructor information in API responses. * [FLN-129][Hoang][BE] Add modal for AI explain [25.10.2025] (#121) * [FLN-129][Hoang][UI] AI explain quiz [25.10.2025] * [FLN-129][Hoang][BE] Cập nhật thêm logic [25.10.2025] * [FLN-172][Duc][BE] Update Quiz Upload [30.10.2025] (#122) * [FLN-171][Duc][BE] Add AI summaries Video&Article [30.10.2025] (#123) * [FLN-176][Hoang][BE] Tạo Learning Path cho BE [01.11.2025] (#124) * [FLN-170][Thien][API] Auto creating cerficate [01.11.2025] (#125) * [FLN-177][Thien][API] Fix bug real-time receiving certificate [02.11.2025] (#126) * [FLN-179][Thien][API] Sync data in course detail page [02.11.2025] (#127) * [FLN-181][Hoang][BE] Update instructor dashboard [02.11.2025] (#128) * [FLN-182][Thien][API] Fix API sending mail when enroll and finish course [02.11.2025] (#129) * [FLN-184][Hoang][BE] Fix bug learning path [02.11.2025] (#130) * [FLN-185][Duc][BE] Sửa lỗi không fetch được data trên nhiều màn [02.11.2025] (#131) * [FLN-174][BE] ai quiz generation (#134) * [FLN-174][Dat][BE] Add AI Quiz Generation Feature [30.10.2025] * Add essay grading and proctoring features to backend Implemented AI-powered essay grading with new endpoints and model fields. Added proctoring session management, violation logging, and reporting, including new models, controllers, routes, and service logic for anti-cheating during quizzes. Updated quiz submission to support essay questions and integrated proctoring session lifecycle. * [FLN-186][Duc][BE] Update Instructor my course chart [03.11.2025] (#136) * [FLN-187] [BE] AI for instructor's application (#137) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-175] [FE] Update ban/unban user (#138) * banned update * chore: xóa các file test không cần thiết (test-ban-user.js, test-email.js) --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-188][Duc][BE] Fix bug rating sai [03.11.2025] (#139) * [FLN-189][BE] Fix backend email templates and chatbot updates (#140) Updated email templates and chatbot controller improvements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com> * [FLN-189] Fix AI Chat box (#141) * [FLN-189][BE] Fix backend email templates and chatbot updates * [FLN-190][Thien][API] Format Card detail attribute in Home Screen [03.11.2025] (#142) * [FLN-192][Thien][API] Add Withdraw function for instructor [03.11.2025] (#144) * [FLN-175] [BE] AI for instructor's application (#145) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết * feat: Add AI auto-review system for instructor applications - Added autoAIReviewService with 3 trigger points (server start, after apply, after verify) - Implemented data protection with backup and audit logging - Added AI review using OpenRouter/Gemini API - Set 1-second delay for near-instant review - Added utility scripts for manual review and data management - Auto-approve (score 70), Auto-reject (score <40), Manual review (40-69) - Email notifications for approval/rejection * feat: [FLN-187] [BE] Two-tier instructor email verification with AI review - Split verification flows: /verify-instructor-email vs /verify-instructor-application - AI review triggers only after email verification - Enhanced email templates for different user types - Removed unused scripts and backups --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [Fix][BE] Sửa GeminiAPI thành Openrouter để khỏi bị overload (#146) * Switch quiz explanation AI to OpenRouter and randomize answers (#147) Replaced Gemini API calls with OpenRouter for quiz explanations in aiController.js, updating configuration and response parsing. In openRouterService.js, added answer shuffling for multiple-choice questions and updated prompt instructions to randomize correct answer positions, improving quiz integrity and variety. * [FLN-195][Thien][API] Add logic handle for Notification function[18.11.2025] (#149) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] (#148) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] * update deploy node version * [FLN-196][Duc][BE] Fix Student my course card, allow download summaries [18.11.2025] (#150) * fix deploy 18/11 (#151) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com> Co-authored-by: Nguyễn Lam Giang <133856538+gianglamnguyen@users.noreply.github.com> Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> Co-authored-by: Claude <noreply@anthropic.com>
Nomsociuu
added a commit
that referenced
this pull request
Nov 18, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) * fix deploy 19/10 * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] (#119) * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] * Populate instructor info in course queries Added population of the 'createdBy' field with instructor's first name, last name, and user image in course detail and course list queries to provide more instructor information in API responses. * [FLN-129][Hoang][BE] Add modal for AI explain [25.10.2025] (#121) * [FLN-129][Hoang][UI] AI explain quiz [25.10.2025] * [FLN-129][Hoang][BE] Cập nhật thêm logic [25.10.2025] * [FLN-172][Duc][BE] Update Quiz Upload [30.10.2025] (#122) * [FLN-171][Duc][BE] Add AI summaries Video&Article [30.10.2025] (#123) * [FLN-176][Hoang][BE] Tạo Learning Path cho BE [01.11.2025] (#124) * [FLN-170][Thien][API] Auto creating cerficate [01.11.2025] (#125) * [FLN-177][Thien][API] Fix bug real-time receiving certificate [02.11.2025] (#126) * [FLN-179][Thien][API] Sync data in course detail page [02.11.2025] (#127) * [FLN-181][Hoang][BE] Update instructor dashboard [02.11.2025] (#128) * [FLN-182][Thien][API] Fix API sending mail when enroll and finish course [02.11.2025] (#129) * [FLN-184][Hoang][BE] Fix bug learning path [02.11.2025] (#130) * [FLN-185][Duc][BE] Sửa lỗi không fetch được data trên nhiều màn [02.11.2025] (#131) * [FLN-174][BE] ai quiz generation (#134) * [FLN-174][Dat][BE] Add AI Quiz Generation Feature [30.10.2025] * Add essay grading and proctoring features to backend Implemented AI-powered essay grading with new endpoints and model fields. Added proctoring session management, violation logging, and reporting, including new models, controllers, routes, and service logic for anti-cheating during quizzes. Updated quiz submission to support essay questions and integrated proctoring session lifecycle. * [FLN-186][Duc][BE] Update Instructor my course chart [03.11.2025] (#136) * [FLN-187] [BE] AI for instructor's application (#137) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-175] [FE] Update ban/unban user (#138) * banned update * chore: xóa các file test không cần thiết (test-ban-user.js, test-email.js) --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-188][Duc][BE] Fix bug rating sai [03.11.2025] (#139) * [FLN-189][BE] Fix backend email templates and chatbot updates (#140) Updated email templates and chatbot controller improvements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com> * [FLN-189] Fix AI Chat box (#141) * [FLN-189][BE] Fix backend email templates and chatbot updates * [FLN-190][Thien][API] Format Card detail attribute in Home Screen [03.11.2025] (#142) * [FLN-192][Thien][API] Add Withdraw function for instructor [03.11.2025] (#144) * [FLN-175] [BE] AI for instructor's application (#145) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết * feat: Add AI auto-review system for instructor applications - Added autoAIReviewService with 3 trigger points (server start, after apply, after verify) - Implemented data protection with backup and audit logging - Added AI review using OpenRouter/Gemini API - Set 1-second delay for near-instant review - Added utility scripts for manual review and data management - Auto-approve (score 70), Auto-reject (score <40), Manual review (40-69) - Email notifications for approval/rejection * feat: [FLN-187] [BE] Two-tier instructor email verification with AI review - Split verification flows: /verify-instructor-email vs /verify-instructor-application - AI review triggers only after email verification - Enhanced email templates for different user types - Removed unused scripts and backups --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [Fix][BE] Sửa GeminiAPI thành Openrouter để khỏi bị overload (#146) * Switch quiz explanation AI to OpenRouter and randomize answers (#147) Replaced Gemini API calls with OpenRouter for quiz explanations in aiController.js, updating configuration and response parsing. In openRouterService.js, added answer shuffling for multiple-choice questions and updated prompt instructions to randomize correct answer positions, improving quiz integrity and variety. * [FLN-195][Thien][API] Add logic handle for Notification function[18.11.2025] (#149) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] (#148) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] * update deploy node version * [FLN-196][Duc][BE] Fix Student my course card, allow download summaries [18.11.2025] (#150) * fix deploy 18/11 (#151) * [FLN-197][Thien][API] AI check comment logic [18.11.2025] (#153) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com> Co-authored-by: Nguyễn Lam Giang <133856538+gianglamnguyen@users.noreply.github.com> Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> Co-authored-by: Claude <noreply@anthropic.com>
Nomsociuu
added a commit
that referenced
this pull request
Nov 19, 2025
* [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) * UPDATE SCHEMA FOR VER2 FLEARNING (#69) * UPDATE SCHEMA BE * UPDATE SCHEMA #4.10.2025 * [FLN-130][Thien][API] Refactor logic payment #8.10.2025 (#71) * Merge payOS payment logic into FLearning branch (#74) * F learning (#66) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * F learning (#68) * [FLN-59][Hoang][BE] Add FLearning Model (#1) * [FLN-54][BE] Authentication (#2) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-54][BE] Add Role-based middleware authorization and reset/forget/change password (#3) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] * [FLN-75][Hoang][UI] Update model for FLearning [18.06.2025] (#4) * [FLN-76][Hoang][DOCS] Update Rule PR and Commit [18.06.2025] (#5) * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] * [Hoang] Remove lectureModel [18.06.2025] * [FLN-75][Hoang][BE] Add feedbackModel and delete lectureModel [18.06.2025] (#6) * [BE] Revert Model to commit 0de1a04 [19.06.2025] * [BE] Update model, add enrollmentModel, paymentModel and transactionModel * [FLN-54][BE] Add Feature Resend Email (#7) * [FLN-59][Hoang][BE] Add FLearning Model * [FLN-54][Dat][BE] Authentication #17/06/2025 * [FLN-54][Dat][BE] Add Role-based middleware and Forget/Change/Reset Password #17.06.2025 * [FLN-54][Dat][BE] Add resend verification Email #19.06.2025 --------- Co-authored-by: hofang42 <ringhost42@gmail.com> * [FLN-66][BE] Add Profile, Cart & Wishlist API (#10) * [FLN-62][BE] Add Course, categories, notification API (#8) * [BE][API] Add Course, categories, notification API * [BE][Fix] Sửa lại thêm phân trang cho notification * Update guideline * Update comment (follow comment rule) * Update comment (follow comment rule) * [FLN-64][BE] Add Feedback API (#11) * [BE] Check banned user can't login (#14) * [FLN-54][Feat][BE][Dat] Check banned user can't login #24.06.2025 * format * [FLN-69][Dat][BE] Admin Stats #25.06.2025 (#22) * Draft:[feat][FLN-70][API] Add admin API (#12) * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add user API [22.06.2025] * [FLN-70][Hoang][API] Add course API [22.06.2025] * [FLN-70][Hoang][API] update date filter [23.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-70][Hoang][API] Handle uplaod to firebase [26.06.2025] * [FLN-65][BE] Add Profile, Enrolled Courses, Purchase History API (#13) * [FLN-71][Duc][BE] Add CRUD Discount API [26.06.2025] (#24) * [FLN-54][Dat][BE] Add Forgot Password API #26.06.2025 (#25) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] (#26) * [Hoang][UI] HOTFIX Route and Middle ware merge 26.06 [26.06.2025] * [Hoang][BE] Revert cartRoutes.js [26.06.2025] * [bugfix][BE] Fix bug upload video (#27) * [FLN-70][bugfix][Hoang] Fix bug upload video [27.06.2025] * [FLN-70][Hoang][BE] Handle mapping category and english [26.06.2025] * [BE][Fix] Add thêm trường icon để nhập icon (bootstrap icon name) (#28) * Fix update controller after change category model (#31) * [FLN-67][Hoang][API] Add message API, refactor user controller [29.06.2025] (#29) * [FLN-79][Duc][BE] Update Uploading Profile Image [29.06.2025] (#30) Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> * [FLN-81][Hoang][BE] Update for websocket message [29.06.2025] (#32) * Add or update the Azure App Service build and deployment workflow config * Update flearning_flearning-api.yml (#33) * Update package.json (#34) * Update package.json (#35) * Update flearning_flearning-api.yml (#36) * Update flearning_flearning-api.yml (#37) * [FLN-83][Duc][BE] Fix API to fetch data for Purchase History, Student Dashboard, My Course [29.06.2025] (#38) * [FLN-71][Duc][BE] Add CRUD Discount API [29.06.2025] (#39) * [FLN-54[[Dat][API] Check banned google user login #29.06.2025 (#40) * Fix bug: không populate hết data (#41) * [Bug][FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes (#42) * [FLN-85][Hoang][API] Edit course and fix CategoryIds, lectureNote and LessonNotes [03.07.2025] * [Hoang] Remove package.json outside BackEnd [03.07.2025] * [FLN-88][BE] Format code, add api update all readStatus, public api for admin and student (#45) * format code, add api update all readStatus * Update notificationRoutes.js * [FLN-69] Gemini API (#46) * [FLN-69][BE][Dat] Gemini API #4.7.2025 * Standardize quotes in chatbotRoutes.js Replaced single quotes with double quotes for consistency in import statements and route definitions in chatbotRoutes.js. * [FLN-63][Thien][BE] Add api for CRUD course and lesson (#44) * [FLN-63][Thien][BE] Add api for CRUD course and lesson #3.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Add api for CRUD course and lesson #5.07.2025 * [FLN-63][Thien][BE] Modified comment for course details controller #5.07.2025 * [FLN-93][Thien][BE] Fix course details api [08.07.2025] (#48) * [FLN-92][Duc][BE] Add API to track Course Progress [08.07.2025] (#47) * [Dat][API] Update Admin stats API #12.7.2025 (#49) * Format code and add API enrollCourse (#50) * Thay đổi enroll nhiều course cùng lúc (#51) * [FLN-68][Thien][BE] Add Payment API [14.07.2025] (#52) * [FLN-95][Hoang][BE] Handle real time chat [14.07.2025] (#53) * [FLN-100][Duc][BE] Use enrolledCourses in User instead of Enrollments collection && Using Transaction Collection Instead of Payment [14.07.2025] (#54) * [Dat][API] Mobile Forgot Password (#55) * [API] Add Mobile Forgot Password API (#56) * [Dat][API] Mobile Forgot Password * fix * refractor authController thành English (#57) * [Dat][API] Mobile Forgot Password * fix * Refractor code * [FLN-103][Duc][BE] Add API to fetch data to WatchCourse Screen [16.07.2025] (#58) * [FLN][Duc][BE] Add API to calculate average rating for course [21.07.2025] (#60) * [FLN-107][Thien][BE] Add Enroll course logic #21.07.2025 (#61) * [Dat][API] Update Chatbot API #19.07.2025 (#59) * [Hotfix] sửa lại courseCount (#62) Lấy courseCount dựa trên CategoryIds từ collection courses * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] (#63) * [FLN-112][Thien][BE] Fix API save payment#2 (#64) * [FLN-112][Thien][BE] Fix API save payment [21.07.2025] * [FLN-112][Thien][BE] Fix API save payment#2 [21.07.2025] * [FLN-114][Duc][BE] Add API to add Discount to Course [22.07.2025] (#65) * update deploy on main (#67) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Huynh Dinh Thien <136036261+Nomsociuu@users.noreply.github.com> * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] (#73) --------- Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> * Fix webhook PayOs function (#76) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * refactor payment (#78) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Refactor payment (#80) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times (#82) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * refactor payment (#84) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment (#86) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS (#88) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * Fix/fln 130 refactor payment (#90) * [FLN-130][Thien][API] Fix webhook PayOS api function [09.10.2025] * [FLN-130][Thien][API] Update PayOs webhook [09.10.2025] * Payment PayOS * Payment PayOS many times * Payment PayOs n times * Payment Payos n+1 * Update server.js for payment * Last change of payment PayOS * payment PAYOS n+2 * [FLN-134][Duc][BE] Add API for Adding Course [16.10.2025] (#92) * [FLN-136][Hoang][BE] Add Role for Instructor [15.10.2025] (#93) * [FLN-143][Duc][BE] Create Quiz API [16.10.2025] (#94) * [FLN-144] instructor registration (#95) * [Dat][BE] Add API for Instructor registration #16.10.2025 * [Dat] Add API for Registration Instructor #17.10.2025 * Delete BackEnd/package-lock.json * Delete package-lock.json * [Fix] Remove biography and bank information from instructor profile (#96) * Remove bio field from instructor application Eliminated the 'bio' field from the instructor application model and related controller logic. This simplifies the application process by no longer requiring or processing a bio for instructor registrations. * Remove bank details from instructor application Eliminated bankName, accountNumber, and accountHolderName fields from the instructor application model and registration controller. These fields are no longer required or processed during instructor registration. * Add logging and update instructor application status (#97) Added detailed console logs to the email verification and instructor registration processes for better traceability. Instructor application status is now updated to 'pending' upon email verification if previously set to 'emailNotVerified'. * [FLN-148][Hoang][BE] Add function verify instructor [19.10.2025] (#98) * [FLN-149][Duc][BE] Move Instructor APIs to instructorController [18.10.2025] (#99) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] (#100) * Add logic after payment (#102) * [FLN-130][Thien][API] Implement PayOs payment code [18.10.2025] * [FLN-130][Thien][API] Add logic after payment [19.10.2025] * [FLN-151][Dat][BE] Instructor Profile Model and Registration [19.10.2025] (#104) * [FLN-153][Dat][BE] Instructor Profile Management API [19.10.2025] (#105) * [FLN-154][Dat][BE] Admin Approve and Public Course Integration [19.10.2025] (#106) * [FLN-155][Duc][BE] Handle old password case same with new password [19.10.2025] (#107) * [FLN-162][Thien][API] Send welcome message when user enrolled an course [19.10.2025] (#108) * [FLN-161][Hoang][BE] Add censor course API for admin [19.10.2025] (#109) * [FLN-152][BE] Update API for CRUD discount for Instructor (#103) * [FLN-152][Duc][BE] Update API for CRU discount for Instructor [19.10.2025] * [FLN-152][Duc][BE] Update API for CRU discount for Instructor #2 [19.10.2025] * [BE][Fix] Fix view top categories (#111) * testing * [FLN-164][Thien][UI] Fix view top categories [19.10.2025] * [FLN-165][Duc][Bug] Fix Feedback Controller [19.10.2025] (#112) * fix deploy 19/10 (#113) * fix deploy 19/10 (#116) * fix deploy 19/10 * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] (#119) * [FLN-167][BE] Filter Active Courses in Instructor Public Profile [20.10.2025] * Populate instructor info in course queries Added population of the 'createdBy' field with instructor's first name, last name, and user image in course detail and course list queries to provide more instructor information in API responses. * [FLN-129][Hoang][BE] Add modal for AI explain [25.10.2025] (#121) * [FLN-129][Hoang][UI] AI explain quiz [25.10.2025] * [FLN-129][Hoang][BE] Cập nhật thêm logic [25.10.2025] * [FLN-172][Duc][BE] Update Quiz Upload [30.10.2025] (#122) * [FLN-171][Duc][BE] Add AI summaries Video&Article [30.10.2025] (#123) * [FLN-176][Hoang][BE] Tạo Learning Path cho BE [01.11.2025] (#124) * [FLN-170][Thien][API] Auto creating cerficate [01.11.2025] (#125) * [FLN-177][Thien][API] Fix bug real-time receiving certificate [02.11.2025] (#126) * [FLN-179][Thien][API] Sync data in course detail page [02.11.2025] (#127) * [FLN-181][Hoang][BE] Update instructor dashboard [02.11.2025] (#128) * [FLN-182][Thien][API] Fix API sending mail when enroll and finish course [02.11.2025] (#129) * [FLN-184][Hoang][BE] Fix bug learning path [02.11.2025] (#130) * [FLN-185][Duc][BE] Sửa lỗi không fetch được data trên nhiều màn [02.11.2025] (#131) * [FLN-174][BE] ai quiz generation (#134) * [FLN-174][Dat][BE] Add AI Quiz Generation Feature [30.10.2025] * Add essay grading and proctoring features to backend Implemented AI-powered essay grading with new endpoints and model fields. Added proctoring session management, violation logging, and reporting, including new models, controllers, routes, and service logic for anti-cheating during quizzes. Updated quiz submission to support essay questions and integrated proctoring session lifecycle. * [FLN-186][Duc][BE] Update Instructor my course chart [03.11.2025] (#136) * [FLN-187] [BE] AI for instructor's application (#137) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-175] [FE] Update ban/unban user (#138) * banned update * chore: xóa các file test không cần thiết (test-ban-user.js, test-email.js) --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [FLN-188][Duc][BE] Fix bug rating sai [03.11.2025] (#139) * [FLN-189][BE] Fix backend email templates and chatbot updates (#140) Updated email templates and chatbot controller improvements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com> * [FLN-189] Fix AI Chat box (#141) * [FLN-189][BE] Fix backend email templates and chatbot updates * [FLN-190][Thien][API] Format Card detail attribute in Home Screen [03.11.2025] (#142) * [FLN-192][Thien][API] Add Withdraw function for instructor [03.11.2025] (#144) * [FLN-175] [BE] AI for instructor's application (#145) * banned update * Add AI review and rejected instructor management Integrates AI review fields into InstructorProfile, triggers AI review after email verification, and introduces RejectedInstructor model for managing rejected applications. Adds scripts for testing, migrating, and cleaning up rejected profiles, as well as utilities for database checks and email notifications. Updates admin controller to aggregate instructor requests from both active and rejected collections. Adds new dependencies for document parsing and AI services. * chore(cleanup): remove test-related files on AI_application/GiangNL * chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Reapply "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 709b445. * Revert "chore(cleanup): remove scripts dir, config/a.js, and clear uploads on AI_application/GiangNL" This reverts commit 94907e6. * Revert "chore(cleanup): remove test-related files on AI_application/GiangNL" This reverts commit e6c2b76. * chore: xóa các file test và scripts không cần thiết * feat: Add AI auto-review system for instructor applications - Added autoAIReviewService with 3 trigger points (server start, after apply, after verify) - Implemented data protection with backup and audit logging - Added AI review using OpenRouter/Gemini API - Set 1-second delay for near-instant review - Added utility scripts for manual review and data management - Auto-approve (score 70), Auto-reject (score <40), Manual review (40-69) - Email notifications for approval/rejection * feat: [FLN-187] [BE] Two-tier instructor email verification with AI review - Split verification flows: /verify-instructor-email vs /verify-instructor-application - AI review triggers only after email verification - Enhanced email templates for different user types - Removed unused scripts and backups --------- Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> * [Fix][BE] Sửa GeminiAPI thành Openrouter để khỏi bị overload (#146) * Switch quiz explanation AI to OpenRouter and randomize answers (#147) Replaced Gemini API calls with OpenRouter for quiz explanations in aiController.js, updating configuration and response parsing. In openRouterService.js, added answer shuffling for multiple-choice questions and updated prompt instructions to randomize correct answer positions, improving quiz integrity and variety. * [FLN-195][Thien][API] Add logic handle for Notification function[18.11.2025] (#149) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] (#148) * [FLN-194][Hoang][BE] Fix chat and AI [17.11.2025] * update deploy node version * [FLN-196][Duc][BE] Fix Student my course card, allow download summaries [18.11.2025] (#150) * fix deploy 18/11 (#151) * [FLN-197][Thien][API] AI check comment logic [18.11.2025] (#153) * fix bug not define withdrawal route (#155) * [FLN-197][Thien][API] AI check comment logic [18.11.2025] * fix bug not define withdrawal route --------- Co-authored-by: Thanh Hoang <126055913+hofang42@users.noreply.github.com> Co-authored-by: Nekomimi <kthkun@gmail.com> Co-authored-by: hofang42 <ringhost42@gmail.com> Co-authored-by: Nguyễn Ngọc Trung <trungnnde180575@fpt.edu.vn> Co-authored-by: Nguyen Doan Trong Duc <89635693+trongducdoan25@users.noreply.github.com> Co-authored-by: Nguyen Doan Trong Duc <89635693+justduck25@users.noreply.github.com> Co-authored-by: Nguyễn Lam Giang <133856538+gianglamnguyen@users.noreply.github.com> Co-authored-by: cheeseachocolate <giangnlde180815@fpt.edu.vn> Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.