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

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

# Add the lti store filter to the filter list, creating the configuration if it doesn't
# exist but updating it if it does exist.
_filter_name = 'org.openedx.xblock.lti_consumer.configuration.listed.v1'
_step_name = 'lti_store.pipelines.GetLtiConfigurations'

try:
not OPEN_EDX_FILTERS_CONFIG
except NameError: # OPEN_EDX_FILTERS_CONFIG is not defined
OPEN_EDX_FILTERS_CONFIG = {}

if not OPEN_EDX_FILTERS_CONFIG.get(_filter_name):
OPEN_EDX_FILTERS_CONFIG[_filter_name] = {
"fail_silently": False,
"pipeline": [],
}
OPEN_EDX_FILTERS_CONFIG[_filter_name]["pipeline"].append(_step_name)
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
pip install git+https://github.com/feanil/openedx-ltistore.git@feanil/lti1p3_fixes
pip install {{ LTISTORE_PIP_INSTALL }}

This file was deleted.

6 changes: 6 additions & 0 deletions plugins/tutor-contrib-ltistore/tutor_ltistore/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
# Each new setting is a pair: (setting_name, default_value).
# Prefix your setting names with 'LTISTORE_'.
("LTISTORE_VERSION", __version__),
# It's useful to change this to git sources during development
# so we're making this a config value you can change.
(
"LTISTORE_PIP_INSTALL",
"git+https://github.com/feanil/openedx-ltistore.git@feanil/minimal_lti1p3_fixes",
),
]
)

Expand Down