Skip to content

Commit b71d8a7

Browse files
kdmccormickclaude
andauthored
feat!: Remove Unused Libraries v2 Import API & LTI Tool (#38297)
This removes two unused content_libraries features. Both were developed during the ~2021 pre-alpha Blockstore Libraries days. They were ostensibly ported during the Blockstore->Core transition but they were untested and probably do not work any more. We're removing them now to avoid bringing them along for any more re- factorings. The features: * The LTI 1.3 Provider Tool, which exposed library blocks via LTI, developed originally for a HarvardX use case. * The Course Import API. This was developed by 2U in attempt to move course content into V2 libraries, but only developers used it. Please note that this is not the same as the Course Import feature which we are building for Verawood--that is built on the modulestore_migrator API. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e14103c commit b71d8a7

23 files changed

Lines changed: 52 additions & 2116 deletions

cms/envs/common.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,6 @@
121121
# only supported in courses using split mongo.
122122
ENABLE_CONTENT_LIBRARIES = True
123123

124-
# .. toggle_name: settings.ENABLE_CONTENT_LIBRARIES_LTI_TOOL
125-
# .. toggle_implementation: DjangoSetting
126-
# .. toggle_default: False
127-
# .. toggle_description: When set to True, Content Libraries in
128-
# Studio can be used as an LTI 1.3 tool by external LTI platforms.
129-
# .. toggle_use_cases: open_edx
130-
# .. toggle_creation_date: 2021-08-17
131-
# .. toggle_tickets: https://github.com/openedx/edx-platform/pull/27411
132-
ENABLE_CONTENT_LIBRARIES_LTI_TOOL = False
133-
134124
# Toggle course entrance exams feature
135125
ENTRANCE_EXAMS = False
136126

@@ -320,7 +310,6 @@ def make_lms_template_path(settings):
320310

321311
# use the ratelimit backend to prevent brute force attacks
322312
AUTHENTICATION_BACKENDS.insert(0, 'auth_backends.backends.EdXOAuth2')
323-
AUTHENTICATION_BACKENDS.insert(2, 'openedx.core.djangoapps.content_libraries.auth.LtiAuthenticationBackend')
324313

325314
LMS_BASE = None
326315

cms/envs/mock.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ FEATURES:
398398
ENABLE_API_DOCS: true
399399
ENABLE_ASYNC_ANSWER_DISTRIBUTION: true
400400
ENABLE_COMBINED_LOGIN_REGISTRATION: true
401-
ENABLE_CONTENT_LIBRARIES_LTI_TOOL: true
402401
ENABLE_CORS_HEADERS: true
403402
ENABLE_COUNTRY_ACCESS: true
404403
ENABLE_COURSEWARE_INDEX: true

openedx/core/djangoapps/content_libraries/api/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
from .collections import *
88
from .container_metadata import *
99
from .containers import *
10-
from .courseware_import import *
1110
from .exceptions import *
1211
from .libraries import *

openedx/core/djangoapps/content_libraries/api/courseware_import.py

Lines changed: 0 additions & 353 deletions
This file was deleted.

0 commit comments

Comments
 (0)