Commit Graph

67651 Commits

Author SHA1 Message Date
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
salmannawaz
d516736482 refactor: Convert BuiltIn Video Block's html from mako to django template (#37509)
Closes: https://github.com/openedx/public-engineering/issues/427
2025-11-18 10:59:11 -05:00
Feanil Patel
afe5dab47d Merge pull request #37648 from openedx/repo-tools/upgrade-python-requirements-93bb80b
chore: Upgrade Python requirements
2025-11-18 10:51:49 -05:00
edX requirements bot
67e686ca97 chore: Upgrade Python requirements 2025-11-17 21:42:18 -05:00
Feanil Patel
93bb80bd26 Merge pull request #37385 from openedx/feanil/drop_name_affirmation
feat!: Drop edx-name-affirmation as a dependency.
2025-11-17 10:37:43 -05:00
Muhammad Farhan Khan
a50ab7d75f chore: Move waffle flags, configs (used in video block) to video service
Merge pull request #37631 from openedx/farhan/add-waffle-flags
2025-11-17 17:52:29 +05:00
Muhammad Farhan Khan
f51343c871 refactor: move transcripts_utils from xmodule to video-config (#37600)
As part of the ongoing effort to deprecate and eventually remove xmodule,
we’ve started gradually migrating the necessary code files from xmodule
to more appropriate locations within the codebase.

Ticket: https://github.com/openedx/public-engineering/issues/445

Also: this tweaks importlinter ignores & add follow-up issue links

Co-authored-by: Kyle McCormick <kyle@axim.org>
2025-11-14 18:26:35 +00:00
Chris Chávez
fcf03cc710 feat: get migrations info REST-API added [FC-0112] (#37558)
- Adds the get migrations info REST-API.
- Add missing title to CourseDetails population.
2025-11-14 17:38:40 +00:00
Haftamu Kebede
f32f8e8ac3 fix: Resolves faling tests when CERTIFICATE_LINKEDIN setting is configured at common.py #37428 (#37437)
In order to be able to share course certificate to LinkedIn, configure
SOCIAL_SHARING_SETTINGS with a value True for CERTIFICATE_LINKEDIN
entry. The setting is not available by default, but when used there
were failing tests and this change ensures all tests pass.

Fixes: https://github.com/openedx/edx-platform/issues/37428#issuecomment-3372788757
2025-11-14 09:05:47 -05:00
María Fernanda Magallanes
f4f14a6987 [FC-0099] feat: add openedx-authz to library apis user_can_create_library and require_permission_for_library_key (#37501)
* feat: add the authz check to the library api function

feat: add the authz publish check in rest_api blocks and containers

feat: add the authz checks in libraries and refactor

feat: add collections checks

feat: update enforcement in serializer file

refactor: refactor the permission check functions

fix: fix value error

fix: calling the queries twice

* test: add structure for test and apply feedback

refactor: refactor the tests and apply feedback

fix: apply feedback

Revert "refactor: refactor the tests and apply feedback"

This reverts commit aa0bd527dd7bc7dec4a7ad7adb41a3c932f4a587.

refactor: use constants and avoid mapping

test: fix the test to have them in order

docs: about we rely on bridgekeeper and the old check for two cases

docs: update openedx/core/djangoapps/content_libraries/api/libraries.py

Co-authored-by: Maria Grimaldi (Majo) <maria.grimaldi@edunext.co>

refactor: use global scope wildcard instead of *

refactor: allow receiving PermissionData objects

refactor: do not inherit from BaseRolesTestCase to favor CL setup methods

If both BaseRolesTestCase and ContentLibrariesRestApiTest define a method
with the same name (e.g., setUp()), Python will use the one found first
in the MRO, which is the one in BaseRolesTestCase because it is
listed first in the class definition leading to unexpected behavior.

refactor: remove unnecessary imports and indent

* chore: bump openedx-authz version
2025-11-13 12:41:40 -05:00
Maria Grimaldi (Majo)
6c6fc5d551 [FC-0099] feat: filter libraries based on user-role scopes (#37564) 2025-11-13 16:33:13 +01:00
Sameen Fatima
8ca34141a6 feat: look up remote_id by remote_id_field_name (#37228) 2025-11-13 09:20:26 +05:00
Chris Chávez
4804c980d4 fix: Call LIBRARY_CONTAINER_PUBLISHED for parent of containers (#37622)
Calls `LIBRARY_CONTAINER_PUBLISHED` when publishing a container that is child of another container.
2025-11-12 18:58:49 +00:00
edX requirements bot
d2f6bb9aa8 chore: Upgrade Python requirements (#37624) 2025-11-12 13:47:53 -05:00
Muhammad Farhan Khan
7b953a5310 refactor: Introduce VideoConfig service, move video sharing methods in it
refactor: Introduce VideoConfig service, move video sharing methods in it
2025-11-11 17:59:36 +05:00
farhan
0cd62bf786 refactor: Introduce VideoConfig service, move video sharing methods in it 2025-11-11 12:55:02 +05:00
Kiran Chauhan
9fc8104051 Merge branch 'master' into kiran/remove-unused-task-code 2025-11-08 16:26:59 +05:30
David Ormsbee
190a8b8160 fix: bump learning-core to 0.30.0 (#37614)
This pulls in publishing dependency changes from:
https://github.com/openedx/openedx-learning/pull/369

This fixes a bug where publishing a Content Library v2 container would
publish only its direct children instead of publishing all ancestors.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2025-11-07 17:00:50 +00:00
Rômulo Penido
5ef6be4610 feat: add library migration list endpoint [FC-0112] (#37567)
This PR adds the `/api/modulestore_migrator/v1/library/:libraryId/migrations/courses/` endpoint, which returns all course migrations for a target library.
2025-11-07 11:01:35 -05:00
github-actions[bot]
7f8ba45f36 chore: geoip2: update maxmind geolite country database (#37591)
Co-authored-by: feanil <feanil@users.noreply.github.com>
2025-11-06 18:39:34 +00:00
Farhaan Bukhsh
810ea305ca chore: Adds sandbox requirements to ulmo
Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
2025-11-06 19:31:09 +05:30
edX requirements bot
baa948135d chore: Upgrade Python requirements (#37608) 2025-11-05 16:34:37 +00:00
Navin Karkera
f2f0d87e9e fix: mark container as ready to sync if any child block is deleted
Before this fix, if only a component is deleted, then its parent blocks
were not marked as ready to sync.
2025-11-05 10:36:44 +05:30
Kiran Chauhan
3beddb6773 Merge branch 'master' into kiran/remove-unused-task-code 2025-11-04 00:14:30 +05:30