Microsite Feature PR

@sefk @wedaly @nedbat @brianhw @mattdrayer This is a new PR with a rebased version of the feature branch, also rebased against master (since there was a conflict)


---------------------------------------------------------------

more WIP

allow for subsitutions on the social media links on the course about page

add ability to define a css file to override style definitions. Also filter out courses not in the microsite ORG filter on the student dashboard

organize directories better

allow for definition of microsite footer HTML in configuration. Also change Studio to allow for course about editing if author is editing a microsite course

some configuration updates

separate out microsite config into its own file

be sure to handle if CONFIGURATION_SETTINGS is None

do some better refactoring regarding microsite email configuration and management

add another configuration switch to indicate whether the student dashboard should show only that microsite's org's courses

fix some test breakage (re: email) and also allow for a logo image URL to use assets outside of the edx repo

remove the test image logo url

wip

wip

wip

wip

make a few views that take PLATFORM_NAME from MicrositeConfiguration

separate out the right sidebar on the registration page so that microsites can override the default content

separate out the right sidebar on the login page so that microsites can override the default content

be sure to pass in platform_name into login.html

fix merge conflict

fix some breakage in CMS due to middleware rewrites

Set webpage title to be the platform name

some configuration fixups

Added "none" default to style_overrides_file var

improve social links overrides and allow for promotional video override

explicitly declare SUBDOMAIN_BRANDING and VIRTUAL_UNIVERSITIES

make sure to override 'safe_get_host' to return a microsite, if we are in one

change over to pulling microsite config from normal lms.envs.json file

support overriding of favicon.ico path

remove reading of config.json from microsite directory

fix tests by updating test.py with new calling signature

per Stanford feedback if we get rid of the 'viewport' header, the site will render better on iPhone

When request is not in a Microsite, add some additional filtering to remove any listings of courses, either on homepage or dashboard, which are in Microsites. This is to better partition the catalogs against stricter domain access paths

fix up test configs

Initial tests for microsites

change test config

add tests

add test microsite content

fix pep8/pylint violations

fix pep8/pylint violations

update microtest_test.py

skip microsite tests because they are failing on Jenkins builds, but passing on localdev builds

pep8/pylint fixes