Skip to content
Snippets Groups Projects
  1. Jun 10, 2013
  2. Jun 06, 2013
    • Victor Shnayder's avatar
      Adds segment-io integration into the LMS · 4ffe3c51
      Victor Shnayder authored
      Tell segment IO whenever a page is loaded.  Once this works, we
      can add more detailed instrumentation for events we care about.
      
      Will be turned off in prod until the SEGMENT_IO_LMS feature flag is
      set to True and a SEGMENT_IO_LMS_KEY is set.
      4ffe3c51
  3. Jun 05, 2013
  4. Jun 03, 2013
    • Nate Hardison's avatar
      Preprocess assets as Django management command · 1001b315
      Nate Hardison authored
      Rather than directly invoke command-line Python (and Mako) from the
      assets Rakefile, or call an external Python script, use a Django
      management command to preprocess all asset template files.
      
      An "asset template file" is defined as a static asset file with a
      file extension indicating that it needs to be run through a template
      engine prior to Sass/CoffeeScript compilation or packaging with other
      assets. The preprocess_assets management command will look through
      all of the files listed in the `STATICFILES_DIRS`, preprocessing each
      as needed. Preprocessing strips off the special template file
      extension, creating a new file in the process.
      
      Currently, the only variable accessible in an asset template file is
      the `THEME_NAME`, defined in the settings.
      1001b315
  5. May 30, 2013
  6. May 22, 2013
    • Nate Hardison's avatar
      Add general theming capabilities · ea3506d2
      Nate Hardison authored
      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.
      ea3506d2
    • Jason Bau's avatar
      add example in lms/envs/common.py · 5fc8469a
      Jason Bau authored
      5fc8469a
  7. May 21, 2013
  8. May 17, 2013
  9. May 16, 2013
  10. May 15, 2013
  11. May 13, 2013
  12. May 08, 2013
  13. May 07, 2013
  14. May 06, 2013
  15. May 03, 2013
  16. Apr 30, 2013
  17. Apr 18, 2013
  18. Apr 14, 2013
  19. Mar 28, 2013
  20. Mar 21, 2013
Loading