From 5a280292381669051aa1e3b12756a8ffef9dc545 Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Fri, 31 May 2024 12:40:37 -0500 Subject: [PATCH 1/3] chore: remove unused backends --- eox_tenant/settings/common.py | 2 -- eox_tenant/settings/test.py | 1 - 2 files changed, 3 deletions(-) diff --git a/eox_tenant/settings/common.py b/eox_tenant/settings/common.py index d1921690..234062d7 100644 --- a/eox_tenant/settings/common.py +++ b/eox_tenant/settings/common.py @@ -38,7 +38,6 @@ def plugin_settings(settings): settings.EOX_TENANT_CACHE_KEY_TIMEOUT = 300 settings.GET_OAUTH_DISPATCH_BACKEND = 'eox_tenant.edxapp_wrapper.backends.oauth_dispatch_j_v1' settings.GET_BRANDING_API = 'eox_tenant.edxapp_wrapper.backends.branding_api_l_v1' - settings.GET_CERTIFICATES_MODULE = 'eox_tenant.edxapp_wrapper.backends.certificates_module_i_v1' settings.GET_SITE_CONFIGURATION_MODULE = 'eox_tenant.edxapp_wrapper.backends.site_configuration_module_i_v1' settings.GET_THEMING_HELPERS = 'eox_tenant.edxapp_wrapper.backends.theming_helpers_h_v1' settings.EOX_TENANT_EDX_AUTH_BACKEND = "eox_tenant.edxapp_wrapper.backends.edx_auth_n_v1" @@ -46,7 +45,6 @@ def plugin_settings(settings): settings.EOX_TENANT_BEARER_AUTHENTICATION = 'eox_tenant.edxapp_wrapper.backends.bearer_authentication_l_v1' settings.EOX_MAX_CONFIG_OVERRIDE_SECONDS = 300 settings.EDXMAKO_MODULE_BACKEND = 'eox_tenant.edxapp_wrapper.backends.edxmako_l_v1' - settings.UTILS_MODULE_BACKEND = 'eox_tenant.edxapp_wrapper.backends.util_h_v1' settings.CHANGE_DOMAIN_DEFAULT_SITE_NAME = "stage.edunext.co" settings.EOX_TENANT_LOAD_PERMISSIONS = True settings.EOX_TENANT_APPEND_LMS_MIDDLEWARE_CLASSES = False diff --git a/eox_tenant/settings/test.py b/eox_tenant/settings/test.py index c984e892..1d3990b0 100644 --- a/eox_tenant/settings/test.py +++ b/eox_tenant/settings/test.py @@ -33,7 +33,6 @@ class SettingsClass: if app not in INSTALLED_APPS: INSTALLED_APPS.append(app) -GET_CERTIFICATES_MODULE = 'eox_tenant.edxapp_wrapper.backends.certificates_module_test_v1' GET_SITE_CONFIGURATION_MODULE = 'eox_tenant.edxapp_wrapper.backends.site_configuration_module_test_v1' GET_THEMING_HELPERS = 'eox_tenant.edxapp_wrapper.backends.theming_helpers_test_v1' EOX_TENANT_USERS_BACKEND = 'eox_tenant.edxapp_wrapper.backends.users_test_v1' From d8c814335cb93411b0f4d14d23ea8269577e0577 Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Fri, 31 May 2024 16:15:18 -0500 Subject: [PATCH 2/3] chore: remove edx_auth_i_v1 backend --- .../edxapp_wrapper/backends/edx_auth_i_v1.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py diff --git a/eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py b/eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py deleted file mode 100644 index 24d9c311..00000000 --- a/eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py +++ /dev/null @@ -1,15 +0,0 @@ -""" Backend abstraction. """ -from openedx.core.djangoapps.oauth_dispatch.dot_overrides.backends import ( # pylint: disable=import-error - EdxRateLimitedAllowAllUsersModelBackend, -) -from openedx.core.djangoapps.user_authn.exceptions import AuthFailedError # pylint: disable=import-error - - -def get_edx_auth_backend(): - """ Backend to get the default edx auth backend. """ - return EdxRateLimitedAllowAllUsersModelBackend - - -def get_edx_auth_failed(): - """ Backend to get the AuthFailedError class. """ - return AuthFailedError From 885e67c63992f79cb009193754ae48d78ba80e4f Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Tue, 4 Jun 2024 16:45:21 -0500 Subject: [PATCH 3/3] docs: format compatibility notes table --- README.rst | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/README.rst b/README.rst index a11ef856..fa4644f4 100644 --- a/README.rst +++ b/README.rst @@ -14,27 +14,27 @@ If you are looking for professional development or support with multi tenancy or Compatibility Notes -------------------- -+-------------------+-----------------------+ -| Open edX Release | Version | -+===================+=======================+ -| Ironwood | < 3.0 | -+-------------------+-----------------------+ -| Juniper | >= 3.0 < 4.0 | -+-------------------+-----------------------+ -| Koa | >= 4.0 <= 5.1.3 | -+-------------------+-----------------------+ -| Lilac | >= 4.0 < 6.2 | -+-------------------+-----------------------+ -| Maple | >= 6.0 | -+-------------------+-----------------------+ -| Nutmeg | >= 6.2 | -+-------------------+-----------------------+ -| Olive | >= 8.0 | -+-------------------+-----------------------+ -| Palm | >=v10.0.0 | -+-------------------+-----------------------+ -| Quince | >=v11.0.0 | -+-------------------+-----------------------+ ++------------------+-----------------------+ +| Open edX Release | Version | ++==================+=======================+ +| Ironwood | < 3.0 | ++------------------+-----------------------+ +| Juniper | >= 3.0 < 4.0 | ++------------------+-----------------------+ +| Koa | >= 4.0 <= 5.1.3 | ++------------------+-----------------------+ +| Lilac | >= 4.0 < 6.2 | ++------------------+-----------------------+ +| Maple | >= 6.0 | ++------------------+-----------------------+ +| Nutmeg | >= 6.2 | ++------------------+-----------------------+ +| Olive | >= 8.0 | ++------------------+-----------------------+ +| Palm | >= v10.0.0 | ++------------------+-----------------------+ +| Quince | >= v11.0.0 | ++------------------+-----------------------+ **NOTE**: Since 6.2 version, eox-tenant does not support Django 2.2