Skip to content

Commit 43f6d66

Browse files
authored
Merge branch 'openedx:master' into aaich/BOMS-370-retirement
2 parents a07dbe5 + 6cb2ea3 commit 43f6d66

File tree

110 files changed

+4821
-1368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+4821
-1368
lines changed

.github/CODEOWNERS

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
# Core
44
common/djangoapps/student/
5-
common/djangoapps/student/models/__init__.py @openedx/committers-edx-platform-2u-tnl
6-
common/djangoapps/student/models/course_enrollment.py @openedx/committers-edx-platform-2u-tnl
5+
common/djangoapps/student/models/__init__.py @openedx/committers-openedx-platform-2u-tnl
6+
common/djangoapps/student/models/course_enrollment.py @openedx/committers-openedx-platform-2u-tnl
77
common/djangoapps/third_party_auth/
88
lms/djangoapps/course_api/blocks
99
lms/djangoapps/courseware/
1010
lms/djangoapps/grades/
1111
lms/djangoapps/instructor/
1212
lms/djangoapps/instructor_task/
1313
lms/djangoapps/mobile_api/
14-
openedx/core/djangoapps/commerce/ @openedx/committers-edx-platform-2u-infinity
15-
openedx/core/djangoapps/credentials @openedx/committers-edx-platform-2u-aperture
16-
openedx/core/djangoapps/credit @openedx/committers-edx-platform-2u-aperture
17-
openedx/core/djangoapps/enrollments/ @openedx/committers-edx-platform-2u-aperture
14+
openedx/core/djangoapps/commerce/ @openedx/committers-openedx-platform-2u-infinity
15+
openedx/core/djangoapps/credentials @openedx/committers-openedx-platform-2u-aperture
16+
openedx/core/djangoapps/credit @openedx/committers-openedx-platform-2u-aperture
17+
openedx/core/djangoapps/enrollments/ @openedx/committers-openedx-platform-2u-aperture
1818
openedx/core/djangoapps/heartbeat/
1919
openedx/core/djangoapps/oauth_dispatch
20-
openedx/core/djangoapps/user_api/ @openedx/committers-edx-platform-2u-aperture
21-
openedx/core/djangoapps/user_authn/ @openedx/committers-edx-platform-2u-infinity
22-
openedx/core/djangoapps/verified_track_content/ @openedx/committers-edx-platform-2u-infinity
20+
openedx/core/djangoapps/user_api/ @openedx/committers-openedx-platform-2u-aperture
21+
openedx/core/djangoapps/user_authn/ @openedx/committers-openedx-platform-2u-infinity
22+
openedx/core/djangoapps/verified_track_content/ @openedx/committers-openedx-platform-2u-infinity
2323
openedx/features/course_experience/
2424
# The Aximprovements team is working on extracting all built-in XBlocks
2525
# to the external repository (xblocks-contrib). They need to be notified
@@ -35,21 +35,21 @@ lms/djangoapps/edxnotes
3535
common/djangoapps/track/
3636

3737
# Credentials
38-
lms/djangoapps/certificates/ @openedx/committers-edx-platform-2u-aperture
38+
lms/djangoapps/certificates/ @openedx/committers-openedx-platform-2u-aperture
3939

4040
# Discovery
41-
common/djangoapps/course_modes/ @openedx/committers-edx-platform-2u-aperture
41+
common/djangoapps/course_modes/ @openedx/committers-openedx-platform-2u-aperture
4242
common/djangoapps/enrollment/
43-
common/djangoapps/entitlements/ @openedx/committers-edx-platform-2u-aperture
44-
lms/djangoapps/branding/ @openedx/committers-edx-platform-2u-aperture
45-
lms/djangoapps/commerce/ @openedx/committers-edx-platform-2u-infinity
46-
lms/djangoapps/experiments/ @openedx/committers-edx-platform-2u-infinity
47-
lms/djangoapps/gating/ @openedx/committers-edx-platform-2u-infinity
48-
lms/djangoapps/learner_dashboard/ @openedx/committers-edx-platform-2u-aperture
49-
lms/djangoapps/learner_home/ @openedx/committers-edx-platform-2u-aperture
50-
openedx/features/content_type_gating/ @openedx/committers-edx-platform-2u-infinity
43+
common/djangoapps/entitlements/ @openedx/committers-openedx-platform-2u-aperture
44+
lms/djangoapps/branding/ @openedx/committers-openedx-platform-2u-aperture
45+
lms/djangoapps/commerce/ @openedx/committers-openedx-platform-2u-infinity
46+
lms/djangoapps/experiments/ @openedx/committers-openedx-platform-2u-infinity
47+
lms/djangoapps/gating/ @openedx/committers-openedx-platform-2u-infinity
48+
lms/djangoapps/learner_dashboard/ @openedx/committers-openedx-platform-2u-aperture
49+
lms/djangoapps/learner_home/ @openedx/committers-openedx-platform-2u-aperture
50+
openedx/features/content_type_gating/ @openedx/committers-openedx-platform-2u-infinity
5151
openedx/features/course_duration_limits/
52-
openedx/features/discounts/ @openedx/committers-edx-platform-2u-infinity
52+
openedx/features/discounts/ @openedx/committers-openedx-platform-2u-infinity
5353

5454
# Ping Axim On-call if someone uses the QuickStart
5555
# https://docs.openedx.org/en/latest/developers/quickstarts/first_openedx_pr.html

.github/workflows/check-consistent-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
developers.
6666
6767
Please see the requirements README for information on how to resolve this:
68-
https://github.com/openedx/edx-platform/blob/master/requirements/README.rst#inconsistent-dependencies
68+
https://github.com/openedx/openedx-platform/blob/master/requirements/README.rst#inconsistent-dependencies
6969
EOMARKDOWN
7070
)
7171

.github/workflows/lint-imports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install python dependencies
4343
run: make dev-requirements
4444

45-
# As long there are sub-projects[1] in edx-platform, we analyze each
45+
# As long there are sub-projects[1] in openedx-platform, we analyze each
4646
# project separately here, in order to make import-linting errors easier
4747
# to pinpoint.
4848
#

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
key: docker-${{ runner.os }}-mongo-${{ matrix.mongo-version }}
8787

8888
- name: Start MongoDB
89-
uses: supercharge/[email protected].0
89+
uses: supercharge/[email protected].1
9090
with:
9191
mongodb-version: ${{ matrix.mongo-version }}
9292

@@ -205,7 +205,7 @@ jobs:
205205
if: ${{ env.root_all_unit_tests_count != env.shards_all_unit_tests_count }}
206206
run: |
207207
echo "::error title='Unit test modules in unit-test-shards.json (unit-tests.yml workflow) are outdated'::unit tests running in unit-tests
208-
workflow don't match the count for unit tests for entire edx-platform suite, please update the unit-test-shards.json under .github/workflows
208+
workflow don't match the count for unit tests for entire openedx-platform suite, please update the unit-test-shards.json under .github/workflows
209209
to add any missing apps and match the count. for more details please take a look at scripts/gha-shards-readme.md"
210210
exit 1
211211
@@ -272,7 +272,7 @@ jobs:
272272

273273
# Combine and upload coverage reports.
274274
coverage:
275-
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))
275+
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/openedx-platform' && (startsWith(github.base_ref, 'release') == false))
276276
runs-on: ubuntu-24.04
277277
needs: [run-tests]
278278
strategy:

.github/workflows/upgrade-python-requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212
jobs:
1313
call-upgrade-python-requirements-workflow:
1414
# Don't run the weekly upgrade job on forks -- it will send a weekly failure email.
15-
if: github.repository == 'openedx/edx-platform' || github.event_name != 'schedule'
15+
if: github.repository == 'openedx/openedx-platform' || github.event_name != 'schedule'
1616
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
1717
with:
1818
branch: ${{ github.event.inputs.branch }}
19-
team_reviewers: "wg-maintenance-edx-platform"
19+
team_reviewers: "wg-maintenance-openedx-platform"
2020
email_address: [email protected]
2121
send_success_notification: false
2222
secrets:

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ requirements/edx/private.in
1111
requirements/edx/private.txt
1212
lms/envs/private.py
1313
cms/envs/private.py
14+
.venv/
15+
CLAUDE.md
16+
AGENTS.md
1417
# end-noclean
1518

1619
### Python artifacts
@@ -143,7 +146,6 @@ autodeploy.properties
143146
.ws_migrations_complete
144147
dist
145148
*.bak
146-
.venv/
147149
venv*/
148150
# Visual Studio Code
149151
.vscode

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ pull_translations: clean_translations ## pull translations via atlas
5555
make pull_xblock_translations
5656
make pull_plugin_translations
5757
atlas pull $(ATLAS_OPTIONS) \
58-
translations/edx-platform/conf/locale:conf/locale
58+
translations/edx-platform/conf/locale:conf/locale \
59+
$(ATLAS_EXTRA_SOURCES)
5960
python manage.py lms compilemessages
6061
python manage.py lms compilejsi18n
6162
python manage.py cms compilejsi18n

README.rst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ Open edX Platform
55
.. |License: AGPL v3| image:: https://img.shields.io/badge/License-AGPL_v3-blue.svg
66
:target: https://www.gnu.org/licenses/agpl-3.0
77

8-
.. |Python CI| image:: https://github.com/openedx/edx-platform/actions/workflows/unit-tests.yml/badge.svg
9-
:target: https://github.com/openedx/edx-platform/actions/workflows/unit-tests.yml
8+
.. |Python CI| image:: https://github.com/openedx/openedx-platform/actions/workflows/unit-tests.yml/badge.svg
9+
:target: https://github.com/openedx/openedx-platform/actions/workflows/unit-tests.yml
1010

1111
.. |Status| image:: https://img.shields.io/badge/status-maintained-31c653
1212

13+
*Formerly known as "edx-platform"*
14+
1315
Purpose
1416
*******
1517
The `Open edX Platform <https://openedx.org>`_ enables the authoring and
@@ -20,7 +22,7 @@ modular monolith, some independently deployable applications (IDAs), and
2022
micro-frontends (MFEs) based on the ReactJS.
2123

2224
This repository hosts the monolith at the center of the Open edX
23-
platform. Functionally, the edx-platform repository provides two services:
25+
platform. Functionally, the openedx-platform repository provides two services:
2426

2527
* CMS (Content Management Service), which powers Open edX Studio, the platform's learning content authoring environment; and
2628
* LMS (Learning Management Service), which delivers learning content.
@@ -53,7 +55,7 @@ For Development
5355
===============
5456

5557
Tutor also features a `development mode`_ which will also help you modify,
56-
test, and extend edx-platform. We recommend this method for all Open edX
58+
test, and extend openedx-platform. We recommend this method for all Open edX
5759
developers.
5860

5961
Bare Metal (Advanced)
@@ -74,7 +76,7 @@ OS:
7476

7577
* Ubuntu 24.04
7678

77-
Interperters/Tools:
79+
Interpreters/Tools:
7880

7981
* Python 3.11 or 3.12
8082

@@ -234,7 +236,7 @@ License
234236
The code in this repository is licensed under version 3 of the AGPL
235237
unless otherwise noted. Please see the `LICENSE`_ file for details.
236238

237-
.. _LICENSE: https://github.com/openedx/edx-platform/blob/master/LICENSE
239+
.. _LICENSE: https://github.com/openedx/openedx-platform/blob/master/LICENSE
238240

239241

240242
More about Open edX
@@ -271,8 +273,8 @@ We use Github Issues for our issue tracker. You can search
271273
`previously reported issues`_. If you need to report a bug, or want to discuss
272274
a new feature before you implement it, please `create a new issue`_.
273275

274-
.. _previously reported issues: https://github.com/openedx/edx-platform/issues
275-
.. _create a new issue: https://github.com/openedx/edx-platform/issues/new/choose
276+
.. _previously reported issues: https://github.com/openedx/openedx-platform/issues
277+
.. _create a new issue: https://github.com/openedx/openedx-platform/issues/new/choose
276278

277279

278280
How to Contribute
@@ -306,5 +308,4 @@ People
306308

307309
The current maintainers of this repository can be found on `Backstage`_.
308310

309-
.. _Backstage: https://backstage.openedx.org/catalog/default/component/edx-platform
310-
311+
.. _Backstage: https://backstage.openedx.org/catalog/default/component/openedx-platform

catalog-info.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
apiVersion: backstage.io/v1alpha1
55
kind: Component
66
metadata:
7-
name: 'edx-platform'
7+
name: 'openedx-platform'
88
description: "The monolith at the center of the Open edX platform"
99
links:
1010
- url: "https://docs.openedx.org"
@@ -13,6 +13,6 @@ metadata:
1313
annotations:
1414
openedx.org/release: "master"
1515
spec:
16-
owner: group:wg-maintenance-edx-platform
16+
owner: group:wg-maintenance-openedx-platform
1717
type: 'service'
1818
lifecycle: 'production'

cms/djangoapps/api/v1/serializers/course_runs.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,7 @@ def update_team(self, instance, team): # lint-amnesty, pylint: disable=missing-
8181
)
8282

8383

84-
def image_is_jpeg_or_png(value):
85-
content_type = value.content_type
86-
if content_type not in list(IMAGE_TYPES.keys()): # lint-amnesty, pylint: disable=consider-iterating-dictionary
87-
raise serializers.ValidationError(
88-
f'Only JPEG and PNG image types are supported. {content_type} is not valid')
89-
90-
9184
class CourseRunImageField(serializers.ImageField): # lint-amnesty, pylint: disable=missing-class-docstring
92-
default_validators = [image_is_jpeg_or_png]
9385

9486
def get_attribute(self, instance):
9587
return course_image_url(instance)

0 commit comments

Comments
 (0)