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
OpenEdx
edx-platform
Commits
765ff92a
Commit
765ff92a
authored
Sep 26, 2017
by
Uman Shahzad
Committed by
Dillon Dumesnil
Oct 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump to edx-enterprise to 0.48.1
parent
740be466
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
7 deletions
+12
-7
cms/envs/aws.py
+1
-0
cms/envs/common.py
+2
-2
common/djangoapps/util/tests/test_db.py
+1
-4
lms/envs/aws.py
+5
-0
lms/envs/common.py
+2
-0
requirements/edx/base.txt
+1
-1
No files found.
cms/envs/aws.py
View file @
765ff92a
...
@@ -247,6 +247,7 @@ LOGGING = get_logger_config(LOG_DIR,
...
@@ -247,6 +247,7 @@ LOGGING = get_logger_config(LOG_DIR,
#theming start:
#theming start:
PLATFORM_NAME
=
ENV_TOKENS
.
get
(
'PLATFORM_NAME'
,
PLATFORM_NAME
)
PLATFORM_NAME
=
ENV_TOKENS
.
get
(
'PLATFORM_NAME'
,
PLATFORM_NAME
)
PLATFORM_DESCRIPTION
=
ENV_TOKENS
.
get
(
'PLATFORM_DESCRIPTION'
,
PLATFORM_DESCRIPTION
)
STUDIO_NAME
=
ENV_TOKENS
.
get
(
'STUDIO_NAME'
,
STUDIO_NAME
)
STUDIO_NAME
=
ENV_TOKENS
.
get
(
'STUDIO_NAME'
,
STUDIO_NAME
)
STUDIO_SHORT_NAME
=
ENV_TOKENS
.
get
(
'STUDIO_SHORT_NAME'
,
STUDIO_SHORT_NAME
)
STUDIO_SHORT_NAME
=
ENV_TOKENS
.
get
(
'STUDIO_SHORT_NAME'
,
STUDIO_SHORT_NAME
)
...
...
cms/envs/common.py
View file @
765ff92a
...
@@ -48,8 +48,8 @@ from datetime import timedelta
...
@@ -48,8 +48,8 @@ from datetime import timedelta
import
lms.envs.common
import
lms.envs.common
# Although this module itself may not use these imported variables, other dependent modules may.
# Although this module itself may not use these imported variables, other dependent modules may.
from
lms.envs.common
import
(
from
lms.envs.common
import
(
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
BUGS_EMAIL
,
DOC_STORE_CONFIG
,
DATA_DIR
,
ALL_LANGUAGES
,
WIKI_ENABLED
,
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
PLATFORM_DESCRIPTION
,
BUGS_EMAIL
,
DOC_STORE_CONFIG
,
DATA_DIR
,
update_module_store_settings
,
ASSET_IGNORE_REGEX
,
ALL_LANGUAGES
,
WIKI_ENABLED
,
update_module_store_settings
,
ASSET_IGNORE_REGEX
,
PARENTAL_CONSENT_AGE_LIMIT
,
COMPREHENSIVE_THEME_DIRS
,
REGISTRATION_EMAIL_PATTERNS_ALLOWED
,
PARENTAL_CONSENT_AGE_LIMIT
,
COMPREHENSIVE_THEME_DIRS
,
REGISTRATION_EMAIL_PATTERNS_ALLOWED
,
# The following PROFILE_IMAGE_* settings are included as they are
# The following PROFILE_IMAGE_* settings are included as they are
# indirectly accessed through the email opt-in API, which is
# indirectly accessed through the email opt-in API, which is
...
...
common/djangoapps/util/tests/test_db.py
View file @
765ff92a
...
@@ -236,7 +236,4 @@ class MigrationTests(TestCase):
...
@@ -236,7 +236,4 @@ class MigrationTests(TestCase):
out
=
StringIO
()
out
=
StringIO
()
call_command
(
'makemigrations'
,
dry_run
=
True
,
verbosity
=
3
,
stdout
=
out
)
call_command
(
'makemigrations'
,
dry_run
=
True
,
verbosity
=
3
,
stdout
=
out
)
output
=
out
.
getvalue
()
output
=
out
.
getvalue
()
# Temporary for `edx-enterprise` version bumps with migrations.
self
.
assertIn
(
'No changes detected'
,
output
)
# Please delete when `edx-enterprise==0.47.0`.
if
'Remove field'
not
in
output
and
'Delete model'
not
in
output
:
self
.
assertIn
(
'No changes detected'
,
output
)
lms/envs/aws.py
View file @
765ff92a
...
@@ -145,6 +145,7 @@ MEDIA_ROOT = ENV_TOKENS.get('MEDIA_ROOT', MEDIA_ROOT)
...
@@ -145,6 +145,7 @@ MEDIA_ROOT = ENV_TOKENS.get('MEDIA_ROOT', MEDIA_ROOT)
MEDIA_URL
=
ENV_TOKENS
.
get
(
'MEDIA_URL'
,
MEDIA_URL
)
MEDIA_URL
=
ENV_TOKENS
.
get
(
'MEDIA_URL'
,
MEDIA_URL
)
PLATFORM_NAME
=
ENV_TOKENS
.
get
(
'PLATFORM_NAME'
,
PLATFORM_NAME
)
PLATFORM_NAME
=
ENV_TOKENS
.
get
(
'PLATFORM_NAME'
,
PLATFORM_NAME
)
PLATFORM_DESCRIPTION
=
ENV_TOKENS
.
get
(
'PLATFORM_DESCRIPTION'
,
PLATFORM_DESCRIPTION
)
# For displaying on the receipt. At Stanford PLATFORM_NAME != MERCHANT_NAME, but PLATFORM_NAME is a fine default
# For displaying on the receipt. At Stanford PLATFORM_NAME != MERCHANT_NAME, but PLATFORM_NAME is a fine default
PLATFORM_TWITTER_ACCOUNT
=
ENV_TOKENS
.
get
(
'PLATFORM_TWITTER_ACCOUNT'
,
PLATFORM_TWITTER_ACCOUNT
)
PLATFORM_TWITTER_ACCOUNT
=
ENV_TOKENS
.
get
(
'PLATFORM_TWITTER_ACCOUNT'
,
PLATFORM_TWITTER_ACCOUNT
)
PLATFORM_FACEBOOK_ACCOUNT
=
ENV_TOKENS
.
get
(
'PLATFORM_FACEBOOK_ACCOUNT'
,
PLATFORM_FACEBOOK_ACCOUNT
)
PLATFORM_FACEBOOK_ACCOUNT
=
ENV_TOKENS
.
get
(
'PLATFORM_FACEBOOK_ACCOUNT'
,
PLATFORM_FACEBOOK_ACCOUNT
)
...
@@ -1004,6 +1005,10 @@ ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = ENV_TOKENS.get(
...
@@ -1004,6 +1005,10 @@ ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = ENV_TOKENS.get(
'ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE'
,
'ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE'
,
ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE
ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE
)
)
ENTERPRISE_TAGLINE
=
ENV_TOKENS
.
get
(
'ENTERPRISE_TAGLINE'
,
ENTERPRISE_TAGLINE
)
ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS
=
set
(
ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS
=
set
(
ENV_TOKENS
.
get
(
ENV_TOKENS
.
get
(
'ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS'
,
'ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS'
,
...
...
lms/envs/common.py
View file @
765ff92a
...
@@ -47,6 +47,7 @@ from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin
...
@@ -47,6 +47,7 @@ from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin
################################### FEATURES ###################################
################################### FEATURES ###################################
# The display name of the platform to be used in templates/emails/etc.
# The display name of the platform to be used in templates/emails/etc.
PLATFORM_NAME
=
_
(
'Your Platform Name Here'
)
PLATFORM_NAME
=
_
(
'Your Platform Name Here'
)
PLATFORM_DESCRIPTION
=
_
(
'Your Platform Description Here'
)
CC_MERCHANT_NAME
=
PLATFORM_NAME
CC_MERCHANT_NAME
=
PLATFORM_NAME
PLATFORM_FACEBOOK_ACCOUNT
=
"http://www.facebook.com/YourPlatformFacebookAccount"
PLATFORM_FACEBOOK_ACCOUNT
=
"http://www.facebook.com/YourPlatformFacebookAccount"
...
@@ -3271,6 +3272,7 @@ ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = _(
...
@@ -3271,6 +3272,7 @@ ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = _(
'{platform_name}{end_bold} to offer you high-quality learning opportunities '
'{platform_name}{end_bold} to offer you high-quality learning opportunities '
'from the world
\'
s best universities.'
'from the world
\'
s best universities.'
)
)
ENTERPRISE_TAGLINE
=
''
ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS
=
{
ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS
=
{
'age'
,
'age'
,
'level_of_education'
,
'level_of_education'
,
...
...
requirements/edx/base.txt
View file @
765ff92a
...
@@ -48,7 +48,7 @@ edx-lint==0.4.3
...
@@ -48,7 +48,7 @@ edx-lint==0.4.3
astroid==1.3.8
astroid==1.3.8
edx-django-oauth2-provider==1.2.5
edx-django-oauth2-provider==1.2.5
edx-django-sites-extensions==2.3.0
edx-django-sites-extensions==2.3.0
edx-enterprise==0.4
6.8
edx-enterprise==0.4
8.1
edx-oauth2-provider==1.2.2
edx-oauth2-provider==1.2.2
edx-opaque-keys==0.4.0
edx-opaque-keys==0.4.0
edx-organizations==0.4.6
edx-organizations==0.4.6
...
...
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