Commit Graph

177 Commits

Author SHA1 Message Date
52effaa321 Add admin endpoint for nested user LMS completion activity.
Expose GET /api/v1/admin/users/:user_id/lms-learning-activity for progress.get_any_user so admins see program/course/module/lesson completions and practices from stored completion rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 00:58:49 -07:00
062b1f6151 Add country, region, and subscription_status filters to GET /users.
Filtering matches user profile country/region (case-insensitive trim) and derived subscription state in SQL so pagination totals stay correct.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 00:37:11 -07:00
49bcc22d0d Expose subscription_status on user profile responses instead of active_subscription.
Users see ACTIVE, PENDING, or Unsubscribed via new batch and single SQL helpers; Swagger refreshed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 00:28:19 -07:00
1e62510321 Always serialize active_subscription on profile responses.
Null encodes when there is no active plan so clients see explicit subscription state; Swagger regenerated and GET /users description updated accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 00:16:10 -07:00
f824c16c64 user list response fix 2026-05-18 00:09:26 -07:00
2883561525 Add monthly revenue trend for analytics when year is specified.
Exposes payments.revenue_monthly with Jan–Dec SUCCESS totals (UTC) per currency for dashboard charts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-17 23:32:36 -07:00
a1696bf1e0 Fix analytics dashboard course counts for LMS and exam_prep hierarchies.
Replace stub AnalyticsCourseCounts query and expose lms / exam_prep inventory in the courses section.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-17 22:34:25 -07:00
7f8ef3373c Add paginated Vimeo video list API (GET /me/videos).
Exposes the Vimeo account library for admin workflows and syncs swagger docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-17 22:23:50 -07:00
9afc9a4392 date filter for dashborad analytics 2026-05-15 02:16:26 -07:00
6a4fe68628 Add full FAQ management APIs and integration assets.
Implement public FAQ read endpoints and admin CRUD with RBAC, persistence, and migrations, then regenerate Swagger and add a complete Postman collection so frontend/admin teams can integrate and validate the feature end-to-end.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 07:58:17 -07:00
bc2357374b Add practice-existence flags and refresh API contracts.
Expose has_practice booleans for LMS and pre-exam hierarchy entities, wire SQL/repository mappings, and regenerate SQLC/Swagger artifacts. Also update the Resend sender display name for outbound emails.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-08 11:57:11 -07:00
3d1b3ad9b8 dynamic question type builder completion 2026-05-08 10:12:02 -07:00
10954d88b0 subscription management fix + duolingo hierarchy implementation 2026-05-04 10:44:18 -07:00
5b53929d92 learning progress implementation 2026-04-23 03:58:27 -07:00
dc788c04cb updated swagger 2026-04-23 02:11:20 -07:00
152478a96c added program 2026-04-23 00:59:01 -07:00
72d1a0c3ed feat: list sub-categories by course category ID
- GET /api/v1/course-management/categories/:categoryId/sub-categories

- SQL GetCourseSubCategoriesByCategoryID; swagger refresh

Made-with: Cursor
2026-04-20 08:32:19 -07:00
de95c4d0d2 feat: practice detail API, inactive purge tracking, and related plumbing
- Add GET /api/v1/course-management/practices/:practiceId/detail with full question items

- Add migration 000040 for sub-module content inactive purge tracking

- Hierarchy queries, sqlc gen, config/app purge job, swagger refresh

Made-with: Cursor
2026-04-20 08:24:59 -07:00
90baa582be fix: load sub-module lesson by ID regardless of active flag
Course-management GET/PUT used GetSubModuleLessonByID with is_active=TRUE,
which returned no row for inactive lessons. Align with other ByID lookups
and allow admins to view and edit inactive lessons.

Made-with: Cursor
2026-04-20 00:48:13 -07:00
ce1b827768 refresh token fix 2026-04-17 10:16:25 -07:00
886b62ed68 feat(levels): flexible cefr_level codes up to 64 chars
- Migration 000038 drops fixed A1-C3 check and widens cefr_level column
- CreateLevel validates length and NUL only; preserve client casing
- Regenerate Swagger docs

Made-with: Cursor
2026-04-17 09:24:34 -07:00
7ff0b639cf added more structure to submodules 2026-04-17 09:07:25 -07:00
c5d3935062 added more structure to levels 2026-04-17 08:33:58 -07:00
518c3ee751 added more structure to lessons 2026-04-17 08:27:40 -07:00
1c8d041747 README update 2026-04-16 01:59:32 -07:00
894e18bcae removed all unnecessary data seed 2026-04-10 03:32:07 -07:00
7613eb583a new course management hierarchy 2026-04-10 03:06:30 -07:00
4055ad46f6 add hierarchy endpoint and mobile integration guide
Expose a dedicated human-language hierarchy endpoint aligned to category/subcategory/course/level/module/sub-module structure and add a complete learner mobile integration guide.

Made-with: Cursor
2026-04-07 06:13:03 -07:00
b06b8645cf data seed + file upload handle fixes 2026-03-24 04:58:05 -07:00
800d2a4b3a MinIO integration + speaking implementation adjustment 2026-03-12 07:06:16 -07:00
180e63e975 account deletion API 2026-03-11 06:26:30 -07:00
d558739097 preogress tracker fix 2026-03-10 02:35:13 -07:00
515573d56e course level progress tracker implementation 2026-03-09 11:20:16 -07:00
74efcd5ec2 learning flow + level + sublevel 2026-03-08 05:35:17 -07:00
7c6962909e removed build files 2026-02-27 01:15:38 -08:00
130421e971 added cloudconvert for thumbnails + added ratings service 2026-02-18 02:56:08 -08:00
834a807edc 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
7f1bf0e7f1 profile picture, birthday format and refresh token expiry fixes 2026-01-28 09:24:31 -08:00
64c25699e9 course management and course data seed implementations 2026-01-24 06:29:42 -08:00
963cfbed29 changed web google auth to android google auth 2026-01-22 04:16:02 -08:00
d691edae8b assessment question domain fix 2026-01-21 13:05:18 -08:00
7309a2bc83 updated the authentication method from username to email/phone_numner 2026-01-03 06:52:38 -08:00
8ed0a5f1c6 course management service 2025-12-30 07:00:02 -08:00
2c907a34db added inittal assessment feature 2025-12-29 07:59:24 -08:00
915185c317 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
47d70b029f afro SMS and partial ArifPay Payment Gateway integrations 2025-12-18 18:06:26 +03:00
5e9046eb76 user and auth service refactoring, notification service SQL + repository adjustment 2025-12-16 18:05:57 +03:00
299825e797 favourtie game and virtual games + providers orchestration fixes 2025-11-18 16:39:37 +03:00
1c7e076be5 direct depost and veli games fix 2025-11-17 18:45:18 +03:00
d654d5f2ef veli games fixes 2025-11-06 16:37:41 +03:00
4fdc76280a chapa minor fixes swagger 2025-11-03 17:39:16 +03:00
7575f29386 virtual_games wallet service fixes 2025-10-29 15:01:39 +03:00
e98477d6cc virtual game provider report 2025-10-25 17:53:36 +03:00
4104d7d371 Chapa Fixes 2025-10-20 15:16:39 +03:00
fc69ca3f52 Enetpulse fixture and preodds 2025-10-15 16:42:00 +03:00
e429810ebc Enetpulse fixture and preodds 2025-10-15 16:41:45 +03:00
d997cde387 fix: integration fixes 2025-10-07 13:39:36 +03:00
ea986b538e atlas gaming + veli credit balance route 2025-09-12 16:03:13 +03:00
858fd6ce24 virtual game orchestration 2025-08-26 21:07:12 +03:00
d40bdcf33c santimpay direct payment 2025-08-18 16:35:33 +03:00
5283efeb1e swagger fix 2025-08-17 12:34:20 +03:00
d8de92e7d6 5 min report fix + arifpay integration 2025-07-23 14:02:52 +03:00
5614958c5b Merge branch 'ticket-bet' 2025-07-13 03:49:26 +03:00
c83130394b fix: version on route, better logs, error display, cleaning up code 2025-07-13 01:23:08 +03:00
2b9302b10b transaction maker-checker fixes 2025-07-11 15:48:59 +03:00
b0a651fd38 more veli-games endpoints 2025-06-28 12:44:38 +03:00
b1c3b73d9c issue reporting service 2025-06-24 18:45:34 +03:00
25230e3fcf fetch company and branch by wallet ID methods 2025-06-24 17:41:04 +03:00
bdf057e01d institution service + more PopOK callback 2025-06-22 21:49:16 +03:00
12855f3690 CSV reports + live metrics + redis service 2025-06-21 21:48:11 +03:00
1e49afc5ee Merge branch 'main' into ticket-bet 2025-06-19 19:12:32 +03:00
b0803c968a fix: moving ticket logic into service 2025-06-19 19:11:19 +03:00
7c70b23a3d game list 2025-06-19 15:02:28 +03:00
a5ea52b993 multi-currency support 2025-06-16 17:54:42 +03:00
2a6e892f5e Merge branch 'main' into ticket-bet 2025-06-12 19:11:35 +03:00
35a03e1959 Merge branch 'main' into ticket-bet 2025-06-12 14:10:13 +03:00
6d5bdd8a56 Chapa webhook + popok fix 2025-06-12 09:40:11 +03:00
c22a1bd6c4 report_service + wallet_monitoring 2025-06-07 17:48:06 +03:00
73c1db14c1 Merge branch 'main' into ticket-bet 2025-06-07 08:15:17 +03:00
efc51e3b72 fix: result and event service fixes 2025-06-07 07:58:39 +03:00
f2ec267347 wallet security+log file 2025-06-02 17:22:07 +03:00
75d469be8c createTransaction+createTransfer fix 2025-05-31 21:29:39 +03:00
95eaed18ad unit test bet outcome 2025-05-28 22:18:27 +03:00
c637ddb321 recommendation service 2025-05-28 13:46:28 +03:00
5dcefa377f recommendation service 2025-05-28 13:07:58 +03:00
25ded17b09 manager resp struct fix+merge conflict fix 2025-05-25 14:11:46 +03:00
ee07d469eb Veli Games 2025-05-24 19:39:24 +03:00
9793854596 authmiddleware fix 2025-05-23 20:37:29 +03:00
9dd566417e Alea Play Service 2025-05-23 20:11:26 +03:00
991359f805 chapa models+swagger+unit_test 2025-05-23 16:26:32 +03:00
cdc40397b9 fix: date filter 2025-05-19 15:38:52 +03:00
4c6fb73342 integration issues 2025-05-16 22:38:10 +03:00
95fb33c9d4 fix: result service evaluation issues 2025-05-15 01:01:09 +03:00
889427af26 deployment fix 2025-05-04 00:16:15 +03:00
b4e20a274d basketball and fixes 2025-05-03 20:22:57 +03:00
0d081e63ab - 2025-04-29 21:11:43 +03:00
98e30b5051 small fixes and getting it ready for deployment 2025-04-29 21:11:25 +03:00
208a2d74be integration fixes 2025-04-26 14:48:45 +03:00
8c536a6d2f company management 2025-04-23 03:44:17 +03:00
991199c3dc events pagination + ticket and bet validation 2025-04-22 03:20:52 +03:00