Commit Graph

67016 Commits

Author SHA1 Message Date
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
Muhammad Adeel Tajamul
113f0ff7e4 feat: added support to use account level preferences with email digest (#36976) 2025-07-03 12:04:47 +05:00
Muhammad Adeel Tajamul
f996ed7c16 feat: skip saving non_editable in db notification preferences (#36968) 2025-07-03 11:32:59 +05:00
Jorg Are
1e2a2d9653 feat: extend transcript languages (#36964) 2025-07-02 12:16:26 -04: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
Ahtisham Shahid
498dd56fec feat: added account level preference model in notification task (#36858)
feat: added account level pref model in notification task

feat: added handler for preference creation on user signup

feat: added unit tests for account level preferences

* fix: removed app level check in notifications

* fix: updated flaky test
2025-07-01 14:09:02 +05:00
Navin Karkera
b27c41cc8c fix: updating search index on container delete and restore (#36956)
Update children and parents index data on container delete and restore.
2025-06-30 17:59:07 +00:00
Muhammad Sameer Amin
a3f322f2a4 Merge pull request #36948 from openedx/sameeramin/ENT-10591
feat: add Channel Integrations apps to settings
2025-06-30 19:25:08 +05:00
Muhammad Sameer Amin
bc06cf0739 Merge branch 'master' into sameeramin/ENT-10591 2025-06-30 18:56:07 +05:00
Muhammad Sameer Amin
178bc24a18 Merge pull request #36963 from openedx/sameeramin/upgrade-enterprise-integrated-channels-a60b8f8
feat: Upgrade Python dependency enterprise-integrated-channels
2025-06-30 18:46:28 +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
sameeramin
631352fe05 feat: Upgrade Python dependency enterprise-integrated-channels
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-06-30 11:57:31 +00: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
jawad khan
e101298fed feat: send mobile push notifications (#36272)
* feat: send mobile braze notifications

* fix: fixed pylint issues

* feat: Added push_notification flag and preferences

* fix: fixed pylint issues

* fix: Moved braze logic to edx-ace

* fix: Un delete admin file

* fix: Added review suggestions

* fix: Added review suggestions

* fix: updated migration file

* fix: Removed all braze references from changes

* fix: fixed test cases

* fix: removed braze metnion in code

* fix: fixed migration file issue

* fix: Added review suggestions

* fix: bumped edx-ace version
2025-06-30 10:48:48 +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
Navin Karkera
bc102d8db6 Merge pull request #36955 from openedx/mfrank/add-oel-publishing-dep-contentstore-migration-0010
fix: add oel-publishing migration dependency to contentstore
2025-06-27 12:03:51 +02:00
Maxwell Frank
fc84ff39d6 fix: add oel-publishing migration dependency to contentstore 0010 2025-06-26 18:03:25 +00: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 Adeel Tajamul
3806f9f4f0 chore: added immediate email event (#36950) 2025-06-26 13:50:47 +05:00
pganesh-apphelix
f3053de6b7 chore: remove ensure csrf cookie decorator from discussion api 2025-06-26 10:32:16 +05: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
Muhammad Sameer Amin
6e390a44db Merge pull request #36951 from openedx/sameeramin/upgrade-enterprise-integrated-channels-8ca0e17
feat: Upgrade Python dependency enterprise-integrated-channels
2025-06-25 20:14:47 +05:00
sameeramin
b0316a0325 feat: Upgrade Python dependency enterprise-integrated-channels
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-06-25 14:43:12 +00: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
Paulo Viadanna
31218a5681 fix: unhide discussions when enabling it 2025-06-25 09:04:26 -04:00
Muhammad Sameer Amin
2d062ffe2d Merge branch 'master' into sameeramin/ENT-10591 2025-06-25 14:14:02 +05:00
github-actions[bot]
3651b74738 feat: Upgrade Python dependency enterprise-integrated-channels (#36949)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: sameeramin <35958006+sameeramin@users.noreply.github.com>
2025-06-25 14:13:03 +05: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
Navin Karkera
2c2721436d feat: container links api (#36911)
Adds list api to fetch container library links information. S
2025-06-24 17:20:53 +00: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
Farhaan Bukhsh
2fe8b7a0c5 fix: Fixes auto_advance feature for video XBlock (#35200)
Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
2025-06-24 03:26:00 -07:00
Muhammad Sameer Amin
0e9bda8a35 feat: add enterprise-integrated-channels dependency (#36935)
* feat: add `enterprise-integrated-channels` dependency

* feat: Recompile Python dependencies

Commit generated by workflow `openedx/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master`

* feat: add `enterprise-integrated-channels` dependency

* feat: Recompile Python dependencies

Commit generated by workflow `openedx/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master`
2025-06-24 14:23:54 +05:00
Feanil Patel
3a3b3faadb Merge pull request #36846 from raccoongang/rg/axm-course-catalog-add-org-image-url-indexing
feat: [FC-86] add org_image_url to course_discovery index FC-86
2025-06-23 14:13:27 -04:00
Chris Chávez
a9abb116f0 feat: Add tags_count to ContainerMetadata (#36883) 2025-06-23 12:10:03 -05:00
Andrii
04febf0761 refactor: change logo_path to logo_url 2025-06-23 19:12:26 +03:00
Awais Qureshi
5118c0bc3e test: fixing get_storage_class deprecated method in tests. (#36939) 2025-06-23 10:06:03 -04:00
Taimoor Ahmed
b4897ed39e fix: Discussion following posts filter
This PR fixes following filter on the discussions module by replacing  forum api to  api since we only need threads that are subscribed/followed by the requesting user.
2025-06-23 09:04:37 -04:00
Feanil Patel
009dd30c69 Merge pull request #36849 from dwong2708/dw/upgrade-django-5-course-import
feat: removing get_storage_class from COURSE_IMPORT_STORAGE
2025-06-20 14:36:37 -04:00
Feanil Patel
1efee3498a Merge pull request #36794 from dwong2708/dw/certificates-enabled-fix
fix: certificates_enabled flag now correctly returns its boolean value
2025-06-20 14:35:53 -04:00
Daniel Wong
e0a0d01d26 feat: update file storage access to support Django 5.0 storages registry 2025-06-20 09:07:29 -06:00
Maxwell Frank
47fbf58456 feat!: change learner home to use SEND_ACTIVATIION_EMAIl_URL (#36807) 2025-06-20 10:43:30 -04:00
Feanil Patel
ba0f3bdaa3 Merge pull request #36761 from dwong2708/dwong/updgrade-django-5-get-storages
feat: removing get_storage_class from COURSE_METADATA_EXPORT_STORAGE
2025-06-20 09:54:24 -04:00
Ahtisham Shahid
e4e8565084 feat: added account level user preferences model and migration command (#36811) 2025-06-19 13:54:24 +00:00