forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: configure zoom live conference calls settings if exists at org…
…anization level (#415) * feat!: configure zoom globally * fix!: fix ENV_TOKENS error --------- Co-authored-by: Muhammad Faraz Maqsood <[email protected]>
- Loading branch information
1 parent
1699d14
commit de14328
Showing
7 changed files
with
197 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
Common settings for Live Video Conferencing Tools. | ||
""" | ||
|
||
|
||
def plugin_settings(settings): | ||
""" | ||
Common settings for Live Video Conferencing Tools | ||
Set these variables in the Tutor Config or lms.yml for local testing | ||
ZOOM_BUTTON_GLOBAL_KEY: <ZOOM_BUTTON_GLOBAL_KEY> | ||
ZOOM_BUTTON_GLOBAL_SECRET: <ZOOM_BUTTON_GLOBAL_SECRET> | ||
ZOOM_BUTTON_GLOBAL_URL: <ZOOM_BUTTON_GLOBAL_URL> | ||
ZOOM_INSTRUCTOR_EMAIL: <ZOOM_INSTRUCTOR_EMAIL> | ||
""" | ||
# zoom settings | ||
settings.ZOOM_BUTTON_GLOBAL_KEY = "" | ||
settings.ZOOM_BUTTON_GLOBAL_SECRET = "" | ||
settings.ZOOM_BUTTON_GLOBAL_URL = "" | ||
settings.ZOOM_INSTRUCTOR_EMAIL = "" |
23 changes: 23 additions & 0 deletions
23
openedx/core/djangoapps/course_live/settings/production.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
""" | ||
Production settings for Live Video Conferencing Tools. | ||
""" | ||
|
||
|
||
def plugin_settings(settings): | ||
""" | ||
Production settings for Live Video Conferencing Tools | ||
""" | ||
|
||
# zoom settings | ||
settings.ZOOM_BUTTON_GLOBAL_KEY = settings.ENV_TOKENS.get( | ||
"ZOOM_BUTTON_GLOBAL_KEY", settings.ZOOM_BUTTON_GLOBAL_KEY | ||
) | ||
settings.ZOOM_BUTTON_GLOBAL_SECRET = settings.ENV_TOKENS.get( | ||
"ZOOM_BUTTON_GLOBAL_SECRET", settings.ZOOM_BUTTON_GLOBAL_SECRET | ||
) | ||
settings.ZOOM_BUTTON_GLOBAL_URL = settings.ENV_TOKENS.get( | ||
"ZOOM_BUTTON_GLOBAL_URL", settings.ZOOM_BUTTON_GLOBAL_URL | ||
) | ||
settings.ZOOM_INSTRUCTOR_EMAIL = settings.ENV_TOKENS.get( | ||
"ZOOM_INSTRUCTOR_EMAIL", settings.ZOOM_INSTRUCTOR_EMAIL | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters