Commit Graph

25450 Commits

Author SHA1 Message Date
Taylor Payne
36327ff27c refactor: import constants into platform-wide settings module 2025-07-21 08:08:34 -04:00
Taylor Payne
a98dd3f748 refactor: move explicitly shared settings into new common module 2025-07-21 08:08:34 -04:00
Muhammad Adeel Tajamul
ef6dbd9e03 chore: added email verified in course view api (#37046) 2025-07-21 16:32:28 +05:00
Muhammad Adeel Tajamul
989ecfe5a0 feat: added endpoint for priviledged roles to delete threads of a user (#37030)
* feat: added endpoint for priviledged roles to delete threads of a user

* chore: moved forum calls to django comment common app

* fix: fixed nits
2025-07-21 09:43:55 +05:00
Bryann Valderrama
a807d0e280 chore: add missing inline code annotations in events (#36473) 2025-07-18 17:55:54 +02:00
Bryann Valderrama
2a1d1debad chore: add missing inline code annotations in filters (#36474) 2025-07-18 17:53:51 +02:00
Muhammad Faraz Maqsood
5879a52b72 feat: add data report for enrolled & inactive user
Add new data report for learners who are enrolled in a course and have not activated their account
2025-07-18 12:09:36 +05:00
Ahtisham Shahid
25f9397683 fix: use data instead of request.data in comment view set (#37042) 2025-07-17 16:03:36 +00:00
Bryann Valderrama
addeae209f feat: add setting for config private fields in profile information report (#36688) 2025-07-17 17:00:25 +02:00
Awais Qureshi
8e94b2cba4 feat: Update forum role membership api to DRF ( 11th ) (#35343)
* feat: upgrading simple api to drf compatible.
2025-07-16 16:14:06 -04:00
Ahtisham Shahid
cf93ba2974 feat: added captcha validation in discussion thread/comment creation api (#37015) 2025-07-16 18:02:43 +05:00
Awais Qureshi
25dc9686a4 feat!: upgrading get_problem_responses api to DRF ( 34 ) (#35614)
* feat!: upgrading api to DRF.
2025-07-14 13:18:47 -04:00
Muhammad Adeel Tajamul
0a8ec0caab temp: added option to replace spam content with text (#37009) 2025-07-11 22:54:05 +05:00
KEVYN SUAREZ
7927213c26 fix: validation and error display for due date extensions in the API (#36187) 2025-07-11 15:25:30 +02:00
Muhammad Adeel Tajamul
f8c5cecefc feat: added feature to remove spam urls from discussion content (#37007) 2025-07-11 14:10:33 +05:00
Diana Olarte
5657e751bb feat: return the certificate available date if it is configured (#36790) 2025-07-10 17:16:26 +02:00
Awais Qureshi
8b7681ed4c feat: list_forum_members-to-drf api to drf ( 14th ) (#35366)
* feat: upgrading simple api list_forum_members to drf compatible.
2025-07-09 07:31:20 -04:00
Muhammad Farhan
7899ba9074 feat: migrate show_unit_extensions to DRF APIView. (#36987)
* feat: migrate show_unit_extensions to DRF APIView.
2025-07-08 11:09:56 -04:00
KEVYN SUAREZ
a0bb77a6d8 fix: commerce and enrollment error handling and ux (#36612)
Returns HTTP 400 for disallowed enrollments instead of HTTP 500.
Prevents infinite loading spinners on the enrollment page.
Displays clear error messages to users before redirection.
Ensures consistent and meaningful responses from enrollment API endpoints.

* fix: commerce and enrollment apis return 403 when enrollment not allowed

* fix: now both apis send the right message and http code when enrollment fails

* fix: InvalidEnrollmentAtribute as final exception to catch and HTTP 400 returned

* style: the message is displayed as a popup instead of creating a div at the end

* fix:  import not used removed for pylint checks

* style: popup now use utility classes

* refactor: use const instead of let for existing const

* refactor: textContent const structure changed due check failed

* refactor: SetTimeout settled as arrow function

* feat: button incorporated to bring users enough time to read the message

* refactor: ErrorStatuses defined at the top of the file to use it in conditionals

* style: typo fixed

Co-authored-by: Diana Olarte <dcoa@live.com>

* refactor: double validation of redirectUrl eliminated and better styling of the message

Co-authored-by: Diana Olarte <dcoa@live.com>

* refactor: redirectUrl param eliminated in showmessage function, close button redirects to dashboard always

* docs: remove unused redirectUrl param from JSDoc and explain hardcoded URL

* style: endline added

* feat: enrollmentNotAllowed exception added in views and the js

* docs: comment added to especify exception

* style: endline added

* refactor: error statuses velidation changed to one single validation instead of two

* refactor: function added to handle enrollment errors

* feat: enrollmentNotAllowed exception added for API coherence and consistency

* style: empty line added

* style: pylint check line too long disabled

---------

Co-authored-by: Diana Olarte <dcoa@live.com>
2025-07-03 12:36:14 +02:00
Talha Rizwan
7b739ea2f5 feat: rescore entrance exam to drf (#36574)
* feat: rescore entrance exam to drf.
2025-07-01 12:09:54 -04:00
Muhammad Sameer Amin
bc06cf0739 Merge branch 'master' into sameeramin/ENT-10591 2025-06-30 18:56:07 +05:00
Talha Rizwan
97b91bdfc8 feat: export ora2 submission files to DRF (#36557)
* feat: export ora2 submission files to DRF
2025-06-30 09:32:32 -04:00
Hassan Raza
a60b8f8d2c chore: Track 'notify all learners' option in event data (#36962)
* chore: Track 'notify all learners' option in event data

* fix: unit test
2025-06-30 14:54:11 +05:00
Hassan Raza
8fac3bc060 feat: Add notify all learners option for discussion post (#36922)
* feat: Add notify all learners option for discussion post

* fix: Remove waffle flag from default notification dict
2025-06-27 15:25:22 +05:00
Ali-Salman29
e0fbb96ee7 feat!: remove cs_comments_service support for forum's search APIs
This will force the use of the new v2 forum's APIs for searching.
2025-06-26 13:18:56 -04:00
Muhammad Sameer Amin
9545f772bf Merge branch 'master' into sameeramin/ENT-10591 2025-06-26 10:18:47 +05:00
Krish Tyagi
3895044c72 fix!: Remove deprecated CookieNameChange middleware (#36815)
The CookieNameChange middleware has been removed. Originally a temporary
measure slated for removal by October 1, 2021, it facilitated a transitional cookie
migration pattern that is no longer required. 

This action addresses DEPR: 
https://github.com/openedx/edx-platform/issues/36834
2025-06-25 19:38:43 -04:00
Tim McCormack
fb6eaf5141 docs: Document how STATIC_URL_BASE is used (#36952) 2025-06-25 18:09:10 -04:00
Muhammad Sameer Amin
f990884d5c Merge branch 'master' into sameeramin/ENT-10591 2025-06-25 20:15:32 +05:00
Andrii
8ca0e17d62 refactor: get rid of env variable for ENABLE_CATALOG_MICROFRONTEND & simplify use_catalog_mfe() 2025-06-25 09:16:06 -04:00
Andrii
94ce8fa147 refactor: remove per-page waffle flag in favour of global one 2025-06-25 09:16:06 -04:00
Andrii
256511e196 refactor: set toggle_target_removal_date 2025-06-25 09:16:06 -04:00
andrii-hantkovskyi
19014463b1 feat: [AXM-2056] add catalog MFE enabled waffle flag (#2639)
* feat: [AXM-2056] add catalog MFE enabled waffle flag

* test: cover waffle with test

* refactor: fix pylint error

* refactor: redesign waffleflag & add new MFE toggle to FEATURES

* test: update tests to new functionality

* refactor: add toggle_use_cases to annotation

* refactor: redesign again to use new approach

* refactor: rename waffle flag variable & update description

---------

Co-authored-by: Andrii <andrii.hantkovskyi@raccoongang.com>
2025-06-25 09:16:06 -04:00
Muhammad Sameer Amin
185c112542 feat: add Channel Integrations apps to settings 2025-06-25 11:52:13 +05:00
Muhammad Noyan Aziz
8ede4a2ee7 chore: move the credit button href to backend (#36930)
* chore: move the credit button href to backend

* refactor: quality checks

---------

Co-authored-by: Muhammad Noyan  Aziz <noyan.aziz@A006-01474.local>
2025-06-25 10:35:51 +05:00
jawad khan
3cb9c00de2 Add organization logo field in mobile apis (#36940)
* feat: Add org_logo field in mobile apis

* fix: fixed quality checks
2025-06-24 19:42:36 +05:00
Maxwell Frank
47fbf58456 feat!: change learner home to use SEND_ACTIVATIION_EMAIl_URL (#36807) 2025-06-20 10:43:30 -04:00
sundasnoreen12
cc86662ef6 fix: fixed quality check 2025-06-19 13:02:06 +05:00
sundasnoreen12
8e1f06aa59 feat: added goal reminder new UI 2025-06-19 12:05:17 +05:00
Tim McCormack
447fd0b6cb feat: Upgrade to codejail 4.0.0 (#36916)
This brings an important security improvement -- codejail won't default to
running in unsafe mode, which can happen if certain configuration errors
are present.

Properly configured installations shouldn't be affected. We just need to
adjust some unit tests to opt into unsafe mode.

Changes:

- Update `edx-codejail` dependency to [version 4.0.0](https://github.com/openedx/codejail/blob/master/CHANGELOG.rst#400---2025-06-13)
- Define a `use_unsafe_codejail` decorator that allows running a unit test (or entire TestCase class) in unsafe mode
- Use that decorator as needed, based on which tests started failing
2025-06-17 09:33:52 -04:00
sundasnoreen12
6219c1768f feat: implemented self paced email UI 2025-06-13 12:45:36 +05:00
Talha Rizwan
4cea2ab041 feat: export ora2 summary to DRF (#36555)
* feat: export ora2 summary to DRF.
2025-06-12 12:36:56 -04:00
Arslan Ashraf
d6dbc4075c fix: generate IDV URL only if ACCOUNT_MICROFRONTEND_URL is available (#36898)
The api/courseware/course fails for all the verified enrollments if you
are not using Account MFE, which means that you probably won't set
ACCOUNT_MICROFRONTEND_URL in your settings/configurations.
So this PR adds a check safely try to do rstrip.

Fixes a bug in https://github.com/openedx/edx-platform/pull/36870
2025-06-12 12:13:37 -04:00
Muhammad Umar Khan
10a4d12b06 feat!: remove pyjwkest (#36707)
Co-authored-by: M Umar Khan <umar.khan@A006-01609.local>
2025-06-12 14:30:32 +05:00
Turchanikov Arsen
cd57ecef81 fix: correct course catalog visibility for "about" setting
Previously, courses with the "Course Visibility in Catalog" setting set to "about"
still appeared in the course catalog, which contradicts the expected behavior.
2025-06-10 14:26:57 +03:00
Muhammad Soban Javed
bcb3f6b996 Merge pull request #36823 from openedx/iamsobanjaved/fix-csmh-index-migration
[DO NOT MERGE – Needs Staging Verification] fix!: Update the migration to have one Index on student_module_id
2025-06-10 16:00:11 +05:00
Awais Qureshi
be09d1cd18 fix: removing deprecated SHA1PasswordHasher from tests. (#36881) 2025-06-09 16:31:51 -04:00
Javier Ontiveros
89e3d189ca fix: strip end slash if any when using a subpath (#36870)
While trying to be enrolled on a verified course, the upgrade process
gets to an error screen due to a double slash on the URL that it's added
while doing the redirection to the account microfrontend

Will be backported to Teak.
Part of https://github.com/openedx/wg-build-test-release/issues/468
2025-06-09 15:12:08 +00:00
Talha Rizwan
b6cec3c67e Export ora2 data to drf (#36556)
* feat: export ora2 data to DRF
2025-06-05 10:37:55 -04:00
musanaeem
2522bc6ff9 feat: Implemented single and multiselect autocomplete 2025-06-03 17:22:03 -04:00