Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
cb678b9c
Commit
cb678b9c
authored
Aug 09, 2015
by
Carson Gee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8979 from mitocw/feature/cg/lti_provider_config
Additional configuration options for LTI provider feature.
parents
0d730f37
5cebad26
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
lms/envs/aws.py
+2
-0
lms/envs/common.py
+3
-0
lms/envs/yaml_config.py
+5
-0
No files found.
lms/envs/aws.py
View file @
cb678b9c
...
@@ -680,6 +680,8 @@ CREDIT_PROVIDER_SECRET_KEYS = AUTH_TOKENS.get("CREDIT_PROVIDER_SECRET_KEYS", {})
...
@@ -680,6 +680,8 @@ CREDIT_PROVIDER_SECRET_KEYS = AUTH_TOKENS.get("CREDIT_PROVIDER_SECRET_KEYS", {})
if
FEATURES
.
get
(
'ENABLE_LTI_PROVIDER'
):
if
FEATURES
.
get
(
'ENABLE_LTI_PROVIDER'
):
INSTALLED_APPS
+=
(
'lti_provider'
,)
INSTALLED_APPS
+=
(
'lti_provider'
,)
AUTHENTICATION_BACKENDS
+=
(
'lti_provider.users.LtiBackend'
,
)
AUTHENTICATION_BACKENDS
+=
(
'lti_provider.users.LtiBackend'
,
)
LTI_USER_EMAIL_DOMAIN
=
ENV_TOKENS
.
get
(
'LTI_USER_EMAIL_DOMAIN'
,
'lti.example.com'
)
##################### Credit Provider help link ####################
##################### Credit Provider help link ####################
CREDIT_HELP_LINK_URL
=
ENV_TOKENS
.
get
(
'CREDIT_HELP_LINK_URL'
,
CREDIT_HELP_LINK_URL
)
CREDIT_HELP_LINK_URL
=
ENV_TOKENS
.
get
(
'CREDIT_HELP_LINK_URL'
,
CREDIT_HELP_LINK_URL
)
...
...
lms/envs/common.py
View file @
cb678b9c
...
@@ -415,6 +415,9 @@ FEATURES = {
...
@@ -415,6 +415,9 @@ FEATURES = {
# Enable the max score cache to speed up grading
# Enable the max score cache to speed up grading
'ENABLE_MAX_SCORE_CACHE'
:
True
,
'ENABLE_MAX_SCORE_CACHE'
:
True
,
# Enable LTI Provider feature.
'ENABLE_LTI_PROVIDER'
:
False
,
}
}
# Ignore static asset files on import which match this pattern
# Ignore static asset files on import which match this pattern
...
...
lms/envs/yaml_config.py
View file @
cb678b9c
...
@@ -316,3 +316,8 @@ if FEATURES.get('INDIVIDUAL_DUE_DATES'):
...
@@ -316,3 +316,8 @@ if FEATURES.get('INDIVIDUAL_DUE_DATES'):
FIELD_OVERRIDE_PROVIDERS
+=
(
FIELD_OVERRIDE_PROVIDERS
+=
(
'courseware.student_field_overrides.IndividualStudentOverrideProvider'
,
'courseware.student_field_overrides.IndividualStudentOverrideProvider'
,
)
)
##################### LTI Provider #####################
if
FEATURES
.
get
(
'ENABLE_LTI_PROVIDER'
):
INSTALLED_APPS
+=
(
'lti_provider'
,)
AUTHENTICATION_BACKENDS
+=
(
'lti_provider.users.LtiBackend'
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment