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
5c9857bf
Commit
5c9857bf
authored
Jun 12, 2013
by
Joe Blaylock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring in Jabber settings from json configs
Conflicts: lms/envs/common.py
parent
afe35654
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
lms/envs/aws.py
+1
-0
lms/envs/common.py
+3
-1
No files found.
lms/envs/aws.py
View file @
5c9857bf
...
@@ -103,6 +103,7 @@ PLATFORM_NAME = ENV_TOKENS.get('PLATFORM_NAME', PLATFORM_NAME)
...
@@ -103,6 +103,7 @@ PLATFORM_NAME = ENV_TOKENS.get('PLATFORM_NAME', PLATFORM_NAME)
SITE_NAME
=
ENV_TOKENS
[
'SITE_NAME'
]
SITE_NAME
=
ENV_TOKENS
[
'SITE_NAME'
]
SESSION_COOKIE_DOMAIN
=
ENV_TOKENS
.
get
(
'SESSION_COOKIE_DOMAIN'
)
SESSION_COOKIE_DOMAIN
=
ENV_TOKENS
.
get
(
'SESSION_COOKIE_DOMAIN'
)
JABBER
=
ENV_TOKENS
.
get
(
'JABBER'
,
{})
# allow for environments to specify what cookie name our login subsystem should use
# allow for environments to specify what cookie name our login subsystem should use
# this is to fix a bug regarding simultaneous logins between edx.org and edge.edx.org which can
# this is to fix a bug regarding simultaneous logins between edx.org and edge.edx.org which can
...
...
lms/envs/common.py
View file @
5c9857bf
...
@@ -756,6 +756,9 @@ TEMPLATE_VISIBLE_SETTINGS = [
...
@@ -756,6 +756,9 @@ TEMPLATE_VISIBLE_SETTINGS = [
# TODO: augment me
# TODO: augment me
]
]
############################### CHAT ################################
JABBER
=
{}
############################### THEME ################################
############################### THEME ################################
def
enable_theme
(
theme_name
):
def
enable_theme
(
theme_name
):
"""
"""
...
@@ -786,4 +789,3 @@ def enable_theme(theme_name):
...
@@ -786,4 +789,3 @@ def enable_theme(theme_name):
# avoid collisions with default edX static files
# avoid collisions with default edX static files
STATICFILES_DIRS
.
append
((
u'themes/
%
s'
%
theme_name
,
STATICFILES_DIRS
.
append
((
u'themes/
%
s'
%
theme_name
,
theme_root
/
'static'
))
theme_root
/
'static'
))
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