Commit Graph

67433 Commits

Author SHA1 Message Date
Feanil Patel
e4aafc4249 Merge pull request #37361 from mitodl/marslan/6604-configurable-allowed-hosts
fix: make ALLOWED_HOSTS configurable through YAML
2025-10-06 10:35:38 -04:00
Kyle McCormick
0c77083e3a revert: fix: support parsing the pointer-tag OLX for external XBlocks (#37426)
This reverts commit d382721cf8,
which seems to break edx-platform's ability to load the content of externally-
defined xblocks (e.g. lti_consumer) from course exports.
2025-10-03 15:57:26 -04:00
M. Tayyab Tahir Qureshi
d382721cf8 fix: support parsing the pointer-tag OLX for external XBlocks (#37133)
Previously, the built-in XBlocks (problem, video, etc) could be parsed
from pointer tag syntax, but externally-defined XBlocks (drag-and-drop,
ORA, etc.) could only be parsed from inline syntax. This is because the
built-in blocks have special parsing logic, defined in XmlMixin,
which is not available to external blocks.

This PR shifts the pointer tag parsing "up a level" such that the parent
blocks parse the pointer tag, regardless of whether the child is built-in
or external:
* vertical (aka unit)
* split_test (aka content experiment)
* itembank (aka problem bank)
* library_content (aka randomized legacy library)

The following parent blocks still lack support for external pointer-tag children;
we will fix this in a follow-up PR:
* randomize
* all externally defined container blocks

Part of: https://github.com/openedx/XBlock/issues/823
2025-10-03 11:54:30 -04:00
Feanil Patel
c943c223b4 Merge pull request #36982 from WGU-Open-edX/refactor-36961-unify-certificate-apis
feat: add unified certificate task API with support for toggle, gener…
2025-10-03 11:46:16 -04:00
Feanil Patel
904b6c133a Merge pull request #37413 from openedx/feanil/fix_docs_build
fix: Fix the docs build.
2025-10-03 10:01:03 -04:00
Feanil Patel
3b6a1857d0 Merge pull request #34408 from openedx/aansari/survey-mobile-view-fix
fix: survey questions options alignment in mobile view
2025-10-03 09:03:18 -04:00
Braden MacDonald
245b861e01 fix: reindex_studio could crash if an XBlock child isn't loadable (#37177)
Co-authored-by: Chris Chávez <xnpiochv@gmail.com>
2025-10-02 18:22:28 -07:00
Rômulo Penido
1aa862738e feat: adds new fork migration strategy (#37408)
Implements the `fork` strategy, allowing the user to create new copies while migrating courses/legacy libraries to v2 libraries.
2025-10-02 19:35:41 -05:00
Tim McCormack
df1d91e8ca chore: Upgrade Django to 4.2.25 to pick up security patch (#37418)
This is from running `make upgrade-package package=Django`
2025-10-01 18:06:11 -04:00
Feanil Patel
c95f4dee3f Merge pull request #37410 from openedx/feanil/geoip2-bot-update-country-database-a0b4f81
Update GeoLite Database
2025-10-01 13:03:59 -04:00
feanil
54a116f3d5 chore: geoip2: update maxmind geolite country database 2025-10-01 12:28:35 -04:00
Feanil Patel
d0140a25b9 fix: Fix the docs build.
The docs settings file needed an update for a new djangoapp that was
added. Long term we need to probably think more deeply about how we want
the LMS/CMS docs builds to work.  Do we want to separate them, or make
it easier to have a django settings file that will work with both.  For
now, we have a single settings file that is referenced for the docs
build so it needs to have all the installed apps from both.
2025-10-01 12:08:50 -04:00
Maxwell Frank
7fc88d5a25 feat: extend program dash endpoint to b2c (#37387) 2025-10-01 11:38:05 -04:00
Feanil Patel
8d95c32021 Merge pull request #37341 from raccoongang/nanai/axm-2159/add-redirects
feat [FC-86]: add redirects to mfe for catalog-related legacy pages
2025-10-01 09:00:47 -04:00
Feanil Patel
a0b4f81686 Merge pull request #37384 from santhosh-apphelix-2u/master
chore: remove unused mockprock devDependency
2025-09-30 09:52:38 -04:00
Serhii Nanai
6c31268a9d test: use ENABLE_CATALOG_MICROFRONTEND from settings 2025-09-30 11:00:43 +03:00
Serhii Nanai
7b127a4885 refactor: use get_link_for_about_page, remove duplicate function 2025-09-30 10:22:12 +03:00
Serhii Nanai
d6a2942ad0 refactor: switch to global mfe state check 2025-09-30 10:22:12 +03:00
Serhii Nanai
75b7a83dc6 feat: add redirects to mfe for catalog-related legacy pages 2025-09-30 10:22:12 +03:00
Santhosh Kumar
5549dcd43f Merge branch 'master' into master 2025-09-30 08:44:57 +05:30
Chris Chávez
51bfd3febe feat: Add blockType to xblockPreview & title to xblock_iframe [FC-0097] (#37362)
- Adds `blockType` and `is_modified` to the `showXBlockLibraryChangesPreview` iframe message.
- Add title to the `xblock_iframe`
- Add `is-modified` to `studio_xblock_wrapper`
- Add `disable_staff_debug_info` as a query param in `render_xblock`
- `downstream_is_modified` added to ComponentLink and ContainerLink
2025-09-29 23:27:32 +00:00
Feanil Patel
d34a6b9c6f Merge pull request #37342 from raccoongang/nanai/axm-2166/update-link-generation
feat [FC-86]: update course_about & catalog link generation
2025-09-29 15:28:41 -04:00
github-actions[bot]
3f4458593f feat: Upgrade Python dependency edx-enterprise (#37390)
Upgrade python requirements

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

Co-authored-by: brobro10000 <82611798+brobro10000@users.noreply.github.com>
Co-authored-by: Hamzah Ullah <hamzahullah@yahoo.com>
2025-09-29 11:16:09 -04:00
Serhii Nanai
cb4dcb02bd test: fix test overrides 2025-09-29 15:40:55 +03:00
Serhii Nanai
13f450ff29 fix: use getattr in use_catalog_mfe 2025-09-29 15:03:41 +03:00
Serhii Nanai
e2d50f5b4d test: fix ENABLE_CATALOG_MICROFRONTEND look up in tests 2025-09-29 14:47:22 +03:00
Serhii Nanai
02b87247a1 refactor: move filter out of if, extract about_base_url 2025-09-29 14:34:44 +03:00
Serhii Nanai
b448b0fe69 fix: look up ENABLE_CATALOG_MICROFRONTEND in settings directly, adjust tests 2025-09-29 14:16:46 +03:00
edX requirements bot
41d3f2479e build: use ubuntu-lts-latest in readthedocs build (#37392) 2025-09-27 19:03:45 +05:00
Ivan Niedielnitsev
acddd79b10 docs: ADR for Visually Configuring Course Components (#36856)
---------

Co-authored-by: Maksim Sokolskiy <maksim.sokolskiy@raccoongang.com>
2025-09-26 22:41:27 -04:00
Muhammad Arslan
51ac947caf fix: always generate block structure from "published-only" branch (#37335)
Block structures are meant to be an optimization for the LMS, meaning
that they should always be collecting from the published branch of
modulestore. This is what happens by default when it's run from the LMS
celery process, but this code is sometimes invoked from a Studio worker
(e.g. development mode celery, running in immediate in-proc mode).

---------

Co-authored-by: Peter Pinch <pdpinch@mit.edu>
2025-09-26 20:58:12 -04:00
Feanil Patel
a27705638c Merge pull request #35448 from openedx/dependabot/github_actions/peter-evans/create-pull-request-7
chore(deps): bump peter-evans/create-pull-request from 6 to 7
2025-09-26 17:39:39 -04:00
dependabot[bot]
eddc2d8371 chore(deps): bump peter-evans/create-pull-request from 6 to 7
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-26 20:50:41 +00:00
Feanil Patel
ad5830a6c6 Merge pull request #37158 from openedx/dependabot/github_actions/actions/download-artifact-5
build(deps): bump actions/download-artifact from 4 to 5
2025-09-26 16:42:24 -04:00
Feanil Patel
09f73571f4 Merge pull request #37219 from openedx/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-09-26 16:42:04 -04:00
Feanil Patel
643d5e5856 Merge pull request #35867 from openedx/dependabot/github_actions/codecov/codecov-action-5
build(deps): bump codecov/codecov-action from 4 to 5
2025-09-26 16:41:08 -04:00
Awais Ansari
c9a26892d9 fix: survey questions options alignment in mobile view 2025-09-26 16:38:13 -04:00
Vivek
86aaf2f4cc fix: update Course Highlights help URL (#37388) 2025-09-26 12:52:41 +05:00
Navin Karkera
dfe9cb8380 feat: updates legacy libraries list API to include migration info [FC-0097] (#37286)
Adds migration info like `migrated_to_title`, `migrated_to_key` and `is_migrated` fields indicating whether the legacy library was migrated to library v2. If yes, it includes the new library name and key.

Users can also filter by migration status using `is_migrated` query param.
2025-09-25 10:46:52 -05:00
Serhii Nanai
94c00afa65 fix: put CATALOG_MICROFRONTEND_URL with the other mfe urls 2025-09-25 12:12:46 +03:00
coder1918
3591e87520 feat: add unified certificate task API with toggle, generate, and regenerate support 2025-09-24 09:30:18 -06:00
Kyle McCormick
7275ce1634 feat!: modulestore_migrator (#36873)
This introduces the modulestore_migrator app, which can be
used to copy content (courses and libraries) from modulestore
into Learning Core. It is currently aimed to work on the legacy
library -> v2 library migration, but it will be used in the future
for course->library and course->course migrations.

This includes an initial REST API, Django admin interface,
and Python API.

Closes: https://github.com/openedx/edx-platform/issues/37211

Requires some follow-up work before this is production-ready:
https://github.com/openedx/edx-platform/issues/37259

Co-authored-by: Andrii <andrii.hantkovskyi@raccoongang.com>
Co-authored-by: Maksim Sokolskiy <maksim.sokolskiy@raccoongang.com>
2025-09-24 11:02:05 -04:00
Serhii Nanai
47f5cb84bc test: fix ddt in test_link_with_new_catalog_page 2025-09-24 11:58:19 +03:00
Santhosh Kumar
5a8a892d63 chore: remove unused mockprock devDependency 2025-09-24 07:50:35 +00:00
Santhosh Kumar
3b520ce25c Merge branch 'openedx:master' into master 2025-09-24 12:57:37 +05:30
Navin Karkera
5d9fc2442f refactor: course container children api [FC-0097] (#37375)
* feat: course container children view

* refactor: rename

* refactor: include children info in upstream info of container children

* fix: tests

* fix: test

* refactor: children check
2025-09-24 11:27:31 +05:30
Max Sokolski
2b478146f8 docs: add DEPR ticket for some mfe_config settings (#37370) 2025-09-23 14:48:53 -04:00
Serhii Nanai
c64ec1f3ae fix: append /catalog to CATALOG_MICROFRONTEND_URL 2025-09-23 20:45:08 +03:00
Serhii Nanai
18ec2a1517 fix: fix gettings ENABLE_CATALOG_MICROFRONTEND FEATURE 2025-09-23 20:45:07 +03:00
PKulkoRaccoonGang
f85c86e6bd chore: updated settings for mfes 2025-09-23 20:45:07 +03:00