Commit graph

316 commits

Author SHA1 Message Date
swve
f635440158 fix: ruff issues & build 2025-08-09 14:29:51 +02:00
swve
531e1863c0 feat: enhance role management API with organization-specific role creation and retrieval, including comprehensive RBAC checks for permissions 2025-08-09 14:26:48 +02:00
swve
3ce019abec feat: implement comprehensive RBAC checks for courses, chapters, collections, and activities, enhancing user rights management and security documentation 2025-08-09 12:13:12 +02:00
swve
c194114bfc fix: update user organization role_id from 3 to 4 in join_org and create_user functions for consistency 2025-08-06 16:46:30 +02:00
swve
5b192290f0 refactor: remove unused logfire import and adjust SQLModel imports for consistency 2025-08-06 15:34:12 +02:00
swve
05abc93017 fix: make logfire disabled by default
Initially started by
https://github.com/learnhouse/learnhouse/pull/496
2025-08-06 14:45:08 +02:00
swve
b425cd2984 tests: replace dictionary-based role rights with structured Rights and Permission objects for improved RBAC clarity 2025-08-06 14:17:28 +02:00
swve
9f13884c08 refactor: update role permissions and enhance RBAC logic to include own permissions for courses and dashboard access 2025-08-06 14:12:43 +02:00
swve
fa3a3be151 chore: enhance API test coverage reporting and update dependencies 2025-07-27 20:12:23 +02:00
swve
7b220e8883 chore: update API tests workflow and database connection logic for testing environment 2025-07-27 20:07:19 +02:00
swve
367c25b084 chore: remove test_main.py file as part of test suite cleanup 2025-07-27 19:58:53 +02:00
swve
44f4a08b5a feat: init unit tests 2025-07-27 19:56:56 +02:00
swve
0138174f6a refactor: update RBAC check logic and improve comments in get_certificate_by_user_certification_uuid function 2025-07-20 11:29:37 +02:00
swve
4af594e628 refactor: remove unused imports from certifications and courses modules 2025-07-20 11:05:58 +02:00
swve
d58336795a feat: adapt trail page to show the user certificates 2025-07-20 11:03:44 +02:00
swve
f01f7efb06 feat: user certificate verification backend and UI 2025-07-20 10:37:48 +02:00
swve
7539b27d0f feat: add endpoint to retrieve user certificates for a specific course 2025-07-16 20:07:52 +02:00
swve
b0d492a116 feat: backend endpoints 2025-07-16 18:16:28 +02:00
swve
71cc8ef105 fix: google sign in issue 2025-07-03 19:59:36 +02:00
swve
63cb3bfd59 feat: create ENUM type for thumbnail_type and update course migration 2025-06-20 22:55:47 +02:00
swve
2966ac91b7 feat: add video thumbnails to courses 2025-06-20 22:43:42 +02:00
swve
89889a93bf hotfix: missing org_id in return for course endpoint 2025-06-18 10:50:12 +02:00
swve
59bae82ee7 feat: perf improvements and bug fixes 2025-06-12 16:09:41 +02:00
swve
1b35e1cbb3 feat: add scripts field to Organization table 2025-06-08 18:14:14 +02:00
swve
c0c32f9564 feat: Improve the contributors admin UX/UI 2025-06-08 11:52:36 +02:00
swve
8d3ede1486 feat: add WebPreviews blocks 2025-06-05 11:08:05 +02:00
swve
20bafafba0 feat: optimize course retrieval by using joins to fetch authors in a single query 2025-05-16 22:32:39 +02:00
swve
90938de5f0 fix: adjust database connection pool settings for improved performance 2025-05-16 22:19:45 +02:00
swve
dcfcb06b2e fix: improve authorization logic in RBAC by refining action checks and simplifying role permission validation 2025-05-08 12:02:56 +02:00
swve
260bd60c7a fix: update details handling in video activities to use JSON strings 2025-04-23 17:48:44 +02:00
swve
31b5104dd5 feat: add details to video activities
wip: uploadable video activities
2025-04-22 17:25:41 +02:00
swve
46e06201fb feat: unpublished activities are now hidden by default 2025-04-17 15:57:57 +02:00
swve
1350cb7354 feat: implement activity removal from trail and update UI for unmarking activities 2025-04-16 15:24:40 +02:00
Badr B.
bbe6f9e2c5
Merge pull request #471 from learnhouse/fix/editor-issues
Fix UI glitchs, editor bugs
2025-04-07 14:39:18 +02:00
swve
aa8abe8d6f fix: reading user id issue 2025-04-07 14:21:20 +02:00
swve
12e1d79504 feat: introduce search page + improvements to the search experience 2025-04-06 22:13:26 +02:00
swve
0167fecbe8 feat: implement multi search on search bar 2025-04-06 13:48:33 +02:00
swve
b1aec48947 feat: Add User Courses in Profile 2025-04-06 12:12:01 +02:00
swve
b3ef0eb10b feat: update rbac_check to allow 'read' action for anonymous users 2025-04-01 17:52:57 +02:00
swve
3b5c4f9d92 feat: Implement UserProfiles 2025-03-30 22:49:00 +02:00
swve
6ff53915a8 feat: add details and profile fields to User model with JSON support 2025-03-29 16:35:07 +01:00
swve
b6059f8d5c feat: implement contributor editing for activities 2025-03-22 16:51:00 +01:00
swve
4e7a06b74e fix: ordering issues 2025-03-22 13:10:26 +01:00
swve
4ab8f52b09 feat: implement author roles in course management 2025-03-20 13:38:10 +01:00
swve
5f302106a9 feat: add migration alembic script 2025-03-20 11:15:30 +01:00
swve
75500bacd2 feat: multi-contributors backend code 2025-03-19 13:40:48 +01:00
swve
5e7ae54215 refactor: optimize functions queries 2025-03-16 11:34:41 +01:00
swve
6ebac01c61 chore: update database connection settings with pool size and timeout configurations 2025-03-16 11:18:38 +01:00
swve
a6b5db29ca fix: misc assignments bugs 2025-03-16 10:59:53 +01:00
swve
67ac0b9d67 feat: implement backend observability with logfire 2025-03-12 13:23:37 +01:00