1. 05 Sep, 2017 1 commit
  2. 07 Jul, 2017 1 commit
    • Fix inline discussions to use cached static assets. · 978e9fe6
      In production environments, the DiscussionXBlock was generating CSS and
      JS asset URLs that pointed to the unminified versions of those bundled
      assets. Due to our nginx rules, this would cause the assets to be
      served without the long expiration times, forcing the user's browser to
      constantly refetch these assets while browsing a course.
      
      [PERF-431]
      David Ormsbee committed
  3. 12 Jan, 2017 1 commit
  4. 14 Oct, 2016 1 commit
  5. 11 Oct, 2016 1 commit
    • Have DiscussionXBlock take care of loading JS and CSS files it depends on. · 3649f818
      * Add openedx.core.lib.xblock_builtin.get_css_dependencies and get_js_dependencies,
        which respect PIPELINE_ENABLED setting when determining dependencies.
      * Move new discussion-related Sass files into discussion subdirectory.
      * Use "load_unicode" instead of "render_template" to load JS to add to fragment for DiscussionXBlock.
      * Remove unused "course" parameter from context for DiscussionXBlock.student_view.
      * Add RTL stylesheet for DiscussionXBlock, and enable the block to load correct stylesheet.
      * Load MathJax only once, and include code for configuring MathJax in discussion bundle.
      * Make sure username renders correctly in DiscussionXBlock response header.
      * Move WYSIWYIG Markdown editor styles to _build-discussion.scss.
      * Remove unnecessary import of discussion/utilities/v1-compatibility from _build-discussion.scss.
      * Keep courseware-chromeless.html in sync with courseware.html.
      * Load CSS for discussions on Teams tab.  This makes it possible to remove CSS for discussions from Sass files for "Course" tab.
      * Load js/src/tooltip_manager.js, jquery.autocomplete.js and jquery.autocomplete.css on "Course" tab.
      Tim Krones committed
  6. 05 Oct, 2016 1 commit
  7. 03 Oct, 2016 1 commit
    • Have DiscussionXBlock take care of loading JS and CSS files it depends on. · baa9d06e
      * Add openedx.core.lib.xblock_builtin.get_css_dependencies and get_js_dependencies,
        which respect PIPELINE_ENABLED setting when determining dependencies.
      * Move new discussion-related Sass files into discussion subdirectory.
      * Use "load_unicode" instead of "render_template" to load JS to add to fragment for DiscussionXBlock.
      * Remove unused "course" parameter from context for DiscussionXBlock.student_view.
      * Add RTL stylesheet for DiscussionXBlock, and enable the block to load correct stylesheet.
      * Load MathJax only once, and include code for configuring MathJax in discussion bundle.
      * Make sure username renders correctly in DiscussionXBlock response header.
      * Move WYSIWYIG Markdown editor styles to _build-discussion.scss.
      * Remove unnecessary import of discussion/utilities/v1-compatibility from _build-discussion.scss.
      * Keep courseware-chromeless.html in sync with courseware.html.
      * Load CSS for discussions on Teams tab.  This makes it possible to remove CSS for discussions from Sass files for "Course" tab.
      * Load js/src/tooltip_manager.js, jquery.autocomplete.js and jquery.autocomplete.css on "Course" tab.
      Tim Krones committed
  8. 29 Aug, 2016 1 commit
  9. 25 Jul, 2016 2 commits
  10. 28 Jun, 2016 1 commit