Commit Graph

5414 Commits

Author SHA1 Message Date
katrinan029
e269c13be8 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`
2025-01-21 19:15:56 +00:00
David Ormsbee
d018675968 perf: reduce ORM queries needed for video quality info
The CourseQualityView used to call edx-val's get_video_for_course(),
which would return a fully serialized data structure that included all
encodings and inefficiently serialized them with many n+1 queries. This
is tolerable in a paginated web view, but not when pulling all of a
large courses's videos at once.

Making this change collapsed the number of queries for a large sample
MIT course from over 3000 down to 1.
2025-01-21 12:06:40 -05:00
Muhammad Faraz Maqsood
7419ae85f5 chore: upgrade openedx-forum version to 0.1.6 2025-01-17 10:18:57 -05:00
Alison Langston
b885618ae1 fix: remove lti-consumer-xblock pin and upgrade package (#36119)
* fix: remove lti-consumer-xblock pin and upgrade package

* feat: Upgrade Python dependency lti-consumer-xblock (#36120)

9.13.1 contains a fix for broken LTI 1.3 launches

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>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-16 09:41:46 -05:00
github-actions[bot]
511b440045 feat: Upgrade Python dependency edx-enterprise (#36105)
fix: Log all learner transmission records.

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-01-14 19:44:53 +05:00
Navin Karkera
cd9b90fc21 feat: show math in plain text in library cards (#36055)
Converts mathjax equations to unicode to be rendered as plain text in library card previews
2025-01-13 13:09:47 -05:00
Muhammad Umar Khan
5ae71873a3 Add pin for lti-consumer-xblock (#36097)
* chore: add pin for lti-consumer-xblock

* feat: Upgrade Python dependency lti-consumer-xblock (#36098)

chore: downgrade lti-consumer-xblock

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

Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-10 17:21:03 +05:00
github-actions[bot]
4a7d991074 feat: Upgrade Python dependency lti-consumer-xblock (#36088)
The latest version replaces pyjwkset with the pyjwt package

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>
2025-01-09 14:26:56 -05:00
Alison Langston
d15e520acc Revert "feat: Upgrade Python dependency lti-consumer-xblock (#36084)" (#36086)
This reverts commit 71965ea799.
2025-01-09 11:22:53 -05:00
Kyle D. McCormick
9262c9aa42 build: Upgrade django-stubs even further, to fix mypy
Rather than constraining django-stubs' major version to our django
major version (4.x.x), we are going to go one ahead (5.x.x), as
recommended by https://github.com/python/mypy/issues/17958

Also includes an unrelated common_constraints update.
2025-01-09 10:31:01 -05:00
Kyle D. McCormick
f7ccd7cc3a build: Unpin mypy and upgrade it to latest
This is possible now that django-stubs and djangorestframework-stubs
are unpinned:
a5b773ce7b

which became possible once we upgraded to django 4.2.

Closes: https://github.com/openedx/edx-platform/issues/35667
2025-01-09 10:31:01 -05:00
github-actions[bot]
71965ea799 feat: Upgrade Python dependency lti-consumer-xblock (#36084)
The latest version replaces pyjwkset with the pyjwt package

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>
2025-01-09 10:08:30 -05:00
github-actions[bot]
03430adeb1 feat: Upgrade Python dependency edxval (#36082)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <1639231+jansenk@users.noreply.github.com>
2025-01-08 16:42:31 -05:00
edX requirements bot
f452798565 chore: Upgrade Python requirements (#36076)
* chore: Upgrade Python requirements

* chore: Upgrade Python requirements (#36079)

* feat: Upgrade Python dependency urllib3 (#36081)

upgrade: upgrade urllib3 version

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

Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>
2025-01-08 16:45:31 +05:00
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