Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
4f8686bd
Commit
4f8686bd
authored
9 years ago
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2819 from edx/feanil/cms_codejail
Be able to run jailed code in the CMS as well.
parents
be8442ee
d061045d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
playbooks/roles/edxapp/defaults/main.yml
+5
-5
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
4f8686bd
...
@@ -838,6 +838,11 @@ generic_env_config: &edxapp_generic_env
...
@@ -838,6 +838,11 @@ generic_env_config: &edxapp_generic_env
SESSION_SAVE_EVERY_REQUEST
:
"
{{
EDXAPP_SESSION_SAVE_EVERY_REQUEST
}}"
SESSION_SAVE_EVERY_REQUEST
:
"
{{
EDXAPP_SESSION_SAVE_EVERY_REQUEST
}}"
SOCIAL_SHARING_SETTINGS
:
"
{{
EDXAPP_SOCIAL_SHARING_SETTINGS
}}"
SOCIAL_SHARING_SETTINGS
:
"
{{
EDXAPP_SOCIAL_SHARING_SETTINGS
}}"
SESSION_COOKIE_SECURE
:
"
{{
EDXAPP_SESSION_COOKIE_SECURE
}}"
SESSION_COOKIE_SECURE
:
"
{{
EDXAPP_SESSION_COOKIE_SECURE
}}"
CODE_JAIL
:
# from https://github.com/edx/codejail/blob/master/codejail/django_integration.py#L24, '' should be same as None
python_bin
:
'
{%
if
EDXAPP_PYTHON_SANDBOX
%}{{
edxapp_sandbox_venv_dir
}}/bin/python{%
endif
%}'
limits
:
"
{{
EDXAPP_CODE_JAIL_LIMITS
}}"
user
:
'
{{
edxapp_sandbox_user
}}'
lms_auth_config
:
lms_auth_config
:
<<
:
*edxapp_generic_auth
<<
:
*edxapp_generic_auth
...
@@ -882,11 +887,6 @@ lms_env_config:
...
@@ -882,11 +887,6 @@ lms_env_config:
GIT_REPO_DIR
:
"
{{
EDXAPP_GIT_REPO_DIR
}}"
GIT_REPO_DIR
:
"
{{
EDXAPP_GIT_REPO_DIR
}}"
SITE_NAME
:
"
{{
EDXAPP_LMS_SITE_NAME
}}"
SITE_NAME
:
"
{{
EDXAPP_LMS_SITE_NAME
}}"
VIDEO_CDN_URL
:
"
{{
EDXAPP_VIDEO_CDN_URLS
}}"
VIDEO_CDN_URL
:
"
{{
EDXAPP_VIDEO_CDN_URLS
}}"
CODE_JAIL
:
# from https://github.com/edx/codejail/blob/master/codejail/django_integration.py#L24, '' should be same as None
python_bin
:
'
{%
if
EDXAPP_PYTHON_SANDBOX
%}{{
edxapp_sandbox_venv_dir
}}/bin/python{%
endif
%}'
limits
:
"
{{
EDXAPP_CODE_JAIL_LIMITS
}}"
user
:
'
{{
edxapp_sandbox_user
}}'
PDF_RECEIPT_TAX_ID
:
"
{{
EDXAPP_PDF_RECEIPT_TAX_ID
}}"
PDF_RECEIPT_TAX_ID
:
"
{{
EDXAPP_PDF_RECEIPT_TAX_ID
}}"
PDF_RECEIPT_FOOTER_TEXT
:
"
{{
EDXAPP_PDF_RECEIPT_FOOTER_TEXT
}}"
PDF_RECEIPT_FOOTER_TEXT
:
"
{{
EDXAPP_PDF_RECEIPT_FOOTER_TEXT
}}"
PDF_RECEIPT_DISCLAIMER_TEXT
:
"
{{
EDXAPP_PDF_RECEIPT_DISCLAIMER_TEXT
}}"
PDF_RECEIPT_DISCLAIMER_TEXT
:
"
{{
EDXAPP_PDF_RECEIPT_DISCLAIMER_TEXT
}}"
...
...
This diff is collapsed.
Click to expand it.
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