Commit Graph

67043 Commits

Author SHA1 Message Date
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
Devasia Joseph
84f82477ed Merge pull request #37004 from djoseph-apphelix/djoseph-2u/TNL-12056-Add-swagger-details-for-new-endpoints-from-several-in-progress-tickets
feature: Added disable/enable discussion endpoint to swagger
2025-07-11 14:12:07 +05:30
Hassan Raza
64094da239 chore: Update notification preferences for non-editable push notifications (#37003)
* chore: Update notification preferences for non-editable push notifications

* fix: unit tests
2025-07-11 12:04:25 +05:00
jawad khan
2388112646 chore: Added logs in notification send function (#37005) 2025-07-11 11:46:40 +05:00
Diana Olarte
5657e751bb feat: return the certificate available date if it is configured (#36790) 2025-07-10 17:16:26 +02:00
Devasia Joseph
b665f30378 fix: fixed lint errors 2025-07-10 17:37:25 +05:30
Devasia Joseph
f330e49aaf feat: Added disable/enable discussion endpoint to swagger 2025-07-10 17:05:42 +05:30
Raymond Zhou
33f239d8fc fix: use correct studio resource url call (#37000) 2025-07-09 11:30:22 -04:00
sundasnoreen12
2a87b3c9ab Merge pull request #37001 from openedx/sundas/INF-1939
fix: fixed button padding issue
2025-07-09 17:13:17 +05:00
sundasnoreen12
595bec3e88 fix: fixed button padding issue 2025-07-09 16:40:49 +05: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
Ahtisham Shahid
652fbfcb88 feat: updated management command to use default preferences (#36997) 2025-07-09 12:33:02 +05: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
Muhammad Faraz Maqsood
84ecd9f035 fix: optimizer error due to duplicate ids
In this commit, fix optimizer error due to duplicate ids at sections and subsections level
2025-07-08 11:28:18 +05:00
Muhammad Sameer Amin
bdfaffbd20 Merge pull request #36986 from openedx/sameeramin/upgrade-enterprise-integrated-channels-2e9f000
feat: Upgrade Python dependency enterprise-integrated-channels
2025-07-07 12:17:27 +05:00
Kshitij Sobti
80fa4f389d fixup! fixup! fix: use a single 'provider_type' key for storing discussion provider type in course 2025-07-06 17:38:38 +05:30
Kshitij Sobti
6e336e2d39 fixup! fix: use a single 'provider_type' key for storing discussion provider type in course 2025-07-06 17:38:38 +05:30
kshitij.sobti
9ee4afaaf1 fix: use a single 'provider_type' key for storing discussion provider type in course
Both 'provider' and 'provider_type' have been used for storing the discussion provider type in course 'discussions_settings' field, there are some places in the code checking for 'provider' and others checking for 'provider_type', in some cases this can cause a bug where it doesn't detect the correct provider which causes discussion settings not being copied correctly when a course is cloned.

This change prioritises the `provider_type` setting over `provider` and reads `provider` only as a fallback. The `provider` setting is now made read-only just for backwards-compatibility, to avoid confusion.
2025-07-06 17:38:38 +05:30
sameeramin
82a2dcb10f 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-07-04 13:18:34 +00:00
irfanuddinahmad
2e9f000fe0 Merge pull request #36985 from openedx/irfanuddinahmad/upgrade-edx-enterprise-a0bb77a
feat: Upgrade Python dependency edx-enterprise
2025-07-04 15:41:43 +05:00
irfanuddinahmad
11cd4c8618 Merge branch 'master' into irfanuddinahmad/upgrade-edx-enterprise-a0bb77a 2025-07-04 15:08:45 +05:00
Muhammad Adeel Tajamul
c812297eb1 fix: create preferences for all types instead of core (#36984) 2025-07-04 14:45:56 +05:00
irfanuddinahmad
9a7376e9bc Merge branch 'master' into irfanuddinahmad/upgrade-edx-enterprise-a0bb77a 2025-07-04 14:11:22 +05:00
Ahtisham Shahid
cfe40599bf feat: added API to get account level preferences (#36957)
* feat: added API to get account-level preferences

* feat: added update api for account level preferences (#36978)
2025-07-04 13:04:28 +05:00
irfanuddinahmad
81b0f35f2c feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-07-03 13:48:14 +00: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
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