Skip to content
Snippets Groups Projects
  1. Feb 01, 2017
  2. Jan 31, 2017
  3. Jan 30, 2017
  4. Jan 26, 2017
    • David Ormsbee's avatar
      Disable student state writes for crawlers. · 5ef1e080
      David Ormsbee authored
      When crawlers like edX-downloader make requests on courseware, they are
      often concurrently loading many units in the same sequence. This causes
      contention for the rows in courseware_studentmodule that store the
      student's state for various XBlocks/XModules, most notably for the
      sequence, chapter, and course -- all of which record and update user
      position information when loaded.
      
      It would be nice if we could actually remove these writes altogether
      and come up with a cleaner way of keeping track of the user's position.
      In general, GETs should be side-effect free. However, any such change
      would break backwards compatibility, and would require close
      coordination with research teams to make sure they weren't negatively
      affected.
      
      This commit identifies crawlers by user agent (CrawlersConfig model),
      and blocks student state writes if a crawler is detected. FieldDataCache
      writes simply become no-ops. It doesn't actually alter the rendering
      of the courseware in any way -- the main impact is that the blocks
      won't record your most recent position, which is meaningless for
      crawlers anyway.
      
      This can also be used as a building block for other policy we want to
      define around crawlers. We just have to be mindful that this only works
      with "nice" crawlers who are honest in their user agents, and that
      significantly more sophisticated (and costly) measures would be
      necessary to prevent crawlers that try to be even trivially sneaky.
      
      [PERF-403]
      5ef1e080
  5. Jan 20, 2017
    • Renzo Lucioni's avatar
      Reintroduce Waffle · 3f6d6cbf
      Renzo Lucioni authored
      Waffle serves as a complement to config models. It's useful in feature rollout situations where you may not want to incur the overhead of creating and committing a migration (required for adding a field to a config model), and also handles gradual, percentage-based rollouts.
      
      ECOM-4422
      3f6d6cbf
  6. Jan 18, 2017
  7. Jan 08, 2017
  8. Jan 06, 2017
  9. Dec 15, 2016
  10. Dec 12, 2016
  11. Dec 08, 2016
  12. Nov 22, 2016
  13. Nov 16, 2016
  14. Nov 14, 2016
  15. Nov 07, 2016
  16. Nov 04, 2016
  17. Nov 03, 2016
  18. Oct 21, 2016
  19. Oct 20, 2016
  20. Oct 18, 2016
  21. Oct 14, 2016
  22. Oct 13, 2016
  23. Oct 12, 2016
  24. Oct 11, 2016
    • Nimisha Asthagiri's avatar
      27c99e1c
    • Andy Armstrong's avatar
      Move contentserver to openedx/core · 684aec87
      Andy Armstrong authored
      684aec87
    • Tim Krones's avatar
      Have DiscussionXBlock take care of loading JS and CSS files it depends on. · 3649f818
      Tim Krones authored
      * 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.
      3649f818
    • Adam Palay's avatar
      only dump courses to neo4j if they've been updated since the last time they were dumped · da58ad2a
      Adam Palay authored
      improvements to the command line interface for caching
      da58ad2a
  25. Oct 08, 2016
Loading