Skip to content
Snippets Groups Projects
  1. Feb 24, 2017
    • David Ormsbee's avatar
      Remove dealer.git use for LMS. · 4dc087ae
      David Ormsbee authored
      We use the dealer.git library to determine the current revision of
      edx-platform at startup time and store that as EDX_PLATFORM_REVISION in
      our settings. This can take a surprisingly long time and involve a lot
      of disk IO to initialize.
      
      Studio still needs this functionality because it determines its static
      asset folder based partly on the hash. This is horrible, because it
      means all static assets are invalidated on every release instead of
      just the ones that change. But that will be the subject of a different
      PR.
      4dc087ae
    • Brandon DeRosier's avatar
  2. Feb 15, 2017
  3. Feb 14, 2017
    • Hasnain's avatar
      Backend code for program detail page. · 41f3bba0
      Hasnain authored
      This adds functions to the catalog utils which munge data
      collected from the program endpoint and LMS database to construct
      data structures that are ready for use by view and templates
      related to the Open EdX marketing pages that live in LMS.
      
      WL-766
      41f3bba0
  4. Feb 13, 2017
  5. Feb 10, 2017
  6. Feb 08, 2017
  7. Feb 01, 2017
  8. Jan 31, 2017
  9. Jan 30, 2017
  10. 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
  11. 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
  12. Jan 18, 2017
  13. Jan 08, 2017
  14. Jan 06, 2017
  15. Dec 15, 2016
  16. Dec 12, 2016
  17. Dec 08, 2016
  18. Nov 22, 2016
  19. Nov 16, 2016
  20. Nov 14, 2016
  21. Nov 07, 2016
  22. Nov 04, 2016
  23. Nov 03, 2016
  24. Oct 21, 2016
  25. Oct 20, 2016
  26. Oct 18, 2016
  27. Oct 14, 2016
  28. Oct 13, 2016
  29. Oct 12, 2016
Loading