Commit Graph

66833 Commits

Author SHA1 Message Date
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
Hunia Fatima
829f6dbf33 chore: remove dockerfile setup (#35731)
* chore: remove dockerfile setup
2025-01-16 17:46:57 +05:00
Kyle McCormick
343a4cad56 docs: update settings comment 2025-01-15 17:35:13 -05:00
Jillian
b96a3bf249 fix: allow_to_create_new_org checks org autocreate [FC-0076] (#36094)
Updates the StudioHome API's allow_to_create_new_org to require both organization-creation permissions and ORGANIZATION_AUTOCREATE to be enabled. It also adds the list of "allowed organizations for libraries" to the Studio Home API so that the Authoring MFE can use it.
2025-01-15 17:32:37 +00:00
Feanil Patel
fa0ead4f4f Merge pull request #36102 from openedx/feanil/remove_stubs
test: Drop some stub code.
2025-01-15 10:33:25 -05:00
Brian Mesick
749b3ebc82 build: Cache images in unit tests (#36110)
Another attempt to stop Dockerhub from rate limiting us in CI. If this
works here, we'll try to add this caching to other relevant workflows.

https://github.com/openedx/axim-engineering/issues/1350#issuecomment-2591237325
2025-01-15 10:05:07 -05:00
irfanuddinahmad
fd3cfacd32 Merge pull request #36071 from openedx/iahmad/ENT-6471
feat: Disabled MITx from program nudge emails
2025-01-15 14:46:53 +05:00
irfanuddinahmad
f64a3a62c5 feat: Disabled MITx from program nudge emails 2025-01-15 14:17:27 +05:00
jawad khan
e859d7e9d9 feat: Add course id in notifications list api for mobile Devices (#36106) 2025-01-15 14:12:34 +05:00
Juan Carlos Iasenza (Aulasneo)
7fa68243a0 style: Explore Courses button doesn't follow the same style conventions of MFE header (#35994) 2025-01-14 19:43:51 +00:00
Peter Kulko
755bf98091 feat: [FC-0070] Listen to xBlock interaction events (#35694)
This is part of the effort to support the new Studio Unit Page embedded in the authoring MFE.  It introduces several changes to improve the handling of XBlock events and the user interface in the CMS. The most important changes include adding event listeners for message handling, refining the postMessage logic, and updating the CSS for better visual consistency.
2025-01-14 11:56:51 -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
Peter Pinch
952c297941 Merge pull request #36061 from mitodl/anas/fix-date-label
fix: date label for instructor paced courses
2025-01-14 09:37:16 -05:00
Peter Pinch
51c99c5a23 Merge branch 'master' into anas/fix-date-label 2025-01-14 09:04:32 -05:00
Peter Pinch
ad4ef9f1d3 Merge pull request #36069 from marslanabdulrauf/marslan/6346-remove-depr-flag
feat: Remove DEPR waffle switch: ENABLE_GLOBAL_STAFF_OPTIMIZATION
2025-01-14 08:59:11 -05:00
Muhammad Anas
5f302a3ae7 fix: date label for instructor paced courses 2025-01-14 18:30:16 +05:00
Muhammad Arslan
343d521619 chore: Remove unused variable and rebased 2025-01-14 14:03:00 +05:00
Muhammad Arslan
f6f72290b7 build: Remove unused imports 2025-01-14 14:03:00 +05:00
Muhammad Arslan
838977a8f3 feat!: Remove DEPR waffle switch: ENABLE_GLOBAL_STAFF_OPTIMIZATION 2025-01-14 14:02:37 +05:00
Feanil Patel
bdef5ad6aa test: Drop some stub config.
I believe this was only used with BokChoy and just got missed in the
various cleanup.  Removing it now since we're not using it.
2025-01-13 14:41:30 -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 Adeel Tajamul
f4c2b46671 chore: updated notification preference url in email digest (#36101) 2025-01-13 12:56:40 +05:00
Kyle McCormick
290209b1b1 build: Don't fail the build if DockerHub login fails (#36100)
This iterates on https://github.com/openedx/edx-platform/pull/36089, which
logged us into DockerHub during unit tests in order to reduce how often
DockerHub rate-limits us.

Forks will fail to log into DockerHub unless the fork owner configures their
own DockerHub creds. This PR is an attempt to make it so that unit tests don't
fail when DockerHub login fails.
2025-01-10 17:04:41 +00:00
Navin Karkera
e6ddd9c7c1 refactor: remove unnecessary padding from lib component picker (#36073)
Library component picker and Problem bank picker iframe had unnecessary
padding resulting in multiple border/shadow in the modal.
2025-01-10 10:30:58 -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
Brian Mesick
c5fabd5863 Merge pull request #36089 from openedx/bmtcril/dockerhub_login
build: Log in to dockerhub for unit test CI
2025-01-09 17:39:59 -05:00
Brian Mesick
899703fc95 Merge branch 'master' into bmtcril/dockerhub_login 2025-01-09 16:04:09 -05:00
Brian Mesick
042c0441b0 fix: Use correct secret name for dockerhub password 2025-01-09 15:41:21 -05:00
Brian Mesick
18cf33864d build: Log in to dockerhub for unit test CI
We're being rate limited by dockerhub for pulling too many images in CI.
There isn't a greate solution for caching images for GH actions, but in
theory we should have less strict limits as an authenticated user.
2025-01-09 15:36: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
Felipe Montoya
9acdfe6fd2 feat: show exception message from filters in the user interface (#35407) 2025-01-09 18:22:56 +01: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
3dc28abcf7 build: Fix type annotations for new mypy version
Includes some new Request type annotations in openedx.core.types.http,
plus a new meta-utility @type_annotation_only to ensure that we don't
accidentally start instantiating those new classes.
2025-01-09 10:31:01 -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
David Ormsbee
8409a7c023 refactor: remove course-specific logging code in grading.
This removes special logging for course course-v1:UQx+BUSLEAD5x+2T2019
as part of an edX investigation (EDUCATOR-4568 in their internal JIRA).
That issue was closed on 2021-01-08 by Mat Carter with the comment:

> Aged out, closing. If this issue continues, please create a new
> ticket optionally referencing this one.

(Note that Mat has since left edX/2U.)

The EDUCATOR-4602 ticket was created to track the cleanup of this
logging code.
2025-01-08 12:02:34 -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
Irtaza Akram
acdbff8b4c fix: remove pkg_resources 2025-01-08 16:45:19 +05:00
Ahtisham Shahid
85ecad1aab chore: added verification logs in edx.ace.message_sent event (#36074) 2025-01-07 00:36:56 +05:00
Feanil Patel
1d913bee8b Merge pull request #36063 from openedx/feanil/geoip2-bot-update-country-database-953140a
Update GeoLite Database
2025-01-06 11:22:17 -05:00
feanil
320e3bbc22 chore: geoip2: update maxmind geolite country database 2025-01-06 10:48:53 -05:00
Roman Edirisinghe
b510ceff93 fix: remove duplicate (unclosed) tag (#35682)
This PR removes some bad (duplicated) markup in the static tab file. The current behavior leads to an unclosed HTML tag, which can be confirmed by viewing the document source.
2025-01-02 19:43:16 +00:00
Kyle D. McCormick
d36560d8c6 refactor: UsageKeyV2Serializer should be a BaseSerializer
...not a Serializer, as it overrides to_representation to a str rather
than a dictionary.

This type error arose during the djangorestframework-stubs upgrade in
the previous commits.
2025-01-02 14:42:09 -05:00
Kyle D. McCormick
50944e9d75 build: Very explicitly annotate a model field so that it passes mypy
This clunky yet type-safe workaround to this django-stubs issue, which
arose when we upgraded django-stubs in the previous commits:
https://github.com/typeddjango/django-stubs/issues/1802
2025-01-02 14:42:09 -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
Kyle D. McCormick
88b8da3e49 docs: Remove the last couple mentions of Paver from the codebase
Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -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