1. 22 Nov, 2015 1 commit
  2. 10 Nov, 2015 1 commit
  3. 30 Oct, 2015 1 commit
  4. 28 Oct, 2015 1 commit
    • Changes to handler URL generation · 9b88bdb0
      * The LMS now also monkey-patches
        xmodule.x_module.descriptor_global_handler_url and
        xmodule.x_module.descriptor_global_local_resource_url so that we can
        get LMS XBlock URLs from the DescriptorSystem. That functionality is
        needed in the block transforms collect() phase for certain XModules
        like Video. For instance, say we want to generate the transcripts
        URLs. The collect phase is run asynchronously, without a user context.
      
      * The URL handler monkey-patching is now done in the startup.py files
        for LMS and Studio. Studio used to do this in the import of
        cms/djangoapps/contentstore/views/item.py. This was mostly just
        because it seemed like a sane and consistent place to put it.
      
      * LmsHandlerUrls was removed, its handler_url and local_resource_url
        methods were moved to be top level functions. The only reason that
        class existed seems to be to give a place to store course_id state,
        and that can now be derived from the block location.
      
      * To avoid the Module -> Descriptor ProxyAttribute magic that we do
        (which explodes with an UndefinedContext error because there is no
        user involved), when examining the block's handler method in
        handler_url, I made a few changes:
      
      ** Check the .__class__ to see if the handler was defined, instead of the
         block itself.
      
      ** The above required me to relax the check for _is_xblock_handler on the
         function, since that will no longer be defined.
      
      90% of this goes away when we kill XModules and do the refactoring we've
      wanted to do for a while.
      David Ormsbee committed
  5. 01 Oct, 2015 1 commit
  6. 28 Sep, 2015 2 commits
  7. 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
  8. 24 Sep, 2015 2 commits
  9. 17 Sep, 2015 1 commit
  10. 13 Aug, 2015 1 commit
  11. 13 Jul, 2015 1 commit
  12. 26 Jun, 2015 1 commit
  13. 08 Apr, 2015 1 commit
  14. 23 Mar, 2015 1 commit
  15. 11 Dec, 2014 1 commit
    • Implements keyword sub feature for bulk emails · 32bbb0e7
      This commit pulls in changes from #4487 that implements keyword
      substitution for bulk emails. With these changes, an instructor can
      include keywords in their bulk emails which will be automatically substituted
      with the corresponding value for the recepient of the email. Keywords are
      of the form %%keyword%%, and the keywords implemented in this commit include:
      
      %%USER_ID%% => anonymous_user_id
      %%USER_FULLNAME%% => user profile name
      %%COURSE_DISPLAY_NAME%% => display name of the course
      %%COURSE_END_DATE%% => end date of the course
      
      Client-side validations have also been implemented to ensure that only emails
      with well-formed keywords can be sent.
      The architecture is designed such that adding in new keywords in the future
      would be relatively straight-forward.
      njdup committed
  16. 01 Dec, 2014 1 commit
  17. 04 Nov, 2014 1 commit
  18. 14 Oct, 2014 1 commit
  19. 11 Sep, 2014 1 commit
  20. 29 Aug, 2014 1 commit
  21. 27 Aug, 2014 1 commit
  22. 30 Jul, 2014 1 commit
  23. 29 Jul, 2014 1 commit
  24. 28 Jul, 2014 1 commit
  25. 24 Jul, 2014 1 commit
  26. 29 May, 2014 2 commits
  27. 01 Apr, 2014 1 commit
  28. 07 Mar, 2014 1 commit
  29. 28 Feb, 2014 1 commit
  30. 04 Feb, 2014 1 commit
  31. 24 Jan, 2014 1 commit
  32. 13 Jan, 2014 2 commits
  33. 11 Jan, 2014 1 commit
  34. 08 Jan, 2014 1 commit
  35. 02 Jan, 2014 1 commit
  36. 01 Oct, 2013 1 commit
    • Quiet down exceptions at startup, and during tests · 50aa37be
      There's no need to display a traceback for every failed content load,
      the comment before the log line even says so.
      
      The exceptions shown before tests are run are because of the eager
      initialization of the modulestores.  They don't need to be initialized
      then, that just speeds the responsiveness of servers.  Putting off the
      initialization means they get inited as needed, and the log lines get
      Ned Batchelder committed