Commit Graph

5664 Commits

Author SHA1 Message Date
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
Usama Sadiq
9bf7dfa758 chore: python requirements upgrade 2025-10-07 09:57:41 +05:00
Usama Sadiq
0c8e35415d fix: add Djang<6.0 local constraint 2025-10-07 09:43:50 +05:00
Usama Sadiq
148a233bde Merge branch 'master' into final-dj52 2025-10-07 09:30:06 +05:00
Usama Sadiq
242a69d06b Fix upgrade job pin cryptography (#37436)
* fix: pin cryptography to fix the upgrade job
* fix: pin pact-python<3.0.0
---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2025-10-07 09:27:24 +05:00
Feanil Patel
c0ce868365 Merge pull request #37380 from openedx/feanil/move_user_util
feanil/move user util
2025-10-06 10:37:14 -04:00
Awais Qureshi
daf5320981 Merge branch 'master' into final-dj52 2025-10-03 15:30:49 +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
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
Awais Qureshi
939c7c7a4c Merge branch 'master' into final-dj52 2025-09-24 16:31:13 +05:00
Feanil Patel
3cff8a5c0a chore: Run make upgrade 2025-09-22 15:43:37 -04:00
Feanil Patel
70391fcc6e build: Drop the user-util dependency. 2025-09-22 15:40:47 -04:00
github-actions[bot]
430aed041d feat: Upgrade Python dependency edx-enterprise (#37372)
* 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>
Co-authored-by: Kira Miller <kira.miller15@yahoo.com>
2025-09-19 15:57:26 -06:00
Santhosh Kumar
87eb6718c4 feat!: Remove Proctortrack dependency (#37284)
* chore!: remove Proctortrack dependency

Remove all Proctortrack dependencies from the project, including:
- Python package dependencies in requirements files
- JavaScript package dependency in package.json
- Translation configuration in conf/locale/config.yaml

BREAKING CHANGE: Proctortrack proctoring provider is no longer available as a dependency.
This change removes the Proctortrack Dependency while preserving code references.

* feat: Update the package lock

* chore: Updating the requirements

* chore: Updating the requirements2

* chore: Clean up comments in github.in

Remove comment about django42 support pending release.
2025-09-19 13:07:07 -04:00
Feanil Patel
438397d7b2 fix: Upgrade django-webpack-loader to match webpack-bundle-tracker
The versions of these two tools is now kept in sync.  As a part of the
migration, the method signature for render_bundle changes which we
needed to update in our Mako templates where it doesn't automatically
pass context.
2025-09-18 10:42:20 -04:00
Feanil Patel
e4b0cf174d Merge pull request #37309 from openedx/feanil/upgrade_pip_and_pip_tools
build: Unpin pip and pip-tools.
2025-09-18 09:36:46 -04:00
Feanil Patel
c27edbc578 Merge pull request #37363 from openedx/repo-tools/upgrade-python-requirements-62bf9e6
chore: Upgrade Python requirements
2025-09-16 09:58:04 -04:00
github-actions[bot]
b5d4ac44eb feat: Upgrade Python dependency edx-enterprise (#37360)
fix: Moodle configuration updates were not being saved correctly

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

Co-authored-by: zamanafzal <11922730+zamanafzal@users.noreply.github.com>
Co-authored-by: Zaman Afzal <zamanafzal@gmail.com>
2025-09-16 12:51:24 +05:00
awais qureshi
ae8996f68b feat!: Upgrading to django52. 2025-09-16 12:02:43 +05:00
edX requirements bot
11a82bbaf7 chore: Upgrade Python requirements 2025-09-15 22:35:56 -04:00
Muhammad Sameer Amin
c35d3267b6 Merge pull request #37358 from openedx/sameeramin/upgrade-enterprise-integrated-channels-51a254a
feat: Upgrade Python dependency enterprise-integrated-channels
2025-09-15 18:46:21 +05:00
iloveagent57
961515b834 feat: Upgrade Python dependency edx-enterprise
gracefully decouples enterprise from ecommerce

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-09-15 09:25:06 -04:00