Commit Graph

5685 Commits

Author SHA1 Message Date
Feanil Patel
67819a6efc Merge pull request #37826 from openedx/repo-tools/upgrade-python-requirements-9d2bbb1
chore: Upgrade Python requirements
2026-01-02 11:26:47 -05:00
salmannawaz
b2376c5f7c chore: use html block base for about, statictab,courseinfo blocks 2026-01-01 16:42:58 +05:00
Feanil Patel
c1bfbcf6fc build: Recompile the requirements 2025-12-30 20:43:54 -05:00
Feanil Patel
c8140a978b fix: Drop the markdown extra.
It was removed from the package and markdown support is now part of the
default package without the extras decleration.

1e95ac6fc8 (diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7)
2025-12-30 20:19:48 -05:00
edX requirements bot
f2df24d806 chore: Upgrade Python requirements 2025-12-29 21:50:09 -05:00
Feanil Patel
e2d19b6780 fix: Update to match compile-requirements output.
For some reason sphinx is being listed as a thing that requires
`roman-numerals` during the upgrade call but not during
`compile-requirements`. This just commits the expectations from
compile-requirements for now so we can land the package update.
2025-12-23 09:37:55 -05:00
edX requirements bot
a93b93e6fb chore: Upgrade Python requirements 2025-12-23 09:24:16 -05:00
Daniel Wong
c67558f17d fix: bump learning-core to 0.30.2 2025-12-18 08:58:26 -05:00
github-actions[bot]
ecba02abdd feat: Upgrade Python dependency xblocks-contrib (#37778)
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>
2025-12-17 18:19:34 +05:00
M. Tayyab Tahir Qureshi
24cb3cf9f5 refactor: enable the Extracted Annotatable, Poll XBlocks
Enabled the Extracted Annotatable, Poll XBlocks 

---------

Co-authored-by: farhan <farhan.khan@arbisoft.com>
2025-12-16 18:22:57 +05:00
edX requirements bot
610e2ab14b chore: Upgrade Python requirements 2025-12-15 15:44:58 -05:00
farhan
a7fc0c963a fix: Constrain xblocks-contrib until it can be updated. 2025-12-15 15:44:58 -05:00
Leonardo Beroes
70ea641c99 feat: Improve robust score rendering with event-based architecture
This commit implements a comprehensive solution for test score integration in the
enhancement system along with improvements to the score rendering mechanism. Key
changes include:

- Add event handler for rendering blocks with edx-submissions scores
- Implement event-based mechanism to render XBlocks with scoring data
- Create signal handlers in handlers.py to process external grader scores
- Develop specialized XBlock loader for rendering without HTTP requests
- Add queue_key propagation across the submission pipeline
- Register submission URLs in LMS routing configuration
- Add complete docstrings to score render module for better code maintainability
- Add ADR for XBlock rendering with external grader integration
- Add openedx-events fork branch as a dependency in testing.in
- Upgrade edx submission dependency

These changes support the migration from traditional XQueue callback HTTP requests
to a more robust event-based architecture, improving performance and reliability
when processing submission scores. The included ADR documents the architectural
decision and implementation approach for this significant improvement to the
external grading workflow.
2025-12-15 09:01:40 -05:00
Usama Sadiq
e1747f3844 build: add support for Python 3.12 (#37160)
* build: add support for Python 3.12
2025-12-15 12:12:29 +05:00
edX requirements bot
b6673dcc98 chore: Upgrade Python requirements 2025-12-09 14:31:32 -05:00
github-actions[bot]
55b668bea8 feat: Upgrade Python dependency xblocks-contrib
feat: Upgrade Python dependency xblocks-contrib
2025-12-04 17:12:04 +05:00
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
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
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
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
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
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
Feanil Patel
834127eb23 chore: Run make compile-requirements 2025-11-19 13:04:25 -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
Vaibhav Gulati
e8bfb13aaa chore: updated unpin social-auth-app-django ticket in comment (#37640) 2025-11-18 17:30:21 -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
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
edX requirements bot
d2f6bb9aa8 chore: Upgrade Python requirements (#37624) 2025-11-12 13:47:53 -05:00
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
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
Feanil Patel
c2df1500e9 feat!: Drop edx-name-affirmation as a dependency.
This dependency is specific to edx.org and should not be in the default
version of the edx-platform.  There is related code in edx-platform but
circuit breakers should keep that from running for now until we can
clean it up.

BREAKING CHANGE: If you are relying on the edx-name-affirmation app
working, you should install it yourself before running the platform.
2025-10-30 13:59:29 -04:00
Maria Grimaldi (Majo)
e68e39d957 chore: bump openedx-authz version to avoid app not installed exception (#37577) 2025-10-30 15:04:28 +01:00
edX requirements bot
48e8688e8e chore: Upgrade Python requirements (#37575) 2025-10-30 16:21:42 +05:00
Maria Grimaldi (Majo)
31b1e6ecc4 [FC-0099] feat: assign library roles after successful library creation (#37532) 2025-10-29 20:29:02 +01:00
Ahtisham Shahid
dc7db1d3ad feat: unpinned social-auth-core (#37550)
* feat: unpinned social-auth-core

feat: unpinned social-auth-core

* fix: updated to resolve failing tests

* fix: resolved linter errors and failing tests

* fix: updated get_attr signature according to new version
2025-10-29 13:16:34 -04:00
Daniel Wong
6deb4f8d05 fix: add to search index when creating library from archive (#37526)
Implement full re-index process when creating a library.
2025-10-27 17:53:07 -04:00
Taimoor Ahmed
a4c70d7f37 chore: bump forum version to 0.3.8 (#37555)
Co-authored-by: Taimoor  Ahmed <taimoor.ahmed@A006-01711.local>
2025-10-27 18:16:52 +05:00
sameeramin
4427150790 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-10-24 12:05:02 +00:00
edX requirements bot
d6e1eabb9c chore: Upgrade Python requirements 2025-10-23 04:05:35 -04:00
Taylor Payne
bf8ffe4cf7 feat: add library restore endpoint (#37439)
Adds a library restore endpoint to restore a learning package from a
backup zip archive (/api/libraries/v2/restore/). The learning package
can then be used to create a content library.
2025-10-22 08:30:18 -04:00
Feanil Patel
05392be60a chore: Run make upgrade 2025-10-21 12:42:09 -04:00
Feanil Patel
8894d7dea3 build: Constrain social-auth-core to unblock other upgrades. 2025-10-21 12:32:54 -04:00
edX requirements bot
e7ba68f334 chore: Upgrade Python requirements 2025-10-20 22:40:17 -04:00
sameeramin
4953c12fbc feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-10-17 17:38:32 +00:00
Nathan Sprenkle
415c969ad3 chore: bump edxval to 3.1.0 (#37490) 2025-10-16 10:31:40 -04:00
iloveagent57
467bb32b66 feat: Upgrade Python dependency edx-enterprise
feat: add an endpoint to create a customer admin user

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-10-10 13:54:47 -04:00