Commit 28c86400 by Will Daly

Merge pull request #2042 from edx/will/footer-configuration-updates

Footer configuration changes
parents 6b91b231 2ebce83a
- Role: edxapp
- Removed deprecated variables EDXAPP_PLATFORM_TWITTER_URL, EDXAPP_PLATFORM_MEETUP_URL, EDXAPP_PLATFORM_LINKEDIN_URL, and EDXAPP_PLATFORM_GOOGLE_PLUS_URL in favor of EDXAPP_SOCIAL_MEDIA_FOOTER_URLS. These variables haven't been used in edx-platform since March 17, 2015 (when https://github.com/edx/edx-platform/pull/7383 was merged). This change is backwards incompatible with versions of edx-platform from before March 17, 2015.
- Added EDXAPP_MOBILE_STORE_URLS and EDXAPP_FOOTER_ORGANIZATION_IMAGE variables, used in https://github.com/edx/edx-platform/pull/8175 (v3 version of the edx.org footer).
- Updated ansible fork with small bug fix. - Updated ansible fork with small bug fix.
- https://github.com/ansible/ansible/pull/10957 - https://github.com/ansible/ansible/pull/10957
...@@ -24,7 +28,7 @@ ...@@ -24,7 +28,7 @@
- Changed location of minos' config file from `/edx/etc/minos/minos.yml` to `/edx/etc/minos.yml` - Changed location of minos' config file from `/edx/etc/minos/minos.yml` to `/edx/etc/minos.yml`
- Added new `edx_notes_api` role for forthcoming notes api - Added new `edx_notes_api` role for forthcoming notes api
- This is a __BACKWARDS INCOMPATABLE__ change and will require additional migrations when upgrading an existing server. While we recommend building from scratch, running the following command _might_ work: - This is a __BACKWARDS INCOMPATABLE__ change and will require additional migrations when upgrading an existing server. While we recommend building from scratch, running the following command _might_ work:
``` ```
rm -rf /edx/app/analytics-api /edx/app/ /edx/app/nginx/sites-available/analytics-api.j2 /edx/app/supervisor/conf.d.available/analytics_api.conf rm -rf /edx/app/analytics-api /edx/app/ /edx/app/nginx/sites-available/analytics-api.j2 /edx/app/supervisor/conf.d.available/analytics_api.conf
rm -rf /edx/etc/minos rm -rf /edx/etc/minos
...@@ -65,7 +69,7 @@ ...@@ -65,7 +69,7 @@
- Role: edxapp - Role: edxapp
- We now have an all caps variable override for celery workers - We now have an all caps variable override for celery workers
- Role: common - Role: common
- We now remove the default syslog.d conf file (50-default.conf) this will - We now remove the default syslog.d conf file (50-default.conf) this will
break people who have hand edited that file. break people who have hand edited that file.
- Role: edxapp - Role: edxapp
...@@ -101,5 +105,5 @@ ...@@ -101,5 +105,5 @@
by changing mongo_clustered to MONGO_CLUSTERED. by changing mongo_clustered to MONGO_CLUSTERED.
- Role: Edxapp - Role: Edxapp
- Added EDXAPP_LMS_AUTH_EXTRA and EDXAPP_CMS_AUTH_EXTRA for passing unique AUTH_EXTRA configurations to the LMS and CMS. - Added EDXAPP_LMS_AUTH_EXTRA and EDXAPP_CMS_AUTH_EXTRA for passing unique AUTH_EXTRA configurations to the LMS and CMS.
Both variables default to EDXAPP_AUTH_EXTRA for backward compatibility Both variables default to EDXAPP_AUTH_EXTRA for backward compatibility
...@@ -183,7 +183,7 @@ EDXAPP_FEATURES: ...@@ -183,7 +183,7 @@ EDXAPP_FEATURES:
ENABLE_VIDEO_BEACON: false ENABLE_VIDEO_BEACON: false
ENABLE_ONLOAD_BEACON: false ENABLE_ONLOAD_BEACON: false
ENABLE_EDXNOTES: "{{ EDXAPP_ENABLE_EDXNOTES }}" ENABLE_EDXNOTES: "{{ EDXAPP_ENABLE_EDXNOTES }}"
EDXAPP_BOOK_URL: "" EDXAPP_BOOK_URL: ""
# This needs to be set to localhost # This needs to be set to localhost
# if xqueue is run on the same server # if xqueue is run on the same server
...@@ -231,13 +231,9 @@ EDXAPP_PRESS_EMAIL: 'press@example.com' ...@@ -231,13 +231,9 @@ EDXAPP_PRESS_EMAIL: 'press@example.com'
EDXAPP_PLATFORM_TWITTER_ACCOUNT: '@YourPlatformTwitterAccount' EDXAPP_PLATFORM_TWITTER_ACCOUNT: '@YourPlatformTwitterAccount'
EDXAPP_PLATFORM_FACEBOOK_ACCOUNT: 'http://www.facebook.com/YourPlatformFacebookAccount' EDXAPP_PLATFORM_FACEBOOK_ACCOUNT: 'http://www.facebook.com/YourPlatformFacebookAccount'
# Deprecated by EDXAPP_SOCIAL_MEDIA_FOOTER_URLS
EDXAPP_PLATFORM_TWITTER_URL: "https://twitter.com/YourPlatformTwitterAccount"
EDXAPP_PLATFORM_MEETUP_URL: "http://www.meetup.com/YourMeetup"
EDXAPP_PLATFORM_LINKEDIN_URL: "http://www.linkedin.com/company/YourPlatform"
EDXAPP_PLATFORM_GOOGLE_PLUS_URL: "https://plus.google.com/YourGooglePlusAccount/"
EDXAPP_SOCIAL_MEDIA_FOOTER_URLS: {} EDXAPP_SOCIAL_MEDIA_FOOTER_URLS: {}
EDXAPP_MOBILE_STORE_URLS: {}
EDXAPP_FOOTER_ORGANIZATION_IMAGE: "images/default-theme/logo.png"
EDXAPP_ENV_EXTRA: {} EDXAPP_ENV_EXTRA: {}
EDXAPP_AUTH_EXTRA: {} EDXAPP_AUTH_EXTRA: {}
...@@ -469,7 +465,7 @@ EDXAPP_ECOMMERCE_API_SIGNING_KEY: 'SET-ME-PLEASE' ...@@ -469,7 +465,7 @@ EDXAPP_ECOMMERCE_API_SIGNING_KEY: 'SET-ME-PLEASE'
# headers: # headers:
# Cache-Control: max-age-{{ EDXAPP_PROFILE_IMAGE_MAX_AGE }} # Cache-Control: max-age-{{ EDXAPP_PROFILE_IMAGE_MAX_AGE }}
#NB: access_key and secret_key are unneccessary if you use IAM roles #NB: access_key and secret_key are unneccessary if you use IAM roles
#NB2: custom_domain is REQUIRED. Otherwise, boto will generate a #NB2: custom_domain is REQUIRED. Otherwise, boto will generate a
# temporary URL whenever asked for the URL of a specific file. # temporary URL whenever asked for the URL of a specific file.
EDXAPP_PROFILE_IMAGE_BACKEND: EDXAPP_PROFILE_IMAGE_BACKEND:
class: storages.backends.overwrite.OverwriteStorage class: storages.backends.overwrite.OverwriteStorage
...@@ -719,7 +715,7 @@ generic_env_config: &edxapp_generic_env ...@@ -719,7 +715,7 @@ generic_env_config: &edxapp_generic_env
WIKI_ENABLED: true WIKI_ENABLED: true
SYSLOG_SERVER: "{{ EDXAPP_SYSLOG_SERVER }}" SYSLOG_SERVER: "{{ EDXAPP_SYSLOG_SERVER }}"
LOG_DIR: "{{ COMMON_DATA_DIR }}/logs/edx" LOG_DIR: "{{ COMMON_DATA_DIR }}/logs/edx"
#must end in slash (https://docs.djangoproject.com/en/1.4/ref/settings/#media-url) #must end in slash (https://docs.djangoproject.com/en/1.4/ref/settings/#media-url)
MEDIA_URL: "{{ EDXAPP_MEDIA_URL }}/" MEDIA_URL: "{{ EDXAPP_MEDIA_URL }}/"
MEDIA_ROOT: "{{ edxapp_media_dir }}/" MEDIA_ROOT: "{{ edxapp_media_dir }}/"
...@@ -778,13 +774,9 @@ generic_env_config: &edxapp_generic_env ...@@ -778,13 +774,9 @@ generic_env_config: &edxapp_generic_env
HOSTNAME_MODULESTORE_DEFAULT_MAPPINGS: "{{ EDXAPP_MODULESTORE_MAPPINGS }}" HOSTNAME_MODULESTORE_DEFAULT_MAPPINGS: "{{ EDXAPP_MODULESTORE_MAPPINGS }}"
UNIVERSITY_EMAIL: "{{ EDXAPP_UNIVERSITY_EMAIL }}" UNIVERSITY_EMAIL: "{{ EDXAPP_UNIVERSITY_EMAIL }}"
PRESS_EMAIL: "{{ EDXAPP_PRESS_EMAIL }}" PRESS_EMAIL: "{{ EDXAPP_PRESS_EMAIL }}"
PLATFORM_TWITTER_ACCOUNT: "{{ EDXAPP_PLATFORM_TWITTER_ACCOUNT }}"
PLATFORM_FACEBOOK_ACCOUNT: "{{ EDXAPP_PLATFORM_FACEBOOK_ACCOUNT }}"
PLATFORM_TWITTER_URL: "{{ EDXAPP_PLATFORM_TWITTER_URL }}"
PLATFORM_MEETUP_URL: "{{ EDXAPP_PLATFORM_MEETUP_URL }}"
PLATFORM_LINKEDIN_URL: "{{ EDXAPP_PLATFORM_LINKEDIN_URL }}"
PLATFORM_GOOGLE_PLUS_URL: "{{ EDXAPP_PLATFORM_GOOGLE_PLUS_URL }}"
SOCIAL_MEDIA_FOOTER_URLS: "{{ EDXAPP_SOCIAL_MEDIA_FOOTER_URLS }}" SOCIAL_MEDIA_FOOTER_URLS: "{{ EDXAPP_SOCIAL_MEDIA_FOOTER_URLS }}"
MOBILE_STORE_URLS: "{{ EDXAPP_MOBILE_STORE_URLS }}"
FOOTER_ORGANIZATION_IMAGE: "{{ EDXAPP_FOOTER_ORGANIZATION_IMAGE }}"
ORA2_FILE_PREFIX: "{{ EDXAPP_ORA2_FILE_PREFIX }}" ORA2_FILE_PREFIX: "{{ EDXAPP_ORA2_FILE_PREFIX }}"
FILE_UPLOAD_STORAGE_BUCKET_NAME: "{{ EDXAPP_FILE_UPLOAD_STORAGE_BUCKET_NAME }}" FILE_UPLOAD_STORAGE_BUCKET_NAME: "{{ EDXAPP_FILE_UPLOAD_STORAGE_BUCKET_NAME }}"
FILE_UPLOAD_STORAGE_PREFIX: "{{ EDXAPP_FILE_UPLOAD_STORAGE_PREFIX }}" FILE_UPLOAD_STORAGE_PREFIX: "{{ EDXAPP_FILE_UPLOAD_STORAGE_PREFIX }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment