1. 18 Oct, 2016 2 commits
    • [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
  2. 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
  3. 03 Aug, 2016 2 commits
  4. 25 Jul, 2016 1 commit
  5. 30 Jun, 2016 1 commit
  6. 16 Jun, 2016 1 commit
  7. 01 Jun, 2016 1 commit
  8. 04 May, 2016 2 commits
  9. 17 Mar, 2016 1 commit
  10. 01 Mar, 2016 1 commit
  11. 15 Jan, 2016 1 commit
  12. 11 Dec, 2015 1 commit
  13. 09 Dec, 2015 1 commit
  14. 22 Nov, 2015 1 commit
  15. 18 Nov, 2015 3 commits
  16. 10 Nov, 2015 1 commit
  17. 28 Sep, 2015 2 commits
  18. 25 Sep, 2015 1 commit
    • Upgrade djangorestframework to v3.1 · 8555630d
      * Upgrade edx-submissions
      * Upgrade edx-ora2
      * Upgrade edx-val
      * Upgrade edx-proctoring
      * Update all edx-platform code that depends on DRF, including:
        - auth_exchange
        - cors_csrf
        - embargo
        - enrollment
        - util
        - commerce
        - course_structure
        - discussion_api
        - mobile_api
        - notifier_api
        - teams
        - credit
        - profile_images
        - user_api
        - lib/api (OAuth2 and pagination)
      Will Daly committed
  19. 10 Sep, 2015 1 commit
  20. 04 Sep, 2015 1 commit
  21. 26 Aug, 2015 1 commit
  22. 20 Aug, 2015 2 commits
  23. 07 Aug, 2015 1 commit
  24. 06 Aug, 2015 1 commit
  25. 31 Jul, 2015 1 commit
  26. 30 Jul, 2015 2 commits
  27. 28 Jul, 2015 1 commit
  28. 20 Jul, 2015 1 commit
  29. 15 Jul, 2015 1 commit
  30. 13 Jul, 2015 2 commits
  31. 18 Jun, 2015 1 commit