Commit Graph

5400 Commits

Author SHA1 Message Date
Kyle D. McCormick
a5b773ce7b build: upgrade django-stubs and djangorestframework-stubs
...now that we're on django>=4.2
2025-01-02 14:42:09 -05:00
kdmccormick
8a720c1b7b build!: Recompile Python dependencies, without Paver
BREAKING CHANGE: Removes libsass from requirements/edx/base.txt.
Operators will need to install requirements/edx/assets.txt in order to
compile Sass.

Commit generated by workflow `kdmccormick/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master`

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
Kyle D. McCormick
75e3107863 fix: Move implicit dependencies from paver.in to kernel.in
There are three packages which edx-platform needs in order to run which
were being installed transitively via paver.in. Since we are removing
paver.in, these dependencies need to be transferred into kernel.in:

* psutil
* pymemcache
* wrapt

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
Kyle D. McCormick
2d5543a9ae feat!: Remove Paver
BREAKING CHANGE: Removes all remaining Paver commands including
`pavelib/prereqs.py:*` and `pavelib/assets.py:*`.

BREAKING CHANGE: Removes `./manage.py [lms|cms] compile_sass`, which
was just a wrapper around Paver commands.

BREAKING CHANGE: Removes paver.txt. Operators should install testing.txt
instead.

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
Kyle McCormick
644e7e786a build!: requirements/edx-sandbox/py38.txt (#36049)
This was a temporary backcompat alias to requirements/edx-sandbox/quince.txt.

Developers relying on this file to run a python3.8 sandbox should:
* first, switch to requirements/edx-sandbox/quince.txt, which works with
* python3.8 and then, upgrade their codejail sandbox to a newer `<release>.txt`
* since python3.8 is EOL.

See the readme in this directory for more details.
2024-12-20 20:02:33 +00:00
Kyle McCormick
edbcadae8e revert: build: unpin django-stubs now that we're on django >=4.2 (#36051)
This reverts commit b391fb5400,
which was unintentionally pushed to master instead of a PR.
2024-12-19 20:20:53 +00:00
Kyle D. McCormick
b391fb5400 build: unpin django-stubs now that we're on django >=4.2 2024-12-19 14:16:57 -05:00
marlonkeating
bdb1ae5315 feat: Upgrade Python dependency edx-enterprise
This change adds support for the page_size query parameter on the enterprise-customer-members endpoint.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-18 16:19:29 +00:00
github-actions[bot]
98214a5416 feat: Upgrade Python dependency edx-enterprise (#36042)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: bcitro <67378070+bcitro@users.noreply.github.com>
2024-12-17 15:22:01 -05:00
github-actions[bot]
882475dd5e feat: Upgrade Python dependency edx-enterprise (#36041)
Bump version of edx-enterprise to v5.5.0.

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

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-12-17 17:02:36 +00:00
Brandon Bodine
e2ca4b0091 Merge branch 'master' into BrandonHBodine/upgrade-edxval-fb56042 2024-12-17 08:08:55 -07:00
Bryann Valderrama
5bf0b2704f feat: add schedule queryset request filter integration (#35982)
* feat: add schedule queryset request filter integration

* chore: remove try-except when running filter

* chore: upgrade openedx-filters to v1.12.0

* test: add filter unit tests

* test: inherit of ModuleStoreTestCase

* fix: add missing attribute in resolver instance
2024-12-17 09:52:56 -05:00
BrandonHBodine
9d2f890f1e feat: Upgrade Python dependency edxval
Bumping edxval to pull in new release

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-16 22:07:46 +00:00
github-actions[bot]
f358ef3851 feat: Upgrade Python dependency edx-enterprise (#36011)
Added a management command to update the Social Auth UID's

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>
2024-12-12 14:19:29 +05:00
Régis Behmo
065adf398e feat: reapply forum v2 changes (#36002)
* feat: Reapply "Integrate Forum V2 into edx-platform"

This reverts commit 818aa343a2.

* feat: make it possible to globally disable forum v2 with setting

We introduce a setting that allows us to bypass any course waffle flag
check. The advantage of such a setting is that we don't need to find the
course ID: in some cases, we might not have access to the course ID, and
we need to look for it... in forum v2.

See discussion here: https://github.com/openedx/forum/issues/137

* chore: bump openedx-forum to 0.1.5

This should fix an issue with index creation on edX.org.
2024-12-12 12:18:33 +05:00
salmannawaz
1573c7b07f build: replace paver quality tests and js commands (#35159) 2024-12-11 19:15:17 +05:00
iloveagent57
ee30f1b60f feat: Upgrade Python dependency edx-enterprise
fix: edx-enterprise 5.4.1 | unenrolled defaults are now not enrollable

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-10 16:16:01 -05:00
muhammad-ammar
044ab68aac feat: Upgrade Python dependency edx-enterprise
upgrade edx-enterprise to 5.4.0

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-09 06:55:41 +00:00
edX requirements bot
3196ceb4a0 chore: Upgrade Python requirements 2024-12-06 11:19:06 -05:00
Diana Huang
818aa343a2 Revert "feat: Integrate Forum V2 into edx-platform"
This reverts commit 70b60ff256.
2024-12-06 11:19:06 -05:00
edX requirements bot
dda76a97af chore: Upgrade Python requirements 2024-12-05 10:48:15 -05:00
github-actions[bot]
202d31b17e feat: Upgrade Python dependency edx-enterprise (#35964)
Bump version of edx-enterprise to v5.3.1.

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

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-12-04 19:51:55 +00:00
Ahtisham Shahid
9e470550ee chore: updated openedx-forum version to 0.1.3 (#35961) 2024-12-04 20:33:58 +05:00
Muhammad Faraz Maqsood
70b60ff256 feat: Integrate Forum V2 into edx-platform
This commit introduces the new Forum V2 application, allowing users to choose between the legacy Forum V1 and the new Forum V2 at the course level.

Key Changes:
- Added waffle flag `discussions.enable_forum_v2` to enable Forum V2 for selected courses, allowing coexistence with Forum V1.
- Default data storage for Forum V2 is set to MongoDB, with an option to switch to MySQL using the waffle flag `forum_v2.enable_mysql_backend`.
- Introduced management command `forum_migrate_course_from_mongodb_to_mysql` for per-course data migration from MongoDB to MySQL.

Note: This PR does not include all unit tests for the Forum V2 native API due to ongoing migration efforts. Further updates will follow to ensure full test coverage before final release.

Co-authored-by: [Muhammad Faraz Maqsood] <faraz.maqsood@arbisoft.com>
Co-authored-by: [Ali Salman] <ali.salman@arbisoft.com>
2024-12-03 11:00:51 -05:00
jajjibhai008
d351faa88c feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-03 09:01:01 +00:00
katrinan029
4d301665a9 feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-02 22:31:05 +00:00
Jorg Are
e23ec3843d Merge branch 'master' into hajorg/au-2271-bump-ora 2024-12-02 16:54:52 +01:00
Muhammad Farhan Khan
f9126bfdd9 Add Django settings flags to roll out the extracted XBlocks (#35549)
chore: Add Django settings flags to roll out the extracted XBlocks
2024-12-02 20:38:40 +05:00
hajorg
69dcb636df chore: bump ORA to 6.14.1 2024-12-02 15:56:17 +01:00
Muhammad Arslan
6e947f61dc chore: Bump openedx-learning to version 0.18.1 2024-11-27 14:56:51 +05:00
feanil
d299ea6cf6 feat: Upgrade Python dependency edx-codejail
Update to the latest version of codejail which supports Ubuntu 24.04

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-11-20 10:24:16 -05:00
Chris Chávez
d5850c812c fix: keep library collection card component count in sync (#35734)
Fixed component counter synchronization in these cases:

* When deleting a component inside a collection.
* With the library published, when adding a new component in a collection and reverting library changes.
* With the library published, when deleting a component inside a collection and reverting library changes.

Also adds a published > num_counts field in collections in the search index.
2024-11-19 15:45:34 -05:00
jajjibhai008
e342f107f6 feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-11-19 16:29:00 +00:00
Brian Beggs
44c19dec41 chore: Update edx-enterprise to 4.32.3 2024-11-18 15:57:59 -05:00
Irtaza Akram
68a626a938 fix: replace autodoc with autoapi (#35846) 2024-11-18 10:16:09 +05:00
github-actions[bot]
ec68ee4a91 feat: Upgrade Python dependency edx-enterprise (#35862)
Bumps edx-enterprise to 4.32.2

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

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-11-15 12:51:59 +00:00
Irtaza Akram
ec2a698604 cleanup references of python 2 & <3.11 (#35799)
* chore: cleanup of old python references
2024-11-15 16:58:20 +05:00
github-actions[bot]
388d03d8f8 feat: Upgrade Python dependency ora2 (#35850)
Update ORA to remove "new feature" decorations for date configuration

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

Co-authored-by: nsprenkle <12944465+nsprenkle@users.noreply.github.com>
2024-11-14 17:28:33 +00:00
hamzawaleed01
040ff12430 feat: Upgrade Python dependency edx-enterprise
feat: enable search filter on learner data transmission audit tables

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-11-14 14:01:07 +00:00
Cristhian Garcia
d19707793b fix: remove learner_downloadable field references from libraries (#35788)
Also bumps openedx-learning to v0.17.0, which no longer has this field.
2024-11-08 13:44:46 -05:00
Feanil Patel
642dae67f1 Merge pull request #35713 from openedx/feanil/ubuntu-24.04
feanil/ubuntu 24.04
2024-11-07 11:20:17 -05:00
github-actions[bot]
8c61ad6f4d feat: Upgrade Python dependency edx-enterprise (#35787)
Upgrade edx-enterprise to 4.32.0 to add optional support for creating DefaultEnterpriseEnrollmentRealization records during bulk enrollment.

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

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
Co-authored-by: Adam Stankiewicz <agstanki@gmail.com>
2024-11-06 15:52:19 +00:00
Cristhian Garcia
75118f4bc4 refactor: let openedx-learning handle content library asset logic (#35730)
Version 0.16.3 of openedx-learning adds support for calling
create_next_component_version with the bytes data of the files to be
added, instead of just the ID of the Content object. This lets us
simplify the code in edx-platform a bit.
2024-11-06 10:08:19 -05:00
github-actions[bot]
47d83e14d7 feat: Upgrade python dependency edx-proctoring (#35786)
The latest version contains a management command to delete exam attempts.

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

Co-authored-by: alangsto <46360176+alangsto@users.noreply.github.com>
2024-11-06 09:59:47 -05:00
Feanil Patel
5cb29848c3 chore: Update lxml
Run `make upgrade-package package='lxml[html_clean]'` to update lxml and
then `make compile-requirements`
2024-11-05 10:44:02 -05:00
Feanil Patel
a1bc4760aa build: Unpin lxml.
libxmlsec and lxml need to be updated in lockstep and the version we had
wouldn't work with Ubuntu 24.04 so unpinning lxml along with libxmlsec
to see if that resolves the build and dependency issues.
2024-11-05 10:44:02 -05:00
Feanil Patel
d27bd5be04 chore: Unpin and upgrade xmlsec. 2024-11-05 10:44:02 -05:00
irfanuddinahmad
0c28d18b5e chore: Updated edx-enterprise version 2024-11-04 18:36:40 +05:00
jajjibhai008
89306d0026 feat: Upgrade Python dependency edx-enterprise
feat: add new endpoint to unlink the logged in user.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-11-01 15:24:21 +00:00
Régis Behmo
a112cb3133 chore: upgrade edx-search to 4.1.1 (#35755)
This is to benefit from the latest changes concerning meilisearch index
creation: https://github.com/openedx/edx-search/pull/166
2024-11-01 16:09:36 +05:00