Commit Graph

67867 Commits

Author SHA1 Message Date
Troy Sankey
e78223f091 chore: upgrade enterprise-integrated-channels to 0.1.38
Also bump SQL queries by +2 for the test_read_and_update() unit test
which triggers new synchronous signal handlers on grade change. See
https://github.com/openedx/enterprise-integrated-channels/pull/109

ENT-11229
2026-02-04 16:01:42 -08:00
David Ormsbee
9bf7a72a3a refactor: switch to use openedx_content app (#37924)
The openedx-learning repo was recently refactored to consolidate its
authoring apps into a single openedx_content app:

  https://github.com/openedx/openedx-platform/pull/37924

This commit makes the following changes to accommodate this:

- Bumps the openedx-learning version to 0.31.0 to get the changes.
- Creates new migrations in content_libraries, contentstore, and
  modulestore_migrator to foreign key references to authoring apps
  to point to the new openedx_content app. This is done without
  actually making database changes, since the openedx_content app
  models are taking over the existing tables that the authoring apps
  once pointed to.
- Creates new squashed migrations in these apps that create these
  foreign keys to reference openedx_content app models from the start.

The full rationale for how and why this was done is in the following
openedx-learning ADR:

  https://github.com/openedx/openedx-learning/blob/main/docs/decisions/0020-merge-authoring-apps-into-openedx-content.rst

These migrations should run fine from either a from-scratch scenario
(i.e. a new install or CI), or when upgrading from an Ulmo-or-later
database state. If you have a database state that comes from the middle
of the Ulmo development cycle (e.g. October 2025), you may encounter
migration errors in content_libraries, contentstore, or
modulestore_migrator, with an error message complaining about missing
tables. If you receive this message, run the following command:

  python manage.py lms migrate openedx_content 0001

Then try to run the migrations for the app that failed. Repeat if
necessary for multiple apps.
2026-02-04 12:41:13 -05:00
github-actions[bot]
b6904be3a4 feat: Upgrade Python dependency Django (#37974)
Required upgrade of Django.

Commit generated by workflow `openedx/openedx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2026-02-03 17:35:33 +00:00
Feanil Patel
18113c63af test: update Jest snapshots for @edx/paragon 2.6.4 → 2.7.0
The caret version pinning change updated @edx/paragon from 2.6.4 to
2.7.0, which caused Icon component IDs to change from "Icon2" to
"Icon1" in snapshot tests.

This is a cosmetic change with no functional impact. The Icon
component generates unique IDs using a module-level counter in
src/utils/newId.js:

    let lastId = 0;
    const newId = (prefix = 'id') => {
      lastId += 1;
      return `${prefix}${lastId}`;
    };

The ID values depend on module import order, which changed slightly
between versions. The visual rendering and accessibility features
(screen reader text) are unaffected.

References:
- Paragon Icon component: https://github.com/edx/paragon/blob/v2.7.0/src/Icon/index.jsx
- Paragon newId utility: https://github.com/edx/paragon/blob/v2.7.0/src/utils/newId.js
- Version comparison: https://github.com/edx/paragon/compare/v2.6.4...v2.7.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:54:05 -05:00
Feanil Patel
ae7a1c857a build(deps): switch to caret version pinning for npm dependencies
Change package.json to use caret (^) pinning for flexible version
resolution. Packages >=1.0.0 pin to major version, packages <1.0.0
pin to minor version.

The following packages remain exact-pinned due to compatibility issues:

- redux (3.7.2) and redux-thunk (2.2.0): Newer versions of redux-thunk
  (2.3+) require redux@^4 as a peer dependency. Since the codebase uses
  redux 3.x, allowing redux-thunk to upgrade would cause peer dependency
  conflicts and potential runtime issues.

- @edx/frontend-component-cookie-policy-banner (2.2.0): Newer versions
  (2.6.0+) depend on @openedx/paragon@21.x which requires PNG file loaders
  and uses SCSS files incompatible with the current webpack/sass-loader
  configuration.

- bootstrap (4.0.0): Newer versions (4.6.x) use a `deprecate` mixin in
  their SCSS that the current sass compilation setup doesn't support.

- jasmine-core@2.6.4: Newer 2.x versions (2.99+) enforce stricter
  afterEach placement rules that break edx-ui-toolkit's ajax-helpers.js

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:54:05 -05:00
M. Tayyab Tahir Qureshi
bcddf9cd53 refactor: enable extracted LTI block (#37833) 2026-02-02 14:05:50 +05:00
Akanshu Aich
50da280144 fix: handle CourseOverview.DoesNotExist exception in optout creation (#77) (#37885)
User retirement failed when CourseOverview records were missing, causing CourseOverview.DoesNotExist exceptions
in bulk email signal handler. These records were missing when the course was deleted.

Solution:

Add exception handling in force_optout_all signal handler:
- Wrapped Optout.objects.get_or_create() in try/except block
- Log warning and skip enrollment when CourseOverview is missing.
2026-01-30 19:08:37 +00:00
Brian Buck
c9704c28ee feat: Add Content Groups API v2 endpoints for Instructor Dashboard
- Add GET /api/instructor/v2/courses/{course_id}/group_configurations
- Add GET /api/instructor/v2/courses/{course_id}/group_configurations/{id}
- Create shared constants module for course groups
2026-01-30 11:58:51 -05:00
wgu-jesse-stewart
6cb2ea3cf1 docs: add adr and schema for enrollment api (#37846) 2026-01-29 16:36:31 -07:00
Deborah Kaplan
3df2ba4592 feat: allow instances to add extra translation sources (#37962)
allows instances to set the variable `ATLAS_EXTRA_SOURCES`  so they can
add their own sources to `make pull_translations`.
2026-01-29 15:47:13 -05:00
renovate[bot]
31080d7cc6 fix(deps): update dependency backbone to v1.6.1 (#37959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 19:04:18 +00:00
renovate[bot]
a6857908e9 fix(deps): update dependency css-loader to v7.1.3 (#37960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 18:47:40 +00:00
renovate[bot]
f2d8d03783 chore(deps): update dependency sinon to v19.0.5 (#37957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 18:29:02 +00:00
Daniel Wong
abc0853e1b fix: add missing staff_ora_grading_url field to ORA list endpoint (#37937) 2026-01-29 10:36:38 -07:00
renovate[bot]
12c1542e5e chore(deps): update dependency sass-loader to v16.0.6 (#37958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 17:30:13 +00:00
dependabot[bot]
3a1d929e1b build(deps): bump supercharge/mongodb-github-action
Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/supercharge/mongodb-github-action/releases)
- [Changelog](https://github.com/supercharge/mongodb-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/mongodb-github-action/compare/1.12.0...1.12.1)

---
updated-dependencies:
- dependency-name: supercharge/mongodb-github-action
  dependency-version: 1.12.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-29 11:25:22 -05:00
Peter Pinch
4df49fa87e Merge pull request #37955 from mitodl/marslan/9962-library-v1-legacy-problem
fix: blank_common.yaml added back to support library_v1 problems
2026-01-29 08:39:45 -05:00
Irtaza Akram
8b5a22ea3a fix: deprecate enable_grading_method_in_problems (#37811) 2026-01-29 12:11:51 +05:00
Kyle McCormick
497ffae5a7 docs: Add learnings about _services.copy() fix to preview.py (#37956)
Capturing what we learned in https://github.com/openedx/openedx-platform/pull/37900#issuecomment-3811194293
2026-01-28 19:50:37 +00:00
Deimer M
bf056af1c4 fix: remove unnecessary help urls tokens 2026-01-28 13:38:52 -05:00
Muhammad Arslan Abdul Rauf
f3df14725e fix: blank_common.yaml added back to support library_v1 problems 2026-01-28 18:03:33 +05:00
Brian Smith
2248575757 chore(requirements): update edx-search to 4.4.0 (#37948)
This update is required for the Catalog MFE to function, as the new
`unstable/v0/course_list_search/` endpoint was released in `4.4.0`.
2026-01-27 13:27:11 -05:00
Javier Ontiveros
12029c7c11 feat: add unit extensions list endpoint for instructor dashboard v2 api (#37783)
Add a new endpoint to get the unit extensions for a course. Update edx-when from 3.0.0 to 3.1.0 in order to get data necessary for response.

---------

Co-authored-by: Daniel Wong <danieleduardo.wongfa@wgu.edu>
2026-01-27 11:11:41 -07:00
Pradeep
56cdab958a feat: upgrade hls.js to version 1.6.15 and update related imports & refs (#37936) 2026-01-27 11:55:03 -05:00
Feanil Patel
3829a84d1f fix: Update the repo name in github workflows.
Some workflows had links or conditionals based on the old repo name so
update them to use the new repository name.
2026-01-27 11:10:48 -05:00
Kyle McCormick
5a411c20bd build: Update README, CODEOWNERS, catalog-info with new repo name (#37939)
Referenced GH team names have been updated accordingly as well.

Closes: https://github.com/openedx/openedx-platform/issues/37904
2026-01-26 17:54:58 +00:00
Feanil Patel
e0b2d6b71c build: Ignore CLAUDE and AGENTS files for now. (#37930)
I want to start using coding assistants and play around with content in
the CLAUDE.md file but I don't want git to complain about it or check it
in for everyone just yet.
2026-01-22 12:37:46 -05:00
Daniel Wong
0b14be613d fix: set correct final grade value for ORA summary endpoint 2026-01-22 10:40:23 -05:00
Feanil Patel
4a3e78e05f build: Don't try to read the database when building docs.
Sphinx tries to explore all the defined objects when trying to generate
docs from the code.  When it tries to introspect the QuerySet object, it
results in that object trying to query the database which we don't
really want to setup for a docs build as it's not relevant and fairly
expensive to do.  To circumvent this issue, we add a new filter to the
docs build that essentially skips further introspection of QuerySet
objects.
2026-01-21 16:22:07 -05:00
Irtaza Akram
5b1951228e refactor: Move score_render to lms/grades (#37884)
* fix: move score_render to lms
2026-01-21 17:13:33 +05:00
Irtaza Akram
592153fe06 fix: replace sandbox class reference (#37876) 2026-01-21 17:13:14 +05:00
github-actions[bot]
97fede2875 feat: Upgrade Python dependency edx-enterprise (#37920)
* feat: Upgrade Python dependency edx-enterprise

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

* fix: typo fix to trigger tests

---------

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
2026-01-20 17:09:07 -07:00
Daniel Wong
f65d423c77 feat: add Instructor Dashboard ORA summary API v2 (#37858) 2026-01-20 15:32:06 -05:00
Chris Chávez
9f48073921 feat: Preview migration api [FC-0114] (#37818)
Implements a new API to get the summary preview of a migration given a library key and a source key.
2026-01-20 18:50:40 +00:00
edX requirements bot
46272cc0dc chore: Upgrade Python requirements (#37910) 2026-01-20 12:26:33 -05:00
Akanshu Aich
2d82d90279 refactor: migrated FEATURES dict settings to top-level in core files and fixed related test files. (#37389)
* refactor: moved remaining feature dicts settings into top-level settings.

* refactor: moved remaining feature dicts settings into top-level settings.

* fix: fixed the test files

* fix: fixed tehe pylint errors

* fix: fixation of the cms ci failure

* fix: fixed remaining feature settings for cms

* fix: added fix for requirements

* fix: added fix for lms tests

* fix: resolved the test views issue

* fix: configured views file and test_views

* fix: fixed lint errors and assertion issues

* fix: added fix for base url issue in test view

* fix: added fix for base_url and assertion issue

* fix: added configurations for base utl fix

* fix: handled none issue for mfe config

* fix: corrected override settings in test views

* fix: added getattr defensive technique for view settings

* fix: reverted views and test_views file

* fix: added settings in views file

* fix: added with patch within functions in test view

* fix: rearranged the features in default_legacy_config

* fix: fixing the tests  with clearing cache

* fix: reverted test views to verify the CI check

* fix: added cache clear in mfe config test

* fix: fixed the patch toggles to override settings

* fix: fixed the lint errors

* fix: changed patch toggle to override settings
2026-01-20 11:55:26 -05:00
msaha-sonata
7ecb6cb79b chore(requirements): update versions for enterprise-integrated-channels to edx-enterprise 2026-01-20 11:53:40 -05:00
Daniel Wong
761739020b feat: add Instructor Dashboard ORA list API v2 (#37853)
* feat: add Instructor Dashboard ORA list API v2
2026-01-20 09:27:04 -05:00
bydawen
d06ff7d2ca fix: fixed styles for legacy xblock's editor (#36923)
These changes make the legacy XBlock editors look more visually consistent with the Paragon-based components used everywhere else in the platform.
2026-01-19 16:24:17 -08:00
Chris Chávez
6d8b8ca497 feat: ObjectTag.is_copied field added to serializer [FC-0114] (#37855)
`ObjectTag.is_copied` field added to serializer
2026-01-19 16:50:09 +00:00
M. Tayyab Tahir Qureshi
a6c3c3236d chore: make the tests run for both BuiltIn and Extracted LTI Blocks (#36020) 2026-01-19 16:07:06 +05:00
Muhammad Arslan
68ba45a858 fix: video_config runtime service added when loading for xBlock (#37900)
Adding transcripts to Videos now goes through the new VideoConfigService
instead of direct calls from the VideoBlock. However, the VideoConfigService
was not added to Studio. This patch fixes transcript uploading by adding
the service to Studio.
2026-01-16 10:36:03 -05:00
Peter Pinch
1d4e401a55 Merge pull request #37769 from mitodl/marslan/9456-delete-moved-sub-section
fix: try deleting the XBlock from draft-branch if not in published
2026-01-15 15:15:47 -05:00
Peter Pinch
3b9d161a95 Merge pull request #37832 from mitodl/marslan/9178-course-app-status
fix: update course apps status on transaction commit
2026-01-15 15:15:24 -05:00
Taylor Payne
97f95fd441 refactor: hoist annotations for common settings (#37888) 2026-01-15 10:30:19 -07:00
github-actions[bot]
8201e57b9e feat: Upgrade Python dependency xblocks-contrib (#37894)
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>
2026-01-15 19:34:41 +05:00
Ahtisham Shahid
cbdb721db0 Ahtisham/remove core type from notifications (#37868) 2026-01-15 16:37:50 +05:00
Muhammad Arslan Abdul Rauf
0b7a543164 test: update tests related to deleting draft xblock 2026-01-14 21:41:30 -05:00
Muhammad Arslan Abdul Rauf
3815286acb fix: try deleting the XBlock from draft-branch if not in published 2026-01-14 21:41:30 -05:00
Muhammad Arslan Abdul Rauf
4c36a7dd4f fix: update course apps status on transaction commit to avoid gettings stale data 2026-01-14 21:40:19 -05:00