1. 19 Oct, 2017 2 commits
  2. 18 Oct, 2017 1 commit
  3. 05 Oct, 2017 1 commit
  4. 23 Aug, 2017 1 commit
  5. 01 Aug, 2017 1 commit
  6. 11 Jul, 2017 1 commit
  7. 06 Jul, 2017 1 commit
  8. 13 Jun, 2017 1 commit
  9. 12 Jun, 2017 1 commit
  10. 08 Jun, 2017 1 commit
  11. 05 Jun, 2017 3 commits
  12. 27 Apr, 2017 1 commit
  13. 12 Apr, 2017 1 commit
  14. 31 Mar, 2017 1 commit
  15. 10 Mar, 2017 1 commit
  16. 09 Mar, 2017 1 commit
  17. 01 Mar, 2017 1 commit
  18. 12 Dec, 2016 2 commits
  19. 10 Nov, 2016 1 commit
  20. 18 Oct, 2016 1 commit
    • [TNL-5632] Optimize the single_thread view. · 6704e17a
      Firstly, we're now explicitly instructing the comments service to not
      return thread responses/comments if the request isn't AJAX.  So, if you
      load the URL for a single discussion thread in your browser, this would
      be a non-AJAX call and we'll avoid loading the responses for the entire
      thread behind-the-scenes.  Big win here for large threads.
      
      Next, we removed a redundant "get threads" call which was also happening
      behind-the-scenes.  This call was redundant as the front-end JS also
      grabs the thread list when a topic is chosen, so we were making an
      extranenous call for no benefit.  Poof, gone!
      
      Finally, we added some caching of database queries that are required to
      drive a lot of the permissions/cohorts machinery around discussion.
      This will have a minimal effect but introduced a cleaner way to apply
      general memoization at the per-request level which will let us further
      cache things as we identify them as issues.
      Toby Lawrence committed
  21. 15 Sep, 2016 2 commits
  22. 08 Sep, 2016 1 commit
    • Default to not requesting responses when grabbing a single thread. · 26891bc0
      We're often grabbing the metadata of a specific thread to then be able
      to perform other operations, but we never need the actual responses or
      comments of a thread unless we're displaying it in the normal forum
      view.
      
      This change sets a default of with_responses=False, which instructs the
      comment service to not send back the responses/comments for the given
      thread.  We only ask for responses in the case of rendering a single
      thread or inline discussion.
      Toby Lawrence committed
  23. 17 Aug, 2016 2 commits
  24. 28 Jun, 2016 1 commit
  25. 02 Jun, 2016 1 commit
  26. 02 May, 2016 1 commit
  27. 28 Apr, 2016 1 commit
  28. 14 Apr, 2016 1 commit
    • -changed method name from "from_string_or_404" to "course_key_from_string_or_404". · d8464dbf
      -Updated method "course_key_from_string_or_404" to raise message too.
      -Wrote tests for "course_key_from_string_or_404" when exception message is given.
      -Modified existing methods to use "ddt.data".
      -Used Splunk logs to find exectly where we were getting "Invalid Key Error"
      -Updated Views where we were getting "Invalid Key Error" in splunk logs.
      -Wrote tests for those View End points where we were getting "Invalid Key Error"
      Ayub-khan committed
  29. 13 Apr, 2016 1 commit
  30. 28 Jan, 2016 1 commit
  31. 09 Oct, 2015 1 commit
  32. 07 Oct, 2015 1 commit
  33. 06 Aug, 2015 2 commits