RezinaLMS-BackEnd/internal/repository
n3p-tun3 a81fe3cd19 feat(auth): add learner device sessions with a 2-device limit
- Track learner sessions and revoke them immediately on every request
- Add a device replacement challenge for logins over the limit
- Add learner and admin endpoints to list and remove devices
- Trim excess sessions when enforcement is enabled
- Stop logging refresh tokens and authorization headers

Enforcement is off by default through DEVICE_LIMIT_ENFORCED.
2026-11-23 17:38:48 +03:00
..
activity_logs.go Initial commit 2026-10-19 17:59:34 +03:00
auth.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
chapter_lessons.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
chapter_quizzes.go Implement chapter-based learning, public catalog, and demo fixtures 2026-11-01 13:38:28 +03:00
common.go cloud convert integration + more advanced activity log + issue reporting + video file management fixes 2026-02-11 06:54:05 -08:00
course_purchases.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
email_templates.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_access.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_admin_activity.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_assessments.go Unify LMS hierarchy and assessment support 2026-10-22 13:47:22 +03:00
exam_prep_catalog_courses.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
exam_prep_lesson_practices.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_progress.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_reorder.go subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
exam_prep_unit_module_lessons.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
exam_prep_unit_modules.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
exam_prep_units.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
faqs.go Initial commit 2026-10-19 17:59:34 +03:00
issue_reporting.go Initial commit 2026-10-19 17:59:34 +03:00
lms_access.go Initial commit 2026-10-19 17:59:34 +03:00
lms_courses.go Initial commit 2026-10-19 17:59:34 +03:00
lms_lessons.go Initial commit 2026-10-19 17:59:34 +03:00
lms_modules.go Initial commit 2026-10-19 17:59:34 +03:00
lms_personas.go Initial commit 2026-10-19 17:59:34 +03:00
lms_practices.go Initial commit 2026-10-19 17:59:34 +03:00
lms_progress_tx.go Initial commit 2026-10-19 17:59:34 +03:00
lms_reorder.go fix: avoid unique sort_order conflicts during LMS hierarchy reorder 2026-06-10 03:42:40 -07:00
lms_sort_order_shift.go fix: use two-phase bump when shifting sort_order on content insert 2026-06-10 05:26:17 -07:00
lms_user_progress_snapshot_test.go feat: allow LMS practices to link to multiple course/module/lesson parents 2026-06-18 04:14:34 -07:00
lms_user_progress_snapshot.go Initial commit 2026-10-19 17:59:34 +03:00
mobile_app_versions.go Initial commit 2026-10-19 17:59:34 +03:00
notification.go Prefix admin panel APIs and preserve customer API paths 2026-10-28 22:56:34 +03:00
otp.go Initial commit 2026-10-19 17:59:34 +03:00
payments.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
practice_stimulus_blocks.go Initial commit 2026-10-19 17:59:34 +03:00
profile_field_options.go Initial commit 2026-10-19 17:59:34 +03:00
programs.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
public_catalog.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
question_type_definition_groups.go Initial commit 2026-10-19 17:59:34 +03:00
questions.go Retire Audio Conversation from the makeup question catalog 2026-11-03 12:32:19 +03:00
ratings.go Initial commit 2026-10-19 17:59:34 +03:00
rbac.go Initial commit 2026-10-19 17:59:34 +03:00
recommendation.go recommendation service 2025-05-28 13:07:58 +03:00
scheduled_notification.go Initial commit 2026-10-19 17:59:34 +03:00
settings.go Initial commit 2026-10-19 17:59:34 +03:00
store_config_test.go Adapt backend and demo curriculum for makeup artistry and clean up services 2026-11-02 13:09:31 +03:00
store.go Adapt backend and demo curriculum for makeup artistry and clean up services 2026-11-02 13:09:31 +03:00
subscriptions.go Initial commit 2026-10-19 17:59:34 +03:00
team_invitations.go Initial commit 2026-10-19 17:59:34 +03:00
team.go Initial commit 2026-10-19 17:59:34 +03:00
transaction.go Initial commit 2026-10-19 17:59:34 +03:00
user_contact.go Improve web checkout auth: phone normalization and Google web OAuth. 2026-08-24 16:48:53 +03:00
user_recent_activity.go Initial commit 2026-10-19 17:59:34 +03:00
user_sessions.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
user_unique.go Initial commit 2026-10-19 17:59:34 +03:00
user.go Enforce LMS subscriptions and add configurable referral commissions 2026-10-28 17:51:56 +03:00
video_engagement.go Initial commit 2026-10-19 17:59:34 +03:00