Commit Graph

67674 Commits

Author SHA1 Message Date
edX requirements bot
101e69d78b chore: Upgrade Python requirements (#37710)
* chore: Upgrade Python requirements

* build: Downgrade edx-submissions for now.

The latest version changes a method signature and so code here will need
to be updated before that can land. There is already a PR to pick up
that change https://github.com/openedx/edx-platform/pull/37528 so it
doesn't seem worth it to add the constraint so just downgrade the
package in this PR so we can land the rest of the updates.

---------

Co-authored-by: Feanil Patel <feanil@axim.org>
2025-12-03 16:55:20 +00:00
github-actions[bot]
86131b1d13 feat: Upgrade Python dependency Django (#37715)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: robrap <14576445+robrap@users.noreply.github.com>
2025-12-03 16:55:02 +00:00
Asespinel
957e254a0a fix: Course search pill not cleared when text deleted. (#37709)
* fix: Course search pill not cleared when text deleted

* chore: fix spacing

Co-authored-by: Feanil Patel <feanil@axim.org>

---------

Co-authored-by: Feanil Patel <feanil@axim.org>
2025-12-03 11:28:49 -05:00
KEVYN SUAREZ
6f391d93b9 feat: enrollment_date added to csv report and add custom fields method (#37264)
* chore: enrollment_date added to csv report and add custom fields method managing

* test: tests added

* fix: pylint fix

* fix: new line at test_basic.py added

* feat: new function added to handle available features with custom fields

* chore: replace include_ parameters with direct feature checks

* feat: type validation for custom attributes added

* chore: site config name and variable updated, attribute fixing erased

* test: tests updated
2025-12-03 10:43:40 -05:00
M. Tayyab Tahir Qureshi
1fed4be5c9 refactor: Enable the Extracted HTML XBlock (#37669)
In this commit we are rolling out the Extracted HTML XBlock by toggling the
USE_EXTRACTED_HTML_BLOCK flag to True.

Note: The HTML Block subclasses (StaticTab, About, CourseInfo) still use the
built-in code. We'll update it to use the extracted code in a separate PR.

Part of: https://github.com/openedx/edx-platform/issues/37254
2025-12-03 08:49:59 -05:00
Ahtisham Shahid
ad513cbd23 fix: removed course_id from notification flag implementation (#37716) 2025-12-03 16:38:17 +05:00
feanil
c2fad03823 chore: geoip2: update maxmind geolite country database 2025-12-02 14:01:21 -05:00
Serhiii Nanai
0c3d709d63 feat: add assignment color codes to Progress API (#37438)
* feat: change list of color codes

* fix: add missing color

* style: rename attribute for assignment color list

* docs: add explanation for current implementation
2025-12-02 13:52:36 -05:00
Stanislav
82f574ec2c feat: Replace Twitter with X (#36524)
* feat: Replace Twitter with X


---------

Co-authored-by: Turchanikov Arsen <arsen.turchanikov@raccoongang.com>
2025-12-02 10:43:26 -05:00
Ahtisham Shahid
c8e6a760f9 feat: add grouping for new response notification (#37674) 2025-12-02 15:21:36 +05:00
Deimer Morales
a765273cf7 fix: fixing the documentation article links (#37493)
* fix: fixing articles

The articles were updated because they pointed to the old documentation.

* fix: updating articles references

The documentation links were pointing to the old documentation and in many cases, these links no longer worked, so we have updated these links to the new documentation.
2025-12-01 15:40:15 -05:00
github-actions[bot]
74286fe1c5 feat: Upgrade Python dependency xblocks-contrib (#37704)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: farhan <25842457+farhan@users.noreply.github.com>
Co-authored-by: Muhammad Farhan Khan <farhan.khan@arbisoft.com>
2025-12-01 14:13:58 +05:00
Peter Pinch
bf536c0ccd Merge pull request #37593 from mitodl/arslan/6850-add-lti-logging
chore(logging): add additional logs for LTI launch flow
2025-11-30 08:55:44 -05:00
Peter Pinch
00d1b52a82 Merge branch 'master' into arslan/6850-add-lti-logging 2025-11-28 15:38:41 -05:00
Samuel Allan
31e04c9e56 docs: add initial documentation for notifications
- Document the types used in
  COURSE_NOTIFICATION_TYPES and COURSE_NOTIFICATION_APPS.
- Port the wiki page on creating a new notification to the docs here.
- Add some miscellaneous docs and placeholder TODO notes.
- Add a data flow diagram.
- Add a short getting started guide for operators
  (mainly for getting email notifications working).

Private-ref: https://tasks.opencraft.com/browse/BB-10065
2025-11-28 11:45:04 +05:30
github-actions[bot]
aef9e53dcf feat: Upgrade Python dependency openedx-authz (#37701)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: mariajgrimaldi <64440265+mariajgrimaldi@users.noreply.github.com>
Co-authored-by: Maria Grimaldi (Majo) <maria.grimaldi@edunext.co>
2025-11-27 19:23:41 +01:00
Navin Karkera
562978990a feat: store information for failed block migrations (#37691)
* Updates `ModulestoreBlockMigration` table to allow storing `null` values in `target` field for blocks that failed to migrate/import.
* Adds `unsupported_reason` field to store reason for failure.
* Add number of children blocks in failed block `unsupported_reason` field. 
* Fixes issue with blocks like `openassessment` where `url_name` field is not included in its olx during serialization.
2025-11-27 12:39:20 -05:00
Peter Pinch
cf1e104e04 Merge branch 'master' into arslan/6850-add-lti-logging 2025-11-26 17:09:59 -05:00
Muhammad Faraz Maqsood
0481d9a0b1 fix: accessibility issue on video transcripts (#37587)
This commit fixes accessibility issue for video transcripts as when a
video component's SRT file has an empty line, the transcript has an
empty link that is still interactive.

Empty links should not be interactive and should be hidden from
keyboard users as it takes extra click for them when an empty line
occurs in the transcript.

Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@A006-01130.local>
2025-11-26 11:17:48 -05:00
Taimoor Ahmed
56f7da908a fix: send thread_created signal after transaction commit (#37675)
Prevents notification failures with MySQL backend by ensuring signals
are only sent after database transactions commit. This fixes race
conditions where Celery workers couldn't see newly created threads.

- Added send_signal_after_commit() helper function
- Updated both thread creation paths to use the helper

Co-authored-by: Taimoor  Ahmed <taimoor.ahmed@A006-01711.local>
2025-11-26 11:43:45 +05:00
Muhammad Labeeb
8ad4d42e3b feat!: Remove proctortrack references; add requires_escalation_email and show_review_rules options (#37576)
BREAKING CHANGE: All references to the hardcoded 'proctortrack' string have
been removed from the codebase,  as well as the `studio.show_review_rules`
waffle flag. These were used to determine whether an escalation email is
required and whether review rules should be shown. These decisions are now made
based on the value of 'requires_escalation_email' (default False) and 'show_review_rules'
(default True) config items in the PROCTORING_BACKENDS entry.

Additionally:
* The proctoring info api will now return the list of providers which require an escalation
   email so that frontend-app-learning does not need to use a hardcoded check agaist
   the provider name 'proctortrack'.
* Removed translation commands, mock variables and user facing strings that contained
  'proctortrack'.
* Updated all test cases that were using proctortrack to use fake providers names.

Part of: https://github.com/openedx/edx-platform/issues/36329
2025-11-25 09:37:32 -05:00
Arslan Ashraf
1b2bfaf89f chore(logging): add additional logs for LTI launch flow 2025-11-25 16:34:27 +05:00
Muhammad Waleed
7671c08573 feat: Add user email replacement in HTML block data rendering (#37580) 2025-11-24 18:50:54 +05:00
Feanil Patel
b1f01ed8fa feat!: Drop the legacy Tabs UI (#37557)
This change drops the legacy studio custom pages UI aka. the tab edit
page.

This work is part of https://github.com/openedx/edx-platform/issues/36108

BREAKING CHANGE: The 'legacy_studio.custom_pages' waffle flag has been
removed and the code will work as if this flag is permanently set to
False.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2025-11-20 23:36:10 +00:00
Feanil Patel
d929cdb7fa feat!: Drop the legacy studio updates page. (#37544)
Remove the legacy studio updates page and its related artifacts. They
have been replaced by API and a new UI in the authoring MFE.

This cleanup is a part of https://github.com/openedx/edx-platform/issues/36108

BREAKING CHANGE: The 'legacy_studio.updates' waffle flag will no longer
be respected. The system will behave as if the flag is set to false
permanently.
2025-11-20 23:00:13 +00:00
Feanil Patel
5d0d60d426 feat!: Drop support for the legacy textbooks page. (#37545)
The legacy textbooks page has been replaced with an authoring MFE
equivalent.  We don't need to keep the old one around.

This work is part of https://github.com/openedx/edx-platform/issues/36108

BREAKING CHANGE: With this change the `legacy_studio.textbooks` waffle
flag will no longer be respected and the system will behave as if the
flag is always set to False.
2025-11-20 17:56:11 -05:00
Feanil Patel
d082d3d87c fix: Make sure that the features proxy works w/devstack settings. (#37666)
Without this the devstack settings don't correctly proxy the features
updates made to get devstack working.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2025-11-20 22:14:47 +00:00
Feanil Patel
8611e6110d Merge pull request #37108 from haftamuk/ESHE-37081
Fix: When clicking "Download Handout", the handout (image) overlays the video area, and the download does not start automatically.
2025-11-20 14:38:05 -05:00
Asad Ali
ab6cf6e85e revert: feat: [FC-0092] Optimize Course Info Blocks API (#37122) (#37661)
This reverts commit 7cd4170ca7.
2025-11-20 12:05:14 -05:00
Feanil Patel
1253831c52 Merge pull request #37561 from kiran1415/kiran/remove-unused-task-code
fix: removed unused task code
2025-11-20 11:17:13 -05:00
Haftamu Kebede
f5904d1223 fix: Download Handout link in a video component overlaying over the video
After applying a "download" property on html5 anchor tag, Download Handout
link in a video component initiates a direct download instead of overlaying
over the video.

Fixed issue: https://github.com/openedx/edx-platform/issues/37081
2025-11-20 18:56:28 +03:00
Feanil Patel
02c1530b48 Merge pull request #37547 from open-craft/agrendalath/start-date-masquerade
feat: add Waffle flag to control start date access for masquerading users
2025-11-20 10:29:15 -05:00
Feanil Patel
539bb7d7b2 Merge pull request #36335 from raccoongang/lunyachek/fix/instructor-rtl-remove-horizontal-scroll
fix: Remove horizontal scroll on instructor page in RTL version
2025-11-20 09:41:49 -05:00
Feanil Patel
53b5a8b55e Merge pull request #37636 from openedx/feanil/fix_make_upgrade
build: Don't have both a pip and pip-tools requirements files.
2025-11-20 09:36:33 -05:00
Daniel Wong
41acf0eb52 feat: include user and origin_server info in library archive (#37626) 2025-11-19 22:42:27 -05:00
Feanil Patel
7023d76e98 Merge pull request #37289 from Stoorx/customizable-username-min-length
feat: Make `USERNAME_MIN_LENGTH` customizable
2025-11-19 15:34:04 -05:00
Ivan Niedielnitsev
5df4564173 fix: use correct full name when emitting COURSE_PASSING_STATUS_UPDATED
This commit fixes the incorrect saving of the user's full name in the
credentials service by modifying how the COURSE_PASSING_STATUS_UPDATED
and CCX_COURSE_PASSING_STATUS_UPDATED events are emitted.

Previously, we had been using Django's standard User.get_full_name()
to fetch the user's full name. However, Open edX uses the convention of
storing the full name in user.profile.name and leaves the User's first
and last name fields blank. (This is to better accommodate the wide
range of international conventions regarding names.)
2025-11-19 15:24:24 -05:00
Feanil Patel
f175bea4db Merge pull request #37486 from eduNEXT/bav/add-user-certificate-to-context
feat: add user certificate to context in HTML view
2025-11-19 14:59:57 -05:00
github-actions[bot]
122b4e072d [FC-0099] feat: Upgrade Python dependency openedx-authz (#37652)
* feat: Upgrade Python dependency openedx-authz

handle cache invalidation

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

* fix: update the num of queries in tests

---------

Co-authored-by: MaferMazu <35668326+MaferMazu@users.noreply.github.com>
Co-authored-by: Maria Fernanda Magallanes Zubillaga <maria.magallanes@edunext.co>
2025-11-19 14:34:20 -05:00
Stanislav
64528b6411 fix: show Order History link only when MFE is configured (#37354) 2025-11-19 13:48:59 -05:00
Feanil Patel
834127eb23 chore: Run make compile-requirements 2025-11-19 13:04:25 -05:00
Feanil Patel
6f37e0b7c6 build: Update github workflows that relied on pip.txt
Use the `pre-requirements` target to ensure that pip is installed at a
version that's valid for the rest of the workflow.
2025-11-19 11:51:59 -05:00
Feanil Patel
89d0c2e932 build: Don't have both a pip and pip-tools requirements files.
Previously we would upgrade pip before we upgrade pip-tools.  This
breaks when the latest version of pip is not compatible with the current
version of pip-tools as happened with https://github.com/jazzband/pip-tools/issues/2252

If we re-order the steps so that we upgrade pip-tools first, we know
that this upgrade call will work since it will run with the versions of
pip and pip-compile that ran the last full upgrade.

However in this case the pip.txt file is redundant as the pip-tools.txt
file already has the latest version of pip that is compatible with the
current version of pip-tools being installed.

This changeset also updates the compile-requirements command to ignore
the common_constraints entry for pip so that we can verify the upstream
fix of pip-compile before we remove the entry from
common_constraints.txt upstream.
2025-11-19 11:48:29 -05:00
jawad khan
712123847e feat: Instructor course information v2 apis (#37588)
* feat: Instructor course information v2 apis
2025-11-19 16:09:59 +05:00
Stanislav Lunyachek
139f5f7f2b fix: Changes after review 2025-11-19 12:22:49 +02:00
Stanislav Lunyachek
3eaa9500fe fix: After review 2025-11-19 12:22:49 +02:00
Stanislav Lunyachek
1d7df66e5d fix: Remove horizontal scroll on instructor page in RTL version 2025-11-19 12:22:49 +02:00
Vaibhav Gulati
e8bfb13aaa chore: updated unpin social-auth-app-django ticket in comment (#37640) 2025-11-18 17:30:21 -05:00
Feanil Patel
1a7d985a5d Merge pull request #37590 from openedx/feanil/enable_edx_oauth2
feat: Drop the ENABLE_OAUTH2_PROVIDER flag.
2025-11-18 13:26:07 -05:00
Chris Chávez
b9e5683b67 fix: Publish components/container in legacy libraries migration (#37644)
- Fix the issue described in https://github.com/openedx/frontend-app-authoring/issues/2626
- Publish components and containers after migrate
2025-11-18 17:20:28 +00:00