Commit Graph

734 Commits

Author SHA1 Message Date
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
1026354c24 Expand course hierarchy read APIs and practice retrieval.
Add list/detail endpoints for courses, levels, modules, submodules, and submodule practices; extend course listing queries; add lesson update support and clean up removed route paths.

Made-with: Cursor
2026-04-17 07:52:22 -07:00
343ce470cc add lesson and subcategory retrieval/update endpoints
Introduce dedicated APIs for submodule lesson detail/update and subcategory listing (including Human Language), with SQL/query wiring and handler routing updates.

Made-with: Cursor
2026-04-17 01:40:47 -07:00
01914cb81e Add lesson detail retrieval endpoints.
Expose APIs to list lessons by submodule and fetch a single lesson by ID, including title, description, intro video URL, and question count.

Made-with: Cursor
2026-04-16 02:42:21 -07:00
d686bdf8bd compose file port update 2026-04-16 02:09:39 -07:00
ea55d9b371 Empty commit to trigger CI/CD - 1 2026-04-16 02:08:32 -07:00
9ee8952d7f Empty commit to trigger CI/CD - 1 2026-04-16 02:03:29 -07:00
1c8d041747 README update 2026-04-16 01:59:32 -07:00
a9c6966820 add legacy learning-path GET endpoint for flows compatibility
Expose GET /course-management/courses/:courseId/learning-path and build response from unified hierarchy tables so first-time Flows tab loads no longer fail with Cannot GET.

Made-with: Cursor
2026-04-14 10:05:53 -07:00
06d86c9098 readme update 2026-04-14 09:33:52 -07:00
57f0db269a add legacy category courses GET endpoint for compatibility
Expose GET /course-management/categories/:categoryId/courses so legacy tab/API callers no longer fail with Cannot GET during initial content load.

Made-with: Cursor
2026-04-14 09:21:13 -07:00
3889334e3f query fix 2026-04-14 08:42:19 -07:00
f5e925dc96 separate lessons schema from practices in hierarchy
Replace rename-based lesson migration with additive sub_module_lessons creation, preserve sub_module_practices as its own model, and enforce QUIZ/PRACTICE filtering in hierarchy reads to prevent cross-mixing.

Made-with: Cursor
2026-04-14 07:13:50 -07:00
83f5541650 add course category deletion endpoint
Expose delete support for top-level course categories and cascade removal of linked sub-categories/courses for content-management cleanup.

Made-with: Cursor
2026-04-14 06:22:36 -07:00
542a597f41 fix module removal to delete actual module records
Add a module delete API route and handler so level/module removal actions remove modules directly instead of only deleting sub-modules.

Made-with: Cursor
2026-04-14 05:58:37 -07:00
9123ff571d add sub-category deletion endpoint for course management
Introduce a compatibility delete route and handler for course sub-categories and cascade-delete their linked courses to support admin content cleanup flows.

Made-with: Cursor
2026-04-14 05:45:16 -07:00
0cc813d224 fix course creation linkage to sub-categories
Allow course creation payloads to include sub_category_id and persist it so newly created language paths appear in unified hierarchy views.

Made-with: Cursor
2026-04-14 05:23:24 -07:00
a4d1f395da add legacy human-language hierarchy route alias
Expose /course-management/human-language/hierarchy as an alias to the unified hierarchy handler so older admin clients continue working without 404s.

Made-with: Cursor
2026-04-14 05:15:42 -07:00
2ff1e89263 more course CRUD fix 2026-04-14 05:04:38 -07:00
5858aeb744 course CRUD fix 2026-04-14 04:06:49 -07:00
b1a1b97a0a Merge remote-tracking branch 'origin/production' 2026-04-14 04:03:21 -07:00
Kerod-Fresenbet-Gebremedhin2660
facaedb8dc Empty commit to trigger CI/CD - 3 2026-04-14 14:50:13 +03:00
e3afadf2bb 404 errors fix 2026-04-14 03:56:49 -07:00
bb2f92e5e3 readme file update 2026-04-14 02:18:27 -07:00
be70f87541 readme file update 2026-04-14 02:15:38 -07:00
d9783310d1 Add legacy hierarchy fallback for pre-migration databases.
Handle missing course_sub_categories table by serving hierarchy data from legacy categories/courses queries so content pages keep loading until unified hierarchy migration is applied.

Made-with: Cursor
2026-04-14 01:02:31 -07:00
69d3d440d0 permissions data seed fix 2026-04-14 00:39:42 -07:00
f256ee179a permissions data seed 2026-04-14 00:35:10 -07:00
f7499cb41a data seed fix 2026-04-14 00:24:30 -07:00
d08f92e06c Merge branch 'production' of https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd 2026-04-14 00:11:30 -07:00
Kerod-Fresenbet-Gebremedhin2660
84cfc3ac4d Empty commit to trigger CI/CD - 2 2026-04-13 17:23:12 +03:00
Kerod-Fresenbet-Gebremedhin2660
4b6d3da7bc Empty commit to trigger CI/CD - 1 2026-04-13 17:05:50 +03: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
7ecfdd9cc8 removed course management data seed 2026-04-09 01:50:05 -07:00
7918e62ca9 normalize human language module and sub-module grouping
Enhance hierarchy parsing to group Module-N and Module-N.M naming into stable module/sub-module structures under each CEFR level for consistent rendering.

Made-with: Cursor
2026-04-07 06:30:54 -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
9c9ab41f41 add dedicated human language backend endpoints
Introduce separate CEFR-based human language lesson APIs for create, update, and level-filtered retrieval while keeping existing non-language course hierarchy endpoints unchanged.

Made-with: Cursor
2026-04-07 05:40:15 -07:00
43f79d34ea fetch practice pagination fix 2026-04-07 03:37:19 -07:00
cd8670d5a6 content filtering adjustment 2026-04-07 03:09:44 -07:00
58a94dcd8e public URLs allowed 2026-04-07 01:18:16 -07:00
fcc30c92e2 seed data clearer API 2026-03-29 02:03:27 -07:00
05cb8715f9 seed data clearer API 2026-03-29 01:31:43 -07:00
36134f32a2 reseed feature adjustment 2026-03-27 03:29:33 -07:00
d4bf2e8642 permission fix 2026-03-27 02:53:42 -07:00
3aca2c438d foreign key fix 2026-03-27 02:49:20 -07:00
e6fe8ab7e3 reseed directory fix 2026-03-27 02:40:49 -07:00
4b46fd60dc reseed config fix 2026-03-27 02:36:20 -07:00
0cb58b35f8 new reseed endpoint 2026-03-27 02:29:30 -07:00