1. 08 Mar, 2017 1 commit
  2. 01 Mar, 2017 1 commit
  3. 07 Feb, 2017 1 commit
  4. 26 Jan, 2017 1 commit
    • Disable student state writes for crawlers. · 5ef1e080
      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]
      David Ormsbee committed
  5. 20 Oct, 2016 1 commit
  6. 13 Oct, 2016 1 commit
  7. 07 Oct, 2016 1 commit
  8. 05 Oct, 2016 1 commit
  9. 08 Sep, 2016 1 commit
    • Update correct persistent score · 31953c5e
      * First take at forcing a subsection's grade to update when a signal is
        sent that a problem's score has changed
      * Refactor signal handler connection.
      * Expand bokchoy tests to cover progress page
      * Add some grading unit tests
      
      TNL-5394
      TNL-5364
      Eric Fischer committed
  10. 23 Aug, 2016 1 commit
  11. 04 Aug, 2016 1 commit
  12. 27 Jul, 2016 1 commit
  13. 22 Jul, 2016 1 commit
  14. 21 Jul, 2016 2 commits
  15. 11 Jul, 2016 1 commit
  16. 26 May, 2016 1 commit
  17. 19 May, 2016 1 commit
  18. 03 May, 2016 1 commit
  19. 02 May, 2016 1 commit
  20. 27 Apr, 2016 1 commit
  21. 11 Mar, 2016 1 commit
    • mattdrayer/xblock-translations: Add I18N/L10N support to XBlocks via the runtime · 3ed3fea2
      * mattdrayer:  Latest proto code
      * mattdrayer:  Add translation.py
      * asadiqbal08: Xblock translation ugettext update, remove translation.py
      * mattdrayer:  Additional I18N work -- starting to see some translations!
      * asadiqbal08: Trying to make xBlock message catalog files path dynamic
      * mattdrayer:  Remove unnecessary modifications
      * mattdrayer:  Cleaned up implementation
      * mattdrayer:  Moved import statement
      * asadiqbal08: update as suggested
      * asadiqbal08: xblock its own domain
      * asadiqbal08: translation: secure none object
      * asadiqbal08: pylint
      * asadiqbal08: get locale from xblock
      * asadiqbal08: update
      * mattdrayer:  Determine XBlock locale path within runtime service
      * mattdrayer:  Determine module location via the runtime
      * mattdrayer:  Remove ModuleI18nService reference
      * asadiqbal08: override the service in studio
      * asadiqbal08: remove import
      * asadiqbal08: update the Modulei18nService
      * asadiqbal08: update the Modulei18nService
      * mattdrayer:  Remove redundant __class__ reference
      * asadiqbal08: update the docstring
      * asadiqbal08: tests
      * mattdrayer:  Remove specific ugettext override from ModuleI18nService
      * mattdrayer:  Move service operation to base class
      * mattdrayer:  Address quality violations
      * asadiqbal08: Investigating the test failure issue on jenkins and solved
      * asadiqbal08: First utilizing the parent class method
      * mattdrayer:  Use recommended callable approach
      * asadiqbal08: remove unused code
      * asadiqbal08: Updated the test to use cms preview module system runtime in order to get i18n service.
      * asadiqbal08: Pylint quality
      * asadiqbal08: update the service call to check xblock declarations
      * asadiqbal08: update doc string
      * asadiqbal08: i18n callable test in studio
      * asadiqbal08: test lms runtime for modulei18n service
      * asadiqbal08: add doc strings
      * asadiqbal08: Rename locale and domain to Flask-Babel convention
      Matt Drayer committed
  22. 28 Jan, 2016 1 commit
  23. 22 Dec, 2015 1 commit
  24. 17 Dec, 2015 3 commits
  25. 11 Dec, 2015 1 commit
  26. 05 Dec, 2015 1 commit
  27. 04 Dec, 2015 1 commit
  28. 23 Nov, 2015 2 commits
  29. 22 Nov, 2015 1 commit
  30. 10 Nov, 2015 1 commit
  31. 03 Nov, 2015 1 commit
    • New Relic transaction naming now ignores suffix most of the time. · 0aa58f50
      The only time it should include the suffix is when the handler is
      explicilty "xmodule_handler", meaning it's an old-style handler
      that routes everything. For example, Capa uses one handler for
      all its AJAX requests, and only differentiates actions based on
      suffix ("get", "problem_check", etc.).
      
      What prompted this change is that LTIDescriptor defines a handler
      "lti_2_0_result_rest_handler" which encodes user-specific
      information into the suffix. This is a perfectly valid thing to
      do, but it blows out the number of named transactions in our
      metrics.
      David Ormsbee committed
  32. 30 Oct, 2015 1 commit
  33. 22 Oct, 2015 2 commits
  34. 14 Oct, 2015 1 commit
  35. 23 Sep, 2015 1 commit