RezinaLMS-BackEnd/internal/web_server/handlers
Yared Yemane 2fa3459493 fix: recover panics and return JSON errors on CSV export failure
Prevent handler panics from dropping connections as nginx 502s and surface export DB errors as JSON 500 responses with CORS headers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 10:13:02 -07:00
..
activity_log_actor.go fix: infer activity log actors from resource for legacy entries 2026-06-20 03:38:16 -07:00
activity_log_helper.go fix: enrich activity log actors and add admin integration guide 2026-06-20 03:29:20 -07:00
activity_logs.go fix: infer activity log actors from resource for legacy entries 2026-06-20 03:38:16 -07:00
admin_export.go fix: recover panics and return JSON errors on CSV export failure 2026-06-29 10:13:02 -07:00
admin_user_detail_handler.go feat: add admin user subscriptions and learning activity endpoints 2026-06-14 04:33:46 -07:00
admin.go Resolve bulk role path segment from RBAC roles.id. 2026-05-19 01:16:28 -07:00
analytics_handler.go Add video engagement tracking and analytics metrics. 2026-05-24 02:59:46 -07:00
analytics_params.go Add video engagement tracking and analytics metrics. 2026-05-24 02:59:46 -07:00
arifpay.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
auth_handler.go fix: enrich activity log actors and add admin integration guide 2026-06-20 03:29:20 -07:00
chapa.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -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
content_access_gate.go feat: return premium catalog content on GET for client-side lock UI 2026-06-11 01:14:04 -07:00
content_publish_gate.go feat: add hierarchy publish status and resolve question type definition IDs 2026-06-10 02:40:16 -07:00
course_handler.go feat: return premium catalog content on GET for client-side lock UI 2026-06-11 01:14:04 -07:00
email_template.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
exam_prep_catalog_course_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
exam_prep_lesson_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
exam_prep_module_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
exam_prep_practice_handler.go feat: support nullable parents for exam-prep practices 2026-06-29 08:07:01 -07:00
exam_prep_progress_helper.go feat: enforce sequential access gating for exam prep content 2026-06-20 03:03:40 -07:00
exam_prep_unit_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
export_filters.go feat: add Tier 1 admin CSV export APIs and integration guide 2026-06-29 08:35:42 -07:00
faq.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
field_option.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
file_handler_media_test.go feat: PDF_ATTACHMENT stimulus, dynamic question_text rules, admin builder docs 2026-06-04 11:07:02 -07:00
file_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
handlers.go feat: send in-app and push learner notifications for key milestones 2026-06-09 05:11:16 -07:00
initial_assessment.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07: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 feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
lms_persona_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
lms_progress_handler.go feat: scope subscriptions by content type and make Duolingo plans lifetime 2026-06-10 03:59:26 -07:00
lms_reorder_handler.go feat: add LMS lesson reorder endpoint within a module 2026-06-10 03:28:13 -07:00
media_source_fetcher.go public URLs allowed 2026-04-07 01:18:16 -07:00
mobile_app_version_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
module_handler.go feat: return premium catalog content on GET for client-side lock UI 2026-06-11 01:14:04 -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 feat: support team members in bulk notifications and add integration guides 2026-06-24 00:35:16 -07:00
outbound_email_form.go feat: wire email templates for outbound, welcome, and password reset flows 2026-06-15 05:17:01 -07:00
payment_success_page.go Add backend Chapa payment success HTML page. 2026-05-29 04:29:05 -07:00
payments_admin.go feat: add Tier 1 admin CSV export APIs and integration guide 2026-06-29 08:35:42 -07:00
practice_full_update_handler.go feat: enforce sequential access gating for exam prep content 2026-06-20 03:03:40 -07:00
practice_handler.go feat: add global GET /api/v1/practices list endpoint 2026-06-19 01:48:06 -07:00
practice_publish_gate.go Add LMS lesson draft and publish visibility. 2026-05-20 02:16:42 -07:00
program_handler.go feat: return premium catalog content on GET for client-side lock UI 2026-06-11 01:14:04 -07:00
question_type_builder.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
questions.go feat: enforce sequential access gating for exam prep content 2026-06-20 03:03:40 -07:00
ratings.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
rbac_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
recommendation.go institution service + more PopOK callback 2025-06-22 21:49:16 +03:00
referal_handlers.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
settings_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
subscriptions.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
team_handler.go fix: infer activity log actors from resource for legacy entries 2026-06-20 03:38:16 -07:00
team_invitation_handler.go fix: enrich activity log actors and add admin integration guide 2026-06-20 03:29:20 -07:00
thumbnail_helper.go new course management hierarchy 2026-04-10 03:06:30 -07:00
transaction_approver.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
user.go fix: expose profile_completion_percentage in user API responses 2026-06-20 03:56:30 -07:00
video_engagement_handler.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00
vimeo.go feat: comprehensive activity logging and fix question type definition persistence 2026-06-20 02:50:35 -07:00