1. 11 Dec, 2015 1 commit
  2. 03 Dec, 2015 1 commit
  3. 22 Nov, 2015 1 commit
  4. 10 Nov, 2015 1 commit
  5. 04 Nov, 2015 1 commit
  6. 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
  7. 20 Aug, 2015 1 commit
    • In-course reverification access control · ec28a75f
      * Automatically create user partitions on course publish for each ICRV checkpoint.
      * Disable partitions for ICRV checkpoints that have been deleted.
      * Skip partitions that have been disabled when checking access.
      * Add verification access control UI to visibility settings.
      * Add verification access control UI to sequential and vertical settings.
      * Add partition scheme for verification partition groups.
      * Cache information used by verification partition scheme and invalidate the cache on update.
      * Add location parameter to UserPartition so the partition scheme can find the associated checkpoint.
      * Refactor GroupConfiguration to allow multiple user partitions.
      * Add special messaging to ICRV for students in the honor track.
      
      Authors: Zubair Arbi, Awais Qureshi, Aamir Khan, Will Daly
      zubair-arbi committed
  8. 03 Aug, 2015 1 commit
  9. 22 May, 2015 1 commit
  10. 20 May, 2015 1 commit
  11. 18 Mar, 2015 1 commit
  12. 17 Mar, 2015 2 commits
  13. 05 Mar, 2015 1 commit
  14. 04 Mar, 2015 1 commit
  15. 16 Feb, 2015 1 commit
    • xblock-external-ui: Add XBlock API call to render XBlock views · 2ba49579
      xblock-external-ui: Include CSRF token in the API answer
      xblock-external-ui: Include full path when building local_url
      xblock-external-ui: Fix TestHandleXBlockCallback & bok_choy, add tests
      xblock-external-ui: Only return `instance` in `_invoke_xblock_handler()`
      xblock-external-ui: Group resources by hash tag to avoid duplicate loads
      xblock-external-ui: PEP8
      xblock-external-ui: Fail early if the XBlock view is called anonymously
      
          We used to serve anonymous requests, but most XBlocks assume that the
          user is logged in, which can generate a lot of errors when the user is
          accessed or when an XBlock ajax callback is queried. Fail early to only
          get one error per page load, and prevent displaying the XBlock
          altogether when the LMS doesn't find an active user session.
      
      xblock-external-ui: Add request params in view render context
      xblock-external-ui: HTTP error status when file is too large for handler
      xblock-external-ui: Fix unicode encodings in XBlock rendering
      xblock-external-ui: Feature flag for API call ENABLE_XBLOCK_VIEW_ENDPOINT
      Xavier Antoviaque committed
  16. 04 Feb, 2015 1 commit
  17. 15 Jan, 2015 2 commits
  18. 12 Jan, 2015 1 commit
  19. 08 Jan, 2015 1 commit
  20. 17 Dec, 2014 2 commits
  21. 13 Dec, 2014 3 commits