Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[6.8.0] - 2026-03-24
Comment thread
pwnage101 marked this conversation as resolved.
---------------------
* feat: register enterprise and consent as openedx LMS plugins (ENT-11663)

[6.7.0] - 2026-03-10
---------------------
* feat: Invite admin endpoints with validation (ENT-11238)
Expand Down
13 changes: 13 additions & 0 deletions consent/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
class ConsentConfig(AppConfig):
"""Configuration for edX Enterprise's Consent application."""

plugin_app = {
"settings_config": {
"lms.djangoapp": {
"common": {
"relative_path": "settings.common",
},
"production": {
"relative_path": "settings.production",
},
},
},
}

name = 'consent'
verbose_name = "Enterprise Consent"

Expand Down
Empty file added consent/settings/__init__.py
Empty file.
15 changes: 15 additions & 0 deletions consent/settings/common.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
Common plugin settings for the consent app.
"""


def plugin_settings(settings): # pylint: disable=unused-argument
"""
Override platform settings for the consent app.

This is called by the Open edX plugin system during LMS/CMS startup. Add
any Django settings overrides here (e.g. ``settings.FEATURES['...'] = True``).

Args:
settings: The Django settings module being configured.
"""
5 changes: 5 additions & 0 deletions consent/settings/production.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Production plugin settings for the consent app.
"""

from consent.settings.common import plugin_settings # noqa: F401 pylint: disable=unused-import
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "6.7.0"
__version__ = "6.8.0"
13 changes: 13 additions & 0 deletions enterprise/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ class EnterpriseConfig(AppConfig):
Configuration for the enterprise Django application.
"""

plugin_app = {
"settings_config": {
"lms.djangoapp": {
"common": {
"relative_path": "settings.common",
},
"production": {
"relative_path": "settings.production",
},
},
},
}

name = "enterprise"
valid_image_extensions = [".png", ]
valid_max_image_size = getattr(settings, 'ENTERPRISE_CUSTOMER_LOGO_IMAGE_SIZE', 512) # Value in KB's
Expand Down
15 changes: 15 additions & 0 deletions enterprise/settings/common.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
Common plugin settings for the enterprise app.
"""


def plugin_settings(settings): # pylint: disable=unused-argument
"""
Override platform settings for the enterprise app.

This is called by the Open edX plugin system during LMS/CMS startup. Add
any Django settings overrides here (e.g. ``settings.FEATURES['...'] = True``).

Args:
settings: The Django settings module being configured.
"""
5 changes: 5 additions & 0 deletions enterprise/settings/production.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Production plugin settings for the enterprise app.
"""

from enterprise.settings.common import plugin_settings # noqa: F401 pylint: disable=unused-import
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ def get_requirements(requirements_file):
setup(
name="edx-enterprise",
version=VERSION,
entry_points={
"lms.djangoapp": [
"enterprise = enterprise.apps:EnterpriseConfig",
"consent = consent.apps:ConsentConfig",
],
},
description="""Your project description goes here""",
long_description=f"{README}\n\n{CHANGELOG}",
author="edX",
Expand Down
Loading