Yimaru-BackEnd/internal/web_server/handlers
Yared Yemane bd1767d2a6 Add LMS lesson draft and publish visibility.
Migration 000062 adds lessons.publish_status (DRAFT default for new rows; existing rows published). Editors see all lessons; learners see published-only lists and GET by id. Sequential prerequisites and completion counts ignore drafts. Course lesson_count counts published lessons only. Swagger documents publish_status on create/update bodies.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-20 02:16:42 -07:00
..
activity_logs.go cloud convert integration + more advanced activity log + issue reporting + video file management fixes 2026-02-11 06:54:05 -08:00
admin.go Resolve bulk role path segment from RBAC roles.id. 2026-05-19 01:16:28 -07:00
analytics_handler.go Add monthly revenue trend for analytics when year is specified. 2026-05-17 23:32:36 -07:00
analytics_params.go Add date-range filtering to analytics dashboard API. 2026-05-15 02:15:15 -07:00
arifpay.go use descriptive top-level message for direct payments 2026-05-07 09:26:07 -07:00
auth_handler.go Add OPEN_LEARNER role without LMS sequential gating. 2026-05-19 10:26:25 -07:00
common_handler.go fix: global setting, company override settings, bet and ticket fixes for multi tenant 2025-08-25 07:23:55 +03:00
common.go fix: version on route, better logs, error display, cleaning up code 2025-07-13 01:23:08 +03:00
course_handler.go Honor optional sort_order on course create under a program. 2026-05-19 02:54:17 -07:00
exam_prep_catalog_course_handler.go subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
exam_prep_lesson_handler.go subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
exam_prep_module_handler.go subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
exam_prep_practice_handler.go Add draft vs published status for LMS and exam-prep practices. 2026-05-19 03:57:43 -07:00
exam_prep_unit_handler.go subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
faq.go Add full FAQ management APIs and integration assets. 2026-05-11 07:58:17 -07:00
file_handler.go add MinIO media URL refresh endpoint 2026-04-27 05:25:16 -07:00
handlers.go Add full FAQ management APIs and integration assets. 2026-05-11 07:58:17 -07:00
initial_assessment.go vimeo itegration + Google auth and fiberbase messaging minor fixes + profile completed status fix and profile progress (not course progress) tracker immplementation 2026-02-04 09:59:21 -08:00
institutions.go afro SMS and partial ArifPay Payment Gateway integrations 2025-12-18 18:06:26 +03:00
issue_reporting.go inapp notification fix 2026-02-13 06:59:14 -08:00
lesson_handler.go Add LMS lesson draft and publish visibility. 2026-05-20 02:16:42 -07:00
lms_gating.go learning progress implementation 2026-04-23 03:58:27 -07:00
lms_progress_handler.go Add admin recent-activity timeline for learner profile UIs. 2026-05-18 01:13:21 -07:00
lms_reorder_handler.go learning progress implementation 2026-04-23 03:58:27 -07:00
media_source_fetcher.go public URLs allowed 2026-04-07 01:18:16 -07:00
module_handler.go learning progress implementation 2026-04-23 03:58:27 -07:00
mongoLogger.go user and auth service refactoring, notification service SQL + repository adjustment 2025-12-16 18:05:57 +03:00
notification_handler.go Add runtime config debug logging for test push flow. 2026-05-11 10:25:53 -07:00
practice_handler.go Add draft vs published status for LMS and exam-prep practices. 2026-05-19 03:57:43 -07:00
practice_publish_gate.go Add LMS lesson draft and publish visibility. 2026-05-20 02:16:42 -07:00
program_handler.go Accept optional sort_order when creating LMS programs. 2026-05-19 02:10:49 -07:00
question_type_builder.go Add practice-existence flags and refresh API contracts. 2026-05-08 11:57:11 -07:00
questions.go Add OPEN_LEARNER role without LMS sequential gating. 2026-05-19 10:26:25 -07:00
ratings.go added cloudconvert for thumbnails + added ratings service 2026-02-18 02:56:08 -08:00
rbac_handler.go bulk notification fix + custom role and permission feature implementation + activity log and user list filters 2026-03-04 09:10:28 -08:00
recommendation.go institution service + more PopOK callback 2025-06-22 21:49:16 +03:00
referal_handlers.go user and otp schema modification, SMTP setup using resend, afro SMS changed to direct API integration instead of using afoSMS library, most authentications implemented using username instead of email or phone number 2025-12-23 18:57:48 +03:00
settings_handler.go cloud convert integration + more advanced activity log + issue reporting + video file management fixes 2026-02-11 06:54:05 -08:00
subscriptions.go subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
team_handler.go fix: surface DB error when team login refresh token issuance fails 2026-04-18 03:13:34 -07:00
thumbnail_helper.go new course management hierarchy 2026-04-10 03:06:30 -07:00
transaction_approver.go data seed and authorization fixes 2026-01-14 02:27:26 -08:00
user.go Add OPEN_LEARNER role without LMS sequential gating. 2026-05-19 10:26:25 -07:00
vimeo.go Add paginated Vimeo video list API (GET /me/videos). 2026-05-17 22:23:50 -07:00