- 23 May, 2013 3 commits
-
-
Use .get instead of [] to access env hash
Jay Zoldak committed -
Capture the exit code of the Mako template engine invocation on asset preprocessing and abort from the Rake task on failure. This will prevent the LMS from continuing its attempt to start up, preventing further configuration errors.
Nate Hardison committed -
Nate Hardison committed
-
- 22 May, 2013 23 commits
-
-
If the `THEME_NAME` environment token isn't defined, then the application.scss.mako file will crash during preprocessing. Use .get to avoid a crash.
Nate Hardison committed -
add MITX Feature setting to enable django admin site
Jason Bau committed -
Ned Batchelder committed
-
Check functions need access to course-local code also, so we need to sav...
Ned Batchelder committed -
Add theming settings and simple base Sass preprocessing.
Nate Hardison committed -
Per feedback from @cpennington. This way we'll only preprocess once, even if the Sass compilation is invoked multiple times.
Nate Hardison committed -
This commit adds the requisite settings and startup features to enable integration of themes into the edX platform. It does not yet provide hooks in any of the templates, but it does cause the main `lms/static/sass/application.scss` file to `@import` a theme's base Sass. Template hooks will come down the road. CHANGELOG --------- Define a new `MITX_FEATURE`, `USE_CUSTOM_THEME`, that when enabled, can be used in templates to determine whether or not custom theme templates should be used instead of the defaults. Also define a new setting, `THEME_NAME`, which will be used to locate theme-specific files. Establish the convention that themes will be stored outside of the `REPO_ROOT`, inside the `ENV_ROOT`, in a directory named `themes/`. `themes/<THEME_NAME>` will store the files for a particular theme. Provide a function, `enable_theme`, that modifies the template and static asset load paths appropriately to include the theme's files. Move the main LMS Sass file to a Mako template that conditionally `@import`s the theme's base Sass file when a theme is enabled. Add logic to the assets Rakefile to properly preprocess any Sass/ Mako templates before compiling them.
Nate Hardison committed -
Jason Bau committed
-
Reviewed by cpennington: https://rbcommons.com/s/edx/r/2/
Greg Price committed -
According to someone from Datadog, this was generating tags like "knowledgeable_ people_who_put_this_course_together._this_is_harvard._you_can_t_tell_us_there_s_ a_shortage_of_editorial_talent." They say that they can handle tens or hundreds of unique tags but not thousands. Given that we have a unique URL for each thread, we can't even use that as a tag. Thus, all tags are removed for now until we can determine whether there is a useful set of tags with small enough cardinality. In light of this, I did not investigate why the long tag mentioned above was being generated.
Greg Price committed -
Handle ItemNotFoundError from the modulestore to avoid 500 errors
Greg Price committed -
Jason Bau committed
-
Check functions need access to course-local code also, so we need to save the python path from the problem setup, and use it for the check function.
Ned Batchelder committed -
Fix/vik/oe cache
VikParuchuri committed -
Vik Paruchuri committed
-
Sandbox-installed packages will be really installed instead of -e instal...
e0d committed -
Vik Paruchuri committed
-
Vik Paruchuri committed
-
Fix advanced components list in Studio.
Victor Shnayder committed -
Vik Paruchuri committed
-
Vik Paruchuri committed
-
e0d committed
-
Use draft module store so we can test editing components (problems, html...
Christina Roberts committed
-
- 21 May, 2013 14 commits
-
-
Ned Batchelder committed
-
Arthur Barrett committed
-
Add Review Board config to repo
Greg Price committed -
Greg Price committed
-
Upgrade version of xblock.
Christina Roberts committed -
Vik Paruchuri committed
-
Use a different arbitrary dotted module, which Christina doesn't already...
Ned Batchelder committed -
Fingerprint the filenames in site-packages to decide when to install req...
Ned Batchelder committed -
Ned Batchelder committed
-
Vik Paruchuri committed
-
Vik Paruchuri committed
-
Vik Paruchuri committed
-
Fix/cale/pylint cleanup
Calen Pennington committed -
Handle Heroku's 503 maintenance mode response
Nate Hardison committed
-