add some middleware to determine whether draft modulestore or non-draft modulestore should be used

change to use regex to do the domain mappings. Also add config to AWS to be able to set from configuration file.

handle cases where HTTP_HOST is none, like in unit tests

add linefeed at end

fix up regex matches

switch to use thread local storage to hold the request itself

.

.

convert over to use open source 3rd party library

convert over to use django-cum

add unit test

remove comment

.

add comment to config setting

fix comment

use better regex for localdev

no need to break

no need to wrap an imported function, it's visible to any file that is importing us

add comment

add unit test

clean up test

use a separate env file to set the preview hostname
Increase requirejs load timeout to 60 seconds
grading.js depends on jquery.ui
Merge pull request #1288 from edx/db/grading-deps-ui

grading.js depends on jquery.ui
Change test to pass on Chrome as well as FireFox.
Merge pull request #1278 from edx/db/increase-requirejs-timeout

Increase requirejs load timeout to 60 seconds
Merge pull request #1285 from edx/christina/firefox-test-failure

Change mocking of height so it passes in Chrome as well as FireFox.
Implemented bulk email interface for new dashboard
disable buttons for large courses on legacy and beta instr dash

set max enrollment for downloads to 200
Implemented bulk email interface for new dashboard

Responses to Adam's comments; reset common.py, i18n compliance, deleted extraneous email.html file, fixed an HttpResponse, deleted unnecessary commented-out code, some small style tweaks
Changed GET to POST and xmodule HTML editor call, section CSS
Added acceptance tests for bulk email (through beta dashboard)
Merged in email confirmation modal
API tests, email tests, working notifications
added self to authors style, changed GET to POST
Legacy email tests, removed duplicate code, updated comments, fixed CSS
Revert "Merge pull request #1240 from edx/dhm/config_separation"

This reverts commit ec01253e30a9949223df5e70ffcb4d47f8370556, reversing
changes made to ae8c9710e5a250b1acd083520f8e01b5e46dd5d0.
source-edit.html depends on leanModal
Merge pull request #1156 from edx/feature/cdodge/add-preview-configs-via-middleware

add some middleware to determine whether draft modulestore or non-draft ...
Merge pull request #1305 from edx/jarv/revert-1240

Revert "Merge pull request #1240 from edx/dhm/config_separation"